diff --git a/src/console/Device.cpp b/src/console/Device.cpp index 9605750..4c4fb64 100644 --- a/src/console/Device.cpp +++ b/src/console/Device.cpp @@ -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[supported], STORM_MAX_STR) == 0) { + if (SStrCmp(gxApiName, g_gxApiNames[supportedApi], STORM_MAX_STR) == 0) { api = supportedApi; break; }