diff options
author | 2022-09-15 04:05:09 +1000 | |
---|---|---|
committer | 2022-09-15 04:05:09 +1000 | |
commit | e06e0a9f1b9f22b37317c1d6565a066bfb855fc0 (patch) | |
tree | 2e26447fe93d1e7263b73e3de4298a12e4dd024e /src/lib/util/corestr.cpp | |
parent | 8f30e3071f59a2893208d4f53b40d4ffd0f93462 (diff) |
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.
Diffstat (limited to 'src/lib/util/corestr.cpp')
-rw-r--r-- | src/lib/util/corestr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |