Don't try to access the palette before it has been initialized.

This commit is contained in:
Christian Speckner 2019-12-19 18:32:40 +01:00
parent fccee3e672
commit ef10482291
1 changed files with 1 additions and 1 deletions

View File

@ -185,8 +185,8 @@ void TIA::reset()
// Must be done last, after all other items have reset
bool devSettings = mySettings.getBool("dev.settings");
enableFixedColors(mySettings.getBool(devSettings ? "dev.debugcolors" : "plr.debugcolors"));
setFixedColorPalette(mySettings.getString("tia.dbgcolors"));
enableFixedColors(mySettings.getBool(devSettings ? "dev.debugcolors" : "plr.debugcolors"));
#ifdef DEBUGGER_SUPPORT
createAccessBase();