# HG changeset patch # User Ritor1 # Date 1358518530 -21600 # Node ID a32303569c4247eba2f260ea025062ae279b8cdf # Parent 5070f4343e0ed3c66d6e0f8e54f15dae7c3945f2 18.01.13 (64 bit) diff -r 5070f4343e0e -r a32303569c42 mm7_2.cpp --- a/mm7_2.cpp Fri Jan 18 00:00:20 2013 +0600 +++ b/mm7_2.cpp Fri Jan 18 20:15:30 2013 +0600 @@ -13027,7 +13027,7 @@ hKey = 0; phkResult = 0; cbData = 4; - if ( !RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE", 0, 0x2001Fu, &hKey) ) + if ( !RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE", 0, KEY_READ|KEY_WOW64_32KEY, &hKey) ) { if ( !RegCreateKeyExA(hKey, "New World Computing", 0, "", 0, 0xF003Fu, 0, &phkResult, &dwDisposition) ) {