This is a deviation from the reference time zone implementation. The actual code will set a pointer to the time zone name here, but for us we have a limited number of characters to work with, and the name of the time zone here could be larger than 8 characters. We can make the assumption that time zone names greater than five characters in length include a comma that denotes more data. Nintendo just truncates that data for the name, so we can do the same. time_zone_manager: Check for length of array Just to be double sure that we never break past the array length, directly compare against it. |
||
---|---|---|
.. | ||
clock_types.h | ||
ephemeral_network_system_clock_context_writer.h | ||
ephemeral_network_system_clock_core.h | ||
errors.h | ||
local_system_clock_context_writer.h | ||
network_system_clock_context_writer.h | ||
standard_local_system_clock_core.h | ||
standard_network_system_clock_core.h | ||
standard_steady_clock_core.cpp | ||
standard_steady_clock_core.h | ||
standard_user_system_clock_core.cpp | ||
standard_user_system_clock_core.h | ||
steady_clock_core.h | ||
system_clock_context_update_callback.cpp | ||
system_clock_context_update_callback.h | ||
system_clock_core.cpp | ||
system_clock_core.h | ||
tick_based_steady_clock_core.cpp | ||
tick_based_steady_clock_core.h | ||
time_interface.cpp | ||
time_interface.h | ||
time_manager.cpp | ||
time_manager.h | ||
time_sharedmemory.cpp | ||
time_sharedmemory.h | ||
time_zone_content_manager.cpp | ||
time_zone_content_manager.h | ||
time_zone_manager.cpp | ||
time_zone_manager.h | ||
time_zone_service.cpp | ||
time_zone_service.h | ||
time_zone_types.h | ||
time.cpp | ||
time.h |