From 394ed34673be4f54c9fe947466295f8008b4edcb Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 16 Apr 2025 15:56:04 -0700 Subject: [PATCH] Add drag-n-drop support for loading game ISO --- Runtime/CMain.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Runtime/CMain.cpp b/Runtime/CMain.cpp index 7a2af40bd..7a4e5affa 100644 --- a/Runtime/CMain.cpp +++ b/Runtime/CMain.cpp @@ -239,6 +239,13 @@ public: m_imGuiConsole.ToggleVisible(); m_lAltHeld = false; } + break; + case SDL_EVENT_DROP_FILE: { + m_imGuiConsole.m_gameDiscSelected = event.drop.data; + break; + } + default: + break; } }