Add hooks into libSDL2.
Implement interrupt timer.