Skip to content

Commit 5aecf9a

Browse files
committed
VIDEO: correctly check video mode on init
1 parent 9cb733d commit 5aecf9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libogc/video.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2222,7 +2222,7 @@ static void __VIInit(u32 vimode)
22222222
_viReg[27] = 0x0001; //set DI1
22232223
_viReg[36] = 0x2828; //set HSR
22242224

2225-
if(vi_mode<VI_PAL && vi_mode>=VI_DEBUG_PAL) vi_mode = VI_NTSC;
2225+
if(vi_mode>=VI_DEBUG_PAL) vi_mode = VI_NTSC;
22262226
if(progressive){
22272227
_viReg[1] = ((vi_mode<<8)|0x0005); //set MODE & INT & enable
22282228
_viReg[54] = 0x0001;

0 commit comments

Comments
 (0)