You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
440 B
19 lines
440 B
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#define SIGBUS EXCEPTION_DATATYPE_MISALIGNMENT
|
|
#define SIGSEGV EXCEPTION_ACCESS_VIOLATION
|
|
#define SIGUSR2 0xE0000001
|
|
#define SIGURG 0xE0000002
|
|
|
|
namespace Core {
|
|
|
|
thread_local bool is_host_fault = false;
|
|
|
|
static s32 WINAPI VectoredExecptionHandler(EXCEPTION_POINTERS* info);
|
|
|
|
} // namespace Core
|