Commit Graph

250 Commits

Author SHA1 Message Date
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
twinaphex
02eb650273 We should use strlcpy instead of strncpy 2018-08-13 03:07:12 -07:00
twinaphex
9d6de6b60d Buildfix for MSVC 2010 2018-06-25 19:49:41 +02:00
meleu
536638eaf6 support for ResetIf/PauseIf HitCount 2018-06-23 17:25:16 -03:00
meleu
0ffe0f8513
fix crash when scrolling cheevos list. fixes #6732 2018-06-04 10:07:18 -03:00
radius
b25a2b49c4 move pause entry to achievements menu 2018-05-13 14:26:38 -05:00
radius
f3c29b43eb disable cheevos_hardcore_paused on contant load 2018-05-13 13:40:30 -05:00
radius
aa86d78183 add quick menu action to pause / resume hardcore mode for current session 2018-05-13 13:40:30 -05:00
radius
7216726664 add cheevos_hardcore_active, cleanup whitespaces 2018-05-13 13:40:29 -05:00
twinaphex
4f549bc55c (cheevos) Silence PS3 warnings
(PS3) Add HAVE_DR_MP3
2018-05-07 17:45:43 +02:00
Andre Leiradella
f04548a95d Fixed warning about unused STUB_LOG; removed unused debug functions 2018-04-25 18:02:31 +01:00
Andre Leiradella
029ba3d2f6 Mute cheevos logging, define CHEEVOS_VERBOSE in cheevos.h to enable 2018-04-25 17:56:15 +01:00
twinaphex
9a7ca5fe57 C89 buildfix 2018-04-25 12:02:35 +02:00
Celerizer
212d7bfbe1 [Cheevos] Store only login token, not password 2018-04-25 10:42:50 +02:00
meleu
3fb2484869
removed unnecessary memory adjustment 2018-04-16 17:01:43 -03:00
twinaphex
6761ec471d Silence some Coverity warnings 2018-04-12 21:39:31 +02:00
Twinaphex
08a54e45f2 Get rid of a lot of implicit conversions 2018-04-09 15:56:45 +02:00
radius
94e4357fd4 return early in case path is null and move vars to the top 2018-03-24 19:11:07 -05:00
radius
51c9ac4f7a fix crash related to achievements on non-fullpath cores 2018-03-24 17:52:23 -05:00
meleu
d2d8f00b29
cheevos.c: getting the hash from ROM's filename
This is the method we'll use for arcade games.
2018-03-21 11:21:33 -03:00
twinaphex
72dc03a1c6 Try to fix Coverity warnings 2018-03-19 06:58:36 +01:00
radius
c52fdc469f remove task_push_http_transfer_raw, encode before sending data to the task 2018-03-16 22:38:21 -05:00
meleu
eb5a69ded3 fixing cheevos (broken after #6389) 2018-03-16 01:03:57 -03:00
meleu
ca6df1ae32
Support Game Gear
The Console ID 15 was changed to Game Gear at RetroAchievements database.

http://retroachievements.org/gameList.php?c=15
2018-03-15 16:40:19 -03:00
meleu
6346f18133 added cheevos_auto_screenshot 2018-03-14 22:41:51 -03:00
GameDragon2k
44d3561468 Reset Add buffer when hit condition is triggered 2018-02-15 14:30:46 -05:00
GameDragon2k
468256a8f8 Reset hits after evaluation. 2018-02-13 21:56:04 -05:00
GameDragon2k
79219c1640 Fix issue regarding Add Hits condition type 2018-02-13 21:43:41 -05:00
Brad Parker
039da3bb83 C89 buildfix 2018-02-06 22:17:32 -05:00
twinaphex
3d0e768e71 Silence some Coverity errors 2018-02-04 19:30:34 +01:00
leiradel
8b5e7c45d0 Fixed empty menu when there are no cheevos 2018-02-04 15:32:17 +00:00
leiradel
dda52a1eed Fixed unable to use savestates when the game has no cheevos and an associated freeze 2018-02-01 21:54:11 +00:00
leiradel
9c695765dd Fixed crash when a content is loaded before the cheevos task for the previous content was finished 2018-01-31 21:10:08 +00:00
leiradel
8147e6f31c Remove cheevos stuff from coro.h; add macros to increase readability 2018-01-30 17:47:20 +00:00
leiradel
d3d4c5740c Merge branch 'master' of https://github.com/libretro/RetroArch 2018-01-29 22:03:17 +00:00
twinaphex
604024b799 Revert "Fixed crash when the content is closed and the cheevos are still being loaded"
This reverts commit 7b39da0848.
2018-01-29 17:30:47 +01:00
leiradel
7b39da0848 Fixed crash when the content is closed and the cheevos are still being loaded 2018-01-29 17:25:15 +01:00
twinaphex
3a981e081c Cleanups 2018-01-23 21:46:46 +01:00
leiradel
e54da03ddc Fixed crash when the content is closed and the cheevos are still being loaded 2018-01-20 14:35:25 +00:00
twinaphex
58e87387d5 Try to prevent more null pointer dereferences; more general cleanups 2018-01-19 19:15:05 +01:00
twinaphex
f03180c31a Cleanups - do some early returns in case we get a NULL pointer
dereference
2018-01-19 18:42:50 +01:00
twinaphex
92a18e411c (cheevos) Get rid of a lot of macros - make it more understandable 2018-01-19 18:25:54 +01:00
twinaphex
4f16ff8c2e Remove macros CORO_LEAVE/CORO_ENTER/CORO_SUB 2018-01-19 16:54:44 +01:00
twinaphex
bd883ad4d5 (cheevos) Get rid of some of these macros 2018-01-19 16:45:53 +01:00
leiradel
ba661a3af4 Fixed HTTP request for cheevos; fixed handling invalid cheevos 2018-01-03 21:34:52 +00:00
twinaphex
9b2cfc4867 Updates 2017-12-31 18:04:10 +01:00
twinaphex
bd16fd49ab Fix ./configure --disable-rgui 2017-12-31 17:53:11 +01:00
twinaphex
794de84961 Get rid of variable-length array 2017-12-30 08:09:35 +01:00
celerizer
a2ab7defa9
Fix unofficial achievements not being loaded
RetroArch is currently returning only achievements with flag 3 from the site, regardless of whether "Test Unofficial" is on or not. This change makes RetroArch return every achievement from the site when this the option is on or only those marked with Flag 3 (core cheevos) when off.
2017-12-28 17:48:58 -06:00
celerizer
a79bd5a509
Support Neo Geo Pocket
For after https://github.com/libretro/beetle-ngp-libretro/pull/37 is merged.
2017-12-28 16:38:57 -06:00
twinaphex
c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
c4d8a8c800 Free after intfstream_close 2017-12-11 20:24:00 +01:00
twinaphex
e62e9233d7 Add intfstream_get_size 2017-12-11 13:21:44 +01:00
twinaphex
61d3f90cae Add hint defines to libretro.h 2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb Start using VFS API constant defines 2017-12-11 12:15:00 +01:00
twinaphex
2e979ec537 Replace function signatures of file_stream file functions 2017-12-10 22:25:38 +01:00
Twinaphex
8b095eda74
Merge pull request #5878 from leiradel/cheevos_loaded
Fixed cheevos_loaded being true when there are no cheevos
2017-12-08 06:39:46 +01:00
leiradel
8c1e3e5d5b Fixed CXX_BUILD 2017-12-08 00:08:16 +00:00
leiradel
c53d3d35b8 Removed TODO comment 2017-12-07 23:51:15 +00:00
leiradel
bf8f7b444b Fixed cheevos_expr_value to be C89 compliant 2017-12-07 23:48:03 +00:00
leiradel
130a001846 Fixed wrong leaderboard count 2017-12-07 19:49:39 +00:00
twinaphex
32c1c3134e Fix another C89 issue 2017-12-05 16:45:57 +01:00
twinaphex
f9fa2ab2b7 More C89_BUILD fixes 2017-12-05 16:44:05 +01:00
twinaphex
863858ab00 Can't have anonymous variadic macros in C89 2017-12-05 16:42:37 +01:00
twinaphex
3ede6a9aeb Some C89_BUILD fixes 2017-12-05 16:35:03 +01:00
leiradel
ebbd1883ff Merge branch 'master' into cheevos_loaded 2017-11-26 22:50:39 +00:00
Andre Leiradella
6903602665 Set cheevos_loaded to false if the cheevos and leaderboard lists are empty 2017-11-26 22:03:59 +00:00
radius
88e84d1c79 fix a mistake I made when rewriting this code 2017-11-24 08:40:29 -05:00
radius
9b19d334c7 use a single list for achievements 2017-11-23 22:49:11 -05:00
Twinaphex
a490039253
Merge pull request #5759 from fr500/master
Achievement badges
2017-11-24 04:09:33 +01:00