mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
Cyclone interface for new mem system, minor tweaks
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@779 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
fc1874de8a
commit
5e89f0f5ae
8 changed files with 194 additions and 164 deletions
|
@ -89,8 +89,9 @@ PICO_INTERNAL void PicoAreaUnpackCpu(unsigned char *cpu, int is_sub)
|
|||
CycloneSetSr(context, *(unsigned int *)(cpu+0x44));
|
||||
context->osp=*(unsigned int *)(cpu+0x48);
|
||||
memcpy(context->d,cpu,0x40);
|
||||
context->membase=0;
|
||||
context->pc = context->checkpc(*(unsigned int *)(cpu+0x40)); // Base pc
|
||||
context->membase = 0;
|
||||
context->pc = *(unsigned int *)(cpu+0x40);
|
||||
CycloneUnpack(context, NULL); // rebase PC
|
||||
context->irq = cpu[0x4c];
|
||||
context->state_flags = 0;
|
||||
if (cpu[0x4d])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue