fix screenshot name

This commit is contained in:
withmorten 2021-07-03 16:43:35 +02:00
parent 3750124dcc
commit 70876d3cde

View file

@ -379,7 +379,7 @@ DoRWStuffEndOfFrame(void)
} }
#else #else
if (CPad::GetPad(1)->GetLeftShockJustDown() || CPad::GetPad(0)->GetFJustDown(11)) { if (CPad::GetPad(1)->GetLeftShockJustDown() || CPad::GetPad(0)->GetFJustDown(11)) {
sprintf(s, "screen_0%11lld.png", time(nil)); sprintf(s, "screen_%011lld.png", time(nil));
RwGrabScreen(Scene.camera, s); RwGrabScreen(Scene.camera, s);
} }
#endif #endif