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:
Stephen Anthony 2019-07-25 10:14:57 -02:30
parent 61d9f26bc6
commit dc7697a4d4
1 changed files with 350 additions and 350 deletions

View File

@ -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());
}