summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/timer.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-08-25 23:47:29 -0300
committerGravatar Yuri Kunde Schlesner2015-08-30 00:07:02 -0300
commit18c1c39d5e3c096fdcfafa38487f735501c543fb (patch)
treece81914258487068cd068091f8e85738b1142028 /src/core/hle/kernel/timer.cpp
parentMerge pull request #1048 from yuriks/microprofile (diff)
downloadyuzu-18c1c39d5e3c096fdcfafa38487f735501c543fb.tar.gz
yuzu-18c1c39d5e3c096fdcfafa38487f735501c543fb.tar.xz
yuzu-18c1c39d5e3c096fdcfafa38487f735501c543fb.zip
SVC: Advance time when calling GetSystemTick to escape busy-wait loops
Cubic Ninja waited for the frame to end by spinning on a loop calling GetSystemTick while doing nothing else. Since GetSystemTick doesn't cause a reschedule (which advances time), this meant that very little emulated time would pass inside that loop, causing the game to spend most of the frame burning away CPU.
Diffstat (limited to 'src/core/hle/kernel/timer.cpp')
0 files changed, 0 insertions, 0 deletions