aboutsummaryrefslogtreecommitdiff
path: root/source/display.h
AgeCommit message (Collapse)Author
2014-10-30cleanups.aliaspider
2014-10-30remove some unused functions/filesaliaspider
2014-10-30apply a faceliftaliaspider
2014-10-29remove more C++ code.aliaspider
2014-10-29C++ cleanups. (in progress)aliaspider
2014-10-28initial libretro port.aliaspider
2013-02-03Synchronise the controller status more spread out inside a rendered frame:Nebuleon Fumika
* before rendering a background; * before rendering sprites; * while rendering more than 128 samples of audio at once ("Prefer fluid video"); * after every 16 scanlines of CPU execution instead of every 1; * while waiting for an audio buffer to become available; * while killing time between frames with fast-forward disabled. Controller presses and releases are now combined in a DS button bitfield using a shorter 32-bit algorithm. See entry.cpp:NDSSFCAccumulateJoypad and #define ACCUMULATE_JOYPAD in the source. This is still not suitable for playing platformers frame-perfectly, but it's much better than half a second of latency to press or release a button, and one still needs to press buttons a bit more than just light taps. I'd say 50 milliseconds is the latency now. Platformers requiring more precision can be played with frameskip 0. DMA does not require double-buffered displaying, so synchronise the controller more often by disabling double-buffered displaying again.
2011-03-05first commitKitty Draper