605 Commits

Author SHA1 Message Date
twinaphex
e566a5591b Revert "Revert config_file.c"
This reverts commit 2f422a457f4e51fa6a70bd22040c550e97b2397f.
2018-01-01 07:45:57 +01:00
twinaphex
f2ddc8eff0 Revert "Simplify config_file_write"
This reverts commit a4500eeafc0b19dd9fe665059f2143d29fa01868.
2018-01-01 07:45:56 +01:00
twinaphex
20122d21ee CXX_BUILD buildfix 2017-12-30 08:12:38 +01:00
Brad Parker
a3a5f6e07e win32: add Unicode versions of getenv, GetModuleFileName, LoadLibrary and _mkdir 2017-12-27 02:55:53 +00:00
twinaphex
a4500eeafc Simplify config_file_write 2017-12-20 17:07:31 +01:00
twinaphex
2f422a457f Revert config_file.c 2017-12-20 02:52:01 +01: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
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
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
61d3f90cae Add hint defines to libretro.h 2017-12-11 12:53:47 +01:00
twinaphex
318f17c4cb Start using VFS API constant defines 2017-12-11 12:15:00 +01:00
twinaphex
e1461cc0de Get rid of hashes in config_file.c 2017-12-11 11:40:36 +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
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
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
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
a6ef704369
Update config_file.c 2017-12-04 16:47:27 +01:00
twinaphex
059354de2f Cleanup for config_file_write 2017-12-04 16:26:28 +01:00
Alcaro
ff4dca86f9
Turns out this is char*, let's cast because CXX_BUILD wants that 2017-12-04 15:01:58 +01:00
Alcaro
300052626f
Use FILE* all the way
Fixes platforms where RFILE isn't using the FILE* backend, needed for #5664
2017-12-04 14:30:32 +01:00
twinaphex
9558e569f1 We can still make use of this for PowerPC Mac 2017-12-04 05:56:03 +01:00
twinaphex
f53093de4d Default to nbio stdio for PowerPC Mac 2017-12-04 03:12:45 +01:00
twinaphex
97529ade6e OSX PowerPC might not define O_CLOEXEC 2017-12-04 02:48:08 +01:00
twinaphex
2203deb499 Need to include config.h here 2017-11-30 03:43:51 +01:00
twinaphex
6ed5a911d7 Create path_mkdir_error 2017-11-28 08:59:33 +01:00
Brad Parker
ae6892a89a nbio: buildfix for Windows versions older than 2000 2017-11-27 17:48:07 -05:00
Alcaro
a96e3e1ead
fix missing %s 2017-11-27 17:16:22 +01:00
Alcaro
4fb12c4bd3
#5802 2017-11-27 17:09:16 +01:00
orbea
768b1b433c libretro-common: Silence redefined warning. 2017-11-26 20:14:06 -08:00
twinaphex
00d57af005 C89_BUILD fixes 2017-11-26 22:53:42 +01:00
twinaphex
e35394d4bd Fix MSVC 2003 build 2017-11-26 22:41:34 +01:00
Alcaro
3fa035ba2a This include doesn't go here 2017-11-25 20:25:59 +01:00
twinaphex
369be389f4 Don't need HAVE_MMAP for linux 2017-11-25 18:42:12 +01:00
Twinaphex
ff7a244f5b use Unix mmap for OSX/macOS now 2017-11-25 18:39:09 +01:00
twinaphex
e78ec12973 Can't have redefinitions of nbio_t in Griffin 2017-11-25 18:33:22 +01:00
twinaphex
fe12e079bb Reimplement NBIO windows mmap 2017-11-25 17:38:37 +01:00
twinaphex
72b157bfcd DOn't rely on HASVE_MMAP for nbio_windowsmmap.c 2017-11-25 07:26:06 +01:00
twinaphex
0485bab0ef Add HAVE_CONFIG_H to nbio_intf.c 2017-11-25 06:15:30 +01:00
twinaphex
d4c3108b88 Implement new nbio interface implementations 2017-11-25 05:51:33 +01:00
twinaphex
7a772b9cd4 Create nbio_intf.c 2017-11-25 05:35:55 +01:00
twinaphex
81e543a4c9 Cleanups 2017-11-25 05:21:35 +01:00
twinaphex
64a6d6f184 Turn nbio_windowsmmap.c Unicode compatible 2017-11-25 05:18:30 +01:00
twinaphex
395e84ede2 Style nits 2017-11-25 02:18:24 +01:00
twinaphex
ac651b7581 Cleanups 2017-11-25 02:12:15 +01:00
twinaphex
0f6c453428 Cleanups 2017-11-25 02:10:04 +01:00