Don't force users to load rom from terminal or by dragging and dropping onto executable file. Instead, open a blank window and use SDL's drag&drop feature

This commit is contained in:
SimoneN64 2023-07-10 20:48:13 +02:00
parent 008f0bfb84
commit 53873c75cc
3 changed files with 169 additions and 143 deletions

View file

@ -47,7 +47,7 @@ class Emulator {
static constexpr u32 width = 400;
static constexpr u32 height = 240 * 2; // * 2 because 2 screens
ROMType romType = ROMType::None;
bool running = true;
bool running = true, romLoaded = false;
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
HttpServer httpServer;