137 Commits

Author SHA1 Message Date
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
twinaphex
599f338d74 Use strcpy_literal for string literals 2020-09-21 00:36:07 +02: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
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
4ec216dc0b Get rid of file_path_str 2020-08-22 01:06:10 +02:00
twinaphex
855351de9e Reorder g_defaults, alignment 2020-08-16 04:38:02 +02:00
Guo Yunhe
e9916df9d0 Change keys to upper case 2020-06-02 10:28:00 +03:00
twinaphex
2d274f1369 Move accessibility features to platform frontend driver 2020-02-14 00:17:55 +01:00
twinaphex
85d64602ff Move retroarch_get_launch_arguments() function call outside
of frontend driver - should be called by Salamander too which
has no conception of RetroArch launch arguments
2020-02-01 17:42:18 +01:00
twinaphex
941b5f83f3 Prefer to use strlcpy/strlcat instead of strcpy/strcat 2020-01-30 22:14:50 +01:00
twinaphex
665b98bd28 (CTR) Buildfix 2020-01-06 20:09:59 +01:00
jdgleaver
569014c5d2 (Filebrowser) Fix file selection issues when starting from (or navigating to) the top level directory 2019-12-31 12:34:03 +00: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
127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
twinaphex
95ad896f9b Cleanups 2019-04-23 20:07:29 +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
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
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
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
jdgleaver
e27e1114c7 (3DS) Improve default configuration 2018-12-07 14:20:28 +00:00
Brad Parker
aa083d1e4c android: add configurable setting for Sustained Performance Mode 2018-06-19 02:50:33 -04: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
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
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
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
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
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
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
meepingsnesroms
f8b9c8fa6d Fix csnd corrupting dsp audio driver on failure, add 3dsx/smdh to gitignore 2017-12-26 05:31:51 -08:00
twinaphex
3f281bb31f Cleanups 2017-12-25 07:49:07 +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
twinaphex
9f2c15c17c (Frontend) Change MENU_SETTING_ACTION to FILE_TYPE_DIRECTORY 2017-05-26 16:45:28 +02:00
twinaphex
e2a6a7ad17 Add 'load_content' parameter to parse_drive_list 2017-05-26 15:52:38 +02:00
twinaphex
ccba9635b6 Update the way default directories are handled 2017-05-23 19:43:58 +02:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
2849e2aa79 Get rid of some more configuration.h includes 2017-01-17 15:46:36 +01:00
twinaphex
296b52744d Update remaining platform drivers 2016-12-13 01:45:01 +01:00
twinaphex
2a139b7d72 Add frontend_driver_attach_console/frontend_driver_detach_console 2016-10-09 17:15:50 +02:00