fix dll search path

This commit is contained in:
zeromus 2012-10-10 02:43:33 +00:00
parent 19e5325afa
commit e2e0e6681e
1 changed files with 3 additions and 3 deletions

View File

@ -46,10 +46,10 @@ namespace BizHawk.MultiClient
Global.Config = ConfigService.Load<Config>(PathManager.DefaultIniPath, new Config());
// this will look in subdirectory "dll" to load pinvoked stuff
Win32.SetDllDirectory("dll");
#if WINDOWS
// this will look in subdirectory "dll" to load pinvoked stuff
Win32.SetDllDirectory(System.IO.Path.Combine(PathManager.GetExeDirectoryAbsolute(),"dll"));
try { Global.DSound = new DirectSound(); }
catch
{