GregMiscellaneous: zzogl-pg:

* Lost a -1 somewhere...


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3807 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2010-09-19 10:29:09 +00:00
parent 2156384bd5
commit 129ffacf0a
1 changed files with 1 additions and 1 deletions

View File

@ -3037,7 +3037,7 @@ void Resolve_32b(const void* psrc, int fbp, int fbw, int fbh, u32 fbm)
// Start the src array at the end to reduce testing in loop
u32 raw_size = RH(Pitch(fbw))/sizeof(u32);
u32* src = (u32*)(psrc) + maxfbh*raw_size;
u32* src = (u32*)(psrc) + (maxfbh-1)*raw_size;
// Manually optimize the loop (typical 448x512). In particular unroll 64times the inner loop
// And move maximum code outside (compiler must do it normally...)