Search
lxdream.org :: lxdream/src/sh4/sh4core.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.c
changeset 576:4945fa2ed24f
prev570:d2893980fbf5
next582:c89a69dc427d
author nkeynes
date Mon Jan 14 09:08:58 2008 +0000 (12 years ago)
branchlxdream-mmu
permissions -rw-r--r--
last change Fix TRAPA in emulator core
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.c Sun Jan 06 12:24:18 2008 +0000
1.2 +++ b/src/sh4/sh4core.c Mon Jan 14 09:08:58 2008 +0000
1.3 @@ -1693,9 +1693,9 @@
1.4 { /* TRAPA #imm */
1.5 uint32_t imm = (ir&0xFF);
1.6 CHECKSLOTILLEGAL();
1.7 - MMIO_WRITE( MMU, TRA, imm<<2 );
1.8 sh4r.pc += 2;
1.9 - sh4_raise_exception( EXC_TRAP );
1.10 + sh4_raise_trap( imm );
1.11 + return TRUE;
1.12 }
1.13 break;
1.14 case 0x4:
.