diff options
author | Vas Crabb <vas@vastheman.com> | 2019-01-19 17:34:43 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2019-01-19 17:34:43 +1100 |
commit | 9198c2bd58d31310a324ad0180c57e503c630d0f (patch) | |
tree | 71e3431c9be2088bf50d5d397f00d7de08bc633e /src/emu/fileio.cpp | |
parent | 3174c630780e1e2302f19e308ccdd73b1d3d4b01 (diff) |
More UI stuff:
* Split up the different parts of ICO loading in the menus (locating files, scaling, drawing, etc.)
* Added icon support to software selection menu
* Added support for more ICO file variants, including PNG-in-ICO (new DIB parser is overkill for ICO but I can factor it out for BMP loading at some point)
* Added favourites filter for software menus - includes software that's favourited on any system, so GBC includes DMG favourties and vice versa
* Eliminated unnecessary member variables and O(n) walks in software selection menu
* Made the menus' cached texture structures a bit more efficient
Diffstat (limited to 'src/emu/fileio.cpp')
-rw-r--r-- | src/emu/fileio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/fileio.cpp b/src/emu/fileio.cpp index 3ec686266c8..bbd1d931f30 100644 --- a/src/emu/fileio.cpp +++ b/src/emu/fileio.cpp @@ -96,7 +96,7 @@ bool path_iterator::next(std::string &buffer, const char *name) if (name) { // compute the full pathname - if (!buffer.empty() && (*buffer.rbegin() != *PATH_SEPARATOR)) + if (!buffer.empty() && !util::is_directory_separator(buffer.back())) buffer.append(PATH_SEPARATOR); buffer.append(name); } |