the bytes, they need saving

This commit is contained in:
rumbledethumps
2025-12-07 11:42:02 -08:00
parent 8ff7b0087c
commit dde04808aa

View File

@@ -8,9 +8,9 @@ struct tm* __fastcall__ _time_t_to_tm (const time_t t);
struct tm* __fastcall__ _localtime (const time_t* timep) struct tm* __fastcall__ _localtime (const time_t* timep)
{ {
time_t time = *timep;
struct tm* tm; struct tm* tm;
ria_set_axsreg (*timep); time_t time = *timep;
ria_set_axsreg (time);
time += ria_call_long (RIA_OP_TZQUERY); time += ria_call_long (RIA_OP_TZQUERY);
tm = _time_t_to_tm (time); tm = _time_t_to_tm (time);
tm->tm_isdst = ria_pop_char (); tm->tm_isdst = ria_pop_char ();