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
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
Andrés
305cb6d647
fix OS identification ( #5880 )
2017-12-07 18:49:35 -05:00
Brad Parker
55b738a07a
implement frontend get_architecture() for windows
2017-12-07 16:32:13 -05:00
Brad Parker
fa7cd77d7d
win32: improve version reporting under System Information
2017-12-07 13:49:07 -05:00
Ash
e9a3088a79
[WiiU] Toolchain: Actually fix C++ constructors/destructors (oops!)
...
Looks like I temporarily forgot how external symbols work. Fixes
https://gbatemp.net/posts/7720955 ; hopefully we finally have C++ under
control.
2017-12-03 11:31:30 +11:00
Ash
bf3e256a43
[WiiU] Input: Make controller_patcher a compile-time option
...
As discussed in libretro#5357; controller_patcher is now optional. It's
off by default; though this could be changed with a simple makefile
tweak (ENABLE_CONTROLLER_PATCHER ?= 1, perhaps?)
To re-enable controller_patcher; append ENABLE_CONTROLLER_PATCHER=1 to
your usual make command.
controller_patcher was the only user of c++ constructors in the Wii U
port, so you'll need 26a006c in your tree otherwise you will have a
blackscreen on startup.
2017-12-01 18:29:21 +11:00
Ash
26a006cfac
[WiiU] Toolchain: Fix C++ constructor/destructor handling
...
The old setup relied on there being at least one constructor *or* the
value of *__CTOR_LIST__ being NULL. Neither of these are guaranteed; and
having no C++ constructors actually resulted in a random value being
read (which passed the NULL check!). This new setup uses the
__CTOR_END__ symbol; which is a pointer to just after the end of the
list. When there are no constructors, it has the same value as
__CTOR_LIST__; so the while loop is never entered.
This fix also allows us to re-enable destructors; in case they're ever
needed.
2017-12-01 18:18:02 +11:00
Brad Parker
9aeddb781a
GlobalMemoryStatusEx only exists for 2000 and up
2017-11-29 19:33:39 -05:00
Justin Weiss
4069ddc926
Expand symlinks in default configuration paths for iOS devices
...
CFSearchPathForDirectoriesInDomains returns a path in /var, while
getenv(HOME) returns the same path in /private/var. /var is a symlink
to /private/var, but when config is generated, the difference in paths
means they won't be abbreviated correctly.
This change expands symlinks before filling in the default
directories, so those paths will match.
2017-11-22 20:07:27 -08:00
Francisco José García García
b975cb43a7
Change platform driver for vita
2017-11-14 19:49:50 +01:00
Ash
0d38612f4a
[WiiU] Various warning/format string fixes
...
All things from unsigned comparisons to missing initializers; we got it
here.
2017-11-04 20:37:30 +11:00
Roman Kalashnikov
cdc61bc206
Simplified condition in while
...
if `*ptr` value equals ' ', then condition `if(*ptr != '\0')` will always true
2017-10-28 20:56:04 +03:00
Brad Parker
3f27e5d7bb
CXX_BUILD fix
2017-10-23 21:48:38 -04:00
twinaphex
be5d3cb0ba
Convert platform_xdk.cpp to C
2017-10-03 04:36:43 +02:00
Alcaro
b97853a536
Rename STRING_REP_ULONG to STRING_REP_USIZE
2017-10-02 22:51:51 +02:00
twinaphex
550a140405
(Xbox) Silence warning
2017-09-13 04:35:57 +02:00
twinaphex
e193f7a22a
Style nits
2017-08-19 12:27:24 +02:00
twinaphex
822e2fd0d4
Put this around an HW_RVL ifdef
2017-08-19 12:13:03 +02:00
twinaphex
ae2435cf16
Silence some more C89_BUILD warnings
2017-08-12 18:15:26 +02:00
twinaphex
2f832d145f
Make DragAcceptFiles go through function pointer
2017-08-09 16:25:23 +02:00
radius
4387dd7c15
fix new android paths
2017-08-05 21:56:52 -05:00
radius
8bb3852944
update android platform driver
2017-08-05 14:52:16 -05:00
radius
a17e23dc6c
update win32 platform driver
2017-08-05 14:39:17 -05:00
Ash
40a4a5a733
[WiiU] Rewrite exception handler
2017-08-04 21:30:49 +10:00
twinaphex
b11620e1eb
Add retro_timers.h/retro_math.h
2017-06-28 04:41:38 +02:00
twinaphex
6aa99ebb37
Take out <sys/cdefs.h>
2017-06-21 05:02:03 +02:00
Charlton Head
e8976762a5
include command.h when !HAVE_MENU
2017-06-20 20:52:04 -05:00
twinaphex
f087419165
Rename platform_linux.c to platform_unix.c
2017-06-19 17:38:49 +02:00
twinaphex
6af5bd01bf
Merge retro_stat and file_path
2017-06-16 15:00:11 +02:00
Ash
7f5986e1d5
Rename Wii U log functions (conflict in DOSBox)
2017-06-15 15:20:58 +10:00
Brad Parker
d5a1ad0a73
android: delay loading of RetroActivity until after permissions are granted
2017-06-14 20:19:52 +00:00
Francisco José García García
c9d90ce1b6
(VITA) Add support for external usb if mounted
2017-06-05 08:52:20 +02:00
twinaphex
9f2c15c17c
(Frontend) Change MENU_SETTING_ACTION to FILE_TYPE_DIRECTORY
2017-05-26 16:45:28 +02:00
twinaphex
11641645b2
(platform_linux.c) Change these entries to FILE_TYPE_DIRECTORY
2017-05-26 16:34:34 +02:00
twinaphex
1d013b49c6
Update parse_drive_list
2017-05-26 16:17:14 +02:00
twinaphex
ecadf864c5
Fixed font selection
2017-05-26 15:57:18 +02:00
twinaphex
e2a6a7ad17
Add 'load_content' parameter to parse_drive_list
2017-05-26 15:52:38 +02:00
Twinaphex
37f74de732
(OSX) Buildfix
2017-05-24 20:19:48 +02:00
Fabio Ritrovato
341d1f9528
Fix default record output dir on Mac
2017-05-24 15:48:45 +01:00
aliaspider
39adab8cc1
execv call was missing in frontend_linux_exec.
2017-05-24 11:13:56 +01:00
radius
6f39d6da97
fix
2017-05-23 19:56:28 -05:00
radius
a98c2c38c0
update copyrights
2017-05-23 19:55:47 -05:00
twinaphex
b70b40969b
Set record output/config default dirs for Windows/Linux/Mac
2017-05-24 01:56:09 +02:00
twinaphex
907f0db4a3
(platform_linux.c) Style nits
2017-05-23 22:46:12 +02:00
twinaphex
bc64b7cd4e
Windows buildfix
2017-05-23 21:18:20 +02:00
twinaphex
d6b7bba069
Buildfix for PSP/Vita
2017-05-23 21:16:03 +02:00
twinaphex
1421d1da30
Use path_mkdir
2017-05-23 20:45:14 +02:00
twinaphex
7b1b137866
Buildfixes
2017-05-23 20:39:56 +02:00
twinaphex
ccba9635b6
Update the way default directories are handled
2017-05-23 19:43:58 +02:00