Update submodules

parent f07fc458
<component name="MarkdownNavigator.ProfileManager">
<settings default="" pdf-export="" plain-text-search-scope="Project Files" />
</component>
\ No newline at end of file
......@@ -59,16 +59,14 @@ u64 CBasics::GetGCTicks() {
const u64 CBasics::SECONDS_TO_2000 = 946684800LL;
const u64 CBasics::TICKS_PER_SECOND = 60750000LL;
#ifndef _WIN32
static struct tm* localtime_r(const time_t& time, struct tm& timeSt, long& gmtOff) {
#ifndef _WIN32
auto ret = ::localtime_r(&time, &timeSt);
if (!ret)
return nullptr;
gmtOff = ret->tm_gmtoff;
return ret;
}
#else
static struct tm* localtime_r(const time_t& time, struct tm& timeSt, long& gmtOff) {
struct tm _gmSt;
auto reta = localtime_s(&timeSt, &time);
auto retb = gmtime_s(&_gmSt, &time);
......@@ -76,8 +74,8 @@ static struct tm* localtime_r(const time_t& time, struct tm& timeSt, long& gmtOf
return nullptr;
gmtOff = mktime(&timeSt) - mktime(&_gmSt);
return &timeSt;
}
#endif
}
OSTime CBasics::ToWiiTime(std::chrono::system_clock::time_point time) {
auto sec = std::chrono::time_point_cast<std::chrono::seconds>(time);
......
Subproject commit d88b14c38abf61a518f645b1a43ea59631679302
Subproject commit 6c07ec907af7e54a33f57eff6d169415ffb3b9f9
Subproject commit eaa8eebbd7e0ca17e36d255e598b745a2f63e4ca
Subproject commit 573e53d9a5e4a506ade16d9da4aaf1a1fbc74c2a
Subproject commit acdadaf963328348f64e5309c5e1380df90e1a67
Subproject commit ba0c2b78434843eac48e7c60b4d65ce7e2be11c1
Subproject commit 2b9863cd475e7f311632aaeb170c5aba40382dcd
Subproject commit 5bf7a6076b417776a14aeb4c9aa879edca0873a4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment