Commit Graph

35 Commits

Author SHA1 Message Date
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