Commit Graph

108 Commits

Author SHA1 Message Date
twinaphex af74ba90db Buildfixes 2019-01-12 21:34:14 +01:00
twinaphex 7ad34509e7 Silence more CXX_BUILD warnings 2019-01-12 21:16:48 +01:00
twinaphex b9ff2e4de1 Fix some static code analysis warnings from MSVC 2017 2019-01-10 21:47:15 +01:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
orbea 849259d8f6 libretro-common: Sort config file conditionally.
This allows optionally sorting configure files and is needed to fix the
order of inputs in the autoconfig profiles which should not be sorted
alphabetically.

Fixes https://github.com/libretro/RetroArch/issues/7873
2019-01-03 15:28:32 -08:00
krzys-h 2c4d2418d6 (UWP) Fix ARM builds 2019-01-01 16:21:47 +01:00
twinaphex 421e6178e5 Buildfix 2018-10-17 18:20:01 +02:00
Twinaphex e3e4abf846 Remove some unused variables 2018-10-17 05:44:05 +02:00
twinaphex 9e90316da9 CXX_BUILD fixes 2018-10-15 04:01:11 +02:00
Sven b48768c023 extend cheat searching to accommodate multiple memory pointers 2018-10-14 14:25:44 -04:00
Twinaphex 21e39c0389 Cleanups 2018-10-11 05:00:49 +02:00
twinaphex c443d6b475 Revert "Revert this - was getting crashes in both OSX and MSVC 2003"
This reverts commit 7d0dba3007.
2018-10-11 03:26:58 +02:00
twinaphex 7d0dba3007 Revert this - was getting crashes in both OSX and MSVC 2003
in config_file.c inside config_get_entry
2018-10-10 23:34:16 +02:00
twinaphex f336fa0337 CXX_BUILD fixes 2018-10-10 16:38:13 +02:00
twinaphex 04cc181771 Cleanups 2018-10-10 16:18:29 +02:00
Sven f53e1ca4b1 fix new rumble types ; increase max displayed cheats to 6000 2018-10-10 09:15:46 -04:00
Sven ce8dc3634f style 2018-10-02 14:06:40 -04:00
Sven 4d0547adcd code style 2018-10-02 14:03:59 -04:00
Sven c204d7b33f do not display applying cheat message unless there are actually cheats 2018-10-02 13:58:58 -04:00
Sven adeff434fd do not initialize cheat system if memory size is 0 to avoid potential NPE 2018-09-30 11:44:37 -04:00
Sven 25b5a7e3b8 add cheat variables to allow for updating large portions of memory - e.g. unlock all levels 2018-09-29 14:52:10 -04:00
neville 8c101fdfd6 Buildfix 2018-09-26 18:48:30 +02:00
twinaphex 0a9eb98cc8 Cleanups 2018-09-26 15:46:27 +02:00
Sven b62fa8d9ed add ability to edit emu-style cheat code value ; change default handler to emu 2018-09-23 15:25:51 -04:00
Adam Londero 69074f877b Add support for Rumble when memory increases or decreases by the rumble value 2018-09-18 22:04:22 +01:00
twinaphex 35991f5feb Don't use == NULL 2018-08-16 21:32:14 +02:00
twinaphex 220c84c7a3 Fix strlcat size arguments 2018-08-16 18:53:19 +02:00
twinaphex 8c084c70b7 Add HAVE_MENU ifdefs 2018-08-14 11:18:24 +02:00
twinaphex 116390b3e8 We should use strlcpy instead of strncpy - this usage of strncpy
was also showing warnings with GCC 8.2
2018-08-13 03:10:02 -07:00
Sven b48321737d Merge remote-tracking branch 'upstream/master' 2018-08-07 17:35:16 -04:00
Sven b648d70f27 add option to auto-apply cheat codes when a game loads ; fix some misc bugs in cheat engine 2018-08-07 17:34:46 -04:00
twinaphex f523fec4d2 C89_BUILD fixes 2018-08-07 03:50:10 +02:00
Twinaphex 01103dcd23 Cleanups 2018-08-04 20:02:33 +02:00
Sven 2fb5d54130 bugfix for very long code values - allow for any length 2018-08-04 13:05:05 -04:00
Sven deff1de2b7 Merge remote-tracking branch 'upstream/master' 2018-08-04 08:29:07 -04:00
Sven a82ea4dcc8 bump size for long one-line multi-codes 2018-08-04 08:28:39 -04:00
twinaphex 5773f7071d C89 buildfixes 2018-08-04 00:47:52 +02:00
Sven 36d16a9c94 add some options to the cheat system to browse emulator memory 2018-08-03 14:59:33 -04:00
Sven c1bba50567 Merge remote-tracking branch 'upstream/master' 2018-08-02 11:00:02 -04:00
Sven 3bba9aeeaf add an option to auto-apply cheats whenever they are toggled on/off 2018-08-02 10:59:37 -04:00
twinaphex 5b9115c848 C89_BUILD fixes 2018-08-01 01:27:30 +02:00
Sven c2825cb7c5 fix strncat size warnings ; only consume additional cheat memory when performing searching - no need to alloc additional memory when applying cheats ; bugfix address mask max value 2018-07-30 04:08:50 -04:00
twinaphex 7131b969d8 (Android) Buildfixes 2018-07-29 19:04:53 +02:00
Sven 0442aa5a31 save/load from cheat_dir/core_name/game_name.cht ; only save to cheat file when there are >0 cheats 2018-07-29 10:48:41 -04:00
Sven 3c0a8c0c10 fix bug when accessing memory address cheat setting before cheat system initialized ; clean up code in some areas 2018-07-28 17:45:33 -04:00
twinaphex 89083fd093 C89 buildfixes 2018-07-28 22:11:56 +02:00
Sven 5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
twinaphex 2ef56e906c Don't define this unless necessary 2018-06-25 21:52:24 +02:00
Dwedit a03ccae2ae fix error 2018-05-12 22:19:42 -05:00
Dwedit 432b320775 Fix full-screen mode change breaking Secondary Core's environment variables
* RunAhead: Remove Environment Hook from primary core
* Modify core option manager to trigger setting the secondary core's dirty environment flag
* RunAhead: Make secondary core's hook support that change, so it can turn off the dirty environment flag after reading a setting.
2018-05-12 22:11:49 -05:00