And yet more changes for the latest Settings API restructuring.

I haven't compiled under Win32 yet, so it may still be broken.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1022 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2006-03-06 21:41:58 +00:00
parent 168d6bbdf4
commit 3eb31049b6
3 changed files with 9 additions and 9 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: OSystemWin32.cxx,v 1.10 2006-01-14 00:31:03 stephena Exp $ // $Id: OSystemWin32.cxx,v 1.11 2006-03-06 21:41:58 stephena Exp $
//============================================================================ //============================================================================
#include <sstream> #include <sstream>
@ -117,9 +117,9 @@ void OSystemWin32::mainLoop()
cout << numberOfFrames << " total frames drawn\n"; cout << numberOfFrames << " total frames drawn\n";
cout << framesPerSecond << " frames/second\n"; cout << framesPerSecond << " frames/second\n";
cout << endl; cout << endl;
cout << "Cartridge Name: " << myConsole->properties().get("Cartridge.Name"); cout << "Cartridge Name: " << myConsole->properties().get(Cartridge_Name);
cout << endl; cout << endl;
cout << "Cartridge MD5: " << myConsole->properties().get("Cartridge.MD5"); cout << "Cartridge MD5: " << myConsole->properties().get(Cartridge_MD5);
cout << endl << endl; cout << endl << endl;
} }
} }

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: SettingsWin32.cxx,v 1.21 2006-01-14 21:36:29 stephena Exp $ // $Id: SettingsWin32.cxx,v 1.22 2006-03-06 21:41:58 stephena Exp $
//============================================================================ //============================================================================
#include <sstream> #include <sstream>
@ -28,10 +28,10 @@
SettingsWin32::SettingsWin32(OSystem* osystem) SettingsWin32::SettingsWin32(OSystem* osystem)
: Settings(osystem) : Settings(osystem)
{ {
set("fragsize", "2048"); // Anything less than this usually causes sound skipping setInternal("fragsize", "2048"); // Anything less than this usually causes sound skipping
set("video", "hard"); // Use software mode with hardware surface setInternal("video", "hard"); // Use software mode with hardware surface
set("dirtyrects", "false"); // Most Windows systems work better without this setInternal("dirtyrects", "false"); // Most Windows systems work better without this
set("gl_lib", "opengl32.dll"); setInternal("gl_lib", "opengl32.dll");
} }
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -26,7 +26,7 @@
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SettingsWinCE::SettingsWinCE(OSystem* osystem) : Settings(osystem) SettingsWinCE::SettingsWinCE(OSystem* osystem) : Settings(osystem)
{ {
set("romdir", (string) getcwd() + '\\'); setInternal("romdir", (string) getcwd() + '\\');
setInt("wce_smartphone_paddlespeed", 3000); setInt("wce_smartphone_paddlespeed", 3000);
} }