diff --git a/src/emu/video.c b/src/emu/video.c index 69ec5ca4cf9..48c4ccec1eb 100644 --- a/src/emu/video.c +++ b/src/emu/video.c @@ -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 */ if (snapstr.find(0, "%i") == -1) - snapstr.cpy(snapstr); + fname.cpy(snapstr); /* otherwise, we scan for the next available filename */ else