Commit Graph

23 Commits

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