ITOF0 bugfix

how the hell did this compile in the first place?
This commit is contained in:
hch12907 2018-08-16 00:09:58 +08:00
parent d3100c03b5
commit 8bdcf2763a

View file

@ -94,7 +94,7 @@ void CVuInterpreter::ITOF0(VuUnit_Base* unit, const VuInstruction inst)
uword u = fs.read_uword(field);
// No fractional parts to worry about, just cast it
const f32 result = static_cast<f32>(result);
const f32 result = static_cast<f32>(u);
ft.write_float(field, result);
}