Page 1 of 1

time(NULL); failing to update on DeSmuME and 3DS in DS mode.

Posted: Mon Apr 16, 2012 11:55 pm
by Kazo
At first, I thought it was a problem with DeSmuME, but then when I tested it on my 3DS in DS mode it was not working either. it seems to work fine with No$GBA and on a DS Lite. When on DeSmuME or 3DS it seems to get set with the current time at the time it boots but it never is updated as the program is running.

Re: time(NULL); failing to update on DeSmuME and 3DS in DS m

Posted: Tue Apr 17, 2012 12:07 am
by WinterMute
DeSmuME doesn't emulate the interrupt the default arm7 code uses to keep the clock updated, the code works fine on DS, DS Lite and DSi. It does appear to be not working on the 3DS though which seems a little odd given that it obtains the correct time.