aboutsummaryrefslogtreecommitdiff
path: root/options.h
AgeCommit message (Collapse)Author
2022-03-27Adds dynamic audio rate control optionneonloop
When DRC is on, game syncs to frame rate instead of audio buffer capacity. Audio is resampled to generate more samples when buffer is low and less when buffer is high, to keep buffer 40%-60% full. Buffer size doubled to keep same avg. audio latency value. Audio can distort when buffer is out of range, not often during gameplay. Better resampler could improve but would be slower. When buffer is always out of range (heavy frameskip), it is better to leave off, DRC doesn't help anyway then. Idea from RetroArch audio_driver.c and https://near.sh/articles/audio/dynamic-rate-control
2021-08-24Adds option for CPU % displayneonloop
2021-08-12Allows core-hidden optionsneonloop
2021-08-10Fixes core options deallocated by coreneonloop
Some cores free core options after notifying libretro, picoarch cannot rely on them staying around.
2021-08-10Adds mame2000 core and fixes options/scalerneonloop
2021-08-07Adds generic nearest and smooth scalersneonloop
Smooth is slower (10-15%) than a scaler built for a specific resolution. Works well for downscaling and for odd screen ratios until a custom scaler is built. Replaces the snes smooth scaler (outperforms it) and the gba smooth scaler (looks better)
2021-08-04Wraps core option info linesneonloop
2021-08-04Initial commitneonloop