mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
fix screenshot names
This commit is contained in:
parent
6ead8985be
commit
bf7a3d021a
@ -133,7 +133,7 @@ BOOL ss_take_screenshot(IDirectDrawSurfaceImpl* src)
|
|||||||
}
|
}
|
||||||
|
|
||||||
strftime(str_time, sizeof(str_time), "%Y-%m-%d_%H-%M-%S", localtime(&t));
|
strftime(str_time, sizeof(str_time), "%Y-%m-%d_%H-%M-%S", localtime(&t));
|
||||||
_snprintf(filename, sizeof(filename), "%s-%s.png", title, str_time);
|
_snprintf(filename, sizeof(filename), "%s_%s.png", title, str_time);
|
||||||
|
|
||||||
if (src->bpp == 8 && src->palette)
|
if (src->bpp == 8 && src->palette)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user