mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Common/IniFile: Move interface into Common namespace
Gets this out of the global namespace and into the Common namespace
This commit is contained in:
parent
5c03b8af88
commit
e4caace6bb
45 changed files with 172 additions and 137 deletions
|
@ -9,7 +9,10 @@
|
|||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
namespace Common
|
||||
{
|
||||
class IniFile;
|
||||
}
|
||||
|
||||
namespace PatchEngine
|
||||
{
|
||||
|
@ -47,8 +50,8 @@ int GetSpeedhackCycles(const u32 addr);
|
|||
std::optional<PatchEntry> DeserializeLine(std::string line);
|
||||
std::string SerializeLine(const PatchEntry& entry);
|
||||
void LoadPatchSection(const std::string& section, std::vector<Patch>* patches,
|
||||
const IniFile& globalIni, const IniFile& localIni);
|
||||
void SavePatchSection(IniFile* local_ini, const std::vector<Patch>& patches);
|
||||
const Common::IniFile& globalIni, const Common::IniFile& localIni);
|
||||
void SavePatchSection(Common::IniFile* local_ini, const std::vector<Patch>& patches);
|
||||
void LoadPatches();
|
||||
|
||||
void AddMemoryPatch(std::size_t index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue