GeckoCode float operations: Fixed Issue 4387. (hopefully)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7451 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Jordan Woyak 2011-04-12 01:06:45 +00:00
parent 4f603ef730
commit a1882d2517
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
#include "GeckoCode.h"
#include "Thread.h"
@ -687,12 +686,12 @@ bool MathOperation(u32& ret, const u32 left, const u32 right, const u8 type)
// TODO: these float ops good?
// A : fadds (single float add)
case 0xA :
case 0x9 :
*(float*)&ret = *(float*)&left + *(float*)&right;
break;
// B : fmuls (single float mul)
case 0xB :
case 0xA :
*(float*)&ret = *(float*)&left * *(float*)&right;
break;