PSFLoader: Support loading minipsfs/libraries

This commit is contained in:
Connor McLaughlin
2021-01-24 13:17:22 +10:00
parent baf8b1af43
commit 10135e08a2
6 changed files with 134 additions and 30 deletions

View File

@ -119,6 +119,10 @@ ALWAYS_INLINE_RELEASE TickCount UnscaleTicksToOverclock(TickCount ticks, TickCou
TickCount GetMaxSliceTicks();
void UpdateOverclock();
/// Injects a PS-EXE into memory at its specified load location. If patch_loader is set, the BIOS will be patched to
/// direct execution to this executable.
bool InjectEXEFromBuffer(const void* buffer, u32 buffer_size, bool patch_loader = true);
u32 GetFrameNumber();
u32 GetInternalFrameNumber();
void FrameDone();