remove direct reference to Switch frontend header
This commit is contained in:
parent
cb34032ac8
commit
6a3aa551da
|
@ -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"
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue