Commit Graph

2108 Commits

Author SHA1 Message Date
twinaphex 2f422a457f Revert config_file.c 2017-12-20 02:52:01 +01:00
Twinaphex 5eb6c5dae9
Merge pull request #5936 from clienthax/ps3res
More ps3 networking fixs.
2017-12-19 23:02:14 +01:00
clienthax 73aa381b27 More ps3 networking fixs. 2017-12-19 21:39:22 +00:00
Alcaro b7249525d4 guess drunk is better than untested 2017-12-19 00:13:19 +01:00
Alcaro b2d5fad4f5 strtok is drunk 2017-12-19 00:08:25 +01:00
twinaphex edae66e413 Faulty fall-through 2017-12-17 17:12:02 +01:00
David Walters adffa5fc4c Fixes for overlay buttons 2017-12-17 12:36:18 +00:00
twinaphex 9596cc2866 Update 2017-12-16 17:06:37 +01:00
twinaphex 6622cb0810 Update libretro API 2017-12-16 14:12:38 +01:00
twinaphex d8068553f4 Update 2017-12-16 02:47:59 +01:00
twinaphex 3fd059e073 Update 2017-12-16 01:20:21 +01:00
twinaphex c63859cca9 Add safeguard suggested by Alcaro 2017-12-16 00:19:56 +01:00
twinaphex 4ba1e8336d Update libretro-common 2017-12-15 23:21:22 +01:00
twinaphex 1b6b670882 filestream - use int64_t 2017-12-15 21:10:58 +01:00
twinaphex 42462c2ba9 Silence some warnings 2017-12-15 18:31:12 +01:00
Alcaro cbdb91a668 Remove file_ prefixes, for consistency with the rest of libretro. They're not useful, anything they'd mean is provided by the vfs_iface-> anyways. Also rename delete to remove to match libc and avoid C++ keywords. 2017-12-15 17:28:55 +01:00
Alcaro c88e5e08a0 Add VFS support to imageviewer (should get Unicode filenames working on Windows too, even without VFS) 2017-12-15 11:00:02 +01:00
Alcaro 03723118e5 Some minor clarifications 2017-12-15 10:02:49 +01:00
twinaphex 4369ac1545 Update 2017-12-15 00:35:11 +01:00
twinaphex 1932513edb Update libretro-common 2017-12-15 00:31:37 +01:00
Alcaro ecf5d55a25 Rename this one, to not codify policy in what should be a frontend decision 2017-12-14 21:21:18 +01:00
twinaphex c6217ef14b (file_path.c) Get rid of libretro.h dependency 2017-12-14 20:06:15 +01:00
twinaphex c7c4b723d6 Move path_file_exists to filestream and do away with filestream
dependencies in file/file_path
2017-12-14 20:05:46 +01:00
Brad Parker 8c0adf3594 move path_file_rename and path_file_remove into VFS 2017-12-14 13:32:26 -05:00
twinaphex 842ac40c6e Style nit 2017-12-14 19:09:29 +01:00
Alcaro 26e191f642 These have no reason to not be static 2017-12-14 18:58:20 +01:00
Alcaro ff1d452096 Implement get_path 2017-12-14 18:48:37 +01:00
twinaphex ef3ba4d989 Get rid of retro_vfs_file_putc 2017-12-14 18:45:54 +01:00
Alcaro f282044be2 this doesn't belong here. 2017-12-14 18:10:04 +01:00
Alcaro f536d25013 Too many ifdefs 2017-12-14 17:55:30 +01:00
Alcaro d5847c2391 Revert and fix "Don't use opaque handle to get around warnings and other issues"
This reverts commit e23409926e.
2017-12-14 17:28:13 +01:00
twinaphex 7bf996abe6 Cleanup 2017-12-14 16:53:19 +01:00
twinaphex b20de872a3 Remove file_stream.h dependency on vfs_implementation.c 2017-12-14 16:41:10 +01:00
twinaphex 41b1329bc1 Rewrite filestream_seek call 2017-12-14 15:56:28 +01:00
twinaphex 2c0c6ae65e Attempt to fix MSVC 2017-12-14 15:41:23 +01:00
twinaphex 10199d4c81 Remove this 2017-12-14 15:15:19 +01:00
twinaphex e23409926e Don't use opaque handle to get around warnings and other issues 2017-12-14 15:06:28 +01:00
twinaphex dadf968134 Add TODO/FIXME note 2017-12-14 14:05:55 +01:00
twinaphex 0b6c191354 Start moving file stream code over to vfs_implementation.c 2017-12-14 14:03:42 +01:00
twinaphex 7788a852c0 Some more cleanups 2017-12-14 00:16:18 +01:00
twinaphex d12df0d91f Rewrite file_stream.c - reimplement filestream_error 2017-12-14 00:01:58 +01:00
twinaphex 4dfbfc4d02 Reimplement filestream_gets 2017-12-13 19:19:49 +01:00
twinaphex f8fd94f6f4 Buildfix 2017-12-12 12:22:06 +01:00
gblues 0f7de204f7 Last batch of whitespace cleanup (post-rebase)
-- looks like a few files committed with DOS line endings
2017-12-12 00:24:46 -08:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Twinaphex 9aa3dc2423 Buildfix 2017-12-11 22:01:54 +01:00
twinaphex 779d9a4258 Cleanup 2017-12-11 21:58:17 +01:00
twinaphex dca96ba6ad Reimplement filestream_getc 2017-12-11 21:49:51 +01:00
twinaphex 57b730ab61 Start implementing VFS layer ; first split up VFS libretro functionality
to separate header until things are finalized
2017-12-11 21:24:14 +01:00
twinaphex c03b791b46 Start adding stub VFS implementation 2017-12-11 20:51:46 +01:00
twinaphex 784bb32c64 Cleanups 2017-12-11 19:55:42 +01:00
twinaphex a1ce8b58c4 Simply formats/xml/rxml.c 2017-12-11 18:01:56 +01:00
twinaphex 5960cd80d2 Simplify filestream_read_file 2017-12-11 17:59:18 +01:00
twinaphex ad70bb9866 Get rid of unused filestream_get_ext 2017-12-11 17:42:00 +01:00
twinaphex 43c9bb374d filestream_set_size can be made a static function 2017-12-11 17:39:56 +01:00
twinaphex 5b8f8b50e3 Reimplement filestream_eof 2017-12-11 17:36:20 +01:00
twinaphex 32511090ca (task_save.c) Move to intfstream 2017-12-11 14:56:58 +01:00
twinaphex e62e9233d7 Add intfstream_get_size 2017-12-11 13:21:44 +01:00
twinaphex 61d3f90cae Add hint defines to libretro.h 2017-12-11 12:53:47 +01:00
twinaphex 38e6d2443f Change functions 2017-12-11 12:31:14 +01:00
twinaphex fde596fae4 Cleanups 2017-12-11 12:25:44 +01:00
twinaphex 8aa4d6d148 Move convenience functions to interface_stream.c 2017-12-11 12:23:40 +01:00
twinaphex 318f17c4cb Start using VFS API constant defines 2017-12-11 12:15:00 +01:00
twinaphex 93ee4df5f5 Move RFILE_HINT_UNBUFFERED to file_stream.c 2017-12-11 11:47:13 +01:00
twinaphex e1461cc0de Get rid of hashes in config_file.c 2017-12-11 11:40:36 +01:00
Twinaphex 85d9d986eb Buildfix 2017-12-10 22:46:39 +01:00
twinaphex 2fd8210e59 Create shareable filestream_getline 2017-12-10 22:35:08 +01:00
twinaphex 2e979ec537 Replace function signatures of file_stream file functions 2017-12-10 22:25:38 +01:00
twinaphex d19eaeaab8 (file_stream.c) Cleanups; buildfix 2017-12-10 22:10:32 +01:00
twinaphex 1298a257ae Make HAVE_BUFFERED_IO the new default 2017-12-10 22:07:42 +01:00
twinaphex a8e031777e * Get rid of RFILE_MODE_READ_TEXT
* Get rid of PSP ifdef sinside file_stream.c
2017-12-10 22:05:24 +01:00
twinaphex 9d54da14b6 Get rid of READ_TEXT requirement for features_cpu 2017-12-10 21:29:49 +01:00
twinaphex 95cc8e12d2 Get rid of RFILE_MODE_READ_TEXT dependency for config file/playlist 2017-12-10 21:28:13 +01:00
Alcaro e07ed18105 Fix text mode dependency 2017-12-10 21:00:24 +01:00
twinaphex d6fd9f0cc1 Add fallback AF_INET6 path 2017-12-10 01:19:58 +01:00
Twinaphex 7654e8e268
Merge pull request #5879 from clienthax/ps3res
[PS3] Partial fix of networking
2017-12-10 00:00:03 +01:00
Brad Parker 1a928b9c50 omit extra slash at end of path, Win95/98 doesn't like them 2017-12-09 16:38:33 -05:00
Brad Parker 812a99e5ca utf: fallback to ANSI codepage on windows if UTF8 conversion isn't available 2017-12-09 14:35:58 -05:00
Brad Parker 3318cd969b win95: fallback to strdup when MultiByteToWideChar fails (it only works with MSLU) 2017-12-09 14:26:46 -05:00
clienthax a565ba0149 [PS3] Partial fix of networking 2017-12-07 22:20:02 +00:00
twinaphex 23e6f0be37 Update 2017-12-06 16:54:23 +01:00
twinaphex a53927c5aa Fix PS3 build 2017-12-06 16:53:19 +01:00
twinaphex 69295c2179 Fix BIT_GET 2017-12-05 16:20:52 +01:00
twinaphex b432fb4668 Bugfix 2017-12-05 13:21:29 +01:00
twinaphex 53efad05c6 Cleanups 2017-12-05 13:15:15 +01:00
Alcaro 332aee5b0f
Dehardcode some sizes (#5856) 2017-12-05 13:03:34 +01:00
twinaphex 53ce29ca31 Cleanups 2017-12-05 12:49:59 +01:00
twinaphex 6c09661a64 Move defines to retro_miscellaneous.h 2017-12-05 10:42:37 +01:00
twinaphex 31cc6a8dd7 Create 256 bit macros 2017-12-05 09:51:58 +01:00
Alcaro 0691c9e0d3
Let's not duplicate those macros more than needed 2017-12-05 08:55:42 +01:00
twinaphex 3ccce249ea Fixes hotkey issues with MSVC 2017-12-05 08:50:24 +01:00
Alcaro 0215648a83
Make booleans boolean again
#5856

why do both BIT_ and BIT128_ exist
2017-12-05 08:34:29 +01:00
Brad Parker 49d0299808 LEGACY_WIN32: check for target of less than Win2K instead of < vc2005, since Win98 does not support Unicode 2017-12-04 22:49:08 -05:00
Alcaro 75c59aedcf
Update fopen_utf8.h 2017-12-04 20:23:45 +01:00
Alcaro 2f1bcb6409
Update fopen_utf8.c 2017-12-04 20:20:10 +01:00
Alcaro 84691c7b9b
Update retro_miscellaneous.h 2017-12-04 19:15:35 +01:00
Francisco José García García 90dd2892b0
FIX sceIoOpen return error 2017-12-04 18:09:37 +01:00
Alcaro 6359aee509
Update fopen_utf8.c 2017-12-04 17:03:53 +01:00
Alcaro a6ef704369
Update config_file.c 2017-12-04 16:47:27 +01:00
Alcaro 8a93a9eb8e
Create fopen_utf8.c 2017-12-04 16:44:34 +01:00