mirror of https://github.com/stella-emu/stella.git
Don't try to access the palette before it has been initialized.
This commit is contained in:
parent
fccee3e672
commit
ef10482291
|
@ -185,8 +185,8 @@ void TIA::reset()
|
||||||
|
|
||||||
// Must be done last, after all other items have reset
|
// Must be done last, after all other items have reset
|
||||||
bool devSettings = mySettings.getBool("dev.settings");
|
bool devSettings = mySettings.getBool("dev.settings");
|
||||||
enableFixedColors(mySettings.getBool(devSettings ? "dev.debugcolors" : "plr.debugcolors"));
|
|
||||||
setFixedColorPalette(mySettings.getString("tia.dbgcolors"));
|
setFixedColorPalette(mySettings.getString("tia.dbgcolors"));
|
||||||
|
enableFixedColors(mySettings.getBool(devSettings ? "dev.debugcolors" : "plr.debugcolors"));
|
||||||
|
|
||||||
#ifdef DEBUGGER_SUPPORT
|
#ifdef DEBUGGER_SUPPORT
|
||||||
createAccessBase();
|
createAccessBase();
|
||||||
|
|
Loading…
Reference in New Issue