From 2f0116a68ccde48bca55905ed1e5df40de095b81 Mon Sep 17 00:00:00 2001 From: SirMangler Date: Mon, 15 Nov 2021 19:06:58 +0000 Subject: [PATCH] Recognise Metroid GC option as GC controller --- Source/Core/Common/Version.cpp | 2 +- Source/Core/Core/HW/SI/SI_Device.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/Common/Version.cpp b/Source/Core/Common/Version.cpp index b6bdff3cff..39251b4d83 100644 --- a/Source/Core/Common/Version.cpp +++ b/Source/Core/Common/Version.cpp @@ -18,7 +18,7 @@ namespace Common #endif const std::string primehack_ver = "1.0.5"; -const std::string scm_rev_str = "PrimeHack Pre-Release [v"+primehack_ver+"]"; +const std::string scm_rev_str = "PrimeHack Release [v"+primehack_ver+"]"; const std::string scm_rev_git_str = SCM_REV_STR; const std::string scm_desc_str = SCM_DESC_STR; diff --git a/Source/Core/Core/HW/SI/SI_Device.cpp b/Source/Core/Core/HW/SI/SI_Device.cpp index fa823ff8ad..a5fc6a432d 100644 --- a/Source/Core/Core/HW/SI/SI_Device.cpp +++ b/Source/Core/Core/HW/SI/SI_Device.cpp @@ -158,6 +158,7 @@ bool SIDevice_IsGCController(SIDevices type) switch (type) { case SIDEVICE_GC_CONTROLLER: + case SIDEVICE_GC_METROID: case SIDEVICE_WIIU_ADAPTER: case SIDEVICE_GC_TARUKONGA: case SIDEVICE_DANCEMAT: @@ -173,6 +174,7 @@ std::unique_ptr SIDevice_Create(const SIDevices device, const int por { switch (device) { + case SIDEVICE_GC_METROID: case SIDEVICE_GC_CONTROLLER: return std::make_unique(device, port_number);