summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-06-26 13:13:07 +0200
committerwithmorten <morten.with@gmail.com>2021-06-26 13:13:07 +0200
commit171d9fd036d8b6c9a44c150554853f2f542f8f06 (patch)
tree783cdbc40ab5f8d38ef7e30ab9a405d09fe05de4 /src/core
parent036eff2c48298ee0485e57252962c82dee7e6379 (diff)
fix screenshot name space
Diffstat (limited to 'src/core')
-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 6a773ba5..2a0a77ca 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -402,7 +402,7 @@ DoRWStuffEndOfFrame(void)
}
#else
if (CPad::GetPad(1)->GetLeftShockJustDown() || CPad::GetPad(0)->GetFJustDown(11)) {
- sprintf(s, "screen_%11lld.png", time(nil));
+ sprintf(s, "screen_%011lld.png", time(nil));
RwGrabScreen(Scene.camera, s);
}
#endif