OSDN Git Service

#36700 Quick hack to work compact mode correctly.
authoryyagi <yyagi.dtxmania@gmail.com>
Mon, 10 Oct 2016 16:05:41 +0000 (00:05 +0800)
committeryyagi <yyagi.dtxmania@gmail.com>
Mon, 10 Oct 2016 16:05:41 +0000 (00:05 +0800)
DTXManiaプロジェクト/コード/全体/Program.cs
実行時フォルダ/DTXManiaGR.exe

index 5ab908d..5eb957e 100644 (file)
@@ -70,6 +70,7 @@ namespace DTXMania
 \r
                                Trace.WriteLine("Current Directory: " + Environment.CurrentDirectory);\r
                                Trace.WriteLine("EXEのあるフォルダ: " + Path.GetDirectoryName(Application.ExecutablePath));\r
+                               Environment.CurrentDirectory = Path.GetDirectoryName(Application.ExecutablePath);\r
 \r
                                #region [DLLの存在チェック]\r
                                if (!tDLLの存在チェック("dll\\SlimDX" + CDTXMania.SLIMDXDLL + ".dll",\r
index 4e98774..ff216ed 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