Really fix last bug :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4129 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-12-22 20:04:12 +00:00
parent 38d320335f
commit 056844fe1c
1 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,9 @@ namespace GSDumpGUI
{
if (args.Length == 4)
{
// do this first, else racy mess ;)
wrap = new GSDXWrapper();
try
{
Client = new TCPLibrary.MessageBased.Core.BaseMessageClient();
@ -71,7 +74,6 @@ namespace GSDumpGUI
String Operation = args[2];
Int32 Renderer = Convert.ToInt32(args[3]);
wrap = new GSDXWrapper();
wrap.Load(DLLPath);
Directory.SetCurrentDirectory(Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory + "GSDumpGSDXConfigs\\" + Path.GetFileName(DLLPath) + "\\"));
if (Operation == "GSReplay")