diff options
| author | 2016-01-20 21:32:11 +0100 | |
|---|---|---|
| committer | 2016-01-20 21:32:11 +0100 | |
| commit | abb7f223b3bb4e16fa40f2c262aebce27091960e (patch) | |
| tree | f575d9ebd5544f9231ff64d11ca242603236f410 /src/emu/screen.cpp | |
| parent | d5464a5799c26e9d3100dc0fa46dcdb16cb0812e (diff) | |
Revert "Fix for hang, emu_options::add_slot_options was changed, other things are just cleanup (nw)"
This reverts commit 841a55985e60a16f745422fb9aa06c420d8be8ba.
Diffstat (limited to 'src/emu/screen.cpp')
| -rw-r--r-- | src/emu/screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/screen.cpp b/src/emu/screen.cpp index e634ec66df2..fc33c2e342f 100644 --- a/src/emu/screen.cpp +++ b/src/emu/screen.cpp @@ -1140,7 +1140,7 @@ void screen_device::finalize_burnin() // compute the name and create the file emu_file file(machine().options().snapshot_directory(), OPEN_FLAG_WRITE | OPEN_FLAG_CREATE | OPEN_FLAG_CREATE_PATHS); - file_error filerr = file.open(machine().basename(), PATH_SEPARATOR "burnin-", this->tag().substr(1).c_str(), ".png") ; + file_error filerr = file.open(machine().basename(), PATH_SEPARATOR "burnin-", this->tag().c_str() + 1, ".png") ; if (filerr == FILERR_NONE) { png_info pnginfo = { nullptr }; |
