Commit Graph

320 Commits

Author SHA1 Message Date
Twinaphex 3b24bb21e5 Remove unused variables 2020-09-15 19:38:07 +02:00
Jamiras 7e348b98f7 address travis error 2020-09-15 09:09:02 -06:00
Jamiras 0d6f0e4826 let rc_runtime_t manage triggers 2020-09-14 07:51:52 -06:00
twinaphex 17cf1ae58f Dehardcode some strings 2020-09-01 21:51:11 +02:00
twinaphex 1c25fbded5 (rcheevos) Cleanups 2020-08-23 21:07:15 +02:00
twinaphex 86520cbd07 Reorder structs, alignment 2020-08-23 16:02:33 +02:00
twinaphex edd2ef7b92 (cheevos) Try to use snprintf where possible 2020-08-23 15:17:00 +02:00
twinaphex c10d1922ed (rcheevos) Try to use safe versions of strcpy/sprintf where possible 2020-08-23 15:15:34 +02:00
twinaphex b965bb5c48 (rcheevos) Alignment improvements according to CODING-GUIDELINES
document
2020-08-23 15:10:20 +02:00
Jamiras 2f69d2d4ed eliminate exposed variables for tracking hardcore 2020-08-22 12:18:12 -06:00
twinaphex f618c8be9c Cleanups 2020-08-18 15:51:26 +02:00
Jamiras 2a5516b1b9 ensure cheevos badge textures are released before video driver is deinitialized 2020-08-12 21:55:12 -06:00
twinaphex 56a690df0e (cheevos) Some style nits 2020-08-12 17:43:04 +02:00
Jamiras 1f350be1f8 rename memory.c and parser.c to be less generic; eliminate hash.c 2020-08-12 08:16:06 -06:00
Jamiras 8d34d06c76 address LGTM warning 2020-08-11 11:15:00 -06:00
Jamiras 0609d229a6 address travis warnings 2020-08-11 10:23:35 -06:00
Jamiras b15411dad8 generic memory mapping using rcheevos 2020-08-11 09:26:04 -06:00
Jamiras 96c5f5dfb0 add option to play custom sound on achievement unlock 2020-07-11 10:56:09 -06:00
Jamiras a2cfc881a4 allow submission of 0 for leaderboard values 2020-07-04 07:20:51 -06:00
twinaphex 7862166ed2 Add back HAVE_SCREENSHOTS define from SSNES days 2020-07-01 17:47:13 +02:00
jdgleaver 0fcfb3deda Refactor playlist struct configuration 2020-06-26 15:40:19 +01:00
twinaphex 91f5ca4105 Cleanups 2020-06-25 23:10:54 +02:00
twinaphex 601a73fa8b Use string_starts_with_size where possible - avoids the strlen 2020-06-25 12:51:04 +02:00
Jamiras e85b318038 display 'Unlocked' in hardcore mode for achievements earned in non-hardcore mode 2020-06-23 08:59:43 -06:00
Jamiras 527e9faa1f hash buffered data when available 2020-06-21 09:39:42 -06:00
Jamiras 20380a8042 correctly report unlocked non-hardcore achievements when hardcore is paused 2020-06-15 07:06:12 -06:00
Twinaphex 80dd4548e1 Remove unused variables 2020-06-08 13:39:18 +02:00
Jamiras 7d488aa200 use rcheevos for identifying games 2020-06-07 17:13:50 -06:00
twinaphex cb90fdb802 (Cheevos) Cleanups 2020-06-07 21:48:36 +02:00
twinaphex 55a8404d01 (Cheevos) Cleanups 2020-06-07 21:34:43 +02:00
twinaphex 2baa3be2da Cleanups 2020-06-07 21:18:07 +02:00
twinaphex 543e4bca16 Merge Discord code into retroarch.c 2020-06-06 20:50:25 +02:00
Autechre 2cec960ada
Merge pull request #10774 from Jamiras/cheevos_report_err
report API errors when unlocking achievements or submitting leaderboards
2020-06-05 12:50:12 +02:00
Jamiras 6e5b786329 report API errors when unlocking achievements or submitting leaderboards 2020-06-02 22:03:35 -06:00
jdgleaver eb429f9211 (Cheevos) When parsing M3U files, only capture the first entry 2020-05-30 12:16:52 +01:00
jdgleaver 21ad64ab77 (Cheevos) Use 'm3u_file.h' library when parsing M3U files 2020-05-29 17:44:31 +01:00
twinaphex 6dc758a080 Move cheevos-new to cheevos/ 2020-05-21 23:23:01 +02:00
meleu 98ba2d8cb9 remove old cheevos files 2019-05-29 16:32:36 -03:00
twinaphex 020b714113 Refactor task_screenshot.c 2019-05-22 05:54:35 +02:00
radius eef4ada025 fix #8725 again including:
- allow savestates on hardcore
- fix weird conditions happening due to having two implementations
- fix popup saying state was loaded when starting a game with achievements hardcore after a game with no achievements
- fix rewind not working when loading games with no achievements after loading games with achievements hardcore
2019-05-21 03:32:49 +02:00
twinaphex f17655f073 Revert "attempt to fix issue described in #8725"
This reverts commit 90b0afdaa7.
2019-05-21 03:32:18 +02:00
twinaphex 90b0afdaa7 attempt to fix issue described in #8725 2019-05-21 03:10:06 +02:00
radius f393898825 cheevos, fix issue described in https://github.com/libretro/RetroArch/issues/8725#issuecomment-493130218 2019-05-19 00:37:48 +02:00
Twinaphex 2ed4fbf2f7
Merge pull request #8691 from meleu/patch-5
use new cheevos implementation as default
2019-05-04 15:55:22 +02:00
meleu b85cd1f1ab use new cheevos implementation as default 2019-05-04 10:27:36 -03:00
natinusala 636f2ddb28 menu_widgets: implement the user setting 2019-05-03 21:25:20 +02:00
twinaphex bb45102450 Merge branch 'master' of https://github.com/libretro/RetroArch 2019-04-20 15:24:46 +02:00
twinaphex e35cd80a14 (MSVC 2010) Buildfix 2019-04-20 05:53:17 +02:00
meleu 9091409efa remove '#ifdef HAVE_NEW_CHEEVOS' leftovers 2019-04-19 23:11:31 -03:00
meleu c2364096f3
Merge branch 'master' into runtime_rcheevos_switch 2019-04-19 21:50:00 -03:00
leiradel dab941e53d Simpler code paths 2019-04-19 17:33:24 +01:00
leiradel c0bb911501 Fix check to chose between mmaps and meminfo 2019-04-19 15:12:04 +01:00
leiradel 8aa16caef5 Fix format string in log message 2019-04-19 15:01:02 +01:00
Raphaël Zumer dc37d56ac8 Check bounds of peeked memory for achievements 2019-04-15 13:34:44 -04:00
natinusala 8287049a13 menu widgets: add badges to achievement notification 2019-04-11 17:35:13 +02:00
natinusala f941d4e625 menu widgets: add first achievement notification widget 2019-04-11 16:46:41 +02:00
meleu dda6716926 more namespacing work & del rcheevos/test/* files 2019-03-24 12:51:47 -03:00
meleu d444044fde decrease log massive verbosity when leaderboard is active 2019-03-19 21:19:08 -03:00
meleu a5acd559d6 namespace both cheevos implementations & add a runtime setting to allow debugging 2019-03-19 21:13:10 -03:00
meleu 846ca5fd3b cheevos: cancel lboards on reset 2019-02-09 23:12:06 -02:00
twinaphex 386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex 894f3b7aef Change function signature back 2019-02-08 07:29:50 +01:00
twinaphex 7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01: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
twinaphex 845b30131f Cleanups 2019-02-04 23:17:39 +01:00
orbea 4c56167446 Convert to linux line endings. 2019-02-03 15:43:42 -08:00
Raphaël Zumer b1de875551 Define lynx_header_len at the function head 2019-01-15 12:19:25 -05:00
Raphaël Zumer cdbfec7348 Make SNES_HEADER_LEN snake case 2019-01-15 12:18:58 -05:00
Raphaël Zumer 4260f9ffbc Hash full Lynx file content 2019-01-15 12:12:13 -05:00
twinaphex 0f8cf1a579 C89 buildfix 2019-01-12 18:15:49 +01:00
Twinaphex cdcadf6237
Merge pull request #7769 from rzumer/patch-2
Update NES and SNES hashing methods
2019-01-10 15:14:08 +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
Raphaël Zumer 5cef12160a Ignore trainer data for NES hashing 2019-01-03 21:14:29 -05:00
Raphaël Zumer 0ebf5a2563 Fall back to GENERIC_MD5 for headerless SNES 2019-01-02 10:16:13 -05:00
meleu 2a9f6d9d40 SNES hashing, just ignore header if it has one 2019-01-02 09:48:55 -05:00
Raphaël Zumer dc45fbada6 Include VROM in cheevos NES hash 2019-01-01 21:02:28 -05:00
radius 0a6df1743c [netplay] print upnp failed messages
[cheevos] fix warning
2019-01-01 11:22:58 -05:00
twinaphex 136a9db13f Silence warning - variable too small 2018-11-26 12:14:13 +01:00
natinusala bca0669833 ozone: fix cheevos badges, convert cheevos.c to LF 2018-11-19 10:23:55 +01:00
natinusala 158ddc0b2a New menu driver : ozone (Nintendo Switch lookalike) 2018-10-26 13:24:32 +02:00
meleu 87467be496
added cheevos console ID for atari7800 2018-10-17 16:37:41 -03:00
twinaphex ac14ea6d01 Go back to old cheevos 2018-10-01 15:02:51 +02:00
twinaphex f0c684707f Fix C89_BUILD 2018-10-01 03:28:39 +02:00
twinaphex 4c23fa02e9 (MSVC 2013) Fix build for rcheevos
(MSVC) Fix some warnings; unused variables, etc.
2018-09-30 13:38:58 +02:00
Twinaphex c4d0cdc7ea Get rid of some unused variables 2018-09-29 21:19:06 +02:00
Andre Leiradella d67aa83f48 Merge branch 'master' into integrate_rcheevos 2018-09-27 21:48:34 +01:00
Andre Leiradella ad992d227b Guard against null settings; only test leaderboards if enabled 2018-09-26 23:03:31 +01:00
radius a0339e95ec Reset the flag on reset 2018-09-22 21:27:19 -05:00
radius c4d678a1ce reset the flag on Resume 2018-09-22 11:43:41 -05:00
radius c07744564a prevent retroachievements cheating exploit
Revert "prevent retroachievements cheating exploit" and reimplement it in a better way

This reverts commit d323338caa4882925d184f5ee7a506bfa8c78c1e.
2018-09-22 11:43:34 -05:00
twinaphex e403b8fb1e C89 buildfixes 2018-09-10 20:35:30 +02:00
Raphaël Zumer 3a0c450e70 Support headerless NES hashing in cheevos.c 2018-09-10 00:15:52 -04:00
Andre Leiradella 377d256ce9 Properly initialize cheevos_locals 2018-09-03 22:51:07 +01:00
Andre Leiradella 4c01697d3f Use the correct console id 2018-09-03 19:17:03 +01:00
Andre Leiradella 2d7c4b4f9d Use CHEEVOS_TAG 2018-09-02 15:11:33 +01:00
Andre Leiradella 0f6cdde65b Fixed indentation 2018-09-02 15:00:42 +01:00
Andre Leiradella ae5ff31b45 Fixed screenshot code after merge 2018-09-02 14:56:12 +01:00
Andre Leiradella 613a3e8479 Integrated rcheevos 2018-09-02 14:23:37 +01:00
Brad Parker b0146abd11 add fullpath and use_thread parameters to take_screenshot() 2018-08-18 23:08:55 -04:00