mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00:27:42 +00:00
Fix windows build
This commit is contained in:
@@ -276,7 +276,7 @@ void CVarManager::parseCommandLine(const std::vector<SystemString>& args)
|
||||
{
|
||||
bool oldDeveloper = suppressDeveloper();
|
||||
std::string developerName = com_developer->name().data();
|
||||
ToLower(developerName);
|
||||
athena::utility::tolower(developerName);
|
||||
for (const SystemString& arg : args)
|
||||
{
|
||||
if (arg[0] == _S('+'))
|
||||
@@ -291,7 +291,7 @@ void CVarManager::parseCommandLine(const std::vector<SystemString>& args)
|
||||
if (CVar* cv = findCVar(cvarName))
|
||||
{
|
||||
cv->fromLiteralToType(cvarValue);
|
||||
hecl::ToLower(cvarName);
|
||||
athena::utility::tolower(cvarName);
|
||||
if (developerName == cvarName)
|
||||
/* Make sure we're not overriding developer mode when we restore */
|
||||
oldDeveloper = com_developer->toBoolean();
|
||||
|
||||
Reference in New Issue
Block a user