mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-09-26 16:59:35 -04:00
d7306d2095
* feat: pin dependencies * feat: dwarf parse * fix duplicated functions * feat: small code cleanup * feat: crash prevent * feat: modernize code * feat: split m_libFunctions from m_knownLibNames * feat: added ghidra loader * feat: auto bootstrap name for recompiler
24 lines
476 B
C++
24 lines
476 B
C++
#ifndef PS2RECOMP_CONFIG_MANAGER_H
|
|
#define PS2RECOMP_CONFIG_MANAGER_H
|
|
|
|
#include "ps2recomp/types.h"
|
|
#include <string>
|
|
|
|
namespace ps2recomp
|
|
{
|
|
class ConfigManager
|
|
{
|
|
public:
|
|
explicit ConfigManager(const std::string &configPath);
|
|
~ConfigManager();
|
|
|
|
RecompilerConfig loadConfig() const;
|
|
void saveConfig(const RecompilerConfig &config) const;
|
|
|
|
private:
|
|
std::string m_configPath;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // PS2RECOMP_CONFIG_MANAGER_H
|