mirror of https://github.com/stella-emu/stella.git
Init S to 0xFD on reset.
This commit is contained in:
parent
6846aadadf
commit
b173da05a0
|
@ -82,7 +82,7 @@ void M6502::reset()
|
|||
// Set registers to random or default values
|
||||
const string& cpurandom = mySettings.getString("cpurandom");
|
||||
SP = BSPF::containsIgnoreCase(cpurandom, "S") ?
|
||||
mySystem->randGenerator().next() : 0xff;
|
||||
mySystem->randGenerator().next() : 0xfd;
|
||||
A = BSPF::containsIgnoreCase(cpurandom, "A") ?
|
||||
mySystem->randGenerator().next() : 0x00;
|
||||
X = BSPF::containsIgnoreCase(cpurandom, "X") ?
|
||||
|
|
Loading…
Reference in New Issue