Fixed 'magic number' issues when creating a System for the Console.

Technically, the magic numbers are still being used, but now they're
no longer exposed outside the System class by default.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2912 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2014-06-09 16:35:19 +00:00
parent d0092580e0
commit d66226c210
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ Console::Console(OSystem& osystem, Cartridge& cart, const Properties& props)
mySwitches = new Switches(myEvent, myProperties);
// Construct the system and components
mySystem = new System(13, 6);
mySystem = new System();
// The real controllers for this console will be added later
// For now, we just add dummy joystick controllers, since autodetection

View File

@ -55,7 +55,7 @@ class System : public Serializable
@param n Log base 2 of the addressing space size
@param m Log base 2 of the page size
*/
System(uInt16 n, uInt16 m);
System(uInt16 n = 13, uInt16 m = 6);
/**
Destructor