Commit Graph

1379 Commits

Author SHA1 Message Date
twinaphex b94b9e2adb Go back to plain strlcpy/strlcat - probably best to look at
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex 3a39a51f11 (CTR/3DS) Properly report free RAM 2019-09-22 04:42:20 +02:00
twinaphex ed29c6f59c Start going for consistent memory representation - instead of
'memory used' needs to become 'memory free'
2019-09-22 03:57:59 +02:00
twinaphex 3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
twinaphex f192e8618f (Win32) Call the log window 'Logging Console' 2019-09-19 06:23:31 +02:00
twinaphex 1ced1b3f73 (Platform unix) Updates 2019-09-18 03:37:25 +02:00
twinaphex c2cad1f122 (platform_unix) Small cleanups 2019-09-17 01:33:54 +02:00
Brad Parker 4e9cd6ff3e win32: set menubar language to same as config 2019-08-29 16:36:09 -04:00
Brad Parker 3187eecf05 win32: fix user language detection 2019-08-29 14:36:14 -04:00
Yoshi Sugawara 41382b5f58 tvOS: support extracting bundled assets.zip on startup 2019-08-26 15:43:12 -10:00
Francisco Javier Trujillo Mata c987945b5e Apply some improvement preparing for new toolchain (#9330) 2019-08-19 20:36:15 +02:00
MrJs b60fa081a1
Add in more Apple Model numbers for RetroRating
Added in all current Apple Model numbers and set a base rating of 19. 
Will happily revise if someone can tell me how the ratings are calculated.
2019-08-12 21:28:39 -07:00
twinaphex ca3a80091a Cleanup runloop_iterate
NOTE/CHECK: Hopefully wiiu is unaffected by the change
in sleeping
2019-08-11 19:39:48 +02:00
Toad King 618da66073 emscripten: add hack to prevent ERRNO_CODES from being optimized away 2019-08-07 22:07:09 -05:00
twinaphex 9a89279ac2 Revert "Update platform_wiiu.c"
This reverts commit e13b58a077.
2019-07-29 02:43:52 +02:00
Twinaphex e13b58a077
Update platform_wiiu.c 2019-07-29 02:11:13 +02:00
twinaphex ba40af1dde (Android) android_app_entry - cleanup 2019-07-20 18:55:23 +02:00
twinaphex 4c69dad0ce Define DEFAULT_MAX_PADS inside config.def.h - get rid of the messy
MAX_PADS macros everywhere
2019-07-19 12:55:38 +02:00
Yoshi Sugawara dba1302360 Playlist (iOS): support abbreviating and expanding application and home directory paths so that playlist entries are valid across installs
iOS: add call to realpath() when setting directory to ensure expanding special chars in paths work; fixed braces style
2019-07-15 16:11:22 -10:00
twinaphex 212ff42ae0 (Gradle/Android Studio) Update
(Default threaded video setting) Remove
g_defaults.settings.threaded_video - could help Switch and Android
2019-07-10 12:21:18 +02:00
LazyBumHorse f5497a4249 fix some bugs found through Clang Static Analyzer:
- task_content.c, load_content_from_compressed_archive: fix use after free
 - platform_win32/uwp: fix frontend_..._get_powerstate never returning FRONTEND_POWERSTATE_NONE
 - platform_win32/uwp: fix whitespace
 - cheevos.c: fix potential use after free in a loop, just to be save
2019-07-04 21:15:19 +02:00
Twinaphex 048980e051
Update platform_unix.c 2019-06-24 05:18:28 +02:00
radius d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
twinaphex db4f0eff24 Cleanup 2019-06-19 05:28:20 +02:00
twinaphex ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex 127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
jdgleaver 05befb7175 (GEKKO) Update default paths 2019-06-12 10:41:11 +01:00
orbea cafc45d705 Remove duplicate code. 2019-06-02 22:25:20 -07:00
twinaphex 4862368b02 (Unix/Linux) Correct parse_drive_list (potential fix) 2019-05-31 07:11:10 +02:00
twinaphex 820ffb9d20 Cleanups - cut down on the rest of unnecessary filestream_exists calls
- only use filestream_exists immediately before filestream_delete or
any other genuine filestream-related operations - when just checking
if a path exists on the filesystem, just use path_is_valid - faster
2019-05-31 06:43:20 +02:00
twinaphex d37e610d70 (Switch) Stub this code out for now 2019-05-29 12:57:36 +02:00
radius d8c4c4e276 further cleanup 2019-05-28 16:29:49 +02:00
radius 5071a33cd3 simplify this mess
So this makes two basic changes:
1. Add a few extra dirs, hide root dir in the filesystem
2. Simplify the default dir selection code so it doesn't take three code blocks to change a dir

A few of the decisions here were weird.
This shouldn't affect anything for end users and makes the code more mantainable.

Log from the first run:

```
05-27 22:42:21.507 16529 16567 I RetroArch: jni_thread_destruct()
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV] Android version (major : 7, minor : 1, rel : 2)
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV] Checking arguments passed from intent ...
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: config file: [/storage/emulated/0/Android/data/com.retroarch.aarch64/files/retroarch.cfg] -->correct
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: current IME: [com.koushikdutta.vysor/.VysorIME]
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: libretro path: [/data/user/0/com.retroarch.aarch64/cores/]
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: android internal storage location: [/storage/emulated/0]
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: android picture folder location [/storage/emulated/0/Pictures] -->cleanup no longer needed
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: android download folder location [/storage/emulated/0/Download] -->cleanup no longer needed
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: APK location [/data/app/com.retroarch.aarch64-2/base.apk]
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: android external files location [/storage/emulated/0/Android/data/com.retroarch.aarch64/files]
05-27 22:45:27.586 16992 17046 I RetroArch: [ENV]: app dir: [/data/user/0/com.retroarch.aarch64]
05-27 22:45:27.586 16992 17046 I RetroArch: Testing permissions for /storage/emulated/0 -->correct
05-27 22:45:27.587 16992 17046 I RetroArch: Create /storage/emulated/0/.retroarch in /storage/emulated/0 true
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: application location: [/data/user/0/com.retroarch.aarch64]
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: default download folder: [] -->fixup
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: default savefile folder: [/storage/emulated/0/RetroArch/saves] -->correct
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: default savestate folder: [/storage/emulated/0/RetroArch/states] -->correct
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: default system folder: [/storage/emulated/0/RetroArch/system] -->correct
05-27 22:45:27.587 16992 17046 I RetroArch: [ENV]: default screenshot folder: [/storage/emulated/0/RetroArch/screenshots] -->correct
05-27 22:45:27.780 16992 17046 I RetroArch: [recording] youtube streaming key empty
05-27 22:45:27.781 16992 17046 W RetroArch: Using old --libretro behavior. Setting libretro_directory to "/data/user/0/com.retroarch.aarch64/cores/" instead.
05-27 22:45:27.781 16992 17046 I RetroArch: RetroArch 1.7.7 (Git 772d06f)
```

Also these are changed:

![image](/uploads/c7a68118e9d91567b135ded551f571ee/image.png)

Should be easier to navigate to other mountpoints
2019-05-28 16:29:41 +02:00
radius 87452b2eac fixup layout path on android, add some comments, move the order of the user directories 2019-05-28 16:29:36 +02:00
twinaphex fb22397835 (libnx) Turn rpng_load_image_argb into static function 2019-05-28 16:13:12 +02:00
twinaphex ebefe374b5 (platform_switch.c) Cleanups 2019-05-28 16:12:06 +02:00
twinaphex 8850f0735c (LIBNX) Try to fix libnx 2019-05-28 16:10:22 +02:00
jdgleaver 93917c72c7 (GX - Wii) Add default video/audio filter directories 2019-05-23 12:17:38 +01:00
twinaphex b8d27362e4 Fix C89 issues and avoid usage of ZeroMemory - is just memset 0 2019-05-21 06:08:33 +02:00
radius d0c8b3ccf4 restart works on linux too 2019-05-21 04:53:37 +02:00
twinaphex beda37e463 (platform_win32.c) Exclude this for Xbox 2019-05-21 04:32:56 +02:00
radius 95dbb040b0 add restart menu option
add sublabels

Add .gitlab-ci.yml

Update .gitlab-ci.yml
2019-05-21 04:25:34 +02:00
nia 443f5f907e platform_unix: Check whether LANG is defined before using it.
Fixes a segfault.
2019-05-18 13:11:10 +01:00
Brad Parker 37e2cb4ecc win32: sort language IDs by largest int first 2019-05-16 17:30:45 -04:00
Twinaphex 59d8d701a6
Merge pull request #8769 from natinusala/master
platform_linux: more flexible battery display
2019-05-13 01:59:53 +02:00
Twinaphex fbec6b84e8
Merge pull request #8529 from huwpascoe/mame_overlay
video_layout (mame artwork)
2019-05-13 00:42:26 +02:00
natinusala e128c06d2e platform_linux: more flexible battery display 2019-05-12 14:38:40 +02:00
plaidman 5eb2f7962d update CPU clock profiles and battery info for lakka-switch 2019-05-11 13:42:53 -04:00
Huw Pascoe 685aabb094 video_layout config 2019-05-11 09:58:46 +01:00
M4xw 6bfa3fa807 [LIBNX] Better Horizon Ver. Detection
-Save the current Path via frontend_switch_process_args (fixes loader)
2019-04-29 18:14:21 +02:00
twinaphex 161d4caa8f Get rid of two retro_assert calls 2019-04-28 15:16:42 +02:00
Ghabry 4390317992 Revert "(UWP/WinRT)"
This reverts commit b43b3e2bb0.
2019-04-27 15:01:01 +02:00
twinaphex b43b3e2bb0 (UWP/WinRT)
- Disable VFS for now - seems to be very problematic right now
- Move uwp_is_path_accessible_using_standard_io to file_path.c
since it seems to have no VFS dependencies, and rename it to
is_path_accessible_using_standard_io so it could possibly be later
used for other platforms as well that also have sandboxed filesystems
2019-04-27 09:20:19 +02:00
M4xw ca80a3a4da [Libnx] Toolchain related changes
-Remove switch_pthread - It should be no longer used
-Increase SAVE_STATE_CHUNK to 4MB
-Fix overclocking on Horizon 8.0+

Note: This requires the updated Toolchain before Merge
2019-04-26 21:58:40 +02:00
twinaphex 59b45f7812 Start making HAVE_OPENGL_CORE independent 2019-04-24 03:23:57 +02:00
twinaphex 95ad896f9b Cleanups 2019-04-23 20:07:29 +02:00
twinaphex 563253f268 More work to make HAVE_OPENGL1 independent 2019-04-22 22:59:48 +02:00
twinaphex 7372bafb44 Remove RARCH_CTL_SET_LIBRETRO_PATH 2019-04-21 06:03:02 +02:00
Twinaphex be7356ec6d
Merge pull request #8590 from bparker06/default_lang
Set language to OS/user default on first startup
2019-04-16 14:07:53 +02:00
Brad Parker a5e52bd3c7 android: set preferred OS language on first start 2019-04-16 02:09:38 -04:00
Brad Parker ffb07f3076 win32: set default language to OS preferred language on first start 2019-04-16 00:42:29 -04:00
Brad Parker 1ecc5fd9d1 unix: only set default language if support for multiple languages is compiled in 2019-04-16 00:41:59 -04:00
Brad Parker aa588dec35 set default language on first startup according to OS setting (initial *nix implementation) 2019-04-15 23:14:49 -04:00
jdgleaver 54e1711f9a (3DS) Sanitise/Improve display mode selection 2019-04-15 17:05:55 +01:00
jdgleaver 2c65068be0 More 'Log to File' Additions:
- Add optional timestamped log files

- Handle errors if log file cannot be opened

- Android: flush log file immediately

- 3DS: log to file tested and fully working

- Default log paths added for all platforms
2019-03-25 17:22:59 +00:00
jdgleaver 93506a0d18 Log to file improvements 2019-03-21 16:57:54 +00:00
radius 8fd0aedc56 add log to file settings 2019-03-17 14:28:17 -05:00
Francisco Javier Trujillo Mata b1846ee449 [PS2] CDFS Improvements 2019-03-16 15:32:11 +01:00
Francisco Javier Trujillo Mata 8d1adbc6ee Cleaning no needed functions and library 2019-03-15 20:19:14 +01:00
Francisco Javier Trujillo Mata adf2743464 Implement CDFS and custom file descriptor support 2019-03-15 20:19:14 +01:00
Francisco Javier Trujillo Mata 4c24a17119 Extract IRX variables 2019-03-15 20:19:14 +01:00
Francisco Javier Trujillo Mata f75f8482f8 Use bin2c for compiling IRX 2019-03-15 20:19:14 +01:00
bparker06 970404dc28
ios buildfix 2019-03-14 08:37:52 -04:00
Brad Parker 44a06d69a6 android: add gamepad rumble support 2019-03-13 03:32:18 -04:00
Brad Parker 954c54baee add device vibration option for cores that support rumble (with initial android implementation) 2019-03-12 13:07:16 -04:00
Brad Parker f6dc7f4f02 android: add option to vibrate on touch 2019-03-10 21:36:52 -04:00
Francisco Javier Trujillo Mata 27ab4ac78b [PS2] Some audio improvements 2019-03-06 20:11:15 +01:00
Twinaphex 1414bffa8e
Merge pull request #8399 from fjtrujy/master
[PS2] Implement Pitch support in the ps2_gfx
2019-03-04 19:46:23 +01:00
Francisco Javier Trujillo Mata 8316d073bc [PS2] Implement Pitch support in the ps2_gfx 2019-03-03 14:08:12 +01:00
MrJs b0cc374185
fix iOS/tvOS build
if/else around retroarch/frontend/drivers/platform_darwin.m:743:4: Implicit declaration of function 'cpu_features_get_model_name' is invalid in C99
2019-03-02 18:51:36 -08:00
Francisco Javier Trujillo Mata 6d2bba220f [PS2] Improvements with the device detection and different folder to save config 2019-03-02 16:06:36 +01:00
Francisco Javier Trujillo Mata 43ff843757 [PS2] Now Files IO works for USBs and Hosts (net) 2019-02-28 14:19:16 +01:00
Francisco Javier Trujillo Mata 3ec2ec2e11 Fix load state issue 2019-02-26 23:48:37 +01:00
Francisco Javier Trujillo Mata 20aae8a3b7 Use CWD to get the DefaultDir 2019-02-26 18:47:20 +01:00
Brad Parker 1c9ac4e825 osx: add cpu model name 2019-02-23 17:29:08 -05:00
Brad Parker e22148fed4 show cpu model name in log, implemented for x86/64 on windows/linux so far 2019-02-23 16:50:42 -05:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
Brad Parker f5f492845f add setting for screen orientation, with initial android implementation 2019-02-21 00:31:55 -05:00
Francisco Javier Trujillo Mata b8e2216dd4 Improvement the use of the palette 2019-02-17 23:29:16 +01:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
orbea 4c56167446 Convert to linux line endings. 2019-02-03 15:43:42 -08:00
Yoshi Sugawara 1ca3bcf21d Merge remote-tracking branch 'upstream/master' into ios-cleanup 2019-02-03 09:00:22 -10:00
Yoshi Sugawara 11bf1e05b1 remove logging code 2019-02-03 08:59:24 -10:00
twinaphex 85708b7ef8 (Emscripten) Buildfixes 2019-02-03 17:15:18 +01:00
Yoshi Sugawara 57c6686a19 fixed setting CFDocumentDirectory to not be iOS specific and respect other apple environments 2019-01-30 00:35:51 -10:00
Yoshi Sugawara a18512375b Support for tvOS
- add tvOS target
    - support code signing tvOS cores by adding an argument to the code signing cores script
    - use NSCachesDirectory for the documents directory
    - add some mfi controller handling logic to set non-game controllers to the last index to avoid interfering with operation
    - autodetect mfi controller for apple tv on startup - added autodetect to hid joypad
    - added a webserver to transfer files for tvOS
    - xcode: clean up project, remove unused folders
    - remove HAVE_MATERIALUI setting for tvos build, make it use XMB as default
    - added retroarch app icon courtesy of @MrJs
    - added auto-detect of mfi controller for apple tv
2019-01-29 10:13:46 -10:00
Twinaphex 556b7b19de
Merge pull request #8025 from krzys-h/uwp-storagefile
(UWP) StorageFile implementation
2019-01-27 08:33:17 +01:00
Francisco Javier Trujillo Mata 5ee7921b65 Add CDFS support 2019-01-26 14:21:51 +01:00
krzys-h a116bb908e (UWP) Support access through the file picker 2019-01-17 11:48:09 +01:00
krzys-h 9188cc1a73 (UWP) Add broadFileSystemAccess support 2019-01-17 11:08:02 +01:00
Twinaphex ac04c1bfc5
Merge pull request #7892 from Datamats/libnx_nwindow
libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api
2019-01-08 23:36:20 +01:00
Twinaphex 40997473ed
Merge branch 'master' into orbis2 2019-01-08 20:18:08 +01:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Francisco Javier Trujillo Mata 9370fb604d Enable 2 controller for PS2 Driver (multiplayer is not implemented yet) 2019-01-08 00:28:14 +01:00
Mats 462a4b24fd libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api 2019-01-07 15:03:44 +01:00
Francisco Javier Trujillo Mata d5a8c30dfe PS2 Timing Improvement 2019-01-05 18:47:39 +01:00
Francisco José García García 433ae4d7fc [ORBIS] Fix for loading content 2019-01-03 21:46:29 +01:00
psxdev d0d49aa581 [ORBIS] added orbisFile initialization and standard for host directory structure 2019-01-03 21:23:44 +01:00
twinaphex 42d5c0037e Create separate platform_uwp.c 2019-01-03 13:55:43 +01:00
twinaphex e53ac5b38b (PS2) platform_ps2.c - style nits 2019-01-03 13:34:12 +01:00
Francisco Javier Trujillo Mata 56207bd08e Improvement in:
* Makefile.ps2
* ps2_gfx
* ps2_platform
* ps2_audio
2019-01-03 13:16:28 +01:00
Francisco Javier Trujillo Mata 1591bc2db2 Create Audio Driver from PS2 2019-01-03 13:16:27 +01:00
twinaphex 8b0f7051ac (MSVC 2003) Buildfix 2019-01-03 11:45:24 +01:00
twinaphex 9c5c0aea58 Start replacing WinRT ifdefs so that Windows Phone 8 can be detected
too
2019-01-02 13:30:58 +01:00
benoa b5eedbaed7 Fix .cfg not found with external loaders. 2018-12-31 18:50:58 +01:00
Francisco José García García 63044b204e [ORBIS] Remove main 2018-12-31 17:45:32 +01:00
Francisco José García García 4ad083cb97 [ORBIS] Update input driver 2018-12-30 14:00:18 +01:00
Twinaphex 22e54dfc6b
Merge pull request #7839 from frangarcj/orbis2
[WIP] ORBIS / PS4 Port
2018-12-30 01:04:50 +01:00
Francisco José García García 3aa8d22238 [ORBIS] Fix main 2018-12-30 00:09:44 +01:00
krzys-h b201d669b5 First iteration of UWP support
Enough to kind of run

Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
Francisco José García García f02ef2e0c6 [ORBIS] Initial Platform driver + minor changes 2018-12-27 20:17:48 +01:00
Francisco Javier Trujillo Mata 282e688ee6 Cleaning not needed libraries for the PS2 2018-12-26 14:17:25 +01:00
Francisco Javier Trujillo Mata 90ba2df972 Put proper license in the files for the PS2 development 2018-12-26 13:48:48 +01:00
radius bcfa332be9 stop litering emmmc for temporary files 2018-12-25 20:18:19 -05:00
jdgleaver e27e1114c7 (3DS) Improve default configuration 2018-12-07 14:20:28 +00:00
M4xw 8764d7be28 [LIBNX] Implement Over-/Downclocking and minor fixes 2018-11-29 18:42:44 +01:00
natinusala 9cad7135a9 libnx: implement focus gain and loss callbacks 2018-11-28 14:11:42 +01:00
Royerson 6044044852
add CM9/10 default model names for Xperia Play 2018-11-19 10:25:11 -07:00
Francisco Javier Trujillo Mata 17d30f9dd5 Use SDL timer for counters and sleep the thread 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata 802c38bd92 Fix why default entries doesn't appear 2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata fc9cd8f639 JoyPad implemented 2018-11-09 22:40:50 +01:00
Francisco Javier Trujillo Mata 0880bd00b0 PS2 is compiling with null drivers 2018-11-09 22:40:50 +01:00
Stuart Carnie 98e6adcfca
chore(cocoa): Remove Gestalt compiler warnings for macOS 10.13+ 2018-11-06 07:56:04 -07:00
natinusala 49082a8c80 libnx: enable video recording 2018-11-01 01:55:05 +01:00
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