visualboyadvance-m/src
Rafael Kitover 16dd5d4068
make speedup/turbo configurable + misc #339
Add Speedup / Turbo configuration panel which allows setting the
throttle or number of frames to skip for when the speed key is pressed
or turbo is enabled (which just presses the speed key.)

Throttle and frame-skip are mutually exclusive, throttle must be 0 (no
throttle) when number of frames to skip is non-zero. The dialog controls
handle this.

This is implemented in the core in GBA.cpp, GB.cpp and ConfigManager.

Two new options are added both in ConfigManager and in the wx options,
speedup_throttle and speedup_frame_skip, the defaults are:

```
speedup_throttle   = 0 (no throttle)
speedup_frame_skip = 9
```

this was the original behavior.

Add support for unsigned ints to wx/opts.cpp for these and for throttle,
this requires a new validator wxUIntValidator to use them in spin
controls.

Clean up appearance of the throttle spin control in the General dialog.

Maximum throttle and speedup_throttle is 600, values much over 500 will
not behave differently from 0 on modern hardware.

Maximum frame skip is 30 at the moment.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2019-02-02 18:43:55 -08:00
..
apu Silence some warnings 2018-06-14 11:48:35 -04:00
art merged sergio's icon patch for additional sizes. 2015-05-18 03:44:19 +00:00
common make speedup/turbo configurable + misc #339 2019-02-02 18:43:55 -08:00
debian Some debian stuff, I honestly don't like debian packaging... but it's important for some people 2017-03-09 04:06:25 -05:00
filters support older 32 bit macs running 10.7, fix build 2018-06-30 03:40:47 -07:00
gb make speedup/turbo configurable + misc #339 2019-02-02 18:43:55 -08:00
gba make speedup/turbo configurable + misc #339 2019-02-02 18:43:55 -08:00
libretro GBA: Remove some magic numbers for main pointers and save types size 2019-01-30 04:10:35 -08:00
sdl fix some ELF parsing vulnerabilities #255 2018-06-29 08:17:13 -07:00
snap I guess I'll try the gtk2 build of wxwidgets instead 2019-02-02 18:32:38 -05:00
vita Working on getting libretro updated 2017-03-24 07:59:10 -04:00
wx make speedup/turbo configurable + misc #339 2019-02-02 18:43:55 -08: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 Re-add Types.h, remove some more #ifdef 2018-06-08 20:14:45 +08:00
Util.cpp Kill common/Types.h, replace its old typedefs w/ standard types 2016-07-29 11:07:11 +02:00
Util.h Kill common/Types.h, replace its old typedefs w/ standard types 2016-07-29 11:07:11 +02: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 read version and subversion info from Git 2017-10-07 14:00:47 -07:00