gpsp/mips
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
..
mips_codegen.h [mips] Remove IWRAM stack optimization hack 2021-12-30 23:39:09 +01:00
mips_emit.h [mips] Remove IWRAM stack optimization hack 2021-12-30 23:39:09 +01:00
mips_stub.S [mips] Remove IWRAM stack optimization hack 2021-12-30 23:39:09 +01:00