remove direct reference to Switch frontend header

This commit is contained in:
RSDuck 2021-03-03 00:43:56 +01:00
parent cb34032ac8
commit 6a3aa551da
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,5 @@
#if defined(__SWITCH__)
#include <switch.h>
#include "frontend/switch/FaultHandler.h"
#elif defined(_WIN32)
#include <windows.h>
#else
@ -98,6 +97,8 @@ bool FaultHandler(FaultDescription& faultDesc);
// with LTO the symbols seem to be not properly overriden
// if they're somewhere else
void HandleFault(u64 pc, u64 lr, u64 fp, u64 faultAddr, u32 desc);
extern "C"
{