From 285bcbcec0bcb6d48b0a1debae8d227400a96aaa Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Sat, 7 Jan 2017 14:49:33 +0000 Subject: [PATCH] vifUnpack: Report the correct number of bytes It now reports 6904 bytes instead of just less than 4GB. --- pcsx2/x86/newVif_UnpackSSE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/x86/newVif_UnpackSSE.cpp b/pcsx2/x86/newVif_UnpackSSE.cpp index e463443d0e..b32b09c8c4 100644 --- a/pcsx2/x86/newVif_UnpackSSE.cpp +++ b/pcsx2/x86/newVif_UnpackSSE.cpp @@ -440,7 +440,7 @@ void VifUnpackSSE_Init() L"x86 code generated : %u bytes\n", (uint)nVifUpkExec->GetCommittedBytes(), pxsPtr(nVifUpkExec->GetPtr()), - (uint)(nVifUpkExec->GetPtr() - xGetPtr()) + (uint)(xGetPtr() - nVifUpkExec->GetPtr()) ); }