Implement MMIO for the JIT (by falling back to the interpreter for load/stores from kernel addresses)

Fixes the VSH in JIT mode (but NOT ir)
This commit is contained in:
Henrik Rydgård committed 2026-08-25 00:22:40 +02:00
1 parent fb385e7627
commit a810597ac0
13 files changed
+139 -10

No files matched your search

+8
View File
@@ -271,6 +271,14 @@ namespace MIPSComp
{
CONDITIONAL_DISABLE(LSU);
CheckMemoryBreakpoint();
if (js.kernelMode) {
// Send all memory accesses to the interpreter in kernel mode.
// TODO: Do something faster - but it hardly matters, currently this is VSH-only.
DISABLE;
return;
}
int offset = (signed short)(op&0xFFFF);
bool load = false;
MIPSGPReg rt = _RT;