mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add a utility function for all the ABIs to call functions with a pointer arg. Use to call Advance from the JIT with the MIPSContext. Indent some code better.
This commit is contained in:
1 parent
95f1dc648d
commit
eb0813c0e3
22 files changed
+90
-52
No files matched your search
+1
-2
@@ -379,8 +379,7 @@ void ForceCheck(MIPSState *mips) {
|
||||
#endif
|
||||
}
|
||||
|
||||
void Advance() {
|
||||
MIPSState *mips = currentMIPS; // TODO: Move to parameter
|
||||
void Advance(MIPSState *mips) {
|
||||
PROFILE_THIS_SCOPE("advance");
|
||||
int cyclesExecuted = slicelength - mips->downcount;
|
||||
globalTimer += cyclesExecuted;
|
||||
|
||||
Reference in new issue
Block a user