This commit is contained in:
wheremyfoodat 2024-03-20 18:25:12 +02:00
parent e576e64736
commit 1a934fc2c7
7 changed files with 12 additions and 9 deletions

View file

@ -5,11 +5,10 @@
#include <filesystem>
#include "emulator.hpp"
#include "mappings.hpp"
#include "input_mappings.hpp"
class FrontendSDL {
Emulator emu;
InputMappings keyboardMappings;
#ifdef PANDA3DS_ENABLE_OPENGL
SDL_GLContext glContext;
#endif
@ -22,6 +21,8 @@ class FrontendSDL {
SDL_Window* window = nullptr;
SDL_GameController* gameController = nullptr;
InputMappings keyboardMappings;
int gameControllerID;
bool programRunning = true;