Add config class
This commit is contained in:
10
include/config.hpp
Normal file
10
include/config.hpp
Normal 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);
|
||||
};
|
||||
Reference in New Issue
Block a user