From 9e1ebf879579da668e6da817ef13560e10d558db Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Tue, 19 Oct 2010 14:41:25 +0000 Subject: [PATCH] 03770: Setting 'snapname %g' does not allow snap to be saved with F12. --- src/emu/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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