mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 08:13:05 +00:00
15 lines
442 B
C++
15 lines
442 B
C++
#ifndef KYTY_LOADER_X64_INSTRUCTION_EMULATOR_H_
|
|
#define KYTY_LOADER_X64_INSTRUCTION_EMULATOR_H_
|
|
|
|
#include <cstddef>
|
|
|
|
namespace Loader::X64InstructionEmulator {
|
|
|
|
[[nodiscard]] bool TryEmulate(void* native_context);
|
|
// Completes a faulting load into EAX as a zero read and resumes after it.
|
|
void SkipLoad(void* native_context, size_t length);
|
|
|
|
} // namespace Loader::X64InstructionEmulator
|
|
|
|
#endif /* KYTY_LOADER_X64_INSTRUCTION_EMULATOR_H_ */
|