diff --git a/source/ngc/menu.cpp b/source/ngc/menu.cpp index 3c6d9fd..74aa89f 100644 --- a/source/ngc/menu.cpp +++ b/source/ngc/menu.cpp @@ -47,8 +47,10 @@ GuiImageData * pointer[4]; static int MenuPalette(); void gbSetPalette(u32 RRGGBB[]); +void StopColorizing(); extern char RomTitle[17]; + static GuiButton * btnLogo = NULL; static GuiImage * gameScreenImg = NULL; static GuiImage * bgImg = NULL; @@ -2778,6 +2780,8 @@ static int MenuSettingsVideo() case 5: if (GCSettings.colorize) GCSettings.colorize = 0; else GCSettings.colorize = 1; + if (GCSettings.colorize) LoadPalette(RomTitle); + else StopColorizing(); break; case 6: diff --git a/source/ngc/vbasupport.cpp b/source/ngc/vbasupport.cpp index 095a176..7c8ed39 100644 --- a/source/ngc/vbasupport.cpp +++ b/source/ngc/vbasupport.cpp @@ -792,7 +792,8 @@ static void gbApplyPerImagePreferences() // look for matching palettes if a monochrome gameboy game // (or if a Super Gameboy game, but the palette will be ignored later in that case) if ((Colour != 0x80) && (Colour != 0xC0)) { - LoadPalette(RomTitle); + if (GCSettings.colorize) LoadPalette(RomTitle); + else StopColorizing(); } }