03770: Setting 'snapname %g' does not allow snap to be saved with F12.

This commit is contained in:
Aaron Giles 2010-10-19 14:41:25 +00:00
parent 7bba786329
commit 9e1ebf8795

View File

@ -1255,7 +1255,7 @@ static file_error mame_fopen_next(running_machine *machine, const char *pathopti
/* determine if the template has an index; if not, we always use the same name */ /* determine if the template has an index; if not, we always use the same name */
if (snapstr.find(0, "%i") == -1) if (snapstr.find(0, "%i") == -1)
snapstr.cpy(snapstr); fname.cpy(snapstr);
/* otherwise, we scan for the next available filename */ /* otherwise, we scan for the next available filename */
else else