mirror of https://github.com/stella-emu/stella.git
Fix old C-style casting.
There's a lot of code here that seems to change, but it's actually only one line. I think newline differences are messing things up.
This commit is contained in:
parent
a76d1be0fd
commit
1a477a70b9
|
@ -228,7 +228,7 @@ void AudioDialog::saveConfig()
|
||||||
// update if current cart is Pitfall II
|
// update if current cart is Pitfall II
|
||||||
if (instance().hasConsole() && instance().console().cartridge().name() == "CartridgeDPC")
|
if (instance().hasConsole() && instance().console().cartridge().name() == "CartridgeDPC")
|
||||||
{
|
{
|
||||||
CartridgeDPC& cart = (CartridgeDPC&)instance().console().cartridge();
|
CartridgeDPC& cart = static_cast<CartridgeDPC&>(instance().console().cartridge());
|
||||||
cart.setDpcPitch(myDpcPitch->getValue());
|
cart.setDpcPitch(myDpcPitch->getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue