fix(console): gxApi string comparison should be case-insensitive

This commit is contained in:
superp00t 2023-12-10 22:35:51 -05:00
parent 30679155be
commit 7859f381ce

View File

@ -291,7 +291,7 @@ void ConsoleDeviceInitialize(const char* title) {
// Sanitize chosen gxApi against list of supported gxApis
for (size_t i = 0; i < g_numGxApiSupported; i++) {
EGxApi supportedApi = g_gxApiSupported[i];
if (SStrCmp(gxApiName, g_gxApiNames[supportedApi], STORM_MAX_STR) == 0) {
if (SStrCmpI(gxApiName, g_gxApiNames[supportedApi], STORM_MAX_STR) == 0) {
api = supportedApi;
break;
}