diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2025-03-07 17:59:01 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2025-03-07 17:59:01 -0600 |
| commit | f0b91837fed6cff4ee77ade4e6f667a21854bc04 (patch) | |
| tree | bf184b7c50deb156bb6404cd5f634e9baa17b54a /src/port | |
| parent | b6c0ec700a9d0c6f8747a5b76c2c1ec7b3ba2238 (diff) | |
Fixed some compilation issuesnx
Diffstat (limited to 'src/port')
| -rw-r--r-- | src/port/GBIMiddleware.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/port/GBIMiddleware.cpp b/src/port/GBIMiddleware.cpp index 3881453d1..26ab8d08c 100644 --- a/src/port/GBIMiddleware.cpp +++ b/src/port/GBIMiddleware.cpp @@ -30,6 +30,10 @@ extern "C" void gSPVertex(Gfx* pkt, uintptr_t v, int n, int v0) { } extern "C" void gSPInvalidateTexCache(Gfx* pkt, uintptr_t texAddr) { +#ifdef __SWITCH__ + // TODO: This kills performance on the Switch, we need to limit the amount of times we call this + return; +#endif auto data = reinterpret_cast<char*>(texAddr); if (texAddr != 0 && GameEngine_OTRSigCheck(data)) { |
