summaryrefslogtreecommitdiff
path: root/src/d/d_lib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_lib.cpp')
-rw-r--r--src/d/d_lib.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/d/d_lib.cpp b/src/d/d_lib.cpp
index 9407bbee..b9b84811 100644
--- a/src/d/d_lib.cpp
+++ b/src/d/d_lib.cpp
@@ -492,7 +492,8 @@ u32 dLib_getIplDaysFromSaveTime() {
return 0;
OSTime curTime = OSGetTime();
- return (curTime - dateIpl);
+ u32 seconds = OSTicksToSeconds(curTime - dateIpl);
+ return seconds;
}
/* 80058834-80058910 .text dLib_get_QuatFromTriangle__FP4cXyzP4cXyzP4cXyz */