mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Changed osd_is_valid_filepath_char() to block 0x7F and C1 control characters
This commit is contained in:
parent
2ea76d70ea
commit
34d537338f
@ -493,6 +493,7 @@ bool osd_is_valid_filepath_char(unicode_char uchar)
|
||||
&& uchar != '|'
|
||||
&& uchar != '?'
|
||||
&& uchar != '*'
|
||||
&& !(uchar >= '\x7F' && uchar <= '\x9F')
|
||||
&& uchar_isvalid(uchar);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user