This commit is contained in:
Christian Speckner 2017-10-08 21:46:25 +02:00
parent 398fac5c9f
commit 4f31166e11
1 changed files with 1 additions and 14 deletions

View File

@ -134,20 +134,7 @@ Console::Console(OSystem& osystem, unique_ptr<Cartridge>& cart,
myTIA->setFrameManager(myFrameManager.get());
(cout << int(frameLayoutDetector.detectedLayout()) << std::endl).flush();
switch (frameLayoutDetector.detectedLayout()) {
case FrameLayout::ntsc:
myDisplayFormat = "NTSC";
break;
case FrameLayout::pal:
myDisplayFormat = "PAL";
break;
default:
throw runtime_error("cannot happen");
}
myDisplayFormat = frameLayoutDetector.detectedLayout() == FrameLayout::pal ? "PAL" : "NTSC";
if(myProperties.get(Display_Format) == "AUTO")
{