Commit Graph

45 Commits

Author SHA1 Message Date
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
twinaphex
90076c5fad Start using MAX_PATH_LENGTH - relying on MAX_PATH for 360 can cause
problems because it's defined at '260' and thus too small for some
strings
2015-01-07 20:42:36 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
twinaphex
3ed8702a1f content.c - declare variables at the top 2014-12-31 18:51:29 +01:00
twinaphex
18f9e4e296 Remove sha256 variable - cheats should no longer be dependent
on need_fullpath false and having a SHA256 hash
2014-12-15 21:29:09 +01:00
twinaphex
ae77642e94 Check if block_extract is false 2014-12-15 18:36:49 +01:00
twinaphex
6965774c69 read_content - Not sure why Timo S Trunks did this. If need_fullpath is true
and the file passed is a 7z/zip archive, pass it straight-as is
2014-12-15 18:33:12 +01:00
twinaphex
63fe97c0a5 Cleanup some useless casts pt. 2 2014-12-15 17:13:08 +01:00
twinaphex
9f11543ce2 content.c - Add HAVE_COMPRESSION ifdef around code block 2014-12-15 17:06:40 +01:00
twinaphex
6a9913c744 Fixup fill_pathname_basedir in load_content 2014-12-15 17:04:57 +01:00
twinaphex
e871d27d7d Set new pathname basedir in case extraction_directory has not
been set
2014-12-15 16:57:22 +01:00
twinaphex
f9d819f971 Cleanup load_content a bit 2014-12-15 16:53:25 +01:00
twinaphex
a9a3bbcce5 Place content_is_init assignment in better spot 2014-12-10 22:26:37 +01:00
twinaphex
0a896575be init_content_file - set content_is_init to false at start of
function
2014-11-24 06:27:24 +01:00
twinaphex
064f23b354 Add content_is_init - set to true if content file has been loaded
into memory, set to false when it has failed in doing so
2014-11-24 06:21:52 +01:00
Lioncash
a058341298 content: Fix potential memory leak 2014-10-26 12:18:00 -04:00
twinaphex
9a9fa6532a Move file_path.c to libretro SDK 2014-10-22 00:23:06 +02:00
twinaphex
dd93d549aa Rename rarch_file_path to file_ops 2014-10-21 23:53:09 +02:00
twinaphex
d3629f06f1 Rename file.c/file.h to content.c/content.h 2014-10-21 23:44:03 +02:00