mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-20 01:22:16 +00:00
screenshot filename "game name-yymmdd-hhmmss.ext"
replaced fill_dated_filename() by fill_str_dated_filename() to add the game name to the screenshot.
This commit is contained in:
parent
e1f4b41bb6
commit
01abbe3d4d
@ -78,14 +78,14 @@ static bool screenshot_dump(
|
||||
|
||||
if (settings->auto_screenshot_filename)
|
||||
{
|
||||
fill_dated_filename(shotname, IMG_EXT, sizeof(shotname));
|
||||
fill_pathname_join(filename, folder, shotname, sizeof(filename));
|
||||
fill_str_dated_filename(shotname, path_basename(global_name_base),
|
||||
IMG_EXT, sizeof(shotname));
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf(shotname, sizeof(shotname),"%s.png", path_basename(global_name_base));
|
||||
fill_pathname_join(filename, folder, shotname, sizeof(filename));
|
||||
}
|
||||
fill_pathname_join(filename, folder, shotname, sizeof(filename));
|
||||
|
||||
#ifdef _XBOX1
|
||||
d3d_video_t *d3d = (d3d_video_t*)video_driver_get_ptr(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user