summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/FileSystemGCWii.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-09-23 18:02:09 +0200
committerJosJuice <josjuice@gmail.com>2015-09-23 18:02:09 +0200
commit3fdae38e26c339c21de784f3155316b033060b3b (patch)
tree0bf4fffba1fc4adc5d6d3a5ed2e728c8e12b42c9 /Source/Core/DiscIO/FileSystemGCWii.cpp
parent5d774df1e8e0622a68f53c741db07922baadeae3 (diff)
Use correct GetTicksPerSecond() value in IPC delays
The constant IPC_DEFAULT_DELAY used a value from GetTicksPerSecond(), which in turn uses a value from CPU_CORE_CLOCK... but CPU_CORE_CLOCK isn't actually a constant! It's first initialized to 486 MHz and then changed to 729 MHz in SystemTimers::PreInit if emulating a Wii. This means that the IPC delays always used 486 MHz and thus were wrong. To fix this, the IPC reply constants are changed to functions.
Diffstat (limited to 'Source/Core/DiscIO/FileSystemGCWii.cpp')
0 files changed, 0 insertions, 0 deletions