Commit Graph

1044 Commits

Author SHA1 Message Date
twinaphex f55ee11554 (libretro-common) Header updates 2016-03-20 17:13:31 +01:00
twinaphex f0fd3895b6 Updates 2016-03-20 16:36:39 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex be9bf7dc44 (libretro-common) Move memory_stream 2016-03-20 16:17:44 +01:00
twinaphex c7e13e2bcd (libretro-common) Rename file_archive to archive_file 2016-03-20 16:14:40 +01:00
twinaphex 435aa5ee7c (libretro-common) file_list.c - update function description 2016-03-20 15:59:38 +01:00
twinaphex f7d4cc25e5 (libretro-common) file_list.c 2016-03-20 15:56:33 +01:00
Twinaphex 43b931129d (iOS) Buildfix 2016-03-20 15:07:49 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex ef4a1a3c0f (libretro-common) Rename fifo_buffer to fifo_queue 2016-03-20 14:06:21 +01:00
twinaphex 87840e5b6c (rbmp) Change typedef enum 2016-03-20 05:35:52 +01:00
twinaphex 6b3c3f326a Cleanups 2016-03-20 05:12:53 +01:00
twinaphex 1270d8f96a Update libretro-common 2016-03-20 04:50:29 +01:00
twinaphex b40b169098 Copy over libretro-common changes 2016-03-20 04:49:59 +01:00
twinaphex ea7cf9d9ca (file_archive.c) Style nits 2016-03-20 04:21:47 +01:00
twinaphex 2c7cc41f1b Prevent null pointer dereference 2016-03-18 18:04:21 +01:00
twinaphex b12367c781 Update 2016-03-09 12:42:58 +01:00
twinaphex 341d0f9998 Update 2016-03-09 12:00:45 +01:00
twinaphex 08ed4d0e57 Cleanup 2016-03-08 16:11:53 +01:00
twinaphex 0de724d066 Update glsm 2016-03-08 16:09:09 +01:00
twinaphex bdb8edb708 Update to glsm 2016-03-07 01:46:47 +01:00
twinaphex 93de657952 (retro_inline.h) Fix backwards compatibility with older mingw versions 2016-03-04 01:43:09 +01:00
twinaphex 869cb8a1be (net_ifinfo.c) Bugfix 2016-03-03 07:17:17 +01:00
twinaphex ec0d9f0a70 (net_ifinfo.c) Style nits 2016-03-03 07:16:06 +01:00
twinaphex 97eea9e71f (net_ifinfo/Win32) Adapter name shows up now - IP address doesn't yet 2016-03-03 05:50:45 +01:00
twinaphex 4d630189a2 Start adding Windows implementation for net_ifinfo.c - will
need to link against iphlpapi for mingw
2016-03-03 04:40:25 +01:00
twinaphex 966f267285 (Win32) Start trying to implement Win32 backend for net_ifinfo.c 2016-03-03 04:11:24 +01:00
twinaphex dfa315f0d5 Fix compat_ifaddrs.c - network addresses are now shown on Android 2016-03-03 03:44:16 +01:00
twinaphex 5b4ba2a449 Add Network Information now 2016-03-03 03:06:54 +01:00
twinaphex e99a97d9b7 Some compilation fixes for compat_ifaddrs.c 2016-03-03 02:51:06 +01:00
twinaphex 4fce2e74ac (Win32) Buildfix 2016-03-03 02:10:34 +01:00
twinaphex 88b3b9a08d Include boolean.h 2016-03-03 02:09:30 +01:00
twinaphex c9e6a91137 (Android) Bake in ifaddrs for Android 2016-03-03 02:08:47 +01:00
twinaphex a3234f3f17 (net_ifinfo.c) ifndef this out for _WIN32 so far 2016-03-03 01:34:45 +01:00
twinaphex 61faa0a04b Bake in net_ifinfo 2016-03-03 00:26:26 +01:00
twinaphex 191b233334 Cleanup net_ifinfo 2016-03-03 00:22:38 +01:00
twinaphex cbc8bab8e2 Cleanup 2016-03-03 00:19:37 +01:00
twinaphex d805845e29 Add net_ifinfo 2016-03-03 00:17:14 +01:00
twinaphex 414c63b59a (VG) Silence some warnings
(Libretro-common) Add some headers
2016-03-02 23:09:31 +01:00
twinaphex 6f80e09ce1 Change MIN/MAX to upper-case 2016-03-02 00:07:31 +01:00
twinaphex 1b0a9d0b1d Backport Opendingux/GCW Zero patches courtesy of gama.coder 2016-03-01 21:50:23 +01:00
twinaphex 7d346d627f Robustness fixes 2016-02-29 01:22:39 +01:00
twinaphex cec6701c0d (config_file.C) Fix segfaultthat happened at freeing of tmp->key
when tmp->key is NULL
2016-02-28 18:44:07 +01:00
twinaphex 1516ee8e76 Silence this warning too for C89 - not correct but whatever -
never used
2016-02-25 22:36:08 +01:00
twinaphex 7da6797112 CXX_BUILD - More buildfixes 2016-02-25 22:13:12 +01:00
twinaphex 433155c95f Move UTF8 helper functions to encoding_utf.c (libretro-common) -
hopefully did not introduce any regressions
2016-02-25 00:57:46 +01:00
twinaphex ce93da7cbf Updates to glsm 2016-02-12 01:42:33 +01:00
twinaphex 9b521d665d Update glsm 2016-02-11 22:08:45 +01:00
twinaphex 49e7347f3d Update glsm 2016-02-11 20:20:55 +01:00
twinaphex 99804e2427 Update glsm 2016-02-11 19:10:40 +01:00
twinaphex bd008748da Update 2016-02-11 18:44:48 +01:00
twinaphex 74547ca990 Update 2016-02-11 18:30:16 +01:00
twinaphex d09ea1bb57 Add glsm to libretro-common 2016-02-11 18:25:27 +01:00
Twinaphex 259ac2ddbd Merge pull request #2710 from fr500/master
save only modified values when saving remaps
2016-02-10 05:46:17 +01:00
radius 80845f1cd6 save only modified values when saving remaps 2016-02-09 23:39:16 -05:00
twinaphex 9af5b44453 task_queue.c - Prevent warning 2016-02-09 18:39:41 +01:00
twinaphex 5b6d310abd Rename enums 2016-02-09 18:26:27 +01:00
twinaphex 8b9c7a47e4 Move task_queue to queues/ dir 2016-02-09 18:13:47 +01:00
twinaphex 31112e937b Move task_queue.c to libretro-common 2016-02-09 18:11:11 +01:00
twinaphex eb5986d332 Cleanup 2016-01-30 04:43:35 +01:00
twinaphex a267bdfbe3 MOve gfx/image/image.c to gfx/video_texture_image.c 2016-01-30 02:39:08 +01:00
twinaphex c5597d3c9d Cleanups 2016-01-26 05:59:52 +01:00
twinaphex f89467ccbf Create fill_string_join 2016-01-26 01:46:15 +01:00
twinaphex e386bc4963 Cleanup 2016-01-26 01:27:23 +01:00
twinaphex b7434c6564 Rename to file_archive_decompress_data 2016-01-25 02:52:03 +01:00
twinaphex 9459cf6445 Rename zlib_ to file_archive_ 2016-01-24 22:17:11 +01:00
twinaphex 44ec82362e Cleanup 2016-01-24 22:06:01 +01:00
twinaphex 6878aa0844 Turn file_archive_inflate_data_to_file into static function 2016-01-24 22:04:21 +01:00
twinaphex aae1faf76f Move crc32_calculate to file_archive_zlib.c 2016-01-24 21:50:28 +01:00
twinaphex d53a0c5994 Cleanup 2016-01-24 21:36:01 +01:00
twinaphex 6580c817c2 Cleanup 2016-01-24 21:31:47 +01:00
twinaphex 2bc75715f7 Move zlib_deflate_init to file_archive_zlib.c 2016-01-24 21:26:02 +01:00
twinaphex 1a04bb4532 Add stream_decompress_data_to_file_init and stream-decompress_data_to_file_iterate to
file_archive_zlib.c
2016-01-24 21:23:33 +01:00
twinaphex c1364648e7 Cleanup 2016-01-24 21:12:16 +01:00
twinaphex 7130f0c8d8 Move zlib_set_stream to file_archive_zlib 2016-01-24 21:06:53 +01:00
twinaphex 7d29929819 Move file_archive_inflate_init to file_archive_zlib 2016-01-24 20:18:52 +01:00
twinaphex fa00f51e80 Move zlib_deflate_data_to_file to file_archive_zlib.c 2016-01-24 20:15:17 +01:00
twinaphex d1ef6f032e Create stream_compress_free and add it to file_archive_zlib 2016-01-24 20:12:12 +01:00
twinaphex f264d3d29b Move zlib_stream_ functions to file_archive_zlib.c 2016-01-24 20:08:57 +01:00
twinaphex 064c5ffc3a Move zlib_stream_free to file_archive_zlib.c 2016-01-24 20:01:35 +01:00
twinaphex 9a23d95846 Add zlib_stream_new to file_archive_zlib.c 2016-01-24 19:57:31 +01:00
twinaphex 021d8e6af8 Make file_archive_get_default_file_backend public scope 2016-01-24 19:48:25 +01:00
twinaphex 6f3adc900d Style nits 2016-01-24 19:44:18 +01:00
twinaphex c4fa71ecc3 Move functions 2016-01-24 19:29:34 +01:00
twinaphex 3e3b57200a Cleanup 2016-01-24 19:25:30 +01:00
twinaphex 14e389bccf Improve ZLIB_TRANSFER_DEINIT case 2016-01-24 19:16:26 +01:00
twinaphex b4b686fdff Cleanups/style nits 2016-01-24 19:10:02 +01:00
twinaphex 5c2acea38c Do 'free' on handle->stream in case of an error in file_archive_inflate_data_to_file_init 2016-01-24 18:55:50 +01:00
twinaphex cc69cfe6a7 Use zlib_transfer_t * instead of void * 2016-01-24 18:53:37 +01:00
twinaphex cf94c0b6c0 Move file backend back to file_archive.c 2016-01-24 16:18:18 +01:00
twinaphex 5b343c2a32 (RPNG) Update 2016-01-24 07:47:27 +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 09e5dc9c50 Cleanup 2016-01-24 06:55:26 +01:00
twinaphex 5c615f18e1 Turn zlib_inflate_init2 into static function 2016-01-24 06:52:14 +01:00
twinaphex 280e10195c Remove zlib_crc32_adjust - reuse zlib_crc32_calculate for this 2016-01-24 06:50:18 +01:00
twinaphex c6f7afbd9a Adjust zlib_crc32_calculate 2016-01-24 06:47:06 +01:00
twinaphex a0e9a4c68e Cleanups 2016-01-24 06:42:57 +01:00
twinaphex 8a254d0480 (Android) Fix build 2016-01-24 06:28:27 +01:00
twinaphex 78feccd0a3 Split up file extract zlib driver code to separate file 2016-01-24 06:18:53 +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 b4956ac7c1 zlib_get_file_list- cleanup 2016-01-23 23:02:16 +01:00
twinaphex 9c131dfaad Cleanup 2016-01-23 23:00:35 +01:00
twinaphex 365b27caac Simplify zip_extract_cb 2016-01-23 22:57:21 +01:00
twinaphex 23d3af9c5a Nit 2016-01-21 19:13:10 +01:00
twinaphex 71df617bee Cleanup 2016-01-21 19:12:05 +01:00
Alcaro 0d77ac3977 Fix code style mismatch. 2016-01-21 01:31:38 +01:00
Alcaro 1229ee0f1b Fix C89 build. 2016-01-21 01:27:49 +01:00
Alcaro 79b3794b93 Rewrite this for fewer malloc. 2016-01-21 01:24:29 +01:00
Alcaro c48dee0d7b If strequal checks for NULL, then striequal should too. 2016-01-21 01:09:05 +01:00
Alcaro 79edafc3aa Clean up those functions a bit. 2016-01-21 01:08:37 +01:00
Twinaphex 82dc569497 Simplify sring_is_empty 2016-01-21 01:04:07 +01:00
Twinaphex 447468a39d Change string_is_equal_noncase to just a strcasecmp wrapper for now 2016-01-21 01:00:47 +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 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
Alcaro 2ffe03f732 Fix creepy type error. 2016-01-18 23:24:22 +01:00
twinaphex 4de1726bf6 Define CGFloat for versions lower or equal to OSX 10.4 2016-01-17 19:58:31 +01:00
twinaphex b5b8886894 (async_job/rsemaphore) Cleanups 2016-01-13 08:58:38 +01:00
twinaphex 39dc2a0d05 Get rid of this messy code 2016-01-08 17:58:53 +01:00
radius d2329cf192 add function to change strings to lowercase 2016-01-02 13:59:10 -05:00
twinaphex 6ff544ba1a Update libretro-common 2015-12-31 15:28:46 +01:00
twinaphex 68d66be389 C89_BUILD fixes 2015-12-26 08:13:33 +01:00
Higor Eurípedes 5cbcd90707 (retro_file.c) Get rid of uneeded error messages in retro_read_file()
fseek/ftell lie about the file size in some filesystems (like sysfs) and
this makes the function complain about incomplete read when the file has
been fully read.
2015-12-23 21:20:26 -03:00
Higor Eurípedes f386c9b7f9 (file_extract) Fix invalid read in zlib_parse_file_progress() 2015-12-05 20:57:04 -03:00
twinaphex e2144c20ff Backports/rewrites wmarquesr pt. 1 2015-12-04 10:33:06 +01:00
twinaphex 0b1f5df456 Update encoding_utf 2015-12-01 19:24:51 +01:00
Higor Eurípedes f84bea4302 (task_http) Disallow same-file concurrent downloads 2015-11-30 11:37:06 -03:00
Higor Eurípedes a171f3c6d1 (task_decompress.c) Add progress report 2015-11-30 10:41:35 -03:00
Higor Eurípedes 6dfa580dfa (runloop_msg) Add rarch_main_msg_queue_pushf() 2015-11-28 16:07:53 -03:00
radius 2b6f7f0647 sleep to avoid flodding the host 2015-11-27 19:01:06 -05:00
radius ced2131027 basic remote gamepad test program 2015-11-27 18:15:42 -05:00
twinaphex f319916e80 C89_BUILD buildfixes 2015-11-25 03:33:54 +01:00
twinaphex 40e8f4eba6 Dehardcode C89_BUILD ifdefs 2015-11-25 02:10:31 +01:00
twinaphex 6a46b4d1ec Lower PATH_MAX_LENGTH to 512 for 3DS/PSP/Wii/Gamecube/Xbox 1 2015-11-24 17:38:52 +01:00
Higor Eurípedes afce03a20e (task_http) Abort task on error 2015-11-23 22:45:36 -03:00
twinaphex d1b9dbe7dc move db_to_gain to retro_miscellaneous.h 2015-11-24 00:35:14 +01:00
twinaphex 73fcbe3786 retro_miscellaneous.h - include math.h 2015-11-24 00:33:40 +01:00
twinaphex a3e52a9369 Put M_PI inside retro_miscellaneous.h 2015-11-24 00:05:37 +01:00
Higor Eurípedes 935e03fa97 Reimplement http transfers using tasks 2015-11-23 17:42:01 -03:00
twinaphex ab6d8fe6cc (compat_getopt.c) Include stdio.h 2015-11-23 20:26:32 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 62a556e8ce retro_log.h - hacky but necessary to get it to work 2015-11-23 11:05:19 +01:00
twinaphex ecddeef016 Add extern "C" around retro_main_verbosity 2015-11-23 10:50:15 +01:00
twinaphex d65a445acd Fix concurrency issue with global->verbose 2015-11-22 20:50:39 +01:00
twinaphex 5c71cb06d4 Remove CONFIG_GET_HEX_BASE macro 2015-11-21 18:08:37 +01:00
twinaphex f91ba67c5b Kill off two configuration macros 2015-11-21 18:02:53 +01:00
twinaphex 30272dd413 Create 'loading and saving' of configuration settings for video_driver_ctl 2015-11-21 09:32:51 +01:00
Alcaro 888ba881ec No need to free a known null... 2015-11-20 16:33:21 +01:00
Alcaro 4b96b5814f Fix some weirdness down here. 2015-11-20 16:30:55 +01:00
Jean-André Santoni 632408c70d Prevent loosing core assignations for playlists that doesn't exist yet, or doesn't exist more 2015-11-20 03:23:20 +07:00
twinaphex 1e006e3edc Comment out config_get_uint64 when compiling for C89 2015-11-19 13:52:40 +01:00
twinaphex 63d78fd1cc Buildfix for MSVC 2015-11-16 21:21:52 +01:00
twinaphex 6f50187b56 Create utf16_conv_utf8 - recycled code - should probably be
cleaned up
2015-11-16 07:55:09 +01:00
twinaphex 8918df95e1 Add encoding_utf to libretro-common 2015-11-16 07:24:21 +01:00
Higor Eurípedes 24d0f40959 (retro_file) Small cleanup in fopen() 2015-11-15 20:49:04 -03:00
twinaphex 74464f1843 retro_file.c - CXX_BUILD buildfix 2015-11-15 22:58:31 +01:00
twinaphex 1c296b6bd6 (libretro-common) fifo_buffer - move internal struct definition to C file 2015-11-15 22:40:56 +01:00
twinaphex 149d892910 Cleanup config_file.c 2015-11-15 22:28:57 +01:00
Higor Eurípedes c2eac57529 (retro_file) Fix fseek() 2015-11-15 10:42:38 -03:00
Higor Eurípedes e0e48e8d3e Fix console builds 2015-11-14 20:47:20 -03:00
Higor Eurípedes f527f6466f (libretro-db) Fix build 2015-11-14 19:44:08 -03:00
Higor Eurípedes 72aa4f951c (retro_file) Fix undefined symbols on win32 2015-11-14 17:08:16 -03:00
Higor Eurípedes 0af8b9c731 (retro_file) Fix retro_fwrite() 2015-11-14 17:08:16 -03:00
Higor Eurípedes dac22cf95b (retro_file) Make mmap fseek()/fread() a little more POSIX/ISO-C compliant 2015-11-14 16:03:49 -03:00
Higor Eurípedes eb7b46c7c1 (retro_file) Implement RFILE_HINT_MMAP 2015-11-14 16:03:49 -03:00
Higor Eurípedes 533f41259a (retro_file) Implement RFILE_HINT_UNBUFFERED 2015-11-14 16:03:49 -03:00
twinaphex ff7e5ee0c8 Avoid redefining HAVE_STRL 2015-11-11 21:59:51 +01:00
twinaphex 1b7576aa64 Kill off IS_JOYCONFIG 2015-11-11 20:15:27 +01:00
twinaphex eb64b10098 Fix CXX_BUILD 2015-11-10 02:43:30 +01:00
Andre Leiradella 804ff7df1a Merge branch 'master' of https://github.com/leiradel/RetroArch 2015-11-08 22:53:48 -02:00
Andre Leiradella b6f995a1d7 moved the async job queue to the global_t scope 2015-11-08 22:53:17 -02:00
Andre Leiradella 4efb9eb645 flush the log file at every output 2015-11-08 18:47:05 -02:00
Yongwoon Cho ca9b7c141b Fix: iOS cannot go to parent directory. 2015-11-05 05:45:01 +09:00
Yongwoon Cho 9ba6877772 Fix: iOS cannot go to parent directory. 2015-11-05 05:43:13 +09:00
Yongwoon Cho 21944b2e11 Fix: iOS cannot go to parent directory. 2015-11-05 02:43:35 +09:00
twinaphex 1dab10ceda Attempt to fix mingw32 error 2015-11-02 21:56:44 +01:00
Andrés efad7848ec Merge pull request #2313 from leiradel/master
better network initialization in net_http_new_socket
2015-10-29 19:05:45 -05:00
Andre Leiradella 0750fe50bb better network initialization in net_http_new_socket 2015-10-29 22:04:48 -02:00
Twinaphex ebd60c69e2 Merge pull request #2310 from leiradel/master
initialize the network in net_http_new_socket
2015-10-29 00:47:38 +01:00
Andre Leiradella 6f137587d1 initialize the network in net_http_new_socket 2015-10-28 21:25:27 -02:00
twinaphex 971f5277d7 Move async_job to libretro-common 2015-10-28 07:47:57 +01:00
twinaphex 4d8ead2fb7 Move ra_semaphore to libretro-common - rename rsemaphore 2015-10-28 07:08:27 +01:00
Twinaphex 6f0e632f36 Get rid of dir_list_obj.m for iOS 2015-10-26 22:42:31 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex 8c87ac03e5 Split up compat into separate files 2015-10-26 02:41:41 +01:00
twinaphex 1943ccacfb Don't use compat/strl.h for OSX/iOS either 2015-10-26 00:29:16 +01:00
twinaphex 5ea75b616f Don't use compat/posix_string.h for OSX/iOS 2015-10-26 00:21:37 +01:00
twinaphex d19477edc5 (libretro-common) Update 2015-10-25 21:12:54 +01:00
twinaphex c96976083e Compile retro_stat as C 2015-10-25 20:57:38 +01:00
twinaphex 4b41ea60a0 Fix CXX_BUILD 2015-10-25 20:40:47 +01:00
Twinaphex 9f5a9eddbd Merge pull request #2262 from leiradel/master
moved net_http_get back to cheevos.c
2015-10-20 03:24:52 +02:00
Andre Leiradella 33fc0cc803 moved net_http_get back to cheevos.c 2015-10-19 23:20:10 -02:00
twinaphex 968fbb675c Don't introduce dependencies on RetroArch headers in libretro-common 2015-10-20 03:05:47 +02:00
Andre Leiradella b6a3da5a41 moved net_http_get to net_http.c; added timeout to cheevos http requests 2015-10-19 20:37:54 -02:00
twinaphex 14e46e0048 Remove menu_list_get_alt_at_offset 2015-10-18 21:54:20 +02:00
twinaphex 0a3db8f7bb Update cheevos - style nits 2015-10-15 16:04:26 +02:00
Twinaphex 0ca3043ee4 Merge pull request #2234 from leiradel/master
added md5
2015-10-14 04:01:09 +02:00
Andre Leiradella 8173af7acf added md5 functions to libretro-common 2015-10-13 19:28:02 -03:00
twinaphex e979e16721 (menu_input.h) Rename enum
(jsonsax.c) C89_BUILD fix
2015-10-11 16:30:47 +02:00
twinaphex 348f28b382 Cleanups 2015-10-11 15:46:55 +02:00
twinaphex 56bc07f4b0 (CXX_BUILD) Buildfixes 2015-10-10 11:12:11 +02:00
twinaphex 7f164647a2 (jsonsax) Preventing more namespace / symbol collisions in the future 2015-10-09 20:58:18 +02:00
twinaphex 14688de54a (jsonsax) Buildfixes 2015-10-09 20:55:31 +02:00
Andre Leiradella 9485298f78 fix function signatures; fix license on jsonsax 2015-10-09 13:48:17 -03:00
Andre Leiradella fa3f17d219 preliminary code for retro achievements (cheevos) 2015-10-09 13:29:57 -03:00
aliaspider 3879e2a7e7 (CTR/3DS) mkdir_norecurse: correct directory exists being treated as an
error.
2015-10-05 22:20:06 +01:00
twinaphex 911b9775a9 Assume strtok_r is not there on Mingw or MSVC 2015-10-03 02:33:26 +02:00
twinaphex 56309b1f19 (retro_stat.c) Should hopefully fix this now 2015-10-03 01:46:16 +02:00
twinaphex 61a630fabe GetFileAttributesEx returns 'zero' in case of an error 2015-10-03 01:01:57 +02:00
twinaphex 85be9b907d (retro_stat.c) initialize variable 2015-10-02 18:26:01 +02:00
twinaphex 8f67989bf1 (retro_dirent.c) Don't need posix_string for retro_dirent 2015-10-02 18:03:30 +02:00
twinaphex ba1ef9c3c2 (MSVC) Buildfixes 2015-10-02 17:57:37 +02:00
twinaphex 80e129d696 Forgot to change it to GetFileAttributesEx 2015-10-02 03:40:20 +02:00
twinaphex a99183e425 (Windows) Attempt implementing reading the file size without
relying on stat
2015-10-02 03:06:13 +02:00
twinaphex 4c27cd6b5c Attempt to fix Win32 port - path_stat/path_get_size 2015-10-01 07:25:00 +02:00
twinaphex 1a2da93c9c path_get_size - change non-portable ssize_t to int32_t 2015-10-01 02:40:54 +02:00
twinaphex 90549903b7 (retro_stat.c) Implement path_get_size 2015-10-01 02:23:00 +02:00
twinaphex 0ef40d7819 (retro_file.c) Get rid of dependency on posix_string.h 2015-09-30 03:57:39 +02:00
twinaphex 9d9e90e672 (libretro_common) Fix retro_stat - put it inside extern C block 2015-09-30 03:41:01 +02:00
twinaphex 87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +02:00
twinaphex 9b4a99d506 (net_compat.c) Style nits 2015-09-29 02:41:41 +02:00
Francisco José García García 7fa6a796be (Vita) First Networking Code and Download Overlays 2015-09-29 00:40:53 +02:00
Francisco José García García 1945b7e76d (Vita) Fix creating directories 2015-09-29 00:40:00 +02:00
twinaphex 02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
twinaphex 790bb0d0d6 Minor code cleanups based on static code analysis 2015-09-28 22:07:40 +02:00
twinaphex 0cc56e2a1a More static code analysis nits 2015-09-28 18:44:28 +02:00
twinaphex 4ca5d31f9b Some more static code analysis nits when ran with enable=all 2015-09-28 18:12:02 +02:00
radius a2a00b28a0 [PSP] fix path_stat 2015-09-24 21:11:17 -05:00
radius dc9044c6b7 [PSP] fix path_stat 2015-09-24 21:05:23 -05:00
twinaphex 6eb1a55b52 (PSP/Vita) retro_stat.t c - fix is directory check 2015-09-24 21:26:38 +02:00
twinaphex a55d4a91ca (PSP) Don't treat directory already existing as an error 2015-09-24 15:17:50 +02:00
twinaphex 764c76c84a (retro_stat.c) Add PSP ifdef 2015-09-24 12:22:19 +02:00
twinaphex 1a4c60ac65 (rxml) Use retro_file 2015-09-23 13:49:45 +02:00
twinaphex df13e6a1fd retro_stat.c - simplify code 2015-09-22 21:21:06 +02:00
twinaphex ff1078a98b (camera/drivers/video4linux2.c) Use path_is_character_special 2015-09-22 21:16:58 +02:00
twinaphex 385e030261 Move functions around 2015-09-22 19:34:16 +02:00
twinaphex 5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
twinaphex 6779fcf4f1 (CXX_BUILD) Buildfix 2015-09-22 13:00:36 +02:00
twinaphex 2660606f41 (libretro-common) config_file.c - Cleanups 2015-09-22 12:58:22 +02:00
twinaphex 1f852fb23d (libretro-common) Remove some header dependencies 2015-09-22 12:54:51 +02:00
twinaphex 5da780b2fd Remove some header dependencies 2015-09-22 12:52:15 +02:00
twinaphex cbb9744c66 (retro_stat.c) Warning fixes - include header for PS3 2015-09-22 01:51:34 +02:00
twinaphex 3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex f581dce1f7 Use path_is_directory from retro_dirent.c 2015-09-21 23:20:46 +02:00
twinaphex 15b7fa545d (PSP1) Buildfix 2015-09-21 22:48:50 +02:00
twinaphex 9d67d48036 Create path_is_valid 2015-09-21 22:46:27 +02:00
twinaphex 77d99395a2 (PS3) path_is_directory - add cellFsStat implementation 2015-09-21 21:59:04 +02:00
twinaphex 00b2ce6498 (retro_file.c) Add PS3 CellOS implementation 2015-09-21 21:53:47 +02:00
twinaphex 4c2bc0c1fe (rbmp_encode.c) Make it C89-friendly 2015-09-21 11:58:36 +02:00
twinaphex 9093cd4aba (libretro-db) Use retro_endianness.h functions completely 2015-09-21 11:37:31 +02:00
twinaphex c21df1eb7d Update retro_miscellaneous.h 2015-09-21 11:17:19 +02:00
twinaphex ed1690f819 (Vita) Define PSP_O_RDONLY 2015-09-20 11:36:07 +02:00
twinaphex 864dd33e0d (retro_file.c) Vita - cleanups 2015-09-20 10:19:08 +02:00
Francisco José García García 1255674481 (Vita) Fix retro_file for VITA 2015-09-19 18:22:47 +02:00
Francisco José García García 92406fd4fa (Vita) Fix directory creation 2015-09-19 17:27:01 +02:00
twinaphex 7eb0d2b049 (rbmp_encode.c) Document 2015-09-19 15:56:05 +02:00
twinaphex e1109c82c6 Rename tga.c to rtga.c 2015-09-19 15:36:39 +02:00
twinaphex fd4e462381 Change tga_decode.c to tga.c 2015-09-19 15:34:43 +02:00
twinaphex f4eaa2296a (CXX_BUILD) buildfixes 2015-09-19 15:33:07 +02:00
twinaphex c569aa93a6 One buildfix begets another buildfix 2015-09-19 13:13:31 +02:00
Twinaphex 6b45c9e940 Buildfix net_http_connection_new 2015-09-19 13:07:33 +02:00
twinaphex 43da185d5d Replace more usage of strcpy 2015-09-19 03:50:35 +02:00
twinaphex 28931872d6 (RPNG) Make function static 2015-09-19 03:25:56 +02:00
twinaphex 5e71c31748 Split up BMP saving into separate file libretro-common/formats/bmp/rbmp_encode.c 2015-09-19 02:44:28 +02:00
twinaphex 0a3ee51f37 (RPNG) Header cleanups 2015-09-19 01:59:46 +02:00
twinaphex 6adc124604 (RPNG) Move dword_be 2015-09-19 01:49:29 +02:00
twinaphex 714b3e3126 (RPNG) Use retro_file for rpng_encode.c 2015-09-19 01:47:03 +02:00
twinaphex 181219ea32 (RPNG) Remove one enum 2015-09-19 01:43:31 +02:00
twinaphex 93684f2741 (RPNG) Turn decode functions static 2015-09-19 01:42:58 +02:00
twinaphex 43018976e9 (RPNG) Simplify rpng 2015-09-19 01:40:29 +02:00
twinaphex 3914fb9658 Simplify rpng_test.c 2015-09-19 01:34:27 +02:00
twinaphex d0651bae82 (RPNG) Buildfix standalone RPNG 2015-09-19 01:30:11 +02:00
twinaphex a052934972 Simplify rpng_fbio.c 2015-09-19 01:29:03 +02:00
twinaphex 6f9d3d5a26 (file_extract.c) Cleanup 2015-09-19 01:06:47 +02:00
twinaphex 958dcc3c02 Get rid of retro_fmemcpy - and use retro_read_file 2015-09-19 01:03:52 +02:00
twinaphex 32ddeb3f96 Rename retro_fmemcpy_alloc to retro_read_file 2015-09-19 00:36:27 +02:00
twinaphex 3564532564 Create retro_write_file 2015-09-19 00:34:24 +02:00
twinaphex a6e0b2f22d (retro_file) Create retro_fmemcpy_alloc 2015-09-19 00:19:51 +02:00
twinaphex 3464781017 (PS/Vita) Buildfix for retro_file.c 2015-09-18 07:14:22 +02:00
twinaphex 57f390e44d (retro_file.c) Buildfix for non-HAVE_BUFFERED_IO path 2015-09-18 07:13:06 +02:00
twinaphex aed85c1617 (C89_BUILD) Some buildfixes 2015-09-18 06:51:17 +02:00
twinaphex e25f3494ba Buildfixes 2015-09-18 06:41:05 +02:00
twinaphex c8df945792 Small cleanup 2015-09-18 05:44:13 +02:00
twinaphex c4910985ed (retro_file.c) Cleanup retro_fopen 2015-09-18 05:42:54 +02:00
twinaphex 5fdb1c8c43 (PSP/Vita) Fix fseek/ftell functionality for PSP/Vita 2015-09-18 05:34:30 +02:00
twinaphex 611be4bc16 (file_ops) Convert some functions in file_ops over to retro_file
(retro_file.c) Fix retro_fseek and retro_ftell functions
2015-09-18 05:22:50 +02:00
twinaphex 133e85298f * Add retro_get_fd to retro_file.c
* Use retro_file in gfx/drivers_context/drm_egl_ctx.c
2015-09-18 03:47:44 +02:00
twinaphex a547fdef50 Fix libretrodb_open - change mode to RFILE_MODE_READ - use
buffered I/O by default
2015-09-18 03:25:53 +02:00
twinaphex b51e418c4c (retro_file.c) HAVE_BUFFERED_IO - correct fread/fwrite arguments 2015-09-18 03:21:56 +02:00
twinaphex 08456c8541 Remove fcntl header includes from more files 2015-09-18 02:48:15 +02:00
twinaphex 35bd6e6ec8 Revert retro_file.c 2015-09-18 02:38:48 +02:00
Francisco José García García b0fb027a54 (Vita) Fix MKDIR with using correct stat.h 2015-09-18 01:22:03 +02:00
twinaphex dd58492fa6 Remove fcntl.h 2015-09-17 22:30:01 +02:00
Alcaro 7cf03b6d47 Revert that, doesn't work. 2015-09-17 22:14:45 +02:00
Alcaro 7054c8b214 Add the final read block too. 2015-09-17 22:10:06 +02:00
Alcaro 097f81ef4e Return the correct length in this fmemcpy thing. 2015-09-17 22:08:56 +02:00
Alcaro c8d627ff13 This looks like a buffer overflow. 2015-09-17 21:59:27 +02:00
Alcaro 691b7cffa9 Stupid fread/fwrite why do you need two arguments 2015-09-17 21:56:51 +02:00
Alcaro 1bb353ad59 This should be binary as well. 2015-09-17 21:55:50 +02:00
Alcaro 091409cc5a Rename these variables, so missed ifdefs throw more violent errors. 2015-09-17 21:54:33 +02:00
twinaphex 714972bae9 (retro_file.c) Add USE_BUFFERED_IO 2015-09-17 21:31:00 +02:00
twinaphex a6458d6ab6 Add PSP/Vita ifdefs to retro_file.c 2015-09-17 20:48:06 +02:00
twinaphex 4ed3d66c04 Have rhash.c use retro_file 2015-09-17 20:36:44 +02:00
twinaphex 52213c46d5 (PSP/Vita) Set mode to 0777 2015-09-17 20:25:31 +02:00
twinaphex 82e15d1377 CLeanups/fixes 2015-09-17 20:24:49 +02:00
twinaphex 55e54a30b4 Create retro_file, and have libretrodb use it 2015-09-17 19:58:06 +02:00
twinaphex da3bec58b1 (libretro-common) Start adding retro_file.c and retro_file.h 2015-09-17 11:41:48 +02:00
twinaphex 872314f910 Use UINT_FAST16_MAX/UINT_LEAST32_MAX 2015-09-15 18:59:40 +02:00
Lioncash fc64f6d82a msvc: Conditionally enable the snprintf macro
VS2015 implements the normal form of snprintf, so the define will cause compile errors.
2015-09-14 21:50:09 -04:00
twinaphex 8ca8b43545 Take out retro_endianness.h include out of retro_miscellaneous.h 2015-09-14 03:34:05 +02:00
twinaphex eccda8c39a (memory_stream.c) Cleanup 2015-09-13 09:45:41 +02:00
twinaphex 7f9761afb6 Create kaiser_window_function/lanzcos_window_function 2015-09-13 03:43:59 +02:00
twinaphex 5adc85a207 Create libretro-common/include/filters.h 2015-09-12 21:04:20 +02:00
aliaspider 3b85e0dd5a (3DS) fix build to work with the latest ctrulib. 2015-09-07 18:31:30 +01:00
twinaphex 79f46c574f compat/msvc.h - define snprintf macro for _WIN32 too 2015-09-07 01:43:21 +02:00
Alcaro dbccc4f4f0 Shut up some more warnings. 2015-09-06 16:07:26 +02:00
Alcaro 5f1729dbac Fix some MSVC fails. 2015-09-06 15:36:23 +02:00
Alcaro fcbaca9b66 Fix a dozen CXX_BUILD errors under Windows. 2015-09-06 15:29:48 +02:00
twinaphex 2ecd6f4406 file_extract.c - Some MISSING_DECLS buildfixes 2015-09-06 15:05:55 +02:00
twinaphex c2c49da1de More MISSING_DECLS buildfixes 2015-09-06 15:03:58 +02:00
Alcaro 474c96365d Switch to C++98. Fix some weird warnings. 2015-09-06 14:51:33 +02:00
Alcaro 9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
Twinaphex 8d2eceaa22 (rpng) Cleanups 2015-09-06 13:02:44 +02:00
twinaphex 7d3408e731 Cleanups 2015-09-05 21:13:58 +02:00
twinaphex 7ec3c5080d Cleanups 2015-09-05 21:11:12 +02:00
twinaphex f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex c4316b791c Avoid some warnings - array subscript has type char 2015-09-05 14:31:29 +02:00
twinaphex 3522c45067 Avoid some warnings - 'array subscript has type char' 2015-09-05 14:25:42 +02:00
twinaphex 42b3c79b8e (retro_dirent.c) Win32 buildfix 2015-09-05 13:37:08 +02:00
twinaphex 7e3bdf8be5 (Vita) This header needs to be included for stat 2015-09-05 01:38:09 +02:00
twinaphex a3349dc364 Cleanups 2015-09-04 21:01:22 +02:00
twinaphex 7829b3153c Cleanups 2015-09-04 20:56:23 +02:00
twinaphex ab2d13d05a Cleanups 2015-09-04 20:51:50 +02:00
twinaphex a806a67b0b (file_path.c) Remove dirent.h headers 2015-09-04 20:47:55 +02:00
twinaphex b79c2ced37 Remove win32/compat/dirent.c 2015-09-04 20:27:41 +02:00
twinaphex bdc07f4c8c (Vita) retro_dirent.c - build fixes 2015-09-04 20:09:53 +02:00
twinaphex 97f8c39865 (retro_dirent.c) PS3 - cleanup 2015-09-04 19:12:19 +02:00
twinaphex 9ef5570fcc (retro_dirent.c) Add PS3 codepaths 2015-09-04 19:11:20 +02:00
twinaphex eb8ca30a6c Add retro_dirent.c to Salamander 2015-09-04 18:54:29 +02:00
twinaphex 9b77a7ecae Don't make retro_dirent.c dependent on file/file_path.c 2015-09-04 18:50:09 +02:00
twinaphex b0f54b896a Clean up unused variables 2015-09-04 18:41:53 +02:00
twinaphex 56c8a57e0c Create retro_dirent.c/retro_dirent.h 2015-09-04 18:38:29 +02:00
twinaphex 156cdd3295 Create memalign.c 2015-09-02 17:06:02 +02:00
twinaphex 40a52e417c (memmap.c) Cleanup 2015-09-02 12:08:07 +02:00
Twinaphex 29399513c0 (file_path.c) Bugfix 2015-09-01 14:40:03 +02:00
twinaphex 6d188a4840 Move function prototypes to rpng_decode.h 2015-09-01 13:42:28 +02:00
twinaphex 7874eb9890 Move some inline functions to rpng_decode.c 2015-09-01 13:41:45 +02:00
twinaphex 30912ef535 Rename rpng_common.h to rpng_internal.h 2015-09-01 13:40:17 +02:00
twinaphex 679a7ee130 (rpng) Don't expose unused internal function 2015-09-01 13:39:09 +02:00
twinaphex 0d923d6b05 (rpng) Cleanup 2015-09-01 13:37:03 +02:00