move libgambatte.dll to a "dll" subdirectory
This commit is contained in:
parent
2a4bccbe12
commit
a9de8b8f55
|
@ -46,6 +46,9 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
Global.Config = ConfigService.Load<Config>(PathManager.DefaultIniPath, new Config());
|
Global.Config = ConfigService.Load<Config>(PathManager.DefaultIniPath, new Config());
|
||||||
|
|
||||||
|
// this will look in subdirectory "dll" to load pinvoked stuff
|
||||||
|
Win32.SetDllDirectory("dll");
|
||||||
|
|
||||||
#if WINDOWS
|
#if WINDOWS
|
||||||
try { Global.DSound = new DirectSound(); }
|
try { Global.DSound = new DirectSound(); }
|
||||||
catch
|
catch
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
del /s BizHawk.zip
|
del /s BizHawk.zip
|
||||||
copy ..\..\SlimDx.dll
|
copy ..\..\SlimDx.dll
|
||||||
zip -X -9 -r BizHawk.zip BizHawk.MultiClient.exe DiscoHawk.exe *.dll ffmpeg.exe gamedb NES\Palettes Lua Gameboy\Palettes
|
zip -X -9 -r BizHawk.zip BizHawk.MultiClient.exe DiscoHawk.exe *.dll dll ffmpeg.exe gamedb NES\Palettes Lua Gameboy\Palettes
|
|
@ -437,12 +437,11 @@ namespace BizHawk
|
||||||
return new string(chs);
|
return new string(chs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
||||||
public static extern int SendMessage(IntPtr hWnd, int msg, int wParam, int lParam);
|
public static extern int SendMessage(IntPtr hWnd, int msg, int wParam, int lParam);
|
||||||
|
|
||||||
|
[DllImport("kernel32.dll", SetLastError = true)]
|
||||||
|
public static extern bool SetDllDirectory(string lpPathName);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue