Add delays in some timing funcs that games tightloop.

Greatly improves performance in Legend of Heroes 1.
Merge pull request #1031 from unknownbrackets/perf

Add delays in some timing funcs that games tightloop