mirror of https://github.com/stella-emu/stella.git
Fix #345; color-loss not correctly initialized.
This commit is contained in:
parent
1571860dc0
commit
ae96406fd4
|
@ -38,7 +38,7 @@ void RewindManager::setup()
|
|||
{
|
||||
myLastTimeMachineAdd = false;
|
||||
|
||||
string prefix = myOSystem.settings().getBool("dev.settings") ? "dev." : "plr.";
|
||||
const string& prefix = myOSystem.settings().getBool("dev.settings") ? "dev." : "plr.";
|
||||
|
||||
mySize = myOSystem.settings().getInt(prefix + "tm.size");
|
||||
if(mySize != myStateList.capacity())
|
||||
|
|
|
@ -64,7 +64,7 @@ CartridgeBUS::CartridgeBUS(const BytePtr& image, uInt32 size,
|
|||
myDisplayImage = myBUSRAM + DSRAM;
|
||||
|
||||
// Create Thumbulator ARM emulator
|
||||
string prefix = settings.getBool("dev.settings") ? "plr." : "dev.";
|
||||
const string& prefix = settings.getBool("dev.settings") ? "plr." : "dev.";
|
||||
myThumbEmulator = make_unique<Thumbulator>(
|
||||
reinterpret_cast<uInt16*>(myImage), reinterpret_cast<uInt16*>(myBUSRAM),
|
||||
settings.getBool(prefix + "thumb.trapfatal"), Thumbulator::ConfigureFor::BUS, this
|
||||
|
|
|
@ -67,7 +67,7 @@ CartridgeCDF::CartridgeCDF(const BytePtr& image, uInt32 size,
|
|||
setVersion();
|
||||
|
||||
// Create Thumbulator ARM emulator
|
||||
string prefix = settings.getBool("dev.settings") ? "plr." : "dev.";
|
||||
const string& prefix = settings.getBool("dev.settings") ? "plr." : "dev.";
|
||||
myThumbEmulator = make_unique<Thumbulator>(
|
||||
reinterpret_cast<uInt16*>(myImage), reinterpret_cast<uInt16*>(myCDFRAM),
|
||||
settings.getBool(prefix + "thumb.trapfatal"), myVersion ?
|
||||
|
|
|
@ -53,7 +53,7 @@ CartridgeDPCPlus::CartridgeDPCPlus(const BytePtr& image, uInt32 size,
|
|||
myFrequencyImage = myDisplayImage + 0x1000;
|
||||
|
||||
// Create Thumbulator ARM emulator
|
||||
string prefix = settings.getBool("dev.settings") ? "plr." : "dev.";
|
||||
const string& prefix = settings.getBool("dev.settings") ? "plr." : "dev.";
|
||||
myThumbEmulator = make_unique<Thumbulator>
|
||||
(reinterpret_cast<uInt16*>(myImage),
|
||||
reinterpret_cast<uInt16*>(myDPCRAM),
|
||||
|
|
|
@ -200,7 +200,7 @@ void TIA::frameReset()
|
|||
memset(myBackBuffer, 0, 160 * TIAConstants::frameBufferHeight);
|
||||
memset(myFrontBuffer, 0, 160 * TIAConstants::frameBufferHeight);
|
||||
memset(myFramebuffer, 0, 160 * TIAConstants::frameBufferHeight);
|
||||
enableColorLoss(mySettings.getBool("dev.settings") ? "dev.colorloss" : "plr.colorloss");
|
||||
enableColorLoss(mySettings.getBool(mySettings.getBool("dev.settings") ? "dev.colorloss" : "plr.colorloss"));
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
Loading…
Reference in New Issue