mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-20 00:40:47 +00:00
Reactivated the overrides modifying manually directly the inis. Now the app should be stable enough to allow base testing. I can now restart working on the debugger.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4116 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
3038ccafb9
commit
0c32038480
@ -189,6 +189,18 @@ namespace GSDumpGUI
|
||||
SelectedRenderer = "4";
|
||||
break;
|
||||
}
|
||||
if (SelectedRenderer != "-1")
|
||||
{
|
||||
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + "GSDumpGSDXConfigs\\" + GSDXName + "\\inis\\gsdx.ini"))
|
||||
{
|
||||
String ini = File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + "GSDumpGSDXConfigs\\" + GSDXName + "\\inis\\gsdx.ini");
|
||||
int pos = ini.IndexOf("Renderer=", 0);
|
||||
String newini = ini.Substring(0, pos + 9);
|
||||
newini += SelectedRenderer;
|
||||
newini += ini.Substring(pos + 10, ini.Length - pos - 10);
|
||||
File.WriteAllText(AppDomain.CurrentDomain.BaseDirectory + "GSDumpGSDXConfigs\\" + GSDXName + "\\inis\\gsdx.ini", newini);
|
||||
}
|
||||
}
|
||||
if (lstDumps.SelectedItem != null)
|
||||
DumpPath = Properties.Settings.Default.DumpDir + "\\" +
|
||||
lstDumps.SelectedItem.ToString().Split(new char[] { '|' })[0];
|
||||
|
Loading…
Reference in New Issue
Block a user