From 8f6403f233fb993492492a5c30bd648021895d84 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Wed, 2 Oct 2019 15:24:36 +0000 Subject: [PATCH 1/3] Catch another instance of Shift-JIS Also removed the translation because it's ASM-inaccurate --- src/Main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Main.cpp b/src/Main.cpp index 0b069813..b29112d9 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -664,11 +664,7 @@ LRESULT __stdcall WindowProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lPa case 40004: if (!OpenVolumeConfiguration(hWnd)) - #ifdef JAPANESE - MessageBoxA(hWnd, "â{âèâàü[âÇɦÆÞé­ïNô«é+é½é_é¦é±é+éÁé¢", lpWindowName, 0); - #else - MessageBoxA(hWnd, "Could not launch volume configuration", lpWindowName, 0); - #endif + MessageBoxA(hWnd, "â{âèâàü[âÇɦÆÞé­ïNô«é+é½é_é¦é±é+éÁé¢", lpWindowName, 0); // 'ボリューム設定を起動できませんでした' (Could not launch volume configuration) in Shift-JIS break; case 40005: From 5329a6d1b7c2d150712ed075f0c5727a409e609b Mon Sep 17 00:00:00 2001 From: Clownacy Date: Wed, 2 Oct 2019 15:25:43 +0000 Subject: [PATCH 2/3] ...goddammit I didn't save --- src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.cpp b/src/Main.cpp index b29112d9..4cb4bfab 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -664,7 +664,7 @@ LRESULT __stdcall WindowProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lPa case 40004: if (!OpenVolumeConfiguration(hWnd)) - MessageBoxA(hWnd, "â{âèâàü[âÇɦÆÞé­ïNô«é+é½é_é¦é±é+éÁé¢", lpWindowName, 0); // 'ボリューム設定を起動できませんでした' (Could not launch volume configuration) in Shift-JIS + MessageBoxA(hWnd, "\x83\x7B\x83\x8A\x83\x85\x81\x5B\x83\x80\x90\xDD\x92\xE8\x82\xF0\x8B\x4E\x93\xAE\x82\xC5\x82\xAB\x82\xDC\x82\xB9\x82\xF1\x82\xC5\x82\xB5\x82\xBD", lpWindowName, 0); // 'ボリューム設定を起動できませんでした' (Could not launch volume configuration) in Shift-JIS break; case 40005: From 591236398f0dce80814a12807ec3592c0f2ab400 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Wed, 2 Oct 2019 15:28:21 +0000 Subject: [PATCH 3/3] ...And don't break the indentation Am I rusty, or something? Jeez. --- src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.cpp b/src/Main.cpp index 4cb4bfab..cb44dc8b 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -664,7 +664,7 @@ LRESULT __stdcall WindowProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lPa case 40004: if (!OpenVolumeConfiguration(hWnd)) - MessageBoxA(hWnd, "\x83\x7B\x83\x8A\x83\x85\x81\x5B\x83\x80\x90\xDD\x92\xE8\x82\xF0\x8B\x4E\x93\xAE\x82\xC5\x82\xAB\x82\xDC\x82\xB9\x82\xF1\x82\xC5\x82\xB5\x82\xBD", lpWindowName, 0); // 'ボリューム設定を起動できませんでした' (Could not launch volume configuration) in Shift-JIS + MessageBoxA(hWnd, "\x83\x7B\x83\x8A\x83\x85\x81\x5B\x83\x80\x90\xDD\x92\xE8\x82\xF0\x8B\x4E\x93\xAE\x82\xC5\x82\xAB\x82\xDC\x82\xB9\x82\xF1\x82\xC5\x82\xB5\x82\xBD", lpWindowName, 0); // 'ボリューム設定を起動できませんでした' (Could not launch volume configuration) in Shift-JIS break; case 40005: