Commit Graph

1445 Commits

Author SHA1 Message Date
p-sam 4c5c2170b6 libnx: call retroarch_main_quit on exit 2018-10-27 16:18:56 +00:00
natinusala eac0d603f4 libnx: add network interfaces info 2018-10-12 17:37:03 +02:00
Nathan Strong c5f9fc0a34 WiiU: fix network information
== DETAILS

For local netplay, it's useful to have your IP address easily
available. This commit makes the Information > Network Information
menu display the Wii U's IP address.

Change summary:
- Fix the logging init to be reentrant to avoid socket consumption
- Add implementation of POSIX `getifaddrs()` and `freeifaddrs()`
  to `missing_libc_functions.c`
- Remove compiler directives protecting the code paths that call
  `getifaddrs()` from being used in Wii U builds

== TESTING

Have tested locally, successfully get IP address information in
the Information > Network Information.

I think this may also fix NAT traversal. Will need to be tested.
2018-10-11 15:37:15 -07:00
twinaphex 247b21b151 (platform_switch.c) Set retro_rating level to 11 - some minor
cleanups
2018-10-08 04:20:07 +02:00
twinaphex 64b2e6ea5f Update platform_unix.c 2018-10-02 20:08:23 +02:00
lifajucejo c39bc4ecab [LIBNX] Synchronize nxlink logging
- Logs were interleaved and caused instability on certain setups
2018-09-30 19:09:20 -04:00
M4xw 7a841eae24 [SWITCH] Change platform dir layout to match unix, fixes autodetect 2018-09-29 19:36:14 +02:00
lifajucejo a1aec9a870 Add battery percentage (psm) to switch 2018-09-27 23:52:08 -04:00
M4xw be2cba3200 [LIBNX] Mesa EGL backend has been fixed, remove workaround. 2018-09-27 20:02:30 +02:00
M4xw cf097d7f42 [LIBNX] Implement OpenGL 2018-09-27 01:23:24 +02:00
misson20000 8ed254f0c0 small platform_switch indentation fixups 2018-09-15 03:27:29 -07:00
misson20000 7072bbb829 [NSW] SDK compat fixups 2018-09-15 03:27:29 -07:00
misson20000 fa76a3cb60 CRLF -> LF 2018-09-15 03:27:05 -07:00
M4xw 0ff014c1ac [LIBNX] Add Core extension 2018-09-15 02:29:40 +02:00
M4xw 424d169cd9 [LIBNX] Fix Audio and Platform for updated libnx 2018-09-15 01:29:42 +02:00
M4xw 64edf5f879 [LIBNX] Fixups and bare minimum to function 2018-09-14 20:38:42 +02:00
Stuart Carnie 1264e9c533 fix(Metal): Use ifdef syntax; add correct default for Metal build 2018-09-01 11:58:37 -07:00
neville bd43682341 Use dynamic lookup code path 2018-08-31 19:37:40 +02:00
twinaphex a58511ec00 Revert "Compatibility fixes for OSX PPC"
This reverts commit d7899c51aa.
2018-08-31 19:20:10 +02:00
twinaphex 1265d7546c Revert "Start using raw constants for OSX version detection"
This reverts commit ab34a70873.
2018-08-31 19:19:42 +02:00
twinaphex ab34a70873 Start using raw constants for OSX version detection 2018-08-30 16:35:44 +02:00
neville d7899c51aa Compatibility fixes for OSX PPC 2018-08-30 16:18:51 +02:00
Joel16 b606572bce Set max bus & gpu clock rates 2018-08-02 12:19:16 -05:00
kurumushi bbe1dcd48f
Add imc0: mount for ps vita
This allows using the internal storage of the ps vita 2000 model when it's mounted on imc0: instead of ux0:
2018-07-23 23:11:54 +09:00
Twinaphex a3ae537c02
Merge pull request #6862 from gblues/master
WIIU: cleanups to wiiu bootstrap code
2018-06-30 14:31:22 +02:00
Twinaphex 2bdffff435 Silence more warnings 2018-06-21 07:34:27 +02:00
Stuart Carnie 411bcf8bdd feat(apple): Metal support for macOS
* includes rgui
* shader support

This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
Brad Parker aa083d1e4c android: add configurable setting for Sustained Performance Mode 2018-06-19 02:50:33 -04:00
Brad Parker 7176bb19ad support powerstate/battery level in Android 2018-06-16 19:15:16 -04:00
gblues 8b87a53366 Replace hokey "hooks" struct with weak symbol annotations
- Did a test build to ensure RA built
- Copied over to my FTPservU sources and ensured no compile issues there

Looks solid. A lot cleaner, too.

@aliaspider
2018-06-07 18:41:16 -07:00
FIX94 6ede99b47b
(GC) ACTUALLY fix up build 2018-06-07 21:04:34 +02:00
gblues f22c337cfc WIIU: cleanup and build-out of wiiu bootstrap code
I used the code in `wiiu/` to bootstrap my own WiiU homebrew app; this
PR reflects some changes I needed to make, that might be useful upstream.

1. Clean up filesystem initialization

Filesystem driver initialization was lumped in with filesystem mounting;
and that was a problem in my project, because I needed to be able to remount
the SD card on the fly. So, now it's split up.

I've added a callback object named "hooks" that can be used by consuming
applications to handle filesystem mounting and unmounting. If these hooks are
not provided, then the existing default behavior occurs.

2. Expand socket handling

- add `SO_NONBLOCK` flag for non-blocking socket I/O
- add normal errno defines like `EWOULDBLOCK` `EAGAIN`.

3. Remove RetroArch dependencies

- the exception handler protects usage of version_git with
  `#ifdef HAVE_GIT_VERSION` but not the include, so I added that.

  It also technically depends on version.h, but I'm not touching that.
  It's easy enough to implement and I needed the same functionality. I'm
  not sure what the best solution for that dependency is.

- missing_libc_functions.c included features/features_cpu.h which is
  a libretro include. This appears to be a stale include though, because
  everything compiles and works without it.

- an ifdef referencing the RA "WIIU" define, rather than the devkitpro
  "__wiiu__" define
2018-06-05 00:06:40 -07:00
twinaphex ec718c6f71 Should only be used for Wii 2018-06-04 21:25:04 +02:00
FIX94 3f8235db28
revert commit 822e2fd
commit 822e2fd broke sd gecko mounting on gamecube, making the gamecube build unusable, reverting it makes it run fine again
2018-06-01 00:22:42 +02:00
meepingsnesroms 6c1e865d28 Make build system match core format 2018-05-19 09:59:47 -07:00
meepingsnesroms 5b2ec62a41 Add another error handler, fix variable name formatting 2018-05-18 17:39:11 -07:00
twinaphex 2bda59b8e4 (platform_unix.c) Get rid of some warnings 2018-05-18 05:17:13 +02:00
Twinaphex bc0185c313
Merge pull request #6782 from meepingsnesroms/master
Make 3DS launch cores like a normal system
2018-05-17 01:34:48 +02:00
meepingsnesroms ce0d8bb5e0 Remove quote parsing 2018-05-16 16:26:38 -07:00
meepingsnesroms 756db4f264 Fix broken path handling when launching a core with a file or with spaces 2018-05-15 11:46:13 -07:00
meepingsnesroms 052de6bcd2 3ds now has proper core launching 2018-05-15 10:30:34 -07:00
meepingsnesroms 1a6f572405 Fixes 2018-05-09 18:23:35 -07:00
meepingsnesroms 5f234f0dd1 Start using proper 3ds executable formats (doesnt work properly yet) 2018-05-09 15:55:48 -07:00
gblues 5b3dd70ac3 Use a different packet size
== DETAILS

We had some disagreement on what packet size to use.

The maximum packet size varies depending on the actual network
hardware in use; the typical Ethernet value is relatively safe,
but not 100% compatible.

RFC 791 does, however, define a minimum datagram size that all
IP hosts must be able to handle--and it's large enough for our
needs, since we're generally not writing more than maybe 100
bytes at a time anyway.

I also did a little bit of cleanup for readability.
2018-05-06 19:08:32 -07:00
gblues 23f0a85446 Implement UDP broadcast network logging on Wii U
== DETAILS

