mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
some optimizations
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@178 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
cfb3dfa0f2
commit
b637c56aad
17 changed files with 160 additions and 102 deletions
|
@ -33,8 +33,7 @@ void OpStart(int op, int sea, int tea)
|
|||
#if (MEMHANDLERS_NEED_PREV_PC || MEMHANDLERS_NEED_CYCLES)
|
||||
if ((sea >= 0x10 && sea != 0x3c) || (tea >= 0x10 && tea != 0x3c)) {
|
||||
#if MEMHANDLERS_NEED_PREV_PC
|
||||
ot(" sub r0,r4,#2\n");
|
||||
ot(" str r0,[r7,#0x50] ;@ Save prev PC\n");
|
||||
ot(" str r4,[r7,#0x50] ;@ Save prev PC + 2\n");
|
||||
#endif
|
||||
#if MEMHANDLERS_NEED_CYCLES
|
||||
ot(" str r5,[r7,#0x5c] ;@ Save Cycles\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue