Fixes to GP2X port for latest API changes.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1019 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2006-03-06 14:06:07 +00:00
parent c0c9364b04
commit 19f348e312
2 changed files with 12 additions and 12 deletions

View File

@ -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: OSystemGP2X.cxx,v 1.7 2006-03-02 13:10:53 stephena Exp $
// $Id: OSystemGP2X.cxx,v 1.8 2006-03-06 14:06:07 stephena Exp $
// Modified on 2006/01/06 by Alex Zaballa for use on GP2X
//============================================================================
@ -134,9 +134,9 @@ void OSystemGP2X::mainLoop()
cout << numberOfFrames << " total frames drawn\n";
cout << framesPerSecond << " frames/second\n";
cout << endl;
cout << "Cartridge Name: " << myConsole->properties().get("Cartridge.Name");
cout << "Cartridge Name: " << myConsole->properties().get(Cartridge_Name);
cout << endl;
cout << "Cartridge MD5: " << myConsole->properties().get("Cartridge.MD5");
cout << "Cartridge MD5: " << myConsole->properties().get(Cartridge_MD5);
cout << endl << endl;
}
}

View File

@ -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: SettingsGP2X.cxx,v 1.6 2006-02-06 01:38:50 azaballa Exp $
// $Id: SettingsGP2X.cxx,v 1.7 2006-03-06 14:06:07 stephena Exp $
// Modified on 2006/02/05 by Alex Zaballa for use on GP2X
//============================================================================
@ -27,14 +27,14 @@ SettingsGP2X::SettingsGP2X(OSystem* osystem)
: Settings(osystem)
{
// Some of these settings might be redundant, but are crucial for GP2X
set("center", "true");
set("volume", "50");
set("sound", "true");
set("zoom", "1");
set("fragsize", "512");
set("tiafreq", "22050");
set("clipvol", "false");
set("joymouse", "true");
setInternal("center", "true");
setInternal("volume", "50");
setInternal("sound", "true");
setInternal("zoom", "1");
setInternal("fragsize", "512");
setInternal("tiafreq", "22050");
setInternal("clipvol", "false");
setInternal("joymouse", "true");
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -