From 620603c23618b811b97ca90688d48d12d0c0f2cc Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Wed, 20 Feb 2013 00:24:21 +0100 Subject: [PATCH] Fix bug in Vh2f (this instr needs more testing) --- Core/MIPS/MIPSIntVFPU.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/MIPS/MIPSIntVFPU.cpp b/Core/MIPS/MIPSIntVFPU.cpp index 97f43c75c5..b04d2385c2 100644 --- a/Core/MIPS/MIPSIntVFPU.cpp +++ b/Core/MIPS/MIPSIntVFPU.cpp @@ -690,8 +690,8 @@ namespace MIPSInt _dbg_assert_msg_(CPU, 0, "Trying to interpret Int_Vh2f instruction that can't be interpreted"); break; } - ApplyPrefixD(d, sz); //TODO: and the mask to kill everything but mask - WriteVector(d, sz, vd); + ApplyPrefixD(d, outsize); //TODO: and the mask to kill everything but mask + WriteVector(d, outsize, vd); PC += 4; EatPrefixes(); }