mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
fix chdman extractcd track names (was foo.cue.bin instead of foo.bin)
This commit is contained in:
parent
4c08395ada
commit
677cfa86fd
@ -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