- fix minor issue with showing game info.

- possible fix for SD card mounting.
This commit is contained in:
Fledge68 2019-11-13 17:35:22 -06:00
parent e68197246c
commit 7f1b5dff10
3 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 MiB

After

Width:  |  Height:  |  Size: 3.6 MiB

View File

@ -112,7 +112,7 @@ void DeviceHandler::SetModes()
usb_libogc_mode = 0; usb_libogc_mode = 0;
/* But not for SD */ /* But not for SD */
if(CurrentIOS.Type != IOS_TYPE_NEEK2O) if(CurrentIOS.Type != IOS_TYPE_NEEK2O)
sdhc_mode_sd = 0; sdhc_mode_sd = 1;// don't use cIOS for SD
} }
} }

View File

@ -347,6 +347,7 @@ void CMenu::_textGameInfo(void)
return;// no platform.ini found return;// no platform.ini found
/* Search platform.ini to find plugin magic to get platformName */ /* Search platform.ini to find plugin magic to get platformName */
strncpy(m_plugin.PluginMagicWord, fmt("%08x", GameHdr->settings[0]), 8);
snprintf(platformName, sizeof(platformName), "%s", m_platform.getString("PLUGINS", m_plugin.PluginMagicWord).c_str()); snprintf(platformName, sizeof(platformName), "%s", m_platform.getString("PLUGINS", m_plugin.PluginMagicWord).c_str());
strncpy(GameID, GameHdr->id, 6); strncpy(GameID, GameHdr->id, 6);
if(strlen(platformName) == 0 || strcasecmp(GameID, "PLUGIN") == 0) if(strlen(platformName) == 0 || strcasecmp(GameID, "PLUGIN") == 0)