mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
Merge branch 'master' of https://github.com/mamedev/mame
This commit is contained in:
commit
b755be89a6
@ -2310,7 +2310,7 @@ static void do_extract_cd(parameters_t ¶ms)
|
||||
std::string default_name(*output_file_str->second);
|
||||
int chop = default_name.find_last_of('.');
|
||||
if (chop != -1)
|
||||
default_name.substr(0, chop);
|
||||
default_name.erase(chop, default_name.size());
|
||||
char basename[128];
|
||||
strncpy(basename, default_name.c_str(), 127);
|
||||
default_name.append(".bin");
|
||||
|
Loading…
Reference in New Issue
Block a user