Fix for Qt/Symbian.

This commit is contained in:
Sacha 2013-01-28 01:01:47 +10:00
parent dd057c8c18
commit cf9b2ab975
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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 {