Commit Graph

74 Commits

Author SHA1 Message Date
twinaphex 820ffb9d20 Cleanups - cut down on the rest of unnecessary filestream_exists calls
- only use filestream_exists immediately before filestream_delete or
any other genuine filestream-related operations - when just checking
if a path exists on the filesystem, just use path_is_valid - faster
2019-05-31 06:43:20 +02:00
meleu 694bac565f do not use old cheevos implementation 2019-05-29 14:26:22 -03:00
meleu 22a956f663 replace 'cheevos_rcheevos_enable' by 'cheevos_old_enable' 2019-05-04 12:52:49 -03:00
twinaphex bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
twinaphex 317a443741 Use config_file_read in more places 2019-04-22 02:10:12 +02:00
meleu c2364096f3
Merge branch 'master' into runtime_rcheevos_switch 2019-04-19 21:50:00 -03:00
Brad Parker 572c16cb2a style cleanup with uncrustify 2019-04-18 11:47:13 -04:00
meleu a5acd559d6 namespace both cheevos implementations & add a runtime setting to allow debugging 2019-03-19 21:13:10 -03:00
natinusala c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
Twinaphex 7fedabee4b
Merge pull request #8163 from orbea/cleanup
Cleanup
2019-02-04 23:19:05 +01:00
orbea 762151758d Fix --disable-menu (Again). 2019-02-04 09:01:37 -08:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
Brad Parker deb35e01a8 fix double-free in cheat manager 2019-01-28 21:49:06 -05:00
twinaphex af74ba90db Buildfixes 2019-01-12 21:34:14 +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
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
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
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 3bba9aeeaf add an option to auto-apply cheats whenever they are toggled on/off 2018-08-02 10:59:37 -04: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