mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 00:04:49 +02:00
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:
@@ -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]);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user