aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/detection.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-08-29 00:39:33 +0000
committerFilippos Karapetis2010-08-29 00:39:33 +0000
commit9096848e4b0411daa3cd54a677bafc13e2312082 (patch)
tree6127a59517ec107d95b16cefed109710a234673f /engines/agos/detection.cpp
parent3f1f894e8eeb091153963b8b936b533f78f17e4a (diff)
downloadscummvm-rg350-9096848e4b0411daa3cd54a677bafc13e2312082.tar.gz
scummvm-rg350-9096848e4b0411daa3cd54a677bafc13e2312082.tar.bz2
scummvm-rg350-9096848e4b0411daa3cd54a677bafc13e2312082.zip
SCI: Throttle the invocations of Engine::shouldQuit()
SCI constantly invoked Engine::shouldQuit(), which in turn called 2 virtual functions. This added a significant overhead, as this was called constantly without any throttling whatsoever. Now, the invocation of shouldQuit() is throttled to be on each frame update (i.e. at a rate of 60fps). Thanks to wjp for profiling this. svn-id: r52431
Diffstat (limited to 'engines/agos/detection.cpp')
0 files changed, 0 insertions, 0 deletions