mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
UWP buildfix
This commit is contained in:
parent
7ca0f6a1c0
commit
6e6f1693d9
1 changed files with 8 additions and 8 deletions
|
@ -49,6 +49,14 @@ void MemFault_Init() {
|
|||
g_ignoredAddresses.clear();
|
||||
}
|
||||
|
||||
bool MemFault_MayBeResumable() {
|
||||
return g_lastCrashAddress != nullptr;
|
||||
}
|
||||
|
||||
void MemFault_IgnoreLastCrash() {
|
||||
g_ignoredAddresses.insert(g_lastCrashAddress);
|
||||
}
|
||||
|
||||
#ifdef MACHINE_CONTEXT_SUPPORTED
|
||||
|
||||
static bool DisassembleNativeAt(const uint8_t *codePtr, int instructionSize, std::string *dest) {
|
||||
|
@ -74,14 +82,6 @@ static bool DisassembleNativeAt(const uint8_t *codePtr, int instructionSize, std
|
|||
return false;
|
||||
}
|
||||
|
||||
bool MemFault_MayBeResumable() {
|
||||
return g_lastCrashAddress != nullptr;
|
||||
}
|
||||
|
||||
void MemFault_IgnoreLastCrash() {
|
||||
g_ignoredAddresses.insert(g_lastCrashAddress);
|
||||
}
|
||||
|
||||
bool HandleFault(uintptr_t hostAddress, void *ctx) {
|
||||
SContext *context = (SContext *)ctx;
|
||||
const uint8_t *codePtr = (uint8_t *)(context->CTX_PC);
|
||||
|
|
Loading…
Add table
Reference in a new issue