summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-07-03 16:43:35 +0200
committerwithmorten <morten.with@gmail.com>2021-07-03 16:43:35 +0200
commit70876d3cde319a586c3b9a8c74b97c0325278d21 (patch)
treefd43c4c49d3ac50dc747eb002dd88340e9553172 /src
parent3750124dcc12b4ffadeb37fb3ecdbf23fd21f4d3 (diff)
fix screenshot name
Diffstat (limited to 'src')
-rw-r--r--src/core/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 74b896c6..e84c6eeb 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -379,7 +379,7 @@ DoRWStuffEndOfFrame(void)
}
#else
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);
}
#endif