switch to INI for settings (easier), make settings a singleton thingy, slightly simplify core pause/stop/reset. Drop support for remappable inputs for now
This commit is contained in:
@@ -25,10 +25,7 @@ private:
|
||||
class SDLWSIPlatform final : public Vulkan::WSIPlatform {
|
||||
public:
|
||||
explicit SDLWSIPlatform(const std::shared_ptr<n64::Core> &core, SDL_Window* window) : window(window), core(core) {}
|
||||
~SDLWSIPlatform() {
|
||||
if(gamepadConnected)
|
||||
SDL_CloseGamepad(gamepad);
|
||||
}
|
||||
~SDLWSIPlatform() = default;
|
||||
|
||||
std::vector<const char *> get_instance_extensions() override {
|
||||
auto vec = std::vector<const char *>();
|
||||
@@ -71,7 +68,6 @@ public:
|
||||
VkSurfaceKHR surface;
|
||||
private:
|
||||
std::shared_ptr<n64::Core> core;
|
||||
SDL_Gamepad *gamepad{};
|
||||
bool gamepadConnected = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user