mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 16:50:05 +02:00
2026-09-26 18:53:45
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
262eb629f4
commit
7da04096cb
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ static std::mutex vector_regions_mutex {};
|
||||||
// Workaround for handling non-commited memory accessed by Dynarmic; usually result of an error
|
// Workaround for handling non-commited memory accessed by Dynarmic; usually result of an error
|
||||||
static LONG WINAPI FakePageFaultHandler(PEXCEPTION_POINTERS info) {
|
static LONG WINAPI FakePageFaultHandler(PEXCEPTION_POINTERS info) {
|
||||||
DWORD code = info->ExceptionRecord->ExceptionCode;
|
DWORD code = info->ExceptionRecord->ExceptionCode;
|
||||||
u64 exception_addr = reinterpret_cast<u64>(info->ExceptionRecord->ExceptionInformation[1]);
|
u64 exception_addr = u64(info->ExceptionRecord->ExceptionInformation[1]);
|
||||||
|
|
||||||
if (code != EXCEPTION_ACCESS_VIOLATION || info->ExceptionRecord->ExceptionInformation[0] == 1) {
|
if (code != EXCEPTION_ACCESS_VIOLATION || info->ExceptionRecord->ExceptionInformation[0] == 1) {
|
||||||
// Not our problem
|
// Not our problem
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue