summaryrefslogtreecommitdiff
path: root/src/port/Engine.cpp
diff options
context:
space:
mode:
authorTim Schneeberger <tim.schneeberger@outlook.de>2026-06-10 23:42:07 +0200
committerGitHub <noreply@github.com>2026-06-10 23:42:07 +0200
commit458613f2d94a969c9920dfc12ed57acfca7e5916 (patch)
treefb30ae2208f1f1072f9cb44759c060d5105ee8f4 /src/port/Engine.cpp
parentefdaf9d8fdc99f79527220617ba0004fb882aad3 (diff)
Fix Switch build (#705)
* Remove duplicate Switch::Init(PostInit) call. It was called multiple times, causing multiple applet hooks (that all point to the same callback address) to be registered. For some reason, the OS started spamming us with FocusUpdate events via that hook because of that. * Hide fullscreen and app data directory button on Switch
Diffstat (limited to 'src/port/Engine.cpp')
-rw-r--r--src/port/Engine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp
index e55022335..b6ba9a226 100644
--- a/src/port/Engine.cpp
+++ b/src/port/Engine.cpp
@@ -84,7 +84,6 @@ GameEngine::GameEngine() {
#ifdef __SWITCH__
Ship::Switch::Init(Ship::PreInitPhase);
- Ship::Switch::Init(Ship::PostInitPhase);
#endif
#ifdef _WIN32