big oops
forgot to commit the PatchEngine.cpp a looong time ago git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@737 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
abe24d1c36
commit
14541f0f8a
|
@ -115,7 +115,7 @@ void LoadActionReplayCodes(IniFile &ini);
|
|||
void PatchEngine_LoadPatches(const char *gameID)
|
||||
{
|
||||
IniFile ini;
|
||||
std::string filename = std::string("Patches/") + gameID + ".ini";
|
||||
std::string filename = std::string("GameIni/") + gameID + ".ini";
|
||||
if (ini.Load(filename.c_str())) {
|
||||
LoadPatchSection("OnLoad", onLoad, ini);
|
||||
LoadPatchSection("OnFrame", onFrame, ini);
|
||||
|
|
|
@ -261,14 +261,14 @@ void CGameListCtrl::InsertItemInReportView(long _Index)
|
|||
std::string GameIni;
|
||||
item.SetColumn(COLUMN_EMULATION_STATE);
|
||||
//NOTE (Daco): i dont like the fact of having so much ini's just to have
|
||||
//the game emulation state of every game you have.
|
||||
//the game emulation state of every game you have. but 1 huge ini is no option
|
||||
GameIni = "GameIni/" + (rISOFile.GetUniqueID()) + ".ini";
|
||||
ini.Load(GameIni.c_str());
|
||||
ini.Get("EmuState","EmulationStateId",&EmuState);
|
||||
if (EmuState.empty())
|
||||
{
|
||||
//srry, its empty
|
||||
//item.SetText("unknown");
|
||||
//item.SetText(_("unknown"));
|
||||
//without unknown it looks more pretty :P
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue