Skip to content

Commit 1298204

Browse files
committed
VIDEO: correctly check video mode on init
1 parent 8c2ce35 commit 1298204

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libogc/video.c

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

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

0 commit comments

Comments
 (0)