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

This commit is contained in:
phaneron 2024-07-22 16:16:41 -04:00
parent 6fa58683ad
commit 422a36cd93
7 changed files with 24 additions and 3 deletions

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);