mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 14:45:41 +12:00
23 lines
No EOL
372 B
C++
23 lines
No EOL
372 B
C++
#pragma once
|
|
|
|
#include <SDL.h>
|
|
|
|
#include <filesystem>
|
|
|
|
#include "emulator.hpp"
|
|
|
|
class FrontendSDL {
|
|
Emulator emu;
|
|
#ifdef PANDA3DS_ENABLE_OPENGL
|
|
SDL_GLContext glContext;
|
|
#endif
|
|
|
|
public:
|
|
FrontendSDL();
|
|
bool loadROM(const std::filesystem::path& path);
|
|
void run();
|
|
|
|
SDL_Window* window = nullptr;
|
|
SDL_GameController* gameController = nullptr;
|
|
int gameControllerID;
|
|
}; |