visualboyadvance-m/src
Rafael Kitover c169420fbc Turbo/throttle config and DirectSound fixes.
Make `speedup_frame_skip` and `speedup_throttle` independent settings,
with `speedup_frame_skip == 0` when `speedup_throttle` is not in effect,
and `speedup_throttle == 100` when `speedup_frame_skip` is in effect.

This fixes a previously introduced bug where `speedup == true &&
speedup_frame_skip = X` was never enabled.

This also allows `speedup_throttle == 0` for no throttle and no frame
skip during speedup.

Also set the upper bound on `throttle` and `speedup_throttle` to `450`
instead of `600`, as the DirectSound driver does not support values
higher than that.

In the DirectSound implementation of `setThrottle`, for `throttle == 0`
use a `throttle == 450` frequency multiplier, because a zero frequency
does nothing.

- Fix #719.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2020-08-22 20:25:05 +00:00
..
apu Further fixing Multi Buffer formatting. 2020-08-10 21:44:01 +00:00
art merged sergio's icon patch for additional sizes. 2015-05-18 03:44:19 +00:00
common Turbo/throttle config and DirectSound fixes. 2020-08-22 20:25:05 +00:00
debian Remove libpng direct dependency. 2020-03-01 13:56:29 +00:00
filters xbrz: fix inline asm check 2019-10-04 07:35:49 +00:00
gb Turbo/throttle config and DirectSound fixes. 2020-08-22 20:25:05 +00:00
gba Turbo/throttle config and DirectSound fixes. 2020-08-22 20:25:05 +00:00
libretro Merge remote-tracking branch 'libretro/master' 2020-08-19 10:57:35 +00:00
sdl Fix video recording with frame skip enabled. 2020-03-18 00:48:43 +00:00
vita Working on getting libretro updated 2017-03-24 07:59:10 -04:00
wx Turbo/throttle config and DirectSound fixes. 2020-08-22 20:25:05 +00:00
AutoBuild.h updated standards to webkit standard 2016-07-08 19:59:29 -04:00
NLS.h updated standards to webkit standard 2016-07-08 19:59:29 -04:00
System.h [WINDOWS] Add function to open unicode files. (#644) 2020-04-21 10:24:28 -03:00
Util.cpp Add Catch2 unit testing framework + some tests. 2020-07-10 13:43:48 +00:00
Util.h [WINDOWS] Add function to open unicode files. (#644) 2020-04-21 10:24:28 -03:00
gcc-wrap.c.in cmake: Silence cmake policy warning CMP0058. 2019-10-05 18:33:44 -07:00
vba-over.ini how did the spanish version of fire red get its save type set to eeprom (savetype=1) 2012-05-23 06:40:11 +00:00
version.h.in fix Visual Studio build 2019-10-04 13:20:10 +00:00