mirror of https://github.com/stella-emu/stella.git
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:
parent
d0092580e0
commit
d66226c210
|
@ -87,7 +87,7 @@ Console::Console(OSystem& osystem, Cartridge& cart, const Properties& props)
|
||||||
mySwitches = new Switches(myEvent, myProperties);
|
mySwitches = new Switches(myEvent, myProperties);
|
||||||
|
|
||||||
// Construct the system and components
|
// Construct the system and components
|
||||||
mySystem = new System(13, 6);
|
mySystem = new System();
|
||||||
|
|
||||||
// The real controllers for this console will be added later
|
// The real controllers for this console will be added later
|
||||||
// For now, we just add dummy joystick controllers, since autodetection
|
// For now, we just add dummy joystick controllers, since autodetection
|
||||||
|
|
|
@ -55,7 +55,7 @@ class System : public Serializable
|
||||||
@param n Log base 2 of the addressing space size
|
@param n Log base 2 of the addressing space size
|
||||||
@param m Log base 2 of the page size
|
@param m Log base 2 of the page size
|
||||||
*/
|
*/
|
||||||
System(uInt16 n, uInt16 m);
|
System(uInt16 n = 13, uInt16 m = 6);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Destructor
|
Destructor
|
||||||
|
|
Loading…
Reference in New Issue