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
61d9f26bc6
commit
dc7697a4d4
|
@ -228,7 +228,7 @@ void AudioDialog::saveConfig()
|
|||
// update if current cart is Pitfall II
|
||||
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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue