Commit Graph

2378 Commits

Author SHA1 Message Date
twinaphex 242eef6a6d Prevent problems with empty strings in the future 2018-02-17 11:41:25 +01:00
twinaphex bda5e67b48 (PS3) Use fseek for PS3 - fseeko not available 2018-02-15 06:50:15 +01:00
Brad Parker 95bb7f5aa5 use 64-bit file offsets/seeking on windows 2018-02-14 06:16:12 +00:00
radius 692c8683b2 subsystem part 2: add missing define, fix typo 2018-02-12 02:39:24 -05:00
twinaphex 8b1f8b8ae2 (Utils) fix builds 2018-02-10 23:20:34 +01:00
Brad Parker a8af4ee8c6 use 64-bit ftell on mingw also 2018-02-10 13:19:24 -05:00
Brad Parker 40e9416c6c use 64-bit ftell on Windows where available 2018-02-09 13:33:03 -05:00
Brad Parker aaf35f53f8 fill_pathname_parent_dir_name: return failure if path has no slash 2018-02-08 23:19:12 -05:00
aliaspider 45580cb9a8 add basic support for arabic. 2018-02-05 20:54:55 +01:00
aliaspider 5549b136c2 (msvc) CXX_BUILD + griffin fixes. 2018-02-05 00:25:03 +01:00
Twinaphex 5483f5fc39
Merge pull request #6234 from aliaspider/master
various fixes for CXX_BUILD.
2018-02-04 20:08:43 +01:00
aliaspider 700fce3bd2 various fixes for CXX_BUILD. 2018-02-04 20:03:27 +01:00
twinaphex 3d0e768e71 Silence some Coverity errors 2018-02-04 19:30:34 +01:00
twinaphex 75b48a866f (3DS) Fix compilation error 2018-02-02 21:44:24 +01:00
twinaphex acdbf6f069 Cleanup retro_dirent.c 2018-02-02 19:09:25 +01:00
Brad Parker dbe270476a Prevent undefined behavior reported by UBSan
runtime error: member access within null pointer of type 'const struct dirent'
2018-02-02 11:43:24 -05:00
twinaphex 8d99fd7ce0 Cleanup string manipulation 2018-02-01 11:16:13 +01:00
twinaphex e81ee5f0cb Simplifications 2018-01-31 23:13:47 +01:00
twinaphex f9a412dc11 Create fill_pathname_join_concat_noext and use it 2018-01-31 22:43:55 +01:00
twinaphex efcbb7627c (libco) Add aarch64 backend 2018-01-31 09:17:37 +01:00
twinaphex b1732efd03 (libco) Small style nit 2018-01-31 09:15:19 +01:00
Alcaro 9889f34180 Fix this issue https://forums.libretro.com/t/issue-linking-libco/14482 2018-01-31 00:39:27 +01:00
Brad Parker a7f134b5a7 forgot to free memory 2018-01-28 15:56:35 -05:00
Brad Parker 722137296d add fill_pathname_parent_dir_name function 2018-01-28 15:55:27 -05:00
twinaphex ba0986ae20 Enable this for newer versions of MSVC 2018-01-24 10:02:07 +01:00
twinaphex f10b60f14f Don't use NEON codepaths for iOS - ever since arm64 this has become
problematic
2018-01-24 07:40:09 +01:00
twinaphex 634da308aa Cleanups 2018-01-24 05:40:53 +01:00
aliaspider c5de5d9433 (msvc) support msvc's Predefined Macros in features_cpu.c
- add missing defines to makefile.msvc.
2018-01-23 19:35:39 +01:00
aliaspider 96e96b9dfd (msvc) use stdbool.h for VS 2013 and later. 2018-01-23 17:50:46 +01:00
twinaphex d5ec046c63 Use calloc 2018-01-23 03:43:38 +01:00
twinaphex 6a47669d21 Prevent some heap corruptions/exceptions 2018-01-23 03:41:25 +01:00
twinaphex 93561a042b Cleanups 2018-01-23 03:35:23 +01:00
twinaphex f680f00098 Indent nit 2018-01-23 03:31:28 +01:00
twinaphex 625ddc5e52 Prevent some null pointer dereferences 2018-01-23 03:30:55 +01:00
twinaphex 27f34bf420 Some stability fixes 2018-01-23 03:23:49 +01:00
twinaphex a80fb7c969 Add some safeguards here 2018-01-22 21:48:28 +01:00
twinaphex 6208981ad3 filestream_getline - be safer 2018-01-22 21:32:36 +01:00
aliaspider 5db96f35fa (WIN32) various build fixes. 2018-01-20 20:05:32 +01:00
kwyxz b9585df325 Update Haiku port to allow it to build again 2018-01-20 00:19:01 -08:00
twinaphex 1f8e0fdfe5 Revert "Update filestream_getline to prevent heap corruption"
This reverts commit 60a45db69e.
2018-01-19 02:49:24 +01:00
twinaphex 60a45db69e Update filestream_getline to prevent heap corruption 2018-01-19 02:44:18 +01:00
twinaphex 79b434719f Update 2018-01-18 23:23:22 +01:00
Twinaphex 318843a71d
Update ctr_pthread.h 2018-01-18 21:12:07 +01:00
meepingsnesroms da5ce6ef35 Fix writing to local thread pointer instead of actual thread. 2018-01-18 10:35:58 -08:00
meepingsnesroms 5e42401fdb Add 3DS threads 2018-01-17 14:00:57 -08:00
twinaphex bd73d4b98a Cleanups 2018-01-17 06:44:16 +01:00
twinaphex 11f26ed549 Refactor verbosity code - try to avoid log calls if verbosity is not
set
2018-01-17 06:28:26 +01:00
twinaphex df1979be12 Define string_is_not_equal 2018-01-17 01:06:09 +01:00
Twinaphex 57df01bbaa (Apple) Buildfix 2018-01-17 00:48:25 +01:00
twinaphex 61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
Twinaphex 5d64adf1a6
Merge pull request #6119 from garbear/libretro-api
Add missing {, |, } and ~ to the libretro API
2018-01-16 01:37:02 +01:00
Garrett Brown 39742e24db Add missing {, |, } and ~ to the libretro API
Missing keys are found in TyrQuake's source:

https://github.com/libretro/tyrquake/blob/be5aede91/common/keys.h#L111-L114
2018-01-14 13:58:11 -08:00
Rob Loach 26b9cb3c78
libretro-common: Clean up dependencies of file_path
This moves a few functions that were defined in file_path_special to libretro-common to clean up the dependency tree.
2018-01-13 00:27:49 -05:00
kwyxz e65ad7c6d8 Solaris 11 does not like this POSIX define 2018-01-11 14:50:07 -08:00
radius 3b334b60d6 add display name and config name to autoconf 2018-01-11 17:06:14 -05:00
twinaphex 88d1e455e3 Add code that allows for debug D3D 2018-01-07 10:46:53 +01:00
Twinaphex 74942551ff
Merge pull request #6052 from orbea/libchdr
Backport changes from libchdr upstream
2018-01-06 07:10:36 +01:00
Andrés dedcd26495
Merge pull request #6053 from aliaspider/master
(WIIU) add preliminary multi-pass shader support.
2018-01-05 21:48:30 -05:00
aliaspider 55d262f5d8 (WIIU) add preliminary multi-pass shader support.
can load *.slangp and *.slang files. since there is no runtime compiler,
precompiled shaders (*.gsh) need to be present next to each *.slang
source file.
2018-01-06 03:39:53 +01:00
orbea df885fce31 libchdr: Backport "backported chd_file::guess_unitbytes from upstream to set unitbytes and unitcount fields for pre-v5 headers"
Backports 13444fc72f
2018-01-05 16:08:29 -08:00
orbea eeb6230ebd libchdr: Trivial cleanup 2018-01-05 16:08:29 -08:00
twinaphex bc53b9e1b6 Update libretro-common 2018-01-05 23:32:25 +01:00
twinaphex 8ca98e0a18 Buildfix 2018-01-05 14:14:42 +01:00
Twinaphex f4250a1ad5 Silence unused variable warnings 2018-01-05 14:13:58 +01:00
twinaphex 751c0fe58c Sync libretro-common 2018-01-05 13:16:04 +01:00
twinaphex 21bf01ca6c Update file_stream_transforms.c 2018-01-04 08:16:43 +01:00
orbea 2d19885a17 C89_BUILD: Fix some clang compiler errors
Fixes the following -Werror warnings with C89_BUILD=1 and clang.

gfx/common/x11_common.c:407:17: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
         Status status = 0;
                ^
libretro-common/formats/libchdr/chd.c:639:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
                uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
                         ^
libretro-common/formats/libchdr/chd.c:723:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
                uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
                         ^
