diff --git a/source/ngc/gcvideo.cpp b/source/ngc/gcvideo.cpp index 27238e4..96480d5 100644 --- a/source/ngc/gcvideo.cpp +++ b/source/ngc/gcvideo.cpp @@ -703,9 +703,14 @@ void RenderFrame(unsigned char *XBuf) int width, height; - // 0 = off, 1 = vertical, 2 = both - u8 borderheight = GCSettings.hideoverscan < 1 ? 0 : 8; - u8 borderwidth = GCSettings.hideoverscan < 2 ? 0 : 8; + u8 borderheight = 0; + u8 borderwidth = 0; + + // 0 = off, 1 = vertical, 2 = horizontal, 3 = both + if(GCSettings.hideoverscan == 1 || GCSettings.hideoverscan == 3) + borderheight = 8; + if(GCSettings.hideoverscan >= 2) + borderwidth = 8; u16 *texture = (unsigned short *)texturemem + (borderheight << 8) + (borderwidth << 2); u8 *src1 = XBuf + (borderheight << 8) + borderwidth; diff --git a/source/ngc/menu.cpp b/source/ngc/menu.cpp index 993cf08..c90d823 100644 --- a/source/ngc/menu.cpp +++ b/source/ngc/menu.cpp @@ -111,9 +111,11 @@ VideoOptions () if (GCSettings.hideoverscan == 0) sprintf (videomenu[2], "Video Cropping Off"); if (GCSettings.hideoverscan == 1) - sprintf (videomenu[2], "Video Cropping Hide Vertical"); + sprintf (videomenu[2], "Video Cropping Vertical"); if (GCSettings.hideoverscan == 2) - sprintf (videomenu[2], "Video Cropping Hide All"); + sprintf (videomenu[2], "Video Cropping Horizontal"); + if (GCSettings.hideoverscan == 3) + sprintf (videomenu[2], "Video Cropping Both"); sprintf (videomenu[3], "Palette - %s", GCSettings.currpal ? palettes[GCSettings.currpal-1].name : "Default"); @@ -142,7 +144,7 @@ VideoOptions () case 2: GCSettings.hideoverscan++; - if (GCSettings.hideoverscan > 2) + if (GCSettings.hideoverscan > 3) GCSettings.hideoverscan = 0; break; diff --git a/source/ngc/pad.cpp b/source/ngc/pad.cpp index 9d6c432..725445b 100644 --- a/source/ngc/pad.cpp +++ b/source/ngc/pad.cpp @@ -556,7 +556,9 @@ void GetJoy() } // request to go back to menu - if ((gc_px < -70) || ((jp & PAD_BUTTON_START) && (jp & PAD_BUTTON_A)) + if ((gc_px < -70) || + ((jp & PAD_BUTTON_START) && (jp & PAD_BUTTON_A) && + (jp & PAD_BUTTON_B) && (jp & PAD_TRIGGER_Z)) #ifdef HW_RVL || (wm_pb & WPAD_BUTTON_HOME) || (wm_pb & WPAD_CLASSIC_BUTTON_HOME)