Commit Graph

1978 Commits

Author SHA1 Message Date
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
David Walters
6168db8aeb correct lightgun api comment 2017-11-26 17:20:41 +00:00
David Walters
218d7f88ff New lightgun API in libretro.h 2017-11-26 16:46:33 +00: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
72fdfb1edd Add HAVE_CONFIG_H to file_stream.c 2017-11-25 06:17:19 +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
Alcaro
0868c4e346 Fix build 2017-11-25 01:53:09 +01:00
twinaphex
d0eef2579e remove this - shouldn't be necessary 2017-11-25 00:54:51 +01:00
Alcaro
b5722127c7 Fix docs 2017-11-25 00:26:13 +01:00
Alcaro
5999999cd3 Add Linux-native nbio too 2017-11-24 23:56:05 +01:00
Alcaro
5a6aad3dc7 Add mmap nbio for Windows too 2017-11-24 22:43:22 +01:00
Alcaro
7817ba2340 Add ugly check 2017-11-24 22:14:03 +01:00
Alcaro
053fbd6f27 Add mmap-based nbio implementation (which is too fast for the tests but otherwise passes) 2017-11-24 22:08:57 +01:00
twinaphex
92ea40d96e Fix edge case when file is empty 2017-11-24 21:39:10 +01:00
twinaphex
096686140d Rewrite command_event_save_config 2017-11-23 18:07:28 +01:00
twinaphex
3bda00edaf (libretro-common) Add strldup to compat/strl 2017-11-23 17:51:55 +01:00
Twinaphex
13a0da1f25
Merge pull request #5697 from hiddenasbestos/analog_buttons
Analog buttons
2017-11-18 10:14:35 +01:00
David Walters
668cc01c5c Added RETRO_DEVICE_INDEX_ANALOG_BUTTON constant 2017-11-17 21:50:50 +00:00
Brad Parker
94aa2cd08a document setvbuf changes, only call it with bufsize >0 2017-11-17 16:12:36 -05:00
Twinaphex
1aa05de8ba
Merge pull request #5691 from hiddenasbestos/extra_mouse_buttons
Extra mouse buttons
2017-11-17 16:16:44 +01:00
David Walters
066cbea3c3 Add constants for mouse buttons 4&5 2017-11-17 09:58:40 +00:00
Brad Parker
07f3919811 only call setvbuf right after opening file, and use our own buffer for C89 compliance 2017-11-17 02:28:45 -05:00
twinaphex
ec123ef6ca Get rid of most of the HAVE_FBO usage 2017-11-13 06:20:30 +01:00
twinaphex
0703615bf5 Cleanup 2017-11-08 17:37:16 +01:00
Rob Loach
9f222010de
Fix strdup() call when no path is provided 2017-11-08 11:31:17 -05:00
twinaphex
b05b27bff6 config_file.c - cleanups 2017-11-07 08:08:22 +01:00
twinaphex
13e0bd1932 Change function signature of file_path_rename 2017-11-06 19:17:42 +01:00
twinaphex
e5d4e2ac0a Silence a lot of warnings 2017-11-06 19:13:54 +01:00
Twinaphex
5136ec2df0 Updates 2017-11-06 05:37:32 +01:00
twinaphex
451dc774b0 Update libretro-common 2017-11-06 05:26:07 +01:00
twinaphex
360a3686a0 Update include dirs 2017-11-06 05:23:53 +01:00
Twinaphex
f7ac5b3baf
Merge pull request #5652 from RobLoach/7z-deps-included
Fix for included 7zip headers
2017-11-05 01:13:33 +01:00
Rob Loach
3144c38e7d
Clean up deps file includes in audio_mixer.h
The deps folder is already in the include path. This allows deps to be defined elsewhere.
2017-11-04 17:05:39 -04:00
Rob Loach
e29e8d9c62
Fix for included 7zip headers 2017-11-04 16:21:02 -04:00
Brad Parker
2ce53f32ac PSP buildfix 2017-10-30 23:31:51 -04:00
Brad Parker
28ec3ac3b5 temporary fix for startup hang on Windows 2017-10-30 16:48:34 -04:00
Brad Parker
68a8198e4a convert more file IO functions to use filestream, fixes encoding issues on Windows 2017-10-29 12:08:24 -04:00
Brad Parker
89265f5cf2 filestream_seek does not return the position in the file 2017-10-29 12:08:24 -04:00
Brad Parker
1842471eb1 use filestream_open to check if a file exists 2017-10-28 16:00:51 -04:00
Brad Parker
20850a7f92 travis: add mingw build targets 2017-10-24 00:37:31 -04:00
bparker06
b0f8a570b5 encoding_utf: Fix coverity warnings, extra error checking 2017-10-19 17:24:35 -04:00
Brad Parker
f3aceefe84 win32: use W-functions for nbio file IO too 2017-10-18 12:30:44 -04:00
Brad Parker
0d06a48546 use LEGACY_WIN32 ifdef for filestream also 2017-10-16 00:39:16 +00:00
Brad Parker
bd06668075 win32: forgot to add unicode functions for filestream 2017-10-16 00:30:25 +00:00
twinaphex
f8a60b2b76 Create LEGACY_WIN32 ifdef 2017-10-16 01:51:59 +02:00
twinaphex
8464ad30bd (Xbox 360) Buildfixes 2017-10-16 01:33:17 +02:00
Brad Parker
1b1d5c468d win32: use unicode functions for file IO if supported 2017-10-15 17:41:34 -04:00
Alcaro
f3c57ee343 Don't allow more than a billion nanoseconds 2017-10-15 23:25:21 +02:00
Alcaro
2c773a0eb8 Whitespace cleanup 2017-10-15 23:25:21 +02:00
Brad Parker
ac3b7bc4cc windows.h already includes stringapiset for us 2017-10-15 10:16:19 -04:00
Twinaphex
e86e237ed7 Merge pull request #5552 from bparker06/win32_file_encoding
win32: support local multibyte encoding for file paths
2017-10-15 13:07:18 +02:00
Brad Parker
338723bc31 fix some null pointer accesses with empty strings 2017-10-15 00:39:55 -04:00
Brad Parker
a7c8cc88e5 win32: support local multibyte encoding for file paths 2017-10-14 23:13:24 -04:00
twinaphex
7cf1793801 Silence some static code analysis warnings 2017-10-11 21:46:18 +02:00
twinaphex
20da0f0666 Cleanups 2017-10-06 05:28:35 +02:00
twinaphex
608bc45388 Prevent another memory leak 2017-10-06 05:25:05 +02:00
Alcaro
3d9d5320ad typo 2017-10-06 02:15:49 +02:00
twinaphex
6013e25b2b Cleanups 2017-10-06 01:59:16 +02:00
Alcaro
76283edd07 fix buncha ignored errors and whatever 2017-10-06 01:53:00 +02:00
twinaphex
8238545bef Cleanups 2017-10-04 06:53:47 +02:00
twinaphex
d10de20bff Start compiling Griffin as C for 360 - C89 fixes 2017-10-03 04:11:41 +02:00
bparker06
97f995218f Update vector_list.c 2017-10-02 19:19:12 -04:00
Brad Parker
2bb20a0b4f add generic vector_list for custom types, use it to remove std::vector from D3D9 Cg renderchain 2017-10-02 19:19:12 -04:00
twinaphex
702f1276d6 Silence warnings 2017-10-03 00:53:09 +02:00
Alcaro
c91c4ff9c0 Nuke some more ifdefs and warnings 2017-10-03 00:35:41 +02:00
Alcaro
dc4c2cd6d9 Wipe out a buncha warnings and pointless ifdefs (some warnings will remain until #5497 is fixed) 2017-10-03 00:26:29 +02:00
Alcaro
b97853a536 Rename STRING_REP_ULONG to STRING_REP_USIZE 2017-10-02 22:51:51 +02:00
Brian Koropoff
96c3d6cc1d Remove debug abort() left in by accident 2017-10-01 13:10:24 -07:00
twinaphex
02cc57e5b3 Cleanup 2017-09-30 07:52:00 +02:00
Brad Parker
6b5d863136 check for end of string before trying to read more 2017-09-30 01:47:51 -04:00
twinaphex
aab154fadf (chd_stream.c) Cleanups 2017-09-30 01:45:48 +02:00
twinaphex
f5dedd673f (trans_stream_zlib.c) Try to prevent null pointer dereferences 2017-09-30 01:41:09 +02:00
twinaphex
7959cd3993 Use malloc 2017-09-29 22:47:45 +02:00
twinaphex
542f87bf55 Prevent leaks 2017-09-29 21:29:34 +02:00
twinaphex
5379b12e7c FIx some new Coverity errors 2017-09-29 05:39:06 +02:00
twinaphex
3564562563 database_info.c - use malloc 2017-09-29 05:01:00 +02:00
Alcaro
3374b0ffde Add why we're doing this 2017-09-29 04:04:51 +02:00
twinaphex
8eb28eaae9 Add this for Wiiu debugging 2017-09-29 04:03:13 +02:00
twinaphex
0f1d0ebfa9 config_file.c - use malloc instead of calloc 2017-09-29 03:56:33 +02:00
twinaphex
cc8e897222 C89_BUILD fixes 2017-09-22 05:12:26 +02:00
twinaphex
6141761e63 Take out libchdr include from interface_stream.h 2017-09-22 04:47:58 +02:00
Twinaphex
4bbaa65361 Prevent redefinition of typedef; C11 only 2017-09-22 04:43:17 +02:00
Twinaphex
3c04a9776c (OSX) Add FLAC and CHD support 2017-09-22 04:41:09 +02:00
twinaphex
46b79ccd78 Compilation fixes - headers need to be moved to separate include dir 2017-09-21 19:34:46 +02:00
twinaphex
c0de19f23d Update 2017-09-21 19:29:13 +02:00
twinaphex
c3b5981dc0 Create minmax.h for libchdr 2017-09-21 19:28:32 +02:00
twinaphex
df60512a0d Cleanup our dep version of 7zip - we don't want non-stdint types.
Other misc. cleanups
2017-09-21 19:23:09 +02:00