attempt to fix burnin (MT #05173). nw.

This commit is contained in:
Fabio Priuli 2013-03-23 14:16:06 +00:00
parent 4d45aa5f72
commit af383b7325

View File

@ -1007,7 +1007,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-", tag(), ".png") ;
file_error filerr = file.open(machine().basename(), PATH_SEPARATOR "burnin-", this->tag()+1, ".png") ;
if (filerr == FILERR_NONE)
{
png_info pnginfo = { 0 };