Commit Graph

1322 Commits

Author SHA1 Message Date
twinaphex f6a8480f21 (platform_psp.c) Switch to strlcpys instead of sprintf 2021-05-18 13:57:23 +02:00
twinaphex d228e5f759 Small style nits 2021-05-17 15:58:04 +02:00
mudlord 3b8bd1a6e8 There. 2021-05-16 18:28:59 +10:00
mudlord 734401440d People are never happy. 2021-05-16 18:20:52 +10:00
mudlord 9fbf3b9732 Whoops 2021-05-16 17:58:43 +10:00
mudlord 67b180d63d Look into fixing CVE-2021-28927 2021-05-16 17:55:14 +10:00
GavinDarkglider f24f827c4c
Updates For Lakka Switch build. (#12369) 2021-05-07 20:58:30 +02:00
MrHuu a58236d69d (3DS) Change default asset directory 2021-04-28 19:59:03 +02:00
MrHuu 1235a7435e (3DS) Enable gfx_widgets / overlays 2021-04-24 15:36:03 +02:00
twinaphex d024ff553f Cleanups 2021-04-10 20:47:04 +02:00
twinaphex 9758d56c26 Buildfix 2021-03-26 22:13:25 +01:00
twinaphex f3b008f093 * Take out HAVE_UPDATE_CORES for iOS9
* If HAVE_UPDATE_CORES is defined, then set Core directory to <home dir>/cores,
otherwise set it to <bundle>/modules
2021-03-26 21:58:49 +01:00
twinaphex b3a4e598e2 (iOS) Implement frontend_darwin_get_arch - will report correct architecture
now under System Information
2021-03-22 12:16:43 +01:00
twinaphex e5ca68a518 Simplify video_driver_get_ptr 2021-03-21 17:33:44 +01:00
David Guillen Fandos e1385c0187 Adjust brightness according to the limit
Seems like some platforms feature non-standard maximums, but the
variable is correclty exported for us to use
2021-03-20 22:19:28 +01:00
twinaphex c8104d2542 Go with home_dir_buf codepath for tvOS for now - going to assume this is
intended
2021-03-15 02:06:32 +01:00
twinaphex da7109265c Add more portable way of getting OS version major/minor without using objc_msgSend_stret
(breaks on macOS/AArch64) by using NSInvocation - credit to OpenJDK
2021-03-15 00:45:38 +01:00
C.W. Betts 886df798a7
Update platform_darwin.m
Add Apple Silicon detection.
Fix a leak with NSTemporaryDirectory() on ARC code.
2021-03-14 04:24:33 -06:00
Yoshi Sugawara a142f3b852 Support bundle assets extraction for macOS; Fix to only extract assets once on first install; Change cores, assets, other directories to default to application support directory instead of app bundle 2021-03-11 23:12:52 -10:00
twinaphex 6809655338 (OSX) Set audio_filters/video_filters for RELEASE_BUILD 2021-02-17 07:46:15 +01:00
Francisco Javier Trujillo Mata c195fe696c Remove not used bootDeviceID 2021-02-13 21:10:51 +01:00
Francisco Javier Trujillo Mata 7c4efa21c4 Fix double slash in PS2 2021-02-13 21:00:47 +01:00
Francisco Javier Trujillo Mata 6248d2cdff Improve platform_ps2 driver 2021-02-07 21:05:06 +01:00
Francisco Javier Trujillo Mata 34287ff47b Improve folder detection 2021-02-06 20:43:28 +01:00
Francisco Javier Trujillo Mata 082fa22b05 Clean all the warnings in PS2 2021-01-30 15:47:52 +01:00
AKuHAK 3c0633839f
(PS2) added Multitap support (up to 8 players) (#11928)
* (PS2) added Multitap support (up to 8 players)

* (PS2) revert some identation changes

* (PS2) fix for non-analog controllers
* fix for not recognized digital and other non-standart controllers
* fixed ps2_joypad_destroy
2021-01-24 00:04:04 +01:00
twinaphex fdfc4dda08 (OpenDingux) Don't build in code that we don't need for Dingux 2021-01-20 09:56:40 +01:00
twinaphex c7e8d2adf5 Silence warnings for some console platforms 2021-01-20 08:53:45 +01:00
pcjco 3e4aca8666
Issue when argv[0] is usb1:/... on Wii
When RA dol file launched from Wiiflow, getcwd return nothing, dirs[DEFAULT_DIR_CORE] is empty and RA "info", "autoconfig",.... dirs are on root /
This seems to be because argv[0] is starting with "usb1://...dol" (maybe incompatible libfat)
This patch allow to default dirs[DEFAULT_DIR_CORE]  on Wii to the dirname of the DOL in such cases.
2021-01-19 22:47:17 +01:00
Francisco Javier Trujillo Mata 3f91423a3a Remove legacy way of using logs for PS2 and PSP platform 2021-01-19 14:31:45 +01:00
twinaphex 1ea46ea171 (Unix) Fix build 2021-01-16 16:37:52 +01:00
twinaphex 4c51e31b9d (Platform) Cleanups + add missing function pointer bind for Darwin 2021-01-16 16:14:03 +01:00
Francisco Javier Trujillo Mata c138135684 Removed not used poweroff library 2021-01-15 21:03:54 +01:00
Francisco Javier Trujillo Mata 0dbd0fd492 Disable warning and solve an issue with the cwd 2021-01-15 14:19:27 +01:00
Francisco Javier Trujillo Mata 0a81313292 Disable CDFS for debug compilation 2021-01-13 19:54:04 +01:00
Francisco Javier Trujillo Mata 330f5d6b4a Remove some IRX modules not used, and use original name instead of symbolic links 2021-01-13 19:54:03 +01:00
OsirizX b96a0c495a [VITA] Add support for Vita GLES2 (PIGLET) 2021-01-06 19:14:30 +01:00
jdgleaver be1c7b8e4c (.gitlab-ci.yml) Add Emscripten target 2021-01-06 14:42:06 +00:00
jdgleaver b5feb2d48b (.gitlab-ci.yml) Use xenial-gcc9 build container + add missing artefacts 2021-01-05 11:19:05 +00:00
MrHuu e6c035de7d (3DS) Update error applet 2021-01-04 20:15:28 +01:00
MrHuu 25dd77a0f5 (3DS) Enable online updater
- set directory defaults
2020-12-29 17:44:59 +01:00
twinaphex 3b5bd7c63d Cleanup 2020-12-27 20:59:58 +01:00
twinaphex 7145ec4793 Revert "Try to avoid objc_msgSend"
This reverts commit 0733fd41aa.
2020-12-27 18:05:45 +01:00
twinaphex 0733fd41aa Try to avoid objc_msgSend 2020-12-27 17:58:00 +01:00
twinaphex 51f0d04569 Update 2020-12-20 16:41:44 +01:00
MrHuu 58cb2b6cc4 (3DS) guard treading 2020-12-09 00:48:45 +01:00
David Guillen Fandos 192d131020 Fix Lakka build in !switch !oga2 platforms 2020-12-03 16:13:22 +01:00
David Guillen Fandos a442696b71 First attempt at adding proper brightness
Supports Switch and OGA
2020-11-26 19:22:05 +01:00
Autechre 54eb22dd2b
Merge pull request #11606 from Scrumplex/feat-run-media
Also show /run/media or /run/media/$USER in drives list
2020-11-25 16:04:52 +01:00
David Guillen Fandos f5693f15e7 Make get_lakka_version available in all builds
This simplifies a bit the code, for some new lakka patches to come.
2020-11-23 18:44:24 +01:00
Sefa Eyeoglu e3dc9a7e1d feat: also show /run/media or /run/media/$USER in drives list 2020-11-22 14:25:46 +01:00
crystalct fe0fcb7617
Fix Ps3 build. 2020-11-21 00:34:30 +01:00
twinaphex 3ac75c043e Jdgleaver improvements 2020-11-20 03:55:55 +01:00
twinaphex 9ee1e33e09 Only attempt to call dir_check_defaults once per runtime session
when calling the frontend environment get callback - we want to
look at the 'default' directories, and then if they don't yet exist,
auto-create them so we can store files in them.
2020-11-19 07:10:22 +01:00
cyee bcc7dde90d VITA: proper handling of boot params 2020-11-18 08:22:39 +01:00
Francisco José García García e943ac262f [VITA] Remove old threading workaround 2020-11-15 09:41:37 +01:00
twinaphex cc5fdb326b (UWP) Don't default to XMB by default 2020-11-13 00:10:47 +01:00
cyee 1541303574 fix code review comment 2020-11-08 01:15:59 -08:00
cyee 9e9e9af8dd VITA: fix crash when boot params is missing 2020-11-07 14:03:12 -08:00
Autechre 4b182446e9
Revert "VITA: fix crash when started with missing boot params" 2020-11-07 10:01:56 +01:00
cyee 186cae258d fix crash when started with missing boot params 2020-11-06 13:23:53 -08:00
jdgleaver 3e52f318d5 AI Service fixes 2020-10-22 15:59:26 +01:00
Tony Jansson 39b194d306 Clean vs reset configuration matching redux 2020-10-17 22:15:49 +03:00
Autechre 4fd92ec667
Revert "Clean vs reset configuration matching" 2020-10-17 19:02:28 +02:00
Tony Jansson 1825f52353 Clean vs reset configuration matching 2020-10-17 00:09:06 +03:00
twinaphex ba6d575d78 Cleanup 2020-10-16 01:07:04 +02:00
jdgleaver 2bc705144f OpenDingux: Update default directory paths 2020-10-08 16:15:46 +01:00
jdgleaver 3bd66cc14d OpenDingux port improvements: Phase 1 2020-10-01 15:56:14 +01:00
twinaphex 9aa008834e Use strcpy_literal 2020-09-21 01:00:40 +02:00
twinaphex 98e9109d45 use strcpy_literal for string literals 2020-09-21 00:59:37 +02:00
twinaphex 7e0e3144be Cleanups 2020-09-21 00:55:05 +02:00
twinaphex b0c744c3d0 Turn some variables static that are not used outside the source
file
2020-09-21 00:52:32 +02:00
twinaphex 599f338d74 Use strcpy_literal for string literals 2020-09-21 00:36:07 +02:00
twinaphex eefcd0e99f Use strcpy_literal in more places 2020-09-20 00:12:54 +02:00
jdgleaver 34e08a688f (Sensors API) Android (crash-)fixes/improvements + add option to disable sensor input 2020-09-14 17:52:45 +01:00
Autechre 33a04a794f
Merge pull request #11312 from justinweiss/3ds-enable-threading
[3DS] Enable threading and add a threaded audio driver
2020-09-10 06:50:12 +02:00
Autechre 2d3c63f545
Merge pull request #11248 from justinweiss/update-libctru
[3DS] Update to libctru 2.0
2020-09-10 06:49:54 +02:00
twinaphex b48b751a3c Rewrite set_rumble function 2020-08-29 23:33:13 +02:00
jdgleaver 4799d2d955 (Android/Play Store) Add frontend support for core installation via Play Feature Delivery 2020-08-28 16:30:54 +01:00
Justin Weiss f53c137459 [3DS] Enable threading 2020-08-27 19:36:39 -07:00
Justin Weiss 9ae2514009 [3DS] Update to libctru 2.0
Set USE_CTRULIB_2=1 to build with libctru 2.0. When unset, this code
is compatible with the older toolchain.

Some 2.0 changes addressed rare problems in earlier versions:

- Save / restore stack pointer for init / exit
  Otherwise, it could be outside of the range we deallocate.
- Run aptMainLoop in the audio driver to react correctly to sleep events

Other changes for 2.0:

- Remove ninjhax1 -- requires outdated APIs that have been removed
- Switch from __sync_arbiter to syncArbitrateAddress
- Use implicit gxCmdBuf
- Use gpuPresentBuffer for double buffering
2020-08-26 19:08:12 -07:00
twinaphex 00b4d62460 Cleanup 2020-08-26 19:37:07 +02:00
twinaphex ff8daa29a3 Add TODO/FIXME note 2020-08-26 19:02:48 +02:00
twinaphex 4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
twinaphex 5166eebcaf for loop cleanups - use space after 'for' 2020-08-19 03:06:22 +02:00
twinaphex 79db13d5e7 Cleanup 2020-08-18 15:42:17 +02:00
twinaphex 855351de9e Reorder g_defaults, alignment 2020-08-16 04:38:02 +02:00
twinaphex ec57160709 (XB) Fix Salamander 2020-08-02 09:35:34 +02:00
twinaphex 602ea99c96 Fix 360 Salamander 2020-08-02 09:33:32 +02:00
twinaphex 2ab779f3b5 Buildfix 2020-08-01 18:00:07 +02:00
twinaphex 573f9e60c7 (libnx) Prevent some warnings 2020-07-31 10:54:57 +02:00
twinaphex d93cf0d9dc Cleanups 2020-07-24 04:44:49 +02:00
Francisco José García García 49b7a03335 (VITA) Rename frontend_psp_get_mem_used to free 2020-07-23 21:04:49 +02:00
twinaphex eba83390ba Warning fixes 2020-07-23 07:39:08 +02:00
twinaphex a3242daa5d Silence more warnings 2020-07-23 05:51:04 +02:00
twinaphex b929553231 - Silence 'variable might be used uninitialized' warning
- PS2 - Add TODO/FIXME note
2020-07-23 05:02:52 +02:00
jdgleaver aefeae4b50 (Linux/Android) Fix reporting of free memory 2020-07-20 16:22:12 +01:00
Hugo Hromic 3d356a46d5 (Drivers/Frontend/Win32) Report "free" memory instead of "used" as per driver contract. 2020-07-18 19:28:36 +01:00
twinaphex 501f737249 (Android) Split up Android context driver into two - GL and Vulkan 2020-07-17 13:45:37 +02:00
twinaphex 6b466c6013 Cleanups 2020-07-09 07:46:40 +02:00