Consistently use MIPS_REG_V0 for return values.

This way all instances are a lot easier to search for (was trying to find
where we were writing an incorrect value to v0, turns out to be callback
related of course.)
This commit is contained in:
Unknown W. Brackets
2014-03-04 08:21:55 -08:00
parent 446418d783
commit 641064f0bc
5 changed files with 35 additions and 60 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ public:
};
void AfterModuleEntryCall::run(MipsCall &call) {
Memory::Write_U32(retValAddr, currentMIPS->r[2]);
Memory::Write_U32(retValAddr, currentMIPS->r[MIPS_REG_V0]);
}
//////////////////////////////////////////////////////////////////////////