mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
remove direct reference to Switch frontend header
This commit is contained in:
@ -1,6 +1,5 @@
|
|||||||
#if defined(__SWITCH__)
|
#if defined(__SWITCH__)
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
#include "frontend/switch/FaultHandler.h"
|
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#else
|
#else
|
||||||
@ -98,6 +97,8 @@ bool FaultHandler(FaultDescription& faultDesc);
|
|||||||
// with LTO the symbols seem to be not properly overriden
|
// with LTO the symbols seem to be not properly overriden
|
||||||
// if they're somewhere else
|
// if they're somewhere else
|
||||||
|
|
||||||
|
void HandleFault(u64 pc, u64 lr, u64 fp, u64 faultAddr, u32 desc);
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user