2
0
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:
2018-05-01 17:41:51 -07:00
parent eae0dbd2bb
commit 0aac384e60
3 changed files with 27 additions and 10 deletions

View File

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