fix(gx): supportedApi, not supported

This commit is contained in:
superp00t committed 2023-12-10 19:02:00 -05:00
1 parent 8fe559c2d8
commit c6cf2814df
1 file changed
+1 -1
+1 -1
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[supported], STORM_MAX_STR) == 0) {
if (SStrCmp(gxApiName, g_gxApiNames[supportedApi], STORM_MAX_STR) == 0) {
api = supportedApi;
break;
}