From 1a2663f7ac84d4e4f472e0796b937447ee6fab6b Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 22 Mar 2020 21:10:11 +1100 Subject: [PATCH] Change detection arrays for Redneck games. - Redneck Deer Huntin' also comes with Redneck Rampage Rides Again. - Changes permit all games to be detected, including RRRA if you own Deer Huntin'. --- source/common/searchpaths.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/common/searchpaths.cpp b/source/common/searchpaths.cpp index 993fd68cf..d7f15cbed 100644 --- a/source/common/searchpaths.cpp +++ b/source/common/searchpaths.cpp @@ -97,8 +97,7 @@ static const char * nam[] = { "/NAM", nullptr}; static const char * ww2gi[] = { "/WW2GI", nullptr}; static const char * bloodfs[] = { "", R"(/addons/Cryptic Passage)", nullptr}; static const char * sw[] = { "/Shadow Warrior", nullptr}; -static const char * redneck[] = { "/Redneck", "/AGAIN", nullptr }; -static const char * rrdh[] = { "/HUNTIN", nullptr }; +static const char * redneck[] = { "/Redneck", "/AGAIN", "/HUNTIN", nullptr }; #ifndef _WIN64 #define WOW64 "\\" @@ -129,7 +128,7 @@ static const RegistryPathInfo paths[] = { { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 565550", L"InstallLocation", redneck}, { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 580940", L"InstallLocation", redneck}, - { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 580930", L"InstallLocation", rrdh}, + { L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Steam App 580930", L"InstallLocation", redneck}, #if 0 { L"SOFTWARE\\3DRealms\\Duke Nukem 3D", nullptr, dn3d }, { L"SOFTWARE\\3DRealms\\Anthology", nullptr, dn3d },