Search
lxdream.org :: lxdream/src/sh4/sh4trans.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4trans.c
changeset 592:4343cbfdd21b
prev591:7b9612fd2395
next593:6c710c7c6835
author nkeynes
date Thu Jan 17 10:17:32 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Change recovery table to offset rather than pointer (so as to survive block moves)
file annotate diff log raw
1.1 --- a/src/sh4/sh4trans.c Thu Jan 17 10:11:37 2008 +0000
1.2 +++ b/src/sh4/sh4trans.c Thu Jan 17 10:17:32 2008 +0000
1.3 @@ -168,7 +168,7 @@
1.4 xlat_output = block->code + (xlat_output - oldstart);
1.5 }
1.6 memcpy( xlat_output, xlat_recovery, recovery_size);
1.7 - block->recover_table = (xlat_recovery_record_t)xlat_output;
1.8 + block->recover_table_offset = xlat_output - (uint8_t *)block->code;
1.9 block->recover_table_size = xlat_recovery_posn;
1.10 xlat_commit_block( finalsize, pc-start );
1.11 return block->code;
.