mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-13 03:40:44 +02:00
Recognise Metroid GC option as GC controller
This commit is contained in:
parent
a47a2ea6e7
commit
2f0116a68c
@ -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;
|
||||
|
@ -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<ISIDevice> SIDevice_Create(const SIDevices device, const int por
|
||||
{
|
||||
switch (device)
|
||||
{
|
||||
case SIDEVICE_GC_METROID:
|
||||
case SIDEVICE_GC_CONTROLLER:
|
||||
return std::make_unique<CSIDevice_GCController>(device, port_number);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user