Permalink
Browse files

vifUnpack: Report the correct number of bytes

It now reports 6904 bytes instead of just less than 4GB.
  • Loading branch information...
1 parent c2e21fa commit 285bcbcec0bcb6d48b0a1debae8d227400a96aaa @turtleli turtleli committed Jan 7, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 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())
);
}

0 comments on commit 285bcbc

Please sign in to comment.