notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94fde3
)
lightrec: hack to fix a wrong assumption
author
notaz
<notasas@gmail.com>
Sat, 8 Jul 2023 22:47:33 +0000
(
01:47
+0300)
committer
notaz
<notasas@gmail.com>
Sat, 8 Jul 2023 22:47:33 +0000
(
01:47
+0300)
deps/lightrec/emitter.c
patch
|
blob
|
blame
|
history
diff --git
a/deps/lightrec/emitter.c
b/deps/lightrec/emitter.c
index
0eff0ce
..
14820e5
100644
(file)
--- a/
deps/lightrec/emitter.c
+++ b/
deps/lightrec/emitter.c
@@
-1933,10
+1933,11
@@
rec_mtc0(struct lightrec_cstate *state, const struct block *block, u16 offset)
break;
}
- if (
block_in_bios(state, block) &&
c.r.rd == 12) {
+ if (
/*block_in_bios(state, block) &&*/
c.r.rd == 12) {
/* If we are running code from the BIOS, handle writes to the
* Status register in C. BIOS code may toggle bit 16 which will
* map/unmap the RAM, while game code cannot do that. */
+ /* ^ wrong, it can execute from 0xa0000000 with isolated cache */
rec_mtc(state, block, offset);
return;
}