mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Use Common::ToLower and Common::ToUpper
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user