Use Common::ToLower and Common::ToUpper

This commit is contained in:
Pokechu22
2022-01-16 16:38:11 -08:00
parent aaec64501a
commit 6e5f4125e3
16 changed files with 29 additions and 47 deletions

View File

@ -1,7 +1,6 @@
// Copyright 2014 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <cctype>
#include <cstring>
#include <disasm.h> // From Bochs, fallback included in Externals.
#include <gtest/gtest.h>
@ -17,6 +16,7 @@
#undef TEST
#include "Common/CPUDetect.h"
#include "Common/StringUtil.h"
#include "Common/x64Emitter.h"
namespace Gen
@ -125,7 +125,7 @@ protected:
bool inside_parens = false;
for (auto c : str)
{
c = tolower(c);
c = Common::ToLower(c);
if (c == '(')
{
inside_parens = true;