mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
Bonk
This commit is contained in:
parent
1c50ca065d
commit
c0c3153cd8
3 changed files with 10 additions and 10 deletions
|
@ -4,16 +4,18 @@
|
|||
|
||||
#include "emulator.hpp"
|
||||
|
||||
struct FrontendSDL {
|
||||
class FrontendSDL {
|
||||
Emulator emu;
|
||||
#ifdef PANDA3DS_ENABLE_OPENGL
|
||||
SDL_GLContext glContext;
|
||||
#endif
|
||||
|
||||
public:
|
||||
FrontendSDL();
|
||||
bool loadROM(const std::filesystem::path& path);
|
||||
void run();
|
||||
|
||||
Emulator emu;
|
||||
SDL_Window* window = nullptr;
|
||||
#ifdef PANDA3DS_ENABLE_OPENGL
|
||||
SDL_GLContext glContext;
|
||||
#endif
|
||||
SDL_GameController* gameController = nullptr;
|
||||
int gameControllerID;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue