mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Disable a bunch of function replacements.
These are just for speed, let's turn them off. Using a flag because: * I think there's still some issue with savestates, not sure. * We might swap this flag to a separate option.
This commit is contained in:
@@ -39,11 +39,13 @@
|
||||
typedef int (* ReplaceFunc)();
|
||||
|
||||
enum {
|
||||
REPFLAG_ALLOWINLINE = 1,
|
||||
// Note that this will re-execute in a funciton that loops at start.
|
||||
REPFLAG_HOOKENTER = 2,
|
||||
REPFLAG_ALLOWINLINE = 0x01,
|
||||
// Used to keep things around but disable them.
|
||||
REPFLAG_DISABLED = 0x02,
|
||||
// Note that this will re-execute in a function that loops at start.
|
||||
REPFLAG_HOOKENTER = 0x04,
|
||||
// Only hooks jr ra, so only use on funcs that have that.
|
||||
REPFLAG_HOOKEXIT = 4,
|
||||
REPFLAG_HOOKEXIT = 0x08,
|
||||
};
|
||||
|
||||
// Kind of similar to HLE functions but with different data.
|
||||
|
||||
Reference in New Issue
Block a user