2018-01-03 16:53:11 -08:00
twinaphex 24a78a28c2 Update 2018-01-03 17:28:41 +01:00
twinaphex dbd2faf69a fabsf not defined for MSVC 2003 2018-01-03 14:48:53 +01:00
twinaphex 956f869974 (360) Fix Salamander build 2018-01-03 12:14:08 +01:00
Brad Parker 228049df11 7zip: only use Unicode file open on Windows 2018-01-02 20:48:19 -05:00
bparker06 c51b107d9c
Update archive_file_7z.c 2018-01-02 20:24:48 -05:00
Brad Parker 54e7ec8e79 win32: use Unicode file I/O for 7zip archives when available 2018-01-02 20:21:55 -05:00
twinaphex 0c741e6f61 Fix png test 2018-01-02 06:35:07 +01:00
twinaphex 6d0101d118 Update nbio test 2018-01-02 06:33:20 +01:00
twinaphex d1ad5c336e Silence warnings 2018-01-02 06:28:05 +01:00
Twinaphex 88311acad3
Merge pull request #6027 from meepingsnesroms/master
Add all xmb menu options to rgui and glui, 3ds warning fix, move start directory to top of load content
2018-01-02 06:19:48 +01:00
Alcaro e0eb5e698e We'll want a test suite at some point, here's the first test 2018-01-01 20:55:26 +01:00
Alcaro a79b3250ce why is -common trying to call out of -common 2018-01-01 20:42:10 +01:00
twinaphex 07f13876fc Fix playlist issues with extract_value - the name of the last playlist
entry in history list was being reused for the next playlist entry
2018-01-01 20:17:41 +01:00
meepingsnesroms 7ac985e9be Add all xmb menu options to rgui and glui, 3ds warning fix, move start directory to top of load content 2018-01-01 10:38:16 -08:00
twinaphex f611d1c357 * Compile C code with MSVC Makefile as C instead of C++
* Add compatibility tweak for MSVC in C mode for math functions
2018-01-01 17:38:04 +01:00
twinaphex 21c1acac73 Prevent another Coverity warning - memory corruption 2018-01-01 17:24:00 +01:00
twinaphex b279dfcb64 Simplify extract_value 2018-01-01 16:45:18 +01:00
twinaphex 515918f80c config_file.c - fix Coverity warning - resource leak of
path
2018-01-01 16:37:20 +01:00
twinaphex aab1e87439 Update compat_snprintf.c 2018-01-01 14:35:47 +01:00
Twinaphex 80f946e0a6
Merge pull request #6022 from bparker06/taskbar_progress
win32: Show progress meter on taskbar for downloads (Windows 7 and up)
2018-01-01 08:13:39 +01:00
Brad Parker e62e0c83da win32: Show progress meter on taskbar for downloads (Windows 7 and up) 2018-01-01 02:08:09 -05:00
twinaphex d0b414f9d8 indenting nits 2018-01-01 08:03:04 +01:00
twinaphex e566a5591b Revert "Revert config_file.c"
This reverts commit 2f422a457f.
2018-01-01 07:45:57 +01:00
twinaphex f2ddc8eff0 Revert "Simplify config_file_write"
This reverts commit a4500eeafc.
2018-01-01 07:45:56 +01:00
Alcaro 7fd4d5013d C89 2017-12-31 23:46:11 +01:00
twinaphex b9248cf3af Start preparing runtime toggleable resampler quality settings 2017-12-31 20:55:26 +01:00
twinaphex 0dd2f075fe Refactor sinc resampler so that we can set resampler quality
at runtime
2017-12-31 20:40:04 +01:00
twinaphex 3090e85064 Refactor sinc_resampler.c 2017-12-31 18:23:27 +01:00
Alcaro abf4e50e6d These warnings aren't needed 2017-12-31 14:33:57 +01:00
Alcaro 9ab6957dc4 Fix #6009 v2.0 2017-12-31 14:32:14 +01:00
Alcaro 93f0679ead Fix #6009 2017-12-31 13:20:05 +01:00
Alcaro e5b346ad92
what an impressive bug farm. #6001 2017-12-30 17:43:48 +00:00
twinaphex 8619534a31 Fix resource leaks pointed out by Coverity 2017-12-30 08:37:52 +01:00
twinaphex 20122d21ee CXX_BUILD buildfix 2017-12-30 08:12:38 +01:00
Twinaphex 6c08ceacb9
Merge pull request #5995 from meepingsnesroms/master
Fix new 3ds xl not being detected, others
2017-12-30 05:25:46 +01:00
meepingsnesroms d18ee7eaed Fix new 3ds xl not being detected, others
Also fixes whitespace in makefile and platform_ctr.c and compiles with debug libctru when DEBUG=1
2017-12-29 19:30:54 -08:00
Alcaro ec4b0f9089 What kind of bug farm is this filestream thingy 2017-12-29 15:32:07 +01:00
Twinaphex ba8b5749ac
Merge pull request #5985 from meepingsnesroms/master
Basic networking for 3DS, bug fixes
2017-12-29 06:56:45 +01:00
meepingsnesroms 7dbaa45172 Basic networking, bug fixes
Fix CPU count bug, make 3ds compile with networking
2017-12-28 21:49:21 -08:00
Alcaro 353b2ebff6 Make this thing more like stdio 2017-12-29 01:38:59 +01:00
misson20000 6d2a7b1f26 Nintendo Switch (libtransistor) port 2017-12-29 00:10:01 +01:00
Alcaro a8359a8664 VFS specification very clearly says zero or minus one, not 'return whatever rename() says'. 2017-12-28 19:11:43 +01:00
Ian House 78c49047a5 Changed the retro environment LED interface to 46 to avoid a numbering conflict 2017-12-27 11:18:49 -05:00
Ian House 8178e21cda Merge branch 'master' of https://github.com/libretro/RetroArch into leds 2017-12-27 11:14:35 -05:00
Ian House aa7c289708 Added an LED interface and a Raspberry Pi GPIO implementation 2017-12-27 11:11:08 -05:00
Brad Parker a3a5f6e07e win32: add Unicode versions of getenv, GetModuleFileName, LoadLibrary and _mkdir 2017-12-27 02:55:53 +00:00
twinaphex 08d9ee9600 (PSP) Add thread support 2017-12-26 09:45:45 +01:00
twinaphex 2e1e2cb406 Update 2017-12-24 18:53:03 +01:00
twinaphex a4500eeafc Simplify config_file_write 2017-12-20 17:07:31 +01:00
twinaphex 259b077eef (PS3) Set PATH_MAX_LENGTH to CELL_FS_MAX_FS_PATH_LENGTH 2017-12-20 15:45:11 +01:00
twinaphex 7cda1aaab9 Set PATH_MAX_LENGTH to 512 for PS3 2017-12-20 15:39:01 +01:00
twinaphex 6441a25c35 PS3 has AF_INET6 defined yet we still shouldn't take this path 2017-12-20 15:34:57 +01:00
twinaphex 56f9d0a7cf Cleanup 2017-12-20 05:27:20 +01:00
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
Alcaro 8df699984e
Update fopen_utf8.h 2017-12-04 16:34:56 +01:00
Alcaro d74ad6cd5e
Create fopen_utf8.h 2017-12-04 16:32:40 +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 c10859b745
Update file_stream.c 2017-12-04 14:31:31 +01:00
Alcaro dca30d533f
Update file_stream.h 2017-12-04 14:31:11 +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
Alcaro e4bb8e7aeb
Update file_stream.c 2017-12-04 13:52:11 +01:00
Alcaro 130e4522e2
Update file_stream.h 2017-12-04 13:51:25 +01:00
Alcaro 0d4ac12310
Update file_stream.c 2017-12-04 13:34:15 +01:00
Alcaro df55e6b4d1
actually, let's just completely remove it 2017-12-04 13:30:38 +01:00
Alcaro 89f7afdc8f
silence warning 2017-12-04 13:28:38 +01:00
Alcaro 50148c03e2
not used anymore
4e66962ba8
2017-12-04 13:27:05 +01:00
twinaphex 9558e569f1 We can still make use of this for PowerPC Mac 2017-12-04 05:56:03 +01:00
twinaphex 19d7afd0c2 remove 2017-12-04 04:30:28 +01:00
twinaphex e9af9f1b09 Add EXT version 2017-12-04 04:20:54 +01:00
twinaphex b2fbb9aeda Prepare to map DeleteFramebuffersEXT like this 2017-12-04 04:18:28 +01:00
twinaphex 52e7a533f0 Improve FBO check 2017-12-04 04:12:46 +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
Alcaro 4e66962ba8
#5664 2017-11-29 21:39:35 +00: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 26008ca580
#5802 2017-11-27 17:55:05 +01:00
Alcaro a96e3e1ead
fix missing %s 2017-11-27 17:16:22 +01:00
Alcaro 9b99a48cdb
just remembered these PRIs don't start with % 2017-11-27 17:12:30 +01:00
Alcaro 4fb12c4bd3
#5802 2017-11-27 17:09:16 +01:00
Alcaro ab0e1611e7
fix #5497 close #5802
according to https://github.com/libretro/RetroArch/issues/5497#issuecomment-336640951, this header exists on everything we care about except various microsoft platforms, and all of them have constant printf strings
2017-11-27 16:57:15 +01:00
orbea 768b1b433c libretro-common: Silence redefined warning. 2017-11-26 20:14:06 -08:00