mirror of
https://github.com/holub/mame
synced 2025-05-13 09:28:13 +03:00
Fix for -burnin to add extension once again. (no whatsnew)
This commit is contained in:
parent
cf6623aaa5
commit
e7da97c012
@ -1058,7 +1058,7 @@ void screen_device::finalize_burnin()
|
|||||||
|
|
||||||
// compute the name and create the file
|
// compute the name and create the file
|
||||||
emu_file file(m_machine.options(), SEARCHPATH_SCREENSHOT, OPEN_FLAG_WRITE | OPEN_FLAG_CREATE | OPEN_FLAG_CREATE_PATHS);
|
emu_file file(m_machine.options(), SEARCHPATH_SCREENSHOT, OPEN_FLAG_WRITE | OPEN_FLAG_CREATE | OPEN_FLAG_CREATE_PATHS);
|
||||||
file_error filerr = file.open(machine->basename(), PATH_SEPARATOR "burnin-", tag());
|
file_error filerr = file.open(machine->basename(), PATH_SEPARATOR "burnin-", tag(), ".png") ;
|
||||||
if (filerr == FILERR_NONE)
|
if (filerr == FILERR_NONE)
|
||||||
{
|
{
|
||||||
png_info pnginfo = { 0 };
|
png_info pnginfo = { 0 };
|
||||||
|
Loading…
Reference in New Issue
Block a user