mirror of https://github.com/AxioDL/metaforce.git
Update submodules
This commit is contained in:
parent
f07fc458d2
commit
e2ab93dfac
|
@ -1,3 +0,0 @@
|
||||||
<component name="MarkdownNavigator.ProfileManager">
|
|
||||||
<settings default="" pdf-export="" plain-text-search-scope="Project Files" />
|
|
||||||
</component>
|
|
|
@ -59,16 +59,14 @@ u64 CBasics::GetGCTicks() {
|
||||||
const u64 CBasics::SECONDS_TO_2000 = 946684800LL;
|
const u64 CBasics::SECONDS_TO_2000 = 946684800LL;
|
||||||
const u64 CBasics::TICKS_PER_SECOND = 60750000LL;
|
const u64 CBasics::TICKS_PER_SECOND = 60750000LL;
|
||||||
|
|
||||||
#ifndef _WIN32
|
|
||||||
static struct tm* localtime_r(const time_t& time, struct tm& timeSt, long& gmtOff) {
|
static struct tm* localtime_r(const time_t& time, struct tm& timeSt, long& gmtOff) {
|
||||||
|
#ifndef _WIN32
|
||||||
auto ret = ::localtime_r(&time, &timeSt);
|
auto ret = ::localtime_r(&time, &timeSt);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
return nullptr;
|
return nullptr;
|
||||||
gmtOff = ret->tm_gmtoff;
|
gmtOff = ret->tm_gmtoff;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
static struct tm* localtime_r(const time_t& time, struct tm& timeSt, long& gmtOff) {
|
|
||||||
struct tm _gmSt;
|
struct tm _gmSt;
|
||||||
auto reta = localtime_s(&timeSt, &time);
|
auto reta = localtime_s(&timeSt, &time);
|
||||||
auto retb = gmtime_s(&_gmSt, &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;
|
return nullptr;
|
||||||
gmtOff = mktime(&timeSt) - mktime(&_gmSt);
|
gmtOff = mktime(&timeSt) - mktime(&_gmSt);
|
||||||
return &timeSt;
|
return &timeSt;
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
OSTime CBasics::ToWiiTime(std::chrono::system_clock::time_point time) {
|
OSTime CBasics::ToWiiTime(std::chrono::system_clock::time_point time) {
|
||||||
auto sec = std::chrono::time_point_cast<std::chrono::seconds>(time);
|
auto sec = std::chrono::time_point_cast<std::chrono::seconds>(time);
|
||||||
|
|
2
amuse
2
amuse
|
@ -1 +1 @@
|
||||||
Subproject commit d88b14c38abf61a518f645b1a43ea59631679302
|
Subproject commit 6c07ec907af7e54a33f57eff6d169415ffb3b9f9
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
||||||
Subproject commit eaa8eebbd7e0ca17e36d255e598b745a2f63e4ca
|
Subproject commit 573e53d9a5e4a506ade16d9da4aaf1a1fbc74c2a
|
2
nod
2
nod
|
@ -1 +1 @@
|
||||||
Subproject commit acdadaf963328348f64e5309c5e1380df90e1a67
|
Subproject commit ba0c2b78434843eac48e7c60b4d65ce7e2be11c1
|
2
specter
2
specter
|
@ -1 +1 @@
|
||||||
Subproject commit 2b9863cd475e7f311632aaeb170c5aba40382dcd
|
Subproject commit 5bf7a6076b417776a14aeb4c9aa879edca0873a4
|
Loading…
Reference in New Issue