mirror of https://github.com/stella-emu/stella.git
fixed missing prefix for "thumb.trapfatal"
This commit is contained in:
parent
1bb3790e12
commit
1c10e590af
|
@ -64,9 +64,10 @@ CartridgeBUS::CartridgeBUS(const BytePtr& image, uInt32 size,
|
|||
myDisplayImage = myBUSRAM + DSRAM;
|
||||
|
||||
// Create Thumbulator ARM emulator
|
||||
string prefix = settings.getBool("dev.settings") ? "plr." : "dev.";
|
||||
myThumbEmulator = make_unique<Thumbulator>(
|
||||
reinterpret_cast<uInt16*>(myImage), reinterpret_cast<uInt16*>(myBUSRAM),
|
||||
settings.getBool("thumb.trapfatal"), Thumbulator::ConfigureFor::BUS, this
|
||||
settings.getBool(prefix + "thumb.trapfatal"), Thumbulator::ConfigureFor::BUS, this
|
||||
);
|
||||
|
||||
setInitialState();
|
||||
|
|
|
@ -67,9 +67,10 @@ CartridgeCDF::CartridgeCDF(const BytePtr& image, uInt32 size,
|
|||
setVersion();
|
||||
|
||||
// Create Thumbulator ARM emulator
|
||||
string prefix = settings.getBool("dev.settings") ? "plr." : "dev.";
|
||||
myThumbEmulator = make_unique<Thumbulator>(
|
||||
reinterpret_cast<uInt16*>(myImage), reinterpret_cast<uInt16*>(myCDFRAM),
|
||||
settings.getBool("thumb.trapfatal"), myVersion ?
|
||||
settings.getBool(prefix + "thumb.trapfatal"), myVersion ?
|
||||
Thumbulator::ConfigureFor::CDF1 : Thumbulator::ConfigureFor::CDF, this);
|
||||
|
||||
setInitialState();
|
||||
|
|
|
@ -53,10 +53,11 @@ CartridgeDPCPlus::CartridgeDPCPlus(const BytePtr& image, uInt32 size,
|
|||
myFrequencyImage = myDisplayImage + 0x1000;
|
||||
|
||||
// Create Thumbulator ARM emulator
|
||||
string prefix = settings.getBool("dev.settings") ? "plr." : "dev.";
|
||||
myThumbEmulator = make_unique<Thumbulator>
|
||||
(reinterpret_cast<uInt16*>(myImage),
|
||||
reinterpret_cast<uInt16*>(myDPCRAM),
|
||||
settings.getBool("thumb.trapfatal"),
|
||||
settings.getBool(prefix + "thumb.trapfatal"),
|
||||
Thumbulator::ConfigureFor::DPCplus,
|
||||
this);
|
||||
|
||||
|
|
Loading…
Reference in New Issue