diff --git a/fex/fex/Zip7_Extractor.cpp b/fex/fex/Zip7_Extractor.cpp index 3e6fc6e5..1b6071db 100644 --- a/fex/fex/Zip7_Extractor.cpp +++ b/fex/fex/Zip7_Extractor.cpp @@ -289,7 +289,7 @@ blargg_err_t Zip7_Extractor::next_v() time_t _time = time; #ifdef _WIN32 - localtime_s( &tm, &_time ); + tm = *localtime( &_time ); #else localtime_r( &_time, &tm ); #endif