From 2d7cbb0e0b64067522c067d2a344e176732f963e Mon Sep 17 00:00:00 2001 From: stephena Date: Thu, 12 Aug 2004 23:54:36 +0000 Subject: [PATCH] Fixed the switching of NTSC/PAL mode and the associated onscreen messages. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@339 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/emucore/Console.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/stella/src/emucore/Console.cxx b/stella/src/emucore/Console.cxx index 265bf6f5b..a94812103 100644 --- a/stella/src/emucore/Console.cxx +++ b/stella/src/emucore/Console.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: Console.cxx,v 1.37 2004-08-12 23:36:15 stephena Exp $ +// $Id: Console.cxx,v 1.38 2004-08-12 23:54:36 stephena Exp $ //============================================================================ #include @@ -250,19 +250,19 @@ Console& Console::operator = (const Console&) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void Console::toggleFormat() { - mySystem->reset(); - string format = myProperties.get("Display.Format"); if(format == "NTSC") { - myFrameBuffer.showMessage("PAL Mode"); myProperties.set("Display.Format", "PAL"); + mySystem->reset(); + myFrameBuffer.showMessage("PAL Mode"); } else if(format == "PAL") { - myFrameBuffer.showMessage("NTSC Mode"); myProperties.set("Display.Format", "NTSC"); + mySystem->reset(); + myFrameBuffer.showMessage("NTSC Mode"); } }