From c6cf2814df85d953d8f70047fe9068b4a29fa485 Mon Sep 17 00:00:00 2001 From: superp00t Date: Sun, 10 Dec 2023 19:02:00 -0500 Subject: [PATCH] fix(gx): supportedApi, not supported --- src/console/Device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }