diff options
| author | Léo Lam <leo@leolam.fr> | 2022-01-17 11:43:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-17 11:43:50 +0100 |
| commit | b7e55e2d52e181b2943a337c8ddc7e6021819935 (patch) | |
| tree | c55774af52802324951f27b5b1eea616303fb95a /Source/UnitTests/Common/x64EmitterTest.cpp | |
| parent | e62771856092cd9bbc25c8c94c433ed0e55a9f3f (diff) | |
| parent | 43e146a1d5c327d49fdacddb7a5a7e7f0307fab8 (diff) | |
Merge pull request #10368 from Pokechu22/gamelist-lowercase-extension
GameList: Convert file extensions to lowercase
Diffstat (limited to 'Source/UnitTests/Common/x64EmitterTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/x64EmitterTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/UnitTests/Common/x64EmitterTest.cpp b/Source/UnitTests/Common/x64EmitterTest.cpp index dbbc6c26b4..d374391876 100644 --- a/Source/UnitTests/Common/x64EmitterTest.cpp +++ b/Source/UnitTests/Common/x64EmitterTest.cpp @@ -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; |
