diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index 9d6466acf..7727d7d72 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -20,6 +20,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +// icon gradient: #f6f6fb to #8080c0 +// RGB(246, 246, 251) to RGB(128, 128, 192) + #include "windriver.h" #include #include @@ -1905,11 +1908,6 @@ void SetLanguage(int langid) setLanguage(MAKELCID(MAKELANGID(LANG_FRENCH, SUBLANG_FRENCH), SORT_DEFAULT)); SetThreadLocale(MAKELCID(MAKELANGID(LANG_FRENCH, SUBLANG_FRENCH), SORT_DEFAULT)); break; - case 2: - // Danish - setLanguage(MAKELCID(MAKELANGID(LANG_DANISH, SUBLANG_DEFAULT), SORT_DEFAULT)); - SetThreadLocale(MAKELCID(MAKELANGID(LANG_DANISH, SUBLANG_DEFAULT), SORT_DEFAULT)); - break; case 3: // Chinese setLanguage(MAKELCID(MAKELANGID(LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED), SORT_DEFAULT)); @@ -4819,11 +4817,6 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM ChangeLanguage(1); CheckLanguage(LOWORD(wParam)); return 0; - case IDC_LANGDANISH: - SaveLanguage(2); - ChangeLanguage(2); - CheckLanguage(LOWORD(wParam)); - return 0; case IDC_LANG_CHINESE_SIMPLIFIED: SaveLanguage(3); ChangeLanguage(3); @@ -5569,6 +5562,7 @@ static LRESULT CALLBACK SoundSettingsDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam //write interpolation type CommonSettings.spuInterpolationMode = (SPUInterpolationMode)SendDlgItemMessage(hDlg, IDC_SPU_INTERPOLATION_CB, CB_GETCURSEL, 0, 0); + //SPU_SetInterpolationMode(CommonSettings.spuInterpolationMode); WritePrivateProfileInt("Sound","SPUInterpolation",(int)CommonSettings.spuInterpolationMode, IniName); return TRUE;