Search
lxdream.org :: lxdream/src/sh4/sh4x86.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4x86.in
changeset 1146:76c5d1064262
prev1125:9dd5dee45db9
next1149:da6124fceec6
author nkeynes
date Mon Nov 08 18:56:11 2010 +1000 (10 years ago)
permissions -rw-r--r--
last change Fix 32-bit non-fastcall build
file annotate diff log raw
1.1 --- a/src/sh4/sh4x86.in Mon Sep 13 10:13:42 2010 +1000
1.2 +++ b/src/sh4/sh4x86.in Mon Nov 08 18:56:11 2010 +1000
1.3 @@ -499,9 +499,9 @@
1.4 uint32_t sh4_translate_end_block_size()
1.5 {
1.6 if( sh4_x86.backpatch_posn <= 3 ) {
1.7 - return EPILOGUE_SIZE + (sh4_x86.backpatch_posn*24);
1.8 + return EPILOGUE_SIZE + (sh4_x86.backpatch_posn*(12+CALL1_PTR_MIN_SIZE));
1.9 } else {
1.10 - return EPILOGUE_SIZE + 72 + (sh4_x86.backpatch_posn-3)*27;
1.11 + return EPILOGUE_SIZE + (3*(12+CALL1_PTR_MIN_SIZE)) + (sh4_x86.backpatch_posn-3)*(15+CALL1_PTR_MIN_SIZE);
1.12 }
1.13 }
1.14
.