Commit Graph

168 Commits

Author SHA1 Message Date
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
twinaphex f8b1a8a382 No dependencies in file_extract.c other than what is in libretro-common 2015-03-28 20:06:59 +01:00
twinaphex d3b964a1c2 Style nits 2015-03-22 07:37:25 +01:00
twinaphex e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex 7bc845006b Start replacing more g_settings usages 2015-03-20 20:43:22 +01:00
twinaphex 82c1ebf8d5 Revert "(content.c) Cleanups"
This reverts commit aa5e19c505.
2015-03-18 05:06:01 +01:00
twinaphex aa5e19c505 (content.c) Cleanups 2015-03-18 05:05:20 +01:00
twinaphex 8c528e43de (content.c) Simplify read_content_file 2015-03-18 04:54:34 +01:00
twinaphex b3af250e60 Move patch code to patch.c 2015-02-19 04:30:53 +01:00
twinaphex 6390739747 Refactor load_content_need_fullpath 2015-02-16 16:49:05 +01:00
twinaphex 07df7c108d Refactor load_content 2015-02-16 06:44:29 +01:00
twinaphex ceb09648eb Change to ssize_t 2015-02-16 03:46:27 +01:00
twinaphex 935b112a11 Refactor read_file 2015-02-16 03:31:37 +01:00
twinaphex d61cf24627 patch_content - cleanup 2015-02-16 02:33:34 +01:00
twinaphex 4fe4a6cbb3 patch_content - fix conditional 2015-02-16 02:32:56 +01:00
twinaphex 400b01d131 (content.c) Cut down on code duplication 2015-02-16 02:31:06 +01:00
twinaphex 0d8fd70b58 Refactor patch_content code 2015-02-16 02:12:22 +01:00
twinaphex 50c546cfb9 Add hack in patch_content to guard against in correct 'detection'
(for want of a better word) of patch file that doesn't even exist
on the filesystem - this stuff really needs to be rewritten, this
is just a plain mess
2015-02-16 01:40:31 +01:00
twinaphex d4dc802f31 Document file_ops.h 2015-01-16 02:01:05 +01:00
twinaphex 068bb4afbf Rename game to content. 2015-01-13 00:37:43 +01:00
twinaphex 0bcbf5d972 Cleanups 2015-01-09 15:33:58 +01:00
twinaphex 86f4fc424b init_content_file - g_extern.content_is_init already gets set
at the end
2015-01-08 14:48:35 +01:00
twinaphex 00602c41e8 content.c - some more documentation - and redo init_content_file
so that g_extern.content_is_init is always set to return value
of function
2015-01-08 14:42:20 +01:00
twinaphex 37b0dae29d content.c - Nit 2015-01-08 03:59:10 +01:00
twinaphex 1d689f69b8 Add documentation 2015-01-08 03:58:14 +01:00