The broadcast address is a standard part of TCP/IP that is used to
send messages to everyone on the subnet. This patch updates the
logging code to do the following:

1. Derive the broadcast address from the Wii U's own IP address
   and subnet mask. These can all be obtained at runtime, which
   means we can...
2. Remove the PC_DEVELOPMENT_IP_ADDRESS define from Wii U's
   Makefile, because compiling in an IP is no longer needed.
3. Rewrite the net_listen script to listen for broadcast packets
   and print them out with timestamps.

Since it's using the broadcast address, the only requirement is
that the PC be on the same network subnet as the Wii U.

Because of the low overhead of UDP, I've made logging on by
default. This will make it a ton easier to get useful bug
reports from users.
2018-05-06 14:39:48 -07:00
gblues 58e298ab8d Fix Salamander build
- move non-salamander objects out of salamander scope
- move the missing libc functions to general scope
- fix salamander_main inline invocation

TESTING: Ran 'make -f Makefile.wiiu SALAMANDER=1' successfully
2018-05-06 10:01:20 -07:00
gblues 7448fd3157 More code re-organization
=== DETAILS
Since @aliaspider wants the `wiiu/` to be something of a mini-SDK, I've
reorganized the code I put in there:

- `wiiu/main.c` now only has the ELF/RPX entrypoints, and the code used
  by those entrypoints, with RA code removed (e.g. swapped retro_sleep()
  for usleep()). These entrypoints then call main() ...
- Moved `main()` and its support functions back into `frontend/drivers/platform_wiiu.c`
  I also renamed some of the support functions I wrote, and better
  organized them within the code.
- Moved `wiiu/input/` into the `input/` hierarchy:

  * The joypad drivers now live in `input/drivers_joypad/wiiu/`
  * The HID driver now lives in `input/drivers_hid/`
  * The Wii U specific headers now live in `input/include/wiiu`
  * I added `input/include` into the include search path to avoid
    using really ugly relative includes
2018-05-01 23:23:40 -07:00
gblues 04cefd27d1 Cleanup of Wii U launcher code
== DETAILS

The Wii U main entrypoints were embedded in the frontend driver,
which isn't a great place for them. Also, the `main()` method was
pretty long and monolithic. Now it's (much) less so.

Changes:

- Refactor out the main entrypoints into their own source files
  (`wiiu/main.c` and `wiiu/main.h`)
- Optimize includes in both files, so only the minimum needed to
  compile are included.
- The `main()` method is a lot easier to understand now. It's no longer
a confusing mess of ifdefs.
- There's a small amount of changes in the headers for future work, which
  is switching kpad_driver to be callback-driven. The only change here is
  to import the function that will be used, and define some data types.

Testing:
- Did local builds and confirmed build is successful
- Successfully loaded a core and switched among a few games
2018-04-30 21:56:06 -07:00
twinaphex 5a80a6046f (Android) Remove no longer needed machine/cpu-features.h 2018-04-28 19:29:30 +02:00
twinaphex 7b1ad55b20 Try to use snprintf instead of sprintf 2018-04-25 11:31:50 +02:00
twinaphex 8e7b1ede7f Silence Clang warnings 2018-04-09 17:35:27 +02:00
twinaphex 167b977c4d Fix some build errors with MSVC 2003/2005 cores 2018-03-28 16:22:35 +02:00
twinaphex 72dc03a1c6 Try to fix Coverity warnings 2018-03-19 06:58:36 +01:00
twinaphex 33f0009a11 Fix UNIX build 2018-02-25 20:49:44 +01:00
twinaphex 78406bef69 (platform_unix.c) Remove lots of hashes 2018-02-25 17:58:36 +01:00
twinaphex b0f29a6743 (platform_unix.c) Remove more hashes 2018-02-25 13:16:17 +01:00
twinaphex 6fc6bfbb24 (XDK1) Set default assets dir too 2018-02-19 13:43:32 +01:00
twinaphex 6c02dfd84c (XDK1) Setup some default dirs 2018-02-19 13:29:16 +01:00
twinaphex 56cbaefd05 Change this back 2018-02-18 02:12:15 +01:00
twinaphex c0f79d2032 Update 2018-02-18 02:11:41 +01:00
Brad Parker 1923ec11a9 platform_unix: remove HAVE_NETWORKING requirement 2018-02-08 11:44:26 -05:00
twinaphex e01416a0da Split up code to platform_xdk.h 2018-02-05 01:33:54 +01:00
aliaspider 5549b136c2 (msvc) CXX_BUILD + griffin fixes. 2018-02-05 00:25:03 +01:00
twinaphex 5bfa63e4bd (Darwin) Fix warnings 2018-01-31 11:23:57 +01:00
Ash 3a442af6be
[WiiU] Add missing time/clock libc functions
Add some timing functions so that we can know the time (woo-hoo?)
I use errno here, which worries me a bit. I wouldn't put it past
devkitPPC to have it as a null pointer or something.

Can confirm this makes XMB's clock work, much to @cucholix's delight;
I'm sure ;D
2018-01-30 17:14:58 +11:00
twinaphex fc0ea0c63f Cut down unnecessary _XBOX ifdefs 2018-01-26 15:15:03 +01:00
Brad Parker 9ef75473e0 fix coverity warnings 2018-01-26 00:14:59 -05:00
Brad Parker 9e347ec71f detect shader file changes on move and delete as well, and wait a few frames before re-applying changes 2018-01-25 19:09:55 -05:00
Brad Parker f087b150c9 Add quick menu option to watch shader files for changes and recompile automatically (Linux only for now) 2018-01-25 15:50:57 -05:00
twinaphex 6a46065162 (MSVC 2013) Add more non_HAVE_DYNAMIC codepaths 2018-01-24 01:52:44 +01:00
Toad King 55334aeffd fix black frame insertion in emscripten 2018-01-20 13:01:48 -06:00
kwyxz b9585df325 Update Haiku port to allow it to build again 2018-01-20 00:19:01 -08:00
twinaphex 61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
Toad King 28b2bf537f fix warning 2018-01-15 04:17:01 -06:00
Toad King 0256156a6b fix rwebaudio time drift
fixes audio getting stuck in an always fast state
2018-01-15 03:08:30 -06:00
Toad King 19facdb066 reset drivers shortly after toggling fullscreen mode
fixes black screen after going fullscreen in game
2018-01-15 02:12:53 -06:00
Toad King d23faff8d6 set the main loop first before calling rarch_main 2018-01-15 00:43:20 -06:00
Toad King 2738c79aa0 switch to RGUI as default menu for emscripten 2018-01-15 00:07:12 -06:00
Toad King b75f4b4f67 implement setting vsync and swapinterval
vsync is not "true" vsync (that's always on in browsers) but changes the main loop timer from immediate to window.requestAnimationFrame
2018-01-14 23:29:20 -06:00
Toad King 2d27a8c3e2 fix exiting not terminating emscripten runtime 2018-01-14 02:53:34 -06:00
Toad King 5ef595be1a fix fullscreen 2018-01-14 02:33:22 -06:00
meepingsnesroms 74c8506391 Add frontend, battery level and memory amount detection to 3ds port
Also fix white spaces in led drivers, make led drivers use standard driver format.
Begin work on translation driver.
Add salamander files to gitignore.
2018-01-10 16:52:32 -08:00
gblues 5894d0ef86 Remove all HID code from WiiU build via ifdef
== DETAILS
We're trying to track down the source of crashes when switching cores.
To rule out the HID code, this commit does the following:

- Wraps the library imports in an ifdef
- Wraps the object files in conditionals in Makefile.wiiu
- In wiiu_joypad, calls into the hidpad driver are wrapped in ifdef

== TESTING
This didn't solve the "System memory error" crash I've been experiencing.
But, maybe it will impact the other flavors of crashes others are seeing.
2018-01-07 20:26:24 -08:00
aliaspider e63697dca7 (WIIU) fix net logger. 2018-01-04 17:21:16 +01:00
twinaphex 6c5d303a07 (Xbox OG) Fix Salamander build 2018-01-03 14:31: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 0389bc64fe
Merge pull request #5997 from libretro/new_hid
New HID system (courtesy of gblues)
2017-12-30 15:30:03 +01:00
twinaphex b788bf71bd (3DS) Implement frontend rating - will return 6 for New 3DS/2DS,
and 3 for Old 3DS/2DS
2017-12-30 11:23:47 +01:00
gblues 192f5875b9 Simplify, add logging, revert some of the changes
== DETAILS
The old code was crashing; I did a minimalized branch and the crash
went away, so I'm bringing that over here. Meaning I'll have to
redo some of the other work I'd put in, but oh well.

(now watch it start crashing again)

== TESTING
Can confirm it builds. Wii U is busy ATM so I can't test.
2017-12-30 04:40:23 +01:00
gblues 1beba28d02 Only call HIDSetup/HidTeardown once
== DETAILS
I did a minimalist edit of the HID thread that stripped out all
HID* syscalls, and this stopped the crashing. I then re-added just
the HIDSetup() and HIDTeardown() calls, and the crash came back.

This smells like an OS bug. To work around it, I've put the
HIDSetup() and HIDTeardown() calls into the app init/shutdown
section, so they only get called once in the application lifetime
and not each time the input driver is initialized.
2017-12-30 04:40:15 +01:00
Nathan Strong e80d99dbae Delete controller_patcher; start on proper HID driver
== DETAILS

We discovered that the controller_patcher code was causing
the WiiU to intermittently crash when switching ROMs.

Changes:

- Completely extricates the controller_patcher code
- Create a skeleton wiiu_hid driver
- Wire up the build system to build/link it successfully

== TESTING

Has not been tested. Probably doesn't crash, since the
skeleton driver is just a copy of the null driver.
2017-12-30 04:38:57 +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
twinaphex 2768f639a2 Fix csnd corrupting dsp audio driver on failure, add 3dsx/smdh to
gitignore
2017-12-26 21:36:46 +01:00
Twinaphex 6fc71b6b55
Merge branch 'master' into master 2017-12-26 21:35:25 +01:00
meepingsnesroms f8b9c8fa6d Fix csnd corrupting dsp audio driver on failure, add 3dsx/smdh to gitignore 2017-12-26 05:31:51 -08:00
twinaphex 08d9ee9600 (PSP) Add thread support 2017-12-26 09:45:45 +01:00
twinaphex 3f281bb31f Cleanups 2017-12-25 07:49:07 +01:00
twinaphex 513885d465 (PS3) Set up cheat dir/autoconfig dir 2017-12-20 16:11:59 +01:00
twinaphex f6e9a624ca (PS3) Add default dir for core download assets 2017-12-20 16:02:40 +01:00
Brad Parker 03970ddacd Show BSD OSes in frontend OS info 2017-12-16 10:46:52 -05: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
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
aliaspider 78e5b63b41 (WiiU) salamander fix. 2017-05-23 12:24:37 +01:00
aliaspider 934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
aliaspider 801cc57e82 (WiiU) improve task scheduling. 2017-05-22 11:19:26 +01:00
radius 93a6426fe4 Radius TV ATV hack 2017-05-21 23:47:01 -05:00
aliaspider ce61db1473 (WiiU) fix salamander build. 2017-05-20 21:34:50 +01:00
Maschell 7a2c09e9ce [Wii U ] Proper order of the HID devices.
Added individual names for the HID devices.
2017-05-20 19:26:12 +02:00
Maschell 2ac91822c3 Merge remote-tracking branch 'refs/remotes/libretro/master' into wiiu_controller_patcher 2017-05-20 13:14:13 +02:00
twinaphex 59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
twinaphex b0398c1482 C89 build fixes 2017-05-19 03:34:53 +02:00
orbea 649205178f Silence a -Wnonnull warning 2017-05-16 16:14:20 -07:00
twinaphex 126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex bf3188eac4 Combine runloop_ctl and rarch_ctl 2017-05-15 05:06:23 +02:00
twinaphex 80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
Jean-André Santoni ce9439e722 Display Lakka version in System Information 2017-05-13 13:12:15 +02:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
Maschell 4393e17ea7 [Wii U] Using the HID Controller as a own controller. Currently the stick only work when it's bind manually. Mapping from controller to retroarch input port may change when you attach a new device. 2017-05-08 21:46:34 +02:00
Maschell e695d4e8ad [WiiU] Initial controller patcher support (HID via USB and network)
- Reading config from sd cards currently broken
- Not implemeted as a driver, currently all devices will be mapped to the WiiU Gamepad driver
2017-05-08 12:24:06 +02:00
twinaphex f75fbafeb2 Cleanups 2017-04-28 23:10:24 +02:00
twinaphex 35ac275f62 (OSX) Buildfix 2017-04-28 21:18:35 +02:00
twinaphex cc095e56fc Start refactoring bool variables 2017-04-28 00:53:20 +02:00
radius 95f172e3c7 add a few paths even if they are not set by JNI 2017-04-24 01:02:42 -05:00
twinaphex 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
Francisco José García García 8568667481 Add threading.c 2017-04-05 19:35:45 +02:00
Brad Parker b1e94e8215 android: add runtime permission checking for Android 6.0+ 2017-03-20 05:25:05 +00:00
Brad Parker c549f7e8d7 android: set XMB as default for Android TV devices 2017-03-10 22:17:05 -05:00
zeromus e89706d251 fix win32 console logging to be better than ever and no longer slay msys windows (fixes #4673) 2017-02-24 18:42:19 -06:00
radius 742e45c6eb attach to console if present, spawn our own otherwise 2017-02-15 22:25:17 -05:00
Twinaphex 2606218aa1 Silence implicit declaration warning 2017-01-30 17:35:00 +01:00
aliaspider 292d4dd3da (WiiU) fix a crash when using libfat with dkp r29. 2017-01-25 23:32:06 +01:00
aliaspider 8f88d8fb4d (WiiU) implement the missing requirement for core loading: exec,
exitspawn, set_fork and salamander.
2017-01-25 19:52:31 +01:00
Brad Parker 57949227df DOS: initial input/joypad driver 2017-01-24 00:55:58 -05:00
aliaspider 021b510452 (WiiU) refactors/cleanups. 2017-01-23 16:14:05 +01:00
aliaspider ae0e519639 (Wii) buildfix for devkitPPC r29. 2017-01-23 16:01:53 +01:00
aliaspider 1601febabc (WiiU) buildfix for devkitPPC r29.
- add wut headers and elf2rpl to source tree.
2017-01-23 16:01:53 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 9e063318da (XDK360) Fix 2017-01-19 21:09:44 +01:00
twinaphex 057af3c310 (360) Another buildfix 2017-01-19 20:53:27 +01:00
Brad Parker 8e52d0af6c Windows 98 buildfix 2017-01-18 02:02:32 -05:00
twinaphex fa0aaf54f7 (PSP) update 2017-01-17 18:55:59 +01:00
twinaphex 7931436f5b Apply xerpi diff 2017-01-17 18:12:23 +01:00
twinaphex 2849e2aa79 Get rid of some more configuration.h includes 2017-01-17 15:46:36 +01:00
ggf906 e9cff022fc (VITA) Update to latest vitasdk 2017-01-17 11:43:12 +01:00
Brad Parker e1f4db8081 Win2000 buildfixes 2017-01-16 20:41:08 -05:00
aliaspider 8cb692622a (WiiU) add support for bluetooth controllers (Wiimote, nunchuk, classic
controller, wiiu pro controller).
2017-01-16 18:52:39 +01:00
Josh Palmer ef205447df QNX-specific default directory and file permission handling 2017-01-09 20:26:09 +00:00
twinaphex 9e309032d4 (platform_linux.c) Cleanup 2017-01-08 18:12:43 +01:00
twinaphex 52f9084665 (platform_linux.c) Cleanups 2017-01-08 17:57:13 +01:00
twinaphex dd264f83d3 Silence more memcheck issues 2017-01-04 09:34:12 +01:00
Brad Parker 2b25704d63 fix battery charging status on linux 2017-01-03 15:40:01 -05:00
twinaphex b13d069578 - Silence Coverity warning in platform_linux.c
- Don't do settings lookup when calling runloop_msg_queue_push
2017-01-03 18:47:34 +01:00
Brad Parker ede267805d fix memory leak in linux battery check 2017-01-02 22:16:00 -05:00
twinaphex 5d9934d4da Remove buf variable 2016-12-31 07:59:28 +01:00
twinaphex 1d070aae93 Silence warnings; set default autoconfig dir 2016-12-25 19:28:44 +01:00
Brad Parker 0551e2dea8 move win32 check to frontend driver 2016-12-21 09:34:57 -05:00
Twinaphex 76c4a4f7a0 Merge pull request #4279 from sethk/macos_cleanup
macOS cleanup
2016-12-19 23:15:10 +01:00
twinaphex 3c7c667cf5 Get rid of some implicit memsets 2016-12-19 19:04:52 +01:00
Seth Kingsley d79cdffe37 Don't set config path until open_default_config_file()
This allows overriding of the config with --config
2016-12-17 21:06:07 -08:00
FIX94 c0b023a1cf (WiiU) added basic libiosuhax support 2016-12-17 18:42:04 +01:00
twinaphex cbf26cfa2f Fix statically linked RA again 2016-12-16 10:09:09 +01:00
twinaphex 296b52744d Update remaining platform drivers 2016-12-13 01:45:01 +01:00
twinaphex ba08a88643 (platform) Updates 2016-12-13 01:43:18 +01:00
twinaphex 32e230e98c (win32) Update parse_drive_list 2016-12-13 01:37:37 +01:00
Twinaphex ecf60f0ef3 (OSX) Buildfixes 2016-12-13 01:34:55 +01:00
twinaphex fc73e82e43 Start making parseable drives work in Load Content 2016-12-13 01:34:53 +01:00
twinaphex e2c4c25bf5 Add more MSVC 2003 compatibility ifdefs 2006-05-14 14:33:10 +02:00
twinaphex 43a1d528a6 Buildfix 2016-12-07 06:21:21 +01:00
twinaphex 032c414ac7 (platform_xdk) Add file_path_special.h 2016-12-07 06:20:40 +01:00
twinaphex 2a76acaf29 (platform_xdk.cpp) Add compat/strl.h header include 2016-12-07 06:19:05 +01:00
twinaphex 018a3328f5 (platform_xdk.cpp) Add verbosity.h header include 2016-12-07 06:18:06 +01:00
Brad Parker e39031cbd0 revert rest of unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker f725b48555 starting to revert unicode changes 2016-12-03 00:15:29 -05:00
Brad Parker 3b8a81dd31 make existing hard-coded unicode calls switchable back to ansi 2016-12-02 14:34:29 -05:00
twinaphex f9e72b89e2 (platform_xdk.cpp) Buildfixes 2016-12-02 01:54:28 +01:00
Brad Parker 367dea6723 unicode-ify a couple other windows files, start changing function names to W version explicitly 2016-11-29 20:32:24 -05:00
Brad Parker dc99713a9b create unicode window on Windows 2016-11-29 14:34:37 -05:00
fr500 0a83f7a888 add removable storage shortcut 2016-11-28 17:03:03 -05:00
radius 269c32ae38 Revert "dehardcode core path on android"
This reverts commit 19def60d5e.
2016-11-26 21:53:58 -05:00
twinaphex 80798ab924 Remove hacky 'OSK Keyboard' overlay 2016-11-27 02:46:09 +01:00
Alcaro 77b1421500 Avoid copying unneeded bytes 2016-11-26 20:27:17 +01:00
radius 19def60d5e dehardcode core path on android 2016-11-26 11:56:10 -05:00
radius d33ff1f14f android build fix 2016-11-25 18:20:23 -05:00
radius e43a9a0add android frontend driver cleanup 2016-11-25 14:05:17 -05:00
aliaspider ea248559e0 (WiiU) rpx update:
- c++ static constructors/destructors fix for rpx builds.
- building both rpx and hbl elf formats doesn't require a clean step
inbetween anymore, both can be now built in a single make call.
2016-11-23 03:21:01 +01:00
aliaspider 7d70fb3f4a (WIN32) don't reopen the stdout/stderr streams or close the console when
attaching an existing one.
2016-11-17 20:16:50 +01:00
aliaspider 4089f9ec63 (WiiU) use the already defined __init and __fini symbols. 2016-11-16 17:43:04 +01:00
aliaspider 286a1887a9 (WiiU) change linker script, add calls to _init() and _fini().
fixes cores relying on C++ static constructors/destructors. (only for
elf builds)
2016-11-15 19:37:30 +01:00
aliaspider f51f17ce22 (WiiU) flush all tasks each loop. fixes savestates. 2016-11-13 16:46:24 +01:00
aliaspider dbd8a87ebb (WiiU) can compile as rpx. (doesn't exit properly) 2016-11-09 14:26:38 +01:00
aliaspider b8330e2a73 (WIIU) configure logger ip in makefile. 2016-11-08 09:25:20 +01:00
twinaphex a41dd0e4f1 Add stub _times_r 2016-11-07 21:05:07 +01:00
FIX94 88e674cf3d (WiiU) disabled log init and properly init the audio buffer with 0 on audio init 2016-11-07 00:53:52 +01:00
Alcaro fb2dddd73e use linebreaks instead 2016-11-07 00:36:58 +01:00
Alcaro a72c5dbdf2 use frontslashes instead 2016-11-07 00:32:42 +01:00
radius 896aaf530b use backslashes instead 2016-11-06 17:53:22 -05:00
aliaspider 31edafde03 (WIIU) add timers, fix retro_sleep. 2016-11-06 11:55:56 +01:00
twinaphex 33e099d2a3 (WiiU) Buildfix 2016-11-05 19:05:13 +01:00
aliaspider d3b3c18a6f (WIIU) GX2 rendering. 2016-11-05 15:05:46 +01:00
aliaspider 176dd79f33 (WIIU) misc. 2016-11-02 22:06:15 +01:00
aliaspider e055b7cbc1 (WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
from WUT.
2016-10-29 02:56:40 +01:00
aliaspider efb8628994 (WIIU) switch exception handler. 2016-10-27 23:20:28 +01:00
aliaspider afdaf9afbd (WIIU) display core frames. 2016-10-27 23:02:40 +01:00
aliaspider 02c38d23c1 (WIIU) enable the exception handler. 2016-10-27 19:53:27 +01:00
aliaspider a4d745a471 preliminary port to the wiiu platform 2016-10-27 01:34:10 +01:00
twinaphex 04efd4ed36 (Android) Buildfix 2016-10-22 19:27:16 +02:00
twinaphex d08668b331 Rollback 4b807b482 - was unnecessary in hindsight anyway 2016-10-22 16:39:55 +02:00
twinaphex 4b807b482f Create runloop_poll 2016-10-20 02:17:17 +02:00
Henri Gomez f1b24f501d handle ARMv8 (aarch64) 2016-10-18 16:35:15 +02:00
Francisco José García García b55176012e (VITA) Add app0 and thumbnails dir 2016-10-15 12:54:31 +02:00
radius 5cbb3f33f8 use existing console if available 2016-10-14 00:57:15 -05:00
Francisco José García García adfbd233ee (VITA) Allow cores to define heap size 2016-10-11 09:40:55 +02:00
Francisco José García García 6ecbfbc22b (VITA) Enable database support 2016-10-10 11:43:05 +02:00
twinaphex 2a139b7d72 Add frontend_driver_attach_console/frontend_driver_detach_console 2016-10-09 17:15:50 +02:00
aliaspider 4571ba3454 (3DS) enable database support. 2016-10-08 04:38:34 +01:00
aliaspider 77e8cf8bb7 (3DS) implement core loading / salamander 2016-10-08 01:47:15 +01:00
Francisco José García García 20c580bcf8 (VITA) Make salamander load args 2016-10-07 08:24:27 +02:00
twinaphex f66e447139 Get rid of path_get_content 2016-10-03 15:43:03 +02:00
twinaphex f100dde751 (Wii) Buildfixes 2016-10-01 09:52:07 +02:00
twinaphex 0f26cade79 Revert "Update GX/WIn32 builds"
This reverts commit 28a96fbb05.
2016-10-01 08:17:07 +02:00
twinaphex 9d3d466092 Simplify main loops 2016-09-30 08:15:21 +02:00
twinaphex 28a96fbb05 Update GX/WIn32 builds 2016-09-30 06:39:47 +02:00
aliaspider 4ebe84d89c (3DS) use Makefile.commmon for non griffin builds 2016-09-28 15:01:46 +01:00
Francisco José García García 55c8fc6a6e (VITA) Changes for dynarec vm support (uggly hack) 2016-09-26 01:06:44 +02:00
twinaphex 3f35e10014 Solve some warnings pointed out by scan-build 2016-09-25 05:55:55 +02:00
twinaphex 2d11ea71cc Move runloop_fullpath to paths.c 2016-09-23 03:39:44 +02:00
twinaphex 4f83be2df3 Remove dead variable 2016-09-22 21:55:16 +02:00
twinaphex 2277428f52 Move more global->savefiles usage to task_save.c 2016-09-19 04:09:27 +02:00
twinaphex 2f6459fa9c (GX) Buildfix 2016-09-17 15:05:28 +02:00
twinaphex f395e851c4 Use stdstring.h 2016-09-16 17:25:47 +02:00
twinaphex 1b9a067bcc Move code to apple_compat.h 2016-09-14 14:10:39 +02:00
radius 9022bf75ad (emscripten) make core assets a subdir of content 2016-09-13 19:48:17 -05:00
twinaphex e42034ebd8 Cleanups 2016-09-12 16:39:50 +02:00
twinaphex 577c2e93a1 Silence warning 2016-09-11 19:04:01 +02:00
twinaphex f44fbe9d18 (Win32) Buildfix 2016-09-11 14:55:29 +02:00
twinaphex 7ac1ed7e10 Cleanups 2016-09-11 14:54:34 +02:00
frangarcj 307f72a3cd (VITA) Fix pthreads 2016-09-09 17:14:50 +02:00
twinaphex 164d3b034c Get rid of OSX_PPC 2016-09-09 15:56:56 +02:00
radius b883597272 (psp) add comment 2016-09-09 00:26:20 -05:00
radius 5dcfe3bb24 (ems) simplify code 2016-09-09 00:25:27 -05:00
radius ff6861fc77 emscripten and psp frontend driver refinement 2016-09-09 00:12:48 -05:00
radius 9d7bb72c00 (psp) add missing paths as reference for vita 2016-09-09 00:06:13 -05:00
radius d551b00787 emscripten and psp frontend driver cleanups 2016-09-08 23:56:43 -05:00
twinaphex 59363d2631 (PS3/PSP) Cleanups 2016-09-08 16:18:30 +02:00
twinaphex 2a1c93c718 (CTR) Cleanup 2016-09-08 16:16:28 +02:00
twinaphex 8e4683fa10 Compiles without HAVE_MENU defined again 2016-09-08 14:25:14 +02:00
twinaphex bc5c7571b5 (Wii) Cleanup 2016-09-08 13:20:50 +02:00
twinaphex ebf04dab4f (PS3 Salamander) Fix build 2016-09-08 13:17:14 +02:00
twinaphex 87e33c56f1 Add HAVE_CONFIG_H ifdefs 2016-09-08 11:22:08 +02:00
twinaphex 6a13359f65 (Vita) FBA and other big cores no longer seem to work - so change
this back to 192
2016-09-08 03:59:56 +02:00
radius e97b273c94 (ems) build fix 2016-09-07 20:19:51 -05:00
radius 46a861836b (ems) build fix 2016-09-07 20:16:30 -05:00
radius 7128785e7b (ems) add the missing default paths 2016-09-07 20:09:58 -05:00
Francisco José García García c2cf515189 (VITA) Initial Salamander 2016-09-08 01:26:03 +02:00
Francisco José García García 3be1785ed6 (VITA) Reduce Heap Memory 2016-09-07 23:52:45 +02:00
twinaphex e2a734183b Cleanu parse_drive_list callback for Linux/Android 2016-09-06 02:18:17 +02:00
twinaphex 4a5be82250 Update 2016-09-06 00:41:43 +02:00
Twinaphex ed5b82f4c2 (iOS) Buildfix 2016-09-05 18:52:52 +02:00
twinaphex 86d2a36407 (Win32) Buildfixes 2016-09-05 18:43:32 +02:00
radius 004e4caf66 [psp] needs uppercase basedir 2016-09-04 12:25:05 -05:00
radius 1e550dea56 [psp] fix dir creation again, use ms0:/psp/ as basedir 2016-09-04 03:03:30 -05:00
radius 831cd6d7a1 [psp] fix dir creation 2016-09-04 02:36:41 -05:00
radius 7da20f4d6c [psp] create dirs 2016-09-04 02:19:16 -05:00
radius 10cf48ebb6 [psp] cleanup 2016-09-04 01:55:22 -05:00
radius a6a6d878ee [psp] use bundle dir again 2016-09-04 00:26:05 -05:00
radius 26590bce9f [psp] separate userdata from internal app data 2016-09-04 00:02:49 -05:00
radius d6b507a0f8 [psp] change default path layout 2016-09-03 23:58:55 -05:00
twinaphex e106fd4374 Get rid of more general.h includes 2016-09-01 18:01:41 +02:00
twinaphex ff0d9326f9 (XDK) Dont' use sprintf_s 2016-08-29 21:23:33 +02:00
radius c75ab63c79 make save dirs persistent 2016-08-28 23:49:49 -05:00
radius 7dbc3d2498 fix 2016-08-28 23:24:04 -05:00
radius be6ddfa6d0 add default menu content 2016-08-28 23:21:29 -05:00
radius 9cfb6c971f (ems) change a few more settings 2016-08-28 23:11:57 -05:00
radius 5dc5ece52b (ems) change a few default settings 2016-08-28 23:03:49 -05:00
radius 8e362558bb (ems) build fix 2016-08-28 22:56:11 -05:00
radius e9676db61d (ems) build fix 2016-08-28 22:54:00 -05:00
radius a820aeadec try to use XDG for emscripten 2016-08-28 22:50:56 -05:00
orbea 376a78dc0c /usr/share/applications is for desktop files 2016-08-27 19:31:05 -07:00
twinaphex 63e1afc1cb - Copies over assets images to /usr/local/share/applications/retroarch/assets
(Linux) -  Upon first boot, it checks if the assets exists inside
/usr/local/share/applications/retroarch/assets or /usr/share/applications/retroarch/assets.
If it does, it will use these as the default location for assets and assets
should show up preconfigured on the fly. If not, it will set ~/.config/retroarch/assets
instead.
2016-08-28 04:11:18 +02:00
twinaphex f6598f8e38 Set default app dir to app0:/assets 2016-08-25 01:10:30 +02:00
twinaphex 501f619805 (Vita) Change default assets dir 2016-08-24 17:10:55 +02:00
Alcaro 6fe43f5823 Make this one a bit more robust 2016-08-22 14:25:20 +02:00
twinaphex cfb48542e3 (PS3) Add /dev/bdvd 2016-08-20 21:49:58 +02:00
twinaphex e51131303f Fix header include 2016-08-12 01:37:12 +02:00
twinaphex 2cf255328d (Vita) Add baked-in zlib
(Emscripten )Add platform driver
2016-08-10 23:04:46 +02:00
twinaphex e3acb88565 (Vita) Change heap to 192MB 2016-08-07 22:58:42 +02:00
Francisco José García García 9b6afcb6b1 (VITA) Add default configs dir 2016-08-05 02:12:12 +02:00
twinaphex 10ea53a113 (Vita) platform_psp.c - cleanup - change ifndef VITA to
ifdef VITA
2016-08-04 01:26:53 +02:00
twinaphex a9744f8def (Vita) Change heap to 128MB 2016-08-04 01:23:28 +02:00
twinaphex 85cb1f2a6f (Vita) Add ur0: too 2016-08-03 01:15:06 +02:00
Francisco José García García 16309c52f5 (VITA) Fix Quit Retroarch 2016-08-03 00:39:20 +02:00
twinaphex 86ea04bfe2 (PSP/Vita) Prevent warning 2016-08-02 03:15:11 +02:00
twinaphex 0ff82bd714 (XDK) Cleanup 2016-08-02 01:33:56 +02:00
twinaphex 4612e7e582 (CTR) Put core info files into separate dir 2016-08-02 01:30:35 +02:00
twinaphex 5da0945066 (GX) Put core info files into separate dir 2016-08-02 01:30:04 +02:00
twinaphex 90a0117578 (PSP/Vita) Put core info directory into separate dir 2016-08-02 01:27:25 +02:00
twinaphex 9b984398f7 (platform psp) Cleanups 2016-08-02 01:26:00 +02:00
twinaphex 37913d9343 (Shield) Comment this out - doesn't work for now - figure out why 2016-08-01 20:30:38 +02:00
twinaphex 9e8f5127e2 (General) Allow for platforms to set menu OK/cancel buttons individually
(Shield/Android) Set default OK/cancel buttons now to Shield A (OK)
and Shield B (Cancel), previous default was Shield A (Cancel),
Shield B (OK)
2016-08-01 14:20:47 +02:00
twinaphex b126b9627d (Android) When Android device is a game console, disable overlays by default 2016-08-01 14:09:04 +02:00
twinaphex ef604dbeb5 (platform_linux.c) Cleanup 2016-08-01 14:04:57 +02:00
Francisco José García García b0ff58e653 (VITA) New paths for Henkaku 2016-07-31 09:59:53 +02:00
twinaphex 06814f44d4 Always set core path like this 2016-07-30 16:32:34 +02:00
twinaphex 9780d68d8a (PS3) Separate dir for core info files 2016-07-30 14:59:24 +02:00
twinaphex 4f8d305235 (PS3) Implement frontend_ps3_process_args 2016-07-30 12:49:08 +02:00
twinaphex 12ad4e67dd Revert "Add enum_idx for most remaining settings"
This reverts commit e82a129fef.
2016-07-25 19:09:17 +02:00
twinaphex e82a129fef Add enum_idx for most remaining settings 2016-07-25 18:02:03 +02:00
twinaphex 31bcb3d6f8 (MaterialUI) Try to default to Shield color theme for Shields 2016-07-25 14:27:51 +02:00
twinaphex bd88b9d1d2 (Wii) Fix warnings / unused variables 2016-07-24 11:32:45 +02:00
twinaphex 16908435bb Create config_active_core_path_is_empty 2016-07-24 11:27:44 +02:00
twinaphex 2be127c04a Start wrapping settings->path.libretro 2016-07-24 11:12:26 +02:00
twinaphex 1ebeeeb725 (PS3) Playlists and history lists should save now again;
(HAVE_DYNAMIC not defined) libretro_path should get read from config file
to prevent instance where settings->path.libretro is empty, which lead to
history not being able to be pushed to
(History/Playlists) If we don't have core info files and core_name
is therefore blank, we should attempt
a fallback path so that it infers the name from the core basename instead
2016-07-23 00:15:37 +02:00
Alcaro a5098f19a1 Good point. Close #3224 again. 2016-07-16 18:46:38 +02:00
Alcaro 1e1f2cfee0 @yurivict: It's supposed to come from RetroArch itself, we refactored the signals recently and didn't really test it on the more unusual platforms. Close #3224. 2016-07-16 18:36:30 +02:00
twinaphex ea175fd26f Rename menu_entries_add_enum to menu_entries_append_enum 2016-07-13 01:17:09 +02:00
Yoshi Sugawara 9173397f08 iOS 10 support: cores need to be in the modules directory of app bundle, added script to code sign cores in modules directory 2016-07-10 09:02:40 -10:00
twinaphex 555c54bdb8 Should show 'rich' labels for Android filesystem choices 2016-07-08 17:11:15 +02:00
twinaphex e9dc729503 Create set_signal_handler_state 2016-07-08 12:48:01 +02:00
twinaphex 76cc6fd8ec Start implementing signal handler code once in frontend driver code 2016-07-08 02:38:33 +02:00
twinaphex 24bfad033f Update platform_bsd.c 2016-07-08 02:25:23 +02:00
twinaphex 05467443a2 Add destroy_signal_handler_state 2016-07-08 02:24:56 +02:00
twinaphex a735114780 Add get_signal_handler_state 2016-07-08 02:20:42 +02:00
twinaphex c8b7bc9845 Add platform_bsd.c 2016-07-08 02:13:19 +02:00
twinaphex 6cdc34e891 Add install_signal_handler callback 2016-07-08 02:10:40 +02:00
twinaphex f0f9847647 (Android) Warning fixes 2016-06-25 00:20:24 +02:00
twinaphex a6bfc6240f C89_BUILD fixes 2016-06-23 07:40:51 +02:00
twinaphex dee7533d65 (libretro-common) Start creating STRING_REP_ULONG 2016-06-23 07:37:02 +02:00
twinaphex 549bc8dc5e get_mem_used should now report more accurate values 2016-06-22 23:32:11 +02:00
twinaphex 003f1ba913 (PSP) Buildfix 2016-06-20 17:49:20 +02:00
twinaphex c2c59e8e16 Buildfix for consoles 2016-06-20 16:02:06 +02:00
twinaphex 35b078857d Create file_path_str.c 2016-06-20 05:20:14 +02:00
twinaphex 65dff0a03a menu_hash_to_str_enum has now become msg_hash_to_str 2016-06-20 00:31:13 +02:00
twinaphex b82f4daae9 Reimplement frontend_linux_get_mem_used 2016-06-19 00:15:04 +02:00
twinaphex 0d9b345ae0 Simplify frontend_linux_get_mem_total - get_mem_used still
wrong
2016-06-19 00:08:16 +02:00
twinaphex df57b3062a Correct frontend_linux_get_mem_total 2016-06-18 23:45:43 +02:00
radius 929f26742f respect 80 character limit 2016-06-17 09:43:51 -05:00
radius eb0ea9d738 logger is not available at this stage, use android logging here instead 2016-06-17 09:31:44 -05:00
radius b0932af025 fix internal storage messages 2016-06-17 09:27:39 -05:00
twinaphex ae2be8b53b Replace most menu_entries_add function calls 2016-06-16 22:03:12 +02:00
twinaphex 0ee7eeb450 Cleanup unused variable warning 2016-06-15 00:57:54 +02:00
twinaphex 3ca57ddd84 Correct frontend_win32_get_mem_used 2016-06-12 21:51:08 +02:00
twinaphex 8ddafd0023 Cleanup 2016-06-12 21:00:52 +02:00
twinaphex dae55553b7 Rename memory_free to memory_used 2016-06-12 20:50:03 +02:00
twinaphex 040798cdb9 (GX) Implement get_mem_total/get_mem_free 2016-06-12 20:46:51 +02:00
twinaphex 2b37c92a64 (Win32) Implement get_mem_total/get_mem_free 2016-06-12 20:39:23 +02:00
twinaphex 8431b63235 Exclude this code for OSX PPC for now 2016-06-12 18:52:30 +02:00
Twinaphex a01985273b Implement frontend_darwin_get_mem_free 2016-06-12 18:42:03 +02:00
Twinaphex 19d4498d2c (iOS) Buildfix 2016-06-12 14:17:07 +02:00
Twinaphex ae894fb015 Implement frontend_darwin_get_mem_total 2016-06-12 13:49:00 +02:00
twinaphex d7c2201385 Show memory information in System Information 2016-06-12 13:20:54 +02:00
twinaphex 9a25826ae9 Create get_mem_free callback 2016-06-12 12:44:28 +02:00
twinaphex f0e05ecbc8 Start adding get_total_mem callback 2016-06-12 02:33:07 +02:00
twinaphex 6e9a4ef4a0 Revert "use printf here instead"
This reverts commit fec9c0c42b.
2016-06-10 07:54:08 +02:00
radius fec9c0c42b use printf here instead 2016-06-10 00:40:53 -05:00
radius 53efdc11f0 improve platform driver logging for android 2016-06-09 22:59:36 -05:00
radius 6bd20c5aff try fixing android initialization 2016-06-09 20:02:04 -05:00
radius 490ba62973 log this later 2016-06-09 19:39:57 -05:00
radius 45fa93543c log path too 2016-06-09 19:29:22 -05:00
radius 7bab58b4bf use string is empty here too 2016-06-09 19:22:43 -05:00
radius a7ff4da4c5 android platform driver cleanup 2016-06-09 19:21:39 -05:00
twinaphex 2f133a6835 Cleanups 2016-06-03 04:32:18 +02:00
twinaphex f83dfb0621 (platform_linux.c) Prevent uninitialized scalar variable warnings 2016-06-03 04:27:42 +02:00
twinaphex 0c686e15db (QNX) Enable logging by default 2016-05-31 05:06:24 +02:00
twinaphex 5b52098c54 Reimplement verbosity 2016-05-31 04:42:04 +02:00
twinaphex a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex d5d2f7f8ee Fix resource leaks 2016-05-23 22:17:28 +02:00
twinaphex 091496f74d Add ARMv7 entry too 2016-05-18 22:09:01 +02:00
twinaphex 017ef3fef7 (Android) Implement other archs too 2016-05-18 22:06:28 +02:00
twinaphex f1d859b826 (Android) Use uname for determining architecture 2016-05-18 22:02:11 +02:00
twinaphex bb1d1da693 Remove runloop_iterate_data 2016-05-16 17:29:02 +02:00
twinaphex 4680d7059a (platform_linux.c) Cleanups 2016-05-14 16:34:28 +02:00
twinaphex ca0634e16d Check if file exists for all power management routines 2016-05-14 16:01:29 +02:00
twinaphex 2ea009d301 Check if power management file exists first before trying to
access it
2016-05-14 15:59:22 +02:00
twinaphex 90d7722125 Remove CMD_EVENT_QUIT_RETROARCH 2016-05-11 20:56:02 +02:00
twinaphex 95a6428915 RARCH_CTL_FORCE_QUIT is the same as RARCH_CTL_QUIT 2016-05-11 04:24:27 +02:00
twinaphex 9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex 1fdc547a97 Refactor performance.c - merge Android performance code 2016-05-10 20:20:44 +02:00
twinaphex 1bef3665e2 Cleanups 2016-05-10 20:06:38 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex 523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 13e67aa44e Create runloop_iterate_data 2016-05-08 06:29:11 +02:00
twinaphex 8a77ac1f04 (GX) Should not be used for Salamander 2016-05-05 18:23:18 +02:00
FIX94 dc4a114d36 (GX) fixed program crash when no argv structure is present on start 2016-05-05 16:47:44 +02:00
twinaphex c9eac5cdc0 (Frontend / Linux) Create config dir by default 2016-05-02 15:24:06 +02:00
twinaphex 1e47961420 Cleanups 2016-05-02 15:21:30 +02:00
twinaphex da6a301a6e (Frontend) Cleanups 2016-05-02 15:20:20 +02:00
Twinaphex 84f9a4c1d7 (OSX) Path fix 2016-05-02 15:10:20 +02:00
twinaphex 78c13f59d0 (iOS) Build fix 2016-05-02 14:52:26 +02:00
twinaphex da8a9bfeba Standardize config/remaps directories 2016-05-02 14:45:23 +02:00
twinaphex 6c243ef6fe Cleanups 2016-05-02 13:23:47 +02:00
twinaphex 3be2491232 (Windows 10) Windows 10 should be major number 10 2016-05-02 03:16:46 +02:00
Twinaphex e135f0b209 (iOS) Add default directory for playlists 2016-05-01 15:30:25 +02:00
Twinaphex 65dfddd910 (OSX) Start using Library/Application Support for config file settings 2016-05-01 15:28:45 +02:00
radius 1a9206ea51 android platform driver refinement 2016-04-30 16:39:29 -05:00
radius c0a97eeb60 Modified
android:
- save thumbnails on the sdcard if writable
- save cheats on the sdcard if writable
- save remaps on the sdcard if writable
- save playlists on the sdcard if writable

windows:
- stub out defaults for save/state/system
2016-04-30 14:33:02 -05:00
Jean-André Santoni 0c09050760 Keep thumbnails at the root, since they have their own repo, for the sake of consistency with libretro-fetch 2016-05-01 02:03:17 +07:00
radius cc215061fc fix wallpapers dir 2016-04-30 10:10:22 -05:00
radius 0ef416970c use relative paths whenever possible in the windows platform driver 2016-04-30 10:09:47 -05:00
Twinaphex f9417b9442 Merge pull request #2929 from lakkatv/master
Use autoconfig everywhere instead of autoconf
2016-04-30 16:28:11 +02:00
twinaphex 865e5b78dc (platform_linux.c) Cleanup 2016-04-30 16:12:37 +02:00
twinaphex 9a4eb1b3d1 Add HAVE_MENU ifdef 2016-04-30 16:11:28 +02:00
twinaphex 928767c5f3 (Win32) If built with OpenGL support, default to XMB menu driver 2016-04-30 16:11:17 +02:00
Jean-André Santoni 92985a4405 Use autoconfig everywhere instead of autoconf 2016-04-30 17:11:03 +07:00
Jean-André Santoni 7b8c108b5f (OSX) Add a default path for the thumbnails dir. May fix #2924 2016-04-30 14:33:57 +07:00
twinaphex 61d6fb57e6 Buildfixes 2016-04-28 20:55:26 +02:00
Twinaphex e3dfa361f0 (iOS/OSX) Buildfixes 2016-04-28 20:51:08 +02:00
radius 4734234dc5 fix win32 build 2016-04-28 09:00:43 -05:00
twinaphex 05d9e6a47d (Win32) Add default paths 2016-04-28 15:13:52 +02:00
sergiobenrocha2 7db1d2047b Sane default path for thumbnails [on linux]. 2016-04-23 19:20:16 -03:00
aliaspider 7f63016ccb (3DS) osSetSpeedupEnable should always be called. 2016-04-18 19:26:18 +01:00
aliaspider 0ffba39280 (3DS) restore state correctly when suspending/exiting app. (fixes #2207) 2016-04-18 16:38:32 +01:00
aliaspider 4994de806a (3DS) add more display modes for the top screen that can be controlled
by the 3D slider.
2016-04-17 20:10:21 +01:00
aliaspider 6be66507d6 (3DS) patch services access for xml takeovers. 2016-04-16 12:44:45 +01:00
aliaspider a5e2585fdc (3DS) update svchax. 2016-04-16 12:27:10 +01:00
aliaspider 864f9d7c2c (3DS) make svchax optional. 2016-04-16 12:06:37 +01:00
aliaspider 8bd789389f (3DS) better handling of argc/argv, fixes crash in CIA builds. 2016-04-15 22:40:34 +01:00
twinaphex 7e7a1fa5f9 Rename menu_entries_push to menu_entries_add 2016-04-11 05:49:39 +02:00
twinaphex 92dee9b3aa (Android) Refactor argc/argv passed to rarch_main 2016-04-05 23:45:31 +02:00
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
twinaphex 2e14d0979b Header include cleanups 2016-03-22 03:13:33 +01:00
twinaphex 1e3aba3494 (Linux) Buildfix 2016-03-22 01:58:51 +01:00
twinaphex 33b0a189f5 Changed this back - caused multiple warnings 2016-03-22 01:57:58 +01:00
Alcaro b4c6831b56 No need to copy that argument.
The copy also lacked the NUL terminator, wouldn't surprise me if it crashed. Let's just clean it up.
2016-03-22 00:01:25 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
radius 160118ff6c fix android build error 2016-03-17 20:31:33 -05:00
radius e02cc9ae5f make xmb default on atv 2016-03-17 20:10:03 -05:00
radius 6df0249d3e make xmb default on atv 2016-03-17 20:08:00 -05:00
Alwin Garside 97b60b1e20 Fixed emscripten build 2016-03-13 15:30:30 +01:00
twinaphex c3f3207b0d Cleanups 2016-02-25 19:33:46 +01:00
netux79 a2851ab70b (GX) Resolution Saving's Video Corruption Fix.
Also some cleanups for the RA GX version included.
2016-02-12 16:58:59 -05:00
twinaphex 3c2f7fadcc (GX) Fix 'Restart RetroArch' 2016-02-07 00:04:19 +01:00
twinaphex 609fa8394e (GX) Fix FRONTEND_FORK_CORE when game has already been selected 2016-02-06 18:18:17 +01:00
twinaphex 24354f477e (GX) Fix FRONTEND_FORK_CORE_WITH_ARGS 2016-02-06 18:06:49 +01:00
twinaphex f29c61bacc (Linux) Restarting of core in non-HAVE_DYNAMIC mode now properly
implemented
2016-02-05 19:16:35 +01:00
twinaphex 8c2ed9f750 Rename FRONTEND_FORK_SALAMANDER_RESTART to FRONTEND_FORK_RESTART
and call FRONTEND_FORK_CORE instead of FRONTEND_FORK_RESTART
when selecting a core from 'Load Core' list
2016-02-05 18:57:44 +01:00
twinaphex 6a64ab1137 (platform_linux.c) Try to stay within 80-char width limit 2016-02-05 18:53:01 +01:00
twinaphex 6130f20d47 (XDK) Reimplement fork mode 2016-02-05 18:47:27 +01:00
twinaphex 17f885d158 (PSP) Refactor fork mode 2016-02-05 18:43:23 +01:00
twinaphex 9e497c1b11 (PS3) Reimplement set_fork_mode 2016-02-05 18:40:24 +01:00
twinaphex d59ffbdd2c (GX/Untested) Reimplement set fork mode 2016-02-05 18:34:28 +01:00
twinaphex 5f3ae10f20 (Linux) Reimplement fork mode functionality 2016-02-05 17:58:50 +01:00
twinaphex d9113b8bc4 (Linux non-HAVE_DYNAMIC) Can now exit properly 2016-02-05 17:44:51 +01:00
twinaphex 58219f897a Dehardcode frontend_linux_exec 2016-02-04 18:28:42 +01:00
twinaphex be94309808 Use execv - seems to work 2016-02-04 17:56:34 +01:00
twinaphex 7a5db5a73a Reimplement frontend_driver_set_fork 2016-02-04 17:46:50 +01:00
twinaphex 332f48f2df Hardcode path for now as a test 2016-02-04 17:28:58 +01:00
twinaphex 84c3b5a546 Implement frontend_linux_exitspawn 2016-02-04 17:16:15 +01:00
twinaphex c3c14c162e Change signature of set_fork so that we can optionally implement
restarting RetroArch (or not)
2016-02-04 17:08:09 +01:00
twinaphex 8709657d4d Start implementing frontend_linux_exec 2016-02-04 14:10:29 +01:00
twinaphex a332643003 (Linux) Start adding frontend_linux_set_fork for non-HAVE_DYNAMIC 2016-02-04 11:25:13 +01:00
twinaphex f70a082626 Create event_cmd_exec - get rid of libretro_private.h 2016-02-03 16:58:06 +01:00
twinaphex d1957789bc (GX) Dehardcode some code here 2016-02-03 15:38:28 +01:00
twinaphex 674f17485d (CTR) Fix build 2016-02-03 15:27:31 +01:00
twinaphex d1097ed967 (PSP1) Buildfix 2016-02-03 15:26:35 +01:00
twinaphex 2f6f7d9308 (Gamecube) Silence warnings 2016-02-03 14:42:40 +01:00
twinaphex 0e7729c660 Create frontend_driver_get_salamander_basename 2016-02-03 13:36:00 +01:00
twinaphex 9a5ce5fdb3 Make HAVE_LIBRETRO_MANAGEMENT define obsolete 2016-02-03 12:31:29 +01:00
twinaphex 4456cb85f6 (Android) Use strstr for detecting devices by name 2016-01-29 10:56:05 +01:00
twinaphex 5cf576e2da Remove duplicate line 2016-01-26 09:30:51 +01:00
twinaphex d71c782459 Start getting rid of RETRO_ENVIRONMENT_SET_LIBRETRO_PATH 2016-01-25 03:04:42 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex a767031651 Use string_is_equal in more places 2016-01-20 04:11:25 +01:00
twinaphex 32d47d7bd2 Correct database paths 2016-01-18 15:29:47 +01:00
aliaspider 0b4fd4328d - add more heuristics to try to clean up the corrupted argv when using
the homebrew launcher.
- force align the stack pointer to 8 bytes.
- add --gc-sections to the link specs
2016-01-15 22:30:12 +01:00
twinaphex 3d74e7bda9 (OSX) Update paths for databases/cursors 2016-01-14 16:24:53 +01:00
twinaphex 885f4d5b05 (iOS) Change paths 2016-01-14 15:32:20 +01:00
Twinaphex bd07d88184 (OSX) Cleanup 2016-01-14 12:26:23 +01:00
twinaphex 2182fb9b13 (OSX) Fix Gestalt OSX version major/minor detection 2016-01-14 12:24:56 +01:00
twinaphex 65a3df278d Cleanup 2016-01-13 20:52:02 +01:00
Twinaphex aac630a021 (OSX) Implement OSX version number detection 2016-01-13 20:48:56 +01:00
Twinaphex f1923f9a84 (OSX) Fix frontend_darwin_get_name 2016-01-13 20:32:42 +01:00
twinaphex 08bca9017e Silence unused variable warning 2016-01-13 13:00:25 +01:00
twinaphex 457ce1ddf0 Add param to set_fork - for restart 2016-01-13 11:16:03 +01:00
twinaphex 028cfaa048 Attempt to fix 'Restart RetroArch' - move code to platform_gx.c 2016-01-13 08:43:08 +01:00
twinaphex 8caee50fcd (GX) Add way to handle power callback 2016-01-13 08:27:58 +01:00
twinaphex 27b84d349f N/A 2016-01-13 07:05:57 +01:00
twinaphex aa9f9004c5 Cleanups 2016-01-13 07:03:14 +01:00
twinaphex 772558921f Cleanups 2016-01-13 07:01:29 +01:00
twinaphex 58f01fed90 Cleanup 2016-01-13 06:59:01 +01:00
twinaphex 8fbd59b690 Cleanups 2016-01-13 06:38:20 +01:00
twinaphex 8257cb638a Remove this header 2016-01-13 06:32:57 +01:00
twinaphex 06812cc988 (PS3) Setup default RDB dir 2016-01-12 09:01:57 +01:00
twinaphex d3c82f433b Add more logs 2016-01-10 13:23:02 +01:00
twinaphex eeb7a33e7b Set extract_version_current instead of extract_version_last 2016-01-10 09:48:27 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
Twinaphex 948544ec42 Start setting up bundle assets extraction - looks for an assets.zip file 2016-01-10 02:21:35 +01:00
twinaphex 243487dd56 N/A 2016-01-10 01:53:45 +01:00
twinaphex 814838badf N/A 2016-01-10 01:52:54 +01:00
twinaphex fdb5f10c71 Check for assets.zip inside bundle 2016-01-10 01:48:41 +01:00
twinaphex 59cdd64267 (platform_wii.c) Remove this line 2016-01-02 20:14:36 +01:00
twinaphex c7eeb557fa (frontend) Start using string_is_empty 2015-12-26 07:45:19 +01:00
ctult cebb95b0e3 a bit of static analysis
possible memory leaks and null pointer dereferences
2015-12-24 23:04:15 -07:00
twinaphex 7a3df7cd90 remove this obsolete code 2015-12-25 06:20:53 +01:00
twinaphex 8b130b3866 Add RETRO_SIMD_POPCNT and RETRO_SIMD_MOVBE 2015-12-25 06:14:57 +01:00
twinaphex 8ecae597e9 reuse x86_cpuid from performance.c 2015-12-25 06:10:29 +01:00
twinaphex 8da07f277b Fix some bad typos from Google engineers 2015-12-25 06:03:16 +01:00
aliaspider 40ac911a05 build fix. 2015-12-24 21:17:44 +01:00
twinaphex a8c6fc150b Add RUNLOOP_CTL_DATA_ITERATE 2015-12-11 10:17:18 +01:00
twinaphex 23c13c0043 Delay reinit, gets rid of the remaining concurrency errors 2015-12-09 20:30:55 +01:00
twinaphex 94e1148d51 Cleanups 2015-12-09 20:15:55 +01:00