From e06e0a9f1b9f22b37317c1d6565a066bfb855fc0 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 15 Sep 2022 04:05:09 +1000 Subject: Fixes and cleanup: * gbcolor.xml, bus/gameboy: Renamed slot option for Rocket Games cartridges from "rom_atvrac" to "rom_rocket". * emu/config.cpp: Made error messages more detailed when opening a configuration file fails, and bumped error messages to warning level. * tools/imgtool: Fixed build. --- src/lib/util/corestr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util/corestr.cpp') diff --git a/src/lib/util/corestr.cpp b/src/lib/util/corestr.cpp index 1d34e2258a8..e55bc63908e 100644 --- a/src/lib/util/corestr.cpp +++ b/src/lib/util/corestr.cpp @@ -36,7 +36,7 @@ int core_stricmp(std::string_view s1, std::string_view s2) const int c1 = tolower(uint8_t(*s1_iter++)); const int c2 = tolower(uint8_t(*s2_iter++)); const int diff = c1 - c2; - if (diff) + if (diff) return diff; } } -- cgit v1.2.3-70-g09d2