mirror of
https://github.com/hch12907/orbum.git
synced 2024-06-02 19:38:16 -04:00
ITOF0 bugfix
how the hell did this compile in the first place?
This commit is contained in:
parent
d3100c03b5
commit
8bdcf2763a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue