shader: complete faulting SRT walker loads as zero reads

This commit is contained in:
nmzik committed 2026-10-24 01:39:42 +02:00
1 parent f356fa3730
commit bdf48dcf3b
6 files changed
+72 -6

No files matched your search

+4
View File
@@ -1,9 +1,13 @@
#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