summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-10-19 14:41:25 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-10-19 14:41:25 +0000
commit9e1ebf879579da668e6da817ef13560e10d558db (patch)
tree9059bec0479c8a42aba43f7779f8be7e27a76863 /src
parent7bba78632970f2a5d18e43e5f7296a651d61b34f (diff)
03770: Setting 'snapname %g' does not allow snap to be saved with F12.
Diffstat (limited to 'src')
-rw-r--r--src/emu/video.c2
1 files changed, 1 insertions, 1 deletions
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