Commit graph

6 commits

Author SHA1 Message Date
lif
2e9fb813a9 minor cleanup and write an emit for load/store doubleword 2023-12-24 17:13:41 -08:00
lif
9a4ee26edc seeing if fixing the vr4300 mult bug helps 2023-12-24 13:51:11 -08:00
lif
a28418a331 may as well preempt the vr4300 mul bug 2023-12-24 13:51:11 -08:00
David Guillen Fandos
8c4196d19e Add MIPS codegen tests 2023-01-05 21:29:20 +01:00
David Guillen Fandos
ef399b9315 [mips] Remove IWRAM stack optimization hack
Converted the hack into another... hopefully better hack.
Check for IW/EWRAM addr bit and handle accesses to EWRAM by correcting
the base addr and the mirroring range.
Assumes that iwram and ewram buffers are at a distance multiple of 64KB
for speed (so that lw/sw offsets can be shared).

This fixes a variety of games that should have been present in
game_config.txt such as Ninja Cop, Star Wars JPB, Medal of Honor,
Spongebob, etc. Some of them were just missing regional versions of the
cart. It also fixes newer games and homebrew such as GoodBoy Galaxy.
2021-12-30 23:39:09 +01:00
David Guillen Fandos
15cc02e03c [MIPS] Move and restructure mips backend 2021-10-30 22:59:33 +02:00