aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/command/effect/reverb.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-20 15:49:47 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-20 15:54:05 -0400
commitaedaa1aa19d445cba05a7f40198914ccac6f017f (patch)
tree682ddeaf8d3097e35aa7ff0ec70345df5577d185 /src/audio_core/renderer/command/effect/reverb.cpp
parent579d8eb35fcf224b4a5729138c4776abf207fc0e (diff)
time_zone_manager: Stop on comma
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.
Diffstat (limited to 'src/audio_core/renderer/command/effect/reverb.cpp')
0 files changed, 0 insertions, 0 deletions