fix(gx): log what api is being used when initializing device

This commit is contained in:
superp00t committed 2024-07-22 16:16:41 -04:00
1 parent 6fa58683ad
commit 422a36cd93
7 files changed
+24 -3

No files matched your search

+4
View File
@@ -6,6 +6,7 @@
#include "event/Input.hpp"
#include "gx/Device.hpp"
#include <cstring>
#include <cstdio>
CVar* s_cvGxMaximize;
CVar* s_cvGxResolution;
@@ -297,6 +298,9 @@ void ConsoleDeviceInitialize(const char* title) {
}
}
// Log
printf("GxApi_%s selected\n", g_gxApiNames[api]);
// Set internally (CVar value reflects the current gxApi at launch),
// this will not Set() as CVar gxApi is latched
s_cvGxApi->InternalSet(g_gxApiNames[api], true, false, false, true);