Commit Graph

192 Commits

Author SHA1 Message Date
twinaphex 6c06ffbf1d Create CHEEVOS_CTL_SET_CHEATS 2016-02-13 06:13:46 +01:00
twinaphex d255d6609b Create cheevos_ctl 2016-02-13 06:06:51 +01:00
twinaphex 0f35e0639e Fix subsystem loading 2016-02-13 04:07:46 +01:00
twinaphex 5f3ddb4bfc Fix some warnings with SNC PS3 compiler 2016-02-03 15:25:37 +01:00
twinaphex f1819b8c13 Replace read_file instances with retro_read_file 2016-01-30 03:59:30 +01:00
twinaphex 93651ae340 Use CORE_CTL_RETRO_GET_MEMORY 2016-01-28 02:58:53 +01:00
twinaphex 737fd4268c Refactor CORE_CTL_RETRO_GET_MEMORY 2016-01-28 02:53:43 +01:00
twinaphex f63429601e use CORE_CTL_RETRO_GET_MEMORY in more places 2016-01-27 09:31:31 +01:00
twinaphex ae2cf510cd Create CORE_CTL_RETRO_GET_MEMORY 2016-01-27 09:29:18 +01:00
twinaphex e516a64a0c Create CORE_CTL_RETRO_LOAD_GAME 2016-01-27 09:13:26 +01:00
twinaphex a9e71b12e1 Cleanup 2016-01-27 08:50:23 +01:00
twinaphex 9ad2e6fa1f Simplify some code in load_content - only do cheevos calls
when content has been successfully loaded
2016-01-27 08:48:19 +01:00
twinaphex 24d438ccc1 Start using new callbacks 2016-01-27 07:17:53 +01:00
twinaphex a4bfd9046c Create CORE_CTL_RETRO_SERIALIZE_SIZE 2016-01-27 06:46:59 +01:00
twinaphex d1ac905248 Return 'ret' at end of load_content instead of hardcoded 'true' 2016-01-27 02:40:11 +01:00
twinaphex cce5d3e900 Cleanup dump_to_file_desperate 2016-01-27 00:06:06 +01:00
twinaphex beb985dbaa Make this code more robust 2016-01-26 08:21:44 +01:00
twinaphex 754bf4043d Load_content_from_compressed_archive sets new_path - attempt
to pass it to retro_load_game
2016-01-26 06:49:59 +01:00
twinaphex e05f04824c Log calls to retro_load_game and also document some other parts of the code 2016-01-26 06:30:28 +01:00
twinaphex 9c4b927b17 Style nits 2016-01-26 05:48:31 +01:00
twinaphex 5f3b583452 Create CONTENT_CTL_LOAD_RAM_FILE and CONTENT_CTL_SAVE_RAM_FILE 2016-01-25 07:15:05 +01:00
twinaphex 9459cf6445 Rename zlib_ to file_archive_ 2016-01-24 22:17:11 +01:00
twinaphex aae1faf76f Move crc32_calculate to file_archive_zlib.c 2016-01-24 21:50:28 +01:00
twinaphex 3c2a45d923 Rename file_extract functions 2016-01-24 07:42:46 +01:00
twinaphex 552e78c9bc Rename file_extract to file_archive 2016-01-24 07:29:11 +01:00
twinaphex c6f7afbd9a Adjust zlib_crc32_calculate 2016-01-24 06:47:06 +01:00
twinaphex 458e3a0fad Fix zlib_extract_first_content_file - we now pass a
new string to zlib_extract_first_content_file which will
fill in the extracted first file's path, we then add this
to temporary_content string list
2016-01-24 05:41:41 +01:00
twinaphex f4dfde8c47 Replace this with string_list_append 2016-01-24 05:34:17 +01:00
twinaphex 220b42332d Allocate temporary_content once before initing/loading content 2016-01-24 05:29:30 +01:00
twinaphex 55798b0a58 Fix fall-through bug 2016-01-22 20:27:42 +01:00
twinaphex 058c3acbdc Divorce content_crc from global struct 2016-01-22 16:09:48 +01:00
twinaphex 112f564a8f Change setting 2016-01-21 03:49:06 +01:00
twinaphex 89b7fb5380 (content.c) Create error goto 2016-01-21 02:41:29 +01:00
twinaphex 63e2d13b8f Create string_is_equal_noncase - try not to use strcasecmp so much 2016-01-20 17:34:19 +01:00
twinaphex 5643b7d3d8 Add CONTENT_CTL_DOES_NOT_NEED_CONTENT and CONTENT_CTL_SET_DOES_NOT_NEED_CONTENT 2016-01-19 23:15:19 +01:00
twinaphex a5af9b653a Turn global->content.inited into static local variable
and go through content_ctl
2016-01-19 22:57:18 +01:00
twinaphex 748959c8fc Cleanups 2016-01-19 22:52:31 +01:00
twinaphex b2426f30a6 (content.c) Start using string_is_empty 2016-01-19 22:41:15 +01:00
twinaphex 4726e3cb4f Cleanups - add more actions to content_ctl 2016-01-19 22:33:37 +01:00
twinaphex 40beb7092a (content.c) Add fallthrough 2016-01-19 22:19:33 +01:00
twinaphex 4df0fb4e07 Turn temporary_content into static local variable of content_ctl 2016-01-19 22:17:54 +01:00
twinaphex ae704048bc Create CONTENT_CTL_INIT 2016-01-19 22:15:00 +01:00
twinaphex 2836c9755a Create content_ctl 2016-01-19 22:12:25 +01:00
twinaphex d4102f2816 rename load_content_need_fullpath to load_content_from_compressed_archive 2016-01-19 17:43:37 +01:00
twinaphex 839bf31c2a Rename load_content_dont_need_fullpath to load_content_into_memory 2016-01-19 17:42:14 +01:00
twinaphex 85e6ba128f Move comment in load_content_dont_need_fullpath to appropriate
place
2016-01-19 17:41:14 +01:00
twinaphex e8e58d841f Cleanup init_content_file_extract 2016-01-19 17:34:47 +01:00
twinaphex 7405535f03 Move attr variable to init_content_file_set_attribs 2016-01-19 17:33:06 +01:00
twinaphex 73e97d119d Cleanups 2016-01-19 17:29:25 +01:00
twinaphex ddc3959e42 Simplify init_content_file_set_attribs 2016-01-19 17:27:02 +01:00
twinaphex 86906cf5e3 Cleanups 2016-01-19 17:24:42 +01:00
twinaphex 78d3bc5015 Call content_temporary_free if init_content_file errors out 2016-01-19 17:15:36 +01:00
twinaphex d7375b88e7 Create load_content_append_to_temporary_content 2016-01-19 17:14:57 +01:00
twinaphex a8ee8ec0cd Put HAVE_ZLIB ifdef around init_content_file_extract 2016-01-19 01:30:28 +01:00
twinaphex e859c70a24 content.c - More cleanups 2016-01-19 01:22:37 +01:00
twinaphex 29ad7620aa load_content - call string_list_new later 2016-01-19 01:14:17 +01:00
twinaphex a79a2d6e1c Some more impicit memset removed 2016-01-19 00:50:15 +01:00
twinaphex c50e303116 (content.c) remove some implicit memsets 2016-01-19 00:47:27 +01:00
twinaphex 25187a52fb Fix error 2016-01-19 00:42:21 +01:00
twinaphex dd30dd84c3 Cleanups 2016-01-19 00:38:34 +01:00
twinaphex 9fce8e0b72 (content.c) More cleanups 2016-01-19 00:34:43 +01:00
twinaphex 6b12059c6e Create init_content_file_extract - cleanup init_content_file
function some more
2016-01-19 00:26:12 +01:00
twinaphex 2b7cef4fd6 Create init_content_file_subsystem 2016-01-19 00:16:49 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex db81f05078 Turn cheevos_globals into static variable and move it to cheevos.c 2015-12-07 13:30:03 +01:00
Twinaphex c2e0e8d9fb (menu_entries.c) Less pointer grabbing 2015-12-07 07:13:18 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex 30ed8b750b move temporary_content to content.c 2015-11-30 19:09:12 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex a4ae655ff4 Start going through rarch_main_ctl for grabbing fullpath 2015-11-18 11:43:25 +01:00
Andre Leiradella b58ee6c29d correct formatting 2015-11-06 17:32:40 -02:00
Andre Leiradella ad8f1aaaf6 moved cheevos_load to after retro_load_game so the core has the chance to finish its initialization before cheevos calls retro_get_memory_size 2015-11-06 13:35:45 -02:00
twinaphex fa9ef5b021 Backport leiradel PR - 'support need_fullpath; changed how md5 hashes
are tested'
2015-11-02 17:17:34 +01:00
Twinaphex 482cef0a2f Merge pull request #2299 from leiradel/master
sumbit achievements asynchronously to the server; download list of un…
2015-10-27 21:44:27 +01:00
Andre Leiradella 674752ca96 sumbit achievements asynchronously to the server; download list of unlocked achievements to prevent earning the same achievement more than once; disabled achievements if the game was started with cheats enabled or after they were enabled during game play; fixed code style 2015-10-27 15:50:41 -02:00
twinaphex 0dc9c8df95 Rename extraction_directory to cache_directory 2015-10-27 00:48:35 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex 21f23ea51d Backport 'remove cheevos from the build unless HAVE_CHEEVOS=1;' 2015-10-16 18:04:59 +02:00
Andre Leiradella ff2d6b9c2b removed special snes case, recompute md5 if the first one fails instead 2015-10-14 20:52:25 -03:00
Andre Leiradella cb24d13f8c download the achievements list from retroachievements.org 2015-10-14 00:12:01 -03:00
Andre Leiradella 5fce3f4138 grouped core functions inside a retro_core_t structure; swapped core function globals by one retro_core_t variable 2015-10-06 14:34:09 -03:00
twinaphex 0cc56e2a1a More static code analysis nits 2015-09-28 18:44:28 +02:00
twinaphex 3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex 3564532564 Create retro_write_file 2015-09-19 00:34:24 +02:00
twinaphex a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex 9c2afe9deb Updates 2015-07-02 14:08:04 +02:00
twinaphex 2a5238706d More translatable strings 2015-07-02 00:54:10 +02:00
twinaphex ca64fdcdc0 (content.c) More translatable strings 2015-07-02 00:47:00 +02:00
twinaphex b6358a2064 (content.c) Use rarch_system_info_get_ptr 2015-06-25 13:02:43 +02:00
twinaphex 42fcb4490c Change signature of rarch_system_info_get_ptr 2015-06-25 12:36:55 +02:00
twinaphex ac2a13a136 Use rarch_system_info_get_ptr 2015-06-25 11:02:01 +02:00
Higor Eurípedes 0868bf05b8 (content.c) Allow empty files to be read 2015-06-14 21:00:32 -03:00
twinaphex c36e21ed13 (General) Cleanup 2015-06-12 17:00:37 +02:00
twinaphex fc4755bce2 (libretro-common) Move hash.c/hash.h to libretro-common 2015-06-04 21:13:13 +02:00
radius 6db06066e3 revert some changes in load_content to make SGB work again with the subsystem API 2015-05-09 22:46:46 -05:00
twinaphex 6f6e1d0e69 Will now send 'path' to retro_load_game if 'Set Supports No Content
Enable' is set to false
2015-04-28 03:30:07 +02:00
twinaphex e116ef72da Add HAVE_ZLIB ifdefs around zlib-specific code 2015-04-19 16:59:11 +02:00
twinaphex c26804335b (libretro-common) Move file_extract.c to libretro-common 2015-03-28 20:14:19 +01:00