mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
Merge pull request #6634 from tlindner/colon-path-seperator-fix
Remove colon as a path seperator in the core
This commit is contained in:
commit
a28f33f84c
@ -195,7 +195,7 @@ void device_image_interface::set_image_filename(const std::string &filename)
|
||||
auto iter = std::find_if(
|
||||
m_image_name.rbegin(),
|
||||
m_image_name.rend(),
|
||||
[](char c) { return (c == '\\') || (c == '/') || (c == ':'); });
|
||||
[](char c) { return (c == '\\') || (c == '/'); });
|
||||
|
||||
if (iter != m_image_name.rend())
|
||||
m_basename.assign(iter.base(), m_image_name.end());
|
||||
|
Loading…
Reference in New Issue
Block a user