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:
864ac1d
)
core, fix floating bus read for 68k (regression)
author
kub
<derkub@gmail.com>
Sat, 18 May 2024 19:58:25 +0000
(21:58 +0200)
committer
kub
<derkub@gmail.com>
Sat, 18 May 2024 20:29:49 +0000
(22:29 +0200)
pico/memory.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/memory.c
b/pico/memory.c
index
eca0ba4
..
487c5de
100644
(file)
--- a/
pico/memory.c
+++ b/
pico/memory.c
@@
-204,7
+204,7
@@
u32 PicoRead16_floating(u32 a)
// faking open bus
\r
u32 d = (Pico.m.rotate += 0x41);
\r
d ^= (d << 5) ^ (d << 8);
\r
- if ((a & 0xff0000) == 0xa10000)
d = 0
; // MegaCD pulldowns don't work here curiously
\r
+ if ((a & 0xff0000) == 0xa10000)
return d
; // MegaCD pulldowns don't work here curiously
\r
return (PicoIn.AHW & PAHW_MCD) ? 0x00 : d; // pulldown if MegaCD2 attached
\r
}
\r
\r