Add config class

This commit is contained in:
wheremyfoodat 2023-07-08 16:16:00 +03:00
parent 90a88eee39
commit bc3377ac78
6 changed files with 75 additions and 2 deletions

10
include/config.hpp Normal file
View file

@ -0,0 +1,10 @@
#pragma once
#include <filesystem>
// Remember to initialize everything field here to its default value otherwise bad things will happen
struct EmulatorConfig {
bool shaderJitEnabled = false;
void load(const std::filesystem::path& path);
void save(const std::filesystem::path& path);
};