notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec03575
)
core, fix bug in m68k state saving
author
kub
<derkub@gmail.com>
Thu, 26 Oct 2023 21:52:07 +0000
(23:52 +0200)
committer
kub
<derkub@gmail.com>
Thu, 26 Oct 2023 21:52:07 +0000
(23:52 +0200)
thanks to bnister for pointing this out
pico/sek.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/sek.c
b/pico/sek.c
index
77cf73e
..
4dd0b4a
100644
(file)
--- a/
pico/sek.c
+++ b/
pico/sek.c
@@
-221,7
+221,7
@@
PICO_INTERNAL void SekPackCpu(unsigned char *cpu, int is_sub)
*(s16 *)(cpu+0x4e) = SekCycleCntS68k - SekCycleAimS68k;
\r
} else {
\r
*(u32 *)(cpu+0x50) = Pico.t.m68c_cnt;
\r
- *(
u32
*)(cpu+0x4e) = Pico.t.m68c_cnt - Pico.t.m68c_aim;
\r
+ *(
s16
*)(cpu+0x4e) = Pico.t.m68c_cnt - Pico.t.m68c_aim;
\r
}
\r
}
\r
\r