mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-23 22:36:21 +00:00
Fix for Qt/Symbian.
This commit is contained in:
parent
dd057c8c18
commit
cf9b2ab975
@ -368,7 +368,7 @@ int sceRtcConvertLocalTimeToUTC(u32 tickLocalPtr,u32 tickUTCPtr)
|
||||
{
|
||||
u64 srcTick = Memory::Read_U64(tickLocalPtr);
|
||||
// TODO : Let the user select his timezone / daylight saving instead of taking system param ?
|
||||
#ifdef __GLIBC__
|
||||
#if defined(__GLIBC__) || defined(__SYMBIAN32__)
|
||||
time_t timezone = 0;
|
||||
tm *time = localtime(&timezone);
|
||||
srcTick -= time->tm_gmtoff*1000000ULL;
|
||||
@ -391,7 +391,7 @@ int sceRtcConvertUtcToLocalTime(u32 tickUTCPtr,u32 tickLocalPtr)
|
||||
{
|
||||
u64 srcTick = Memory::Read_U64(tickUTCPtr);
|
||||
// TODO : Let the user select his timezone / daylight saving instead of taking system param ?
|
||||
#ifdef __GLIBC__
|
||||
#if defined(__GLIBC__) || defined(__SYMBIAN32__)
|
||||
time_t timezone = 0;
|
||||
tm *time = localtime(&timezone);
|
||||
srcTick += time->tm_gmtoff*1000000ULL;
|
||||
|
@ -23,7 +23,7 @@ arm {
|
||||
HEADERS += ../Core/MIPS/ARM/ArmAsm.h \
|
||||
../Core/MIPS/ARM/ArmJit.h \
|
||||
../Core/MIPS/ARM/ArmJitCache.h \
|
||||
../Core/MIPS/ARM/ArmRegCache.h
|
||||
../Core/MIPS/ARM/ArmRegCache.h \
|
||||
../Core/MIPS/ARM/ArmRegCacheFPU.h
|
||||
}
|
||||
x86 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user