diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-25 23:47:29 -0300 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-30 00:07:02 -0300 |
commit | 18c1c39d5e3c096fdcfafa38487f735501c543fb (patch) | |
tree | ce81914258487068cd068091f8e85738b1142028 /src/common/bit_set.h | |
parent | ac0104b8b0584023cfbd7a4800f1ca1db890188f (diff) |
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/common/bit_set.h')
0 files changed, 0 insertions, 0 deletions