This commit is contained in:
Christian Speckner 2017-10-07 19:50:29 +02:00
parent 47f528c4d3
commit bff13fb008
1 changed files with 2 additions and 0 deletions

View File

@ -930,6 +930,8 @@ bool TIA::toggleCollisions()
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool TIA::enableFixedColors(bool enable)
{
// This will be called during reset at a point where no frame manager
// instance is available, so we guard aginst this here.
int layout = 0;
if (myFrameManager) layout = myFrameManager->layout() == FrameLayout::pal ? 1 : 0;