From da4a35fdb0c199cb0ad2e593075d13ba8284bf94 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 27 Jun 2005 19:51:41 +0000 Subject: [PATCH] Get rid of the WaveMapper and MidiMapper options, the defaults should be good enough in all cases. --- dlls/winmm/lolvldrv.c | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/dlls/winmm/lolvldrv.c b/dlls/winmm/lolvldrv.c index 8dbee9380c0..4a7b3b1bbd5 100644 --- a/dlls/winmm/lolvldrv.c +++ b/dlls/winmm/lolvldrv.c @@ -751,23 +751,8 @@ BOOL MMDRV_Init(void) p = next; } - /* finish with mappers */ - - /* @@ Wine registry key: HKLM\Software\Wine\Wine\Config\WinMM */ - if (! RegCreateKeyA(HKEY_LOCAL_MACHINE, "Software\\Wine\\Wine\\Config\\WinMM", &hKey)) { - size = sizeof(mapper_buffer); - if (RegQueryValueExA(hKey, "WaveMapper", 0, &type, (LPVOID)mapper_buffer, &size)) - strcpy(mapper_buffer, WINE_DEFAULT_WINMM_MAPPER); - - size = sizeof(midi_buffer); - if (RegQueryValueExA(hKey, "MidiMapper", 0, &type, (LPVOID)midi_buffer, &size)) - strcpy(midi_buffer, WINE_DEFAULT_WINMM_MIDI); - - RegCloseKey(hKey); - } - - ret |= MMDRV_Install("wavemapper", mapper_buffer, TRUE); - ret |= MMDRV_Install("midimapper", midi_buffer, TRUE); + ret |= MMDRV_Install("wavemapper", WINE_DEFAULT_WINMM_MAPPER, TRUE); + ret |= MMDRV_Install("midimapper", WINE_DEFAULT_WINMM_MIDI, TRUE); return ret; }