hrydgard/ppsspp — pull request #233 by unknownbrackets (2012-12-23 07:15:56+00:00)
Title: Implement sceCtrlSetSamplingCycle()

Updates tests, so please accept hrydgard/pspautotests#30 first.

The new test isn't super fast (although still faster than malloc, etc.) so I can move it into a separate array if you like. I was thinking of profiling the test runner or making it run multiple tests at once to speed things up...

Anyhow, this just makes sampling more frequent. For games that use it (seems like only newer games), they'll typically use the lowest setting (5555) or 180 times per second. For those games, the responsiveness of controls should improve.

It'll also affect timing issues when sceCtrlReadBufferPositive() has to wait (since for those games it'll now wait 1/3 as long for a new buffer to come in.)

-[Unknown]