Commit Graph

4713 Commits

Author SHA1 Message Date
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
twinaphex
ae86cbaa3d Move non-Salamander code in frontend_driver.c outside to retroarch.c 2020-07-08 01:39:58 +02:00
Francisco Javier Trujillo Mata
9d2a1b5ac4 Improve dist scripts
Improve cores folder
Improve WaitTillDeviceIsReady
Now every single driver, init and deinit the IRX binaries
Improve platform PS2
Make salamander to open proper elf
2020-07-01 17:07:53 +02:00
twinaphex
6fcb97ee53 Some buildfixes 2020-06-30 08:37:41 +02:00
twinaphex
035d7dad12 Go through utf8 to utf16 functions 2020-06-27 01:10:45 +02:00
twinaphex
1ae20ea17c Style nits - turn macro names into upper-case - some while style nits 2020-06-26 20:00:19 +02:00
twinaphex
84781b7f3a Buildfix for targets that don't define HAVE_NVDA 2020-06-09 03:22:10 +02:00
Autechre
c9211aff57
Merge pull request #10820 from fjtrujy/newlibWithCDVD
Adding CDFS Support
2020-06-08 23:22:56 +02:00
Rinnegatamante
0644190121 [VITA] Added custom bubbles support. 2020-06-08 21:56:10 +02:00
Barry Rowe
35f1a4af8c Added nvda dynamic loading. 2020-06-07 19:46:22 -07:00
Francisco Javier Trujillo Mata
df4e715738 Clean Makefile dependencies 2020-06-07 19:43:18 +02:00
Francisco Javier Trujillo Mata
06606407f4 Add CDVDFS support back 2020-06-07 19:43:18 +02:00
twinaphex
88f7515d1d Cleanups, comments, style nits 2020-06-04 14:41:28 +02:00
Guo Yunhe
e9916df9d0 Change keys to upper case 2020-06-02 10:28:00 +03:00
twinaphex
56619d7276 Add more TODO/FIXME notes 2020-05-29 06:31:15 +02:00
jdgleaver
e44242db93 (Linux) Set default saves/save states/system paths 2020-05-28 12:09:46 +01:00
twinaphex
51b868b6a4 (Vita) Buildfix 2020-05-24 06:47:04 +02:00
Weedy Weed Smoker
80c1b54b52
Merge branch 'master' into International-translations-update 2020-05-23 03:14:09 +07:00
Francisco Javier Trujillo Mata
1eeb3dcf30 Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing) 2020-05-20 20:13:19 +02:00
twinaphex
e64b4c1d24 For gamepad-like console/Android TV devices - default to Ozone 2020-05-20 17:34:39 +02:00
twinaphex
d9ab59cb4a Comment out function that isn't used 2020-05-20 16:29:57 +02:00
twinaphex
4a20709645 (Win32) Cleanup accessibility_speak_windows 2020-05-20 16:26:39 +02:00
twinaphex
ad1aa59ce1 Cleanup != NULL comparisons 2020-05-19 21:15:06 +02:00
Autechre
1545285953
Merge pull request #10625 from phcoder/dosalam
Support for dos salamander
2020-05-13 09:29:37 +02:00
Vladimir Serbinenko
70c57beea9 Support for dos salamander 2020-05-12 17:39:04 +02:00
twinaphex
2ab7da36f2 (Win32) Style nits 2020-05-12 17:16:36 +02:00
twinaphex
cfd0731422 (PS3) Style nit cleanups 2020-05-12 17:11:51 +02:00
Vladimir Serbinenko
67c3c93aec dos fixes 2020-05-12 03:09:38 +02:00
twinaphex
e74161bc6c Change name of nvdaController.h 2020-05-10 08:51:25 +02:00
twinaphex
33cf0e160c Style nits 2020-05-07 20:13:02 +02:00
Roet-Ivar
ad34f4845b Added access to WiiU-formated storage to be browsed by RetroArch 2020-05-07 12:49:04 +02:00
Weedy Weed Smoker
7d849ac8fb
International: Add all the languages from Crowdin… 2020-05-02 13:29:17 +07:00
twinaphex
1eb612135b Revert "Revert "Take this out - cores that need usleep and such - address it in""
This reverts commit 7e3a400cb7.
2020-04-19 19:18:53 +02:00
twinaphex
7e3a400cb7 Revert "Take this out - cores that need usleep and such - address it in"
This reverts commit 48b6b4ca8e.
2020-04-19 18:54:05 +02:00
twinaphex
48b6b4ca8e Take this out - cores that need usleep and such - address it in
the core itself, or rewrite the reference so it uses libretro-common
sleeping functions instead
2020-04-19 18:15:47 +02:00
Barry Rowe
8988e2d34b Added additional return to accessibility_speak_windows 2020-04-17 14:07:28 -07:00
twinaphex
b91c342ff4 Buildfix MSVC 2010 2020-04-17 16:40:39 +02:00
Autechre
018a0baed6
Merge pull request #10401 from libretro/accessibility_menu_fixes
Accessibility menu fixes
2020-04-17 03:19:17 +02:00
Autechre
f5a8e16109
Merge pull request #10462 from phcoder/f1x
platform_unix: Fix overflow when computing total memory on i386
2020-04-17 01:48:59 +02:00
Vladimir Serbinenko
a029cb9fc5 Add usleep and sleep on Vita.
libstdc++ links against them under some circumstances. This is needed for
neocd
2020-04-17 00:58:01 +02:00
Vladimir Serbinenko
99e9a1ea0d platform_unix: Fix overflow when computing total memory on i386 2020-04-17 00:54:06 +02:00
Barry Rowe
adb5c4c7dd Moved SAPI code into a define. 2020-04-16 11:57:39 -07:00
Barry Rowe
289be872f3 Added in auto-translate support, fixes for ozone and glui accessibility, and support for nvda and SAPI narration. 2020-04-13 17:46:08 -07:00
Vladimir Serbinenko
5a2e4237c4 Fix qnx compilation 2020-04-01 16:49:44 +02:00
Vladimir Serbinenko
2fb7ba22e5 PSL1GHT port
Working:

* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video

Not working:

* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse

Not tested:

* A lot
2020-03-30 05:39:22 +02:00
twinaphex
0611581b28 (Win32) Remove this - hopefully it sets Ozone to default 2020-03-12 03:52:56 +01:00
twinaphex
0d543baa4b (Drivers context) Move more static global state to structs 2020-03-07 18:21:49 +01:00
twinaphex
e20151a048 Get rid of video_info struct for swap_buffers too 2020-03-06 22:29:51 +01:00
twinaphex
70d0c1ce6f Fix IOS build 2020-03-06 02:39:54 +01:00
twinaphex
d592959be8 When settings struct gets modified, go through macros to set
the modified flag
2020-03-05 13:00:43 +01:00
twinaphex
79536a4767 (Darwin) Remove hashing 2020-02-23 04:58:08 +01:00
twinaphex
8fe2fe7b62 (UNIX) Remove hashing dependency 2020-02-23 04:52:27 +01:00
valadaa48
2dbb13d8dd Add match on "battery" instead of just "BAT" to appease some unices
- required for odroid go advance
2020-02-22 22:16:57 -05:00
twinaphex
85c672a0f6 Settings pointer cleanups 2020-02-19 20:57:02 +01:00
twinaphex
09da302b8d Try to make it more portable for BSD 2020-02-16 19:37:59 +01:00
twinaphex
f0bdb61fd8 gfx_display and gfx_animation no longer tied to HAVE_MENU 2020-02-16 15:51:58 +01:00
Twinaphex
172f75e5c0 (OSX) Buildfix 2020-02-14 00:24:03 +01:00
twinaphex
df62b6d78f Buildfix 2020-02-14 00:19:54 +01:00
twinaphex
2d274f1369 Move accessibility features to platform frontend driver 2020-02-14 00:17:55 +01:00
twinaphex
59d6ad6b05 (platform_win32.c) Cleanup 2020-02-13 21:53:31 +01:00
twinaphex
0fd00ca82f Cleanup 2020-02-10 15:24:14 +01:00
twinaphex
880391d0c5 (libnx) Try to silence warnings 2020-02-10 12:36:11 +01:00
twinaphex
8627d638e1 Cleanups 2020-02-04 06:05:00 +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
c2852bdefe Get rid of useless return 2020-02-01 17:26:32 +01:00
twinaphex
ca83be1db4 Cleanups 2020-02-01 04:19:22 +01:00
twinaphex
96018412c0 Cleanups 2020-02-01 03:27:58 +01:00
twinaphex
941b5f83f3 Prefer to use strlcpy/strlcat instead of strcpy/strcat 2020-01-30 22:14:50 +01:00
twinaphex
4d36f0d356 Remove rarch_get_cpu_architecture_string - don't have two
functions that do more or less the same thing
2020-01-27 22:51:20 +01:00
twinaphex
e8bc606c20 Move netplay_get_architecture to frontend_driver.c 2020-01-27 16:39:36 +01:00
twinaphex
638b65c828 (platform_switch.c) Cleanups 2020-01-19 04:23:07 +01:00
twinaphex
e786059506 frontend_ctx_null - add missing function pointer 2020-01-15 09:11:17 +01:00
hizzlekizzle
9b2752ff07
Merge pull request #9896 from m4tsa/update-libnx
fix breaking changes from the 3.0.0 libnx release
2020-01-14 08:32:47 -06:00
twinaphex
665b98bd28 (CTR) Buildfix 2020-01-06 20:09:59 +01:00
twinaphex
56236f7372 Get rid of platform_null.c file 2020-01-06 15:35:35 +01:00
Mats A
ef2ddf6912 fix breaking changes from the 3.0.0 libnx release 2020-01-06 13:12:00 +01:00
Toad King
776568a429 fix images not loading in menu in emscripten
add changes to work with latest emscripten SDK
2020-01-02 21:29:25 -06: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
Themaister
15ffffa835 Android/Vulkan: Recreate swapchain on orientation change.
ANativeWindow getWidth/Height does not detect any changes when using
Vulkan, so use the old onContentRectChanged callback to get notified
when size changed. Use those values instead when figuring out how large
swapchain to create.

Tested trivially on Galaxy S9+ Exynos model.
2019-12-15 16:46:41 +01:00
driver1998
7519d3562b [UWP] Use GLUI on Windows 10 Mobile 2019-12-05 16:32:38 +08:00
driver1998
1bd9d503f0 [UWP] Add trailing backsplash to default dirs 2019-12-05 16:32:38 +08:00
driver1998
918b08e910 [UWP] Add ARM64 detection in get_os 2019-12-05 16:32:38 +08:00
driver1998
83cb526153 [UWP] Add get_user_language and get_cpu_model_name 2019-12-05 16:32:38 +08:00
Francisco Javier Trujillo Mata
e553e19996
Call pthread_terminate is if it is NO SALAMANDER 2019-11-23 12:54:45 +01:00
Francisco Javier Trujillo Mata
5a5640155a Call to the terminate function for the pthread on the deinit of the PSP platform 2019-11-21 19:13:33 +01:00
Nathan Strong
bff8e8204d Automatically rename asset directory
== DETAILS
For users upgrading--particularly via the online updater--we should
smoothly migrate them to the new name. If the "media" directory
exists and the "assets" directory doesn't, then rename "media" to
"assets".

== TESTING
none yet
2019-11-20 23:33:20 -08:00
Nathan Strong
4cd3934610 Change the default asset directory
On every other platform, retroarch uses "assets" but wiiu got stuck with "media"
and it's never been fixed.

So I'm fixing it.
2019-11-20 23:33:20 -08:00
Twinaphex
53d18cf95e
Merge pull request #9713 from Rinnegatamante/vitagl
Added gl1 video driver support to Vita build
2019-11-17 23:14:29 +01:00
Rinnegatamante
a30f7dc79f [VITA/PSP] Fix logging to file not working. 2019-11-12 19:46:37 +01:00
radius
3f88a49bdc linux frontend: add proper drives 2019-11-12 19:11:51 +01:00
Francisco Javier Trujillo Mata
c2c3ed6a76 Make logs works again for PSP 2019-10-16 00:46:14 +02:00
Twinaphex
6467d24070
Merge pull request #9548 from fjtrujy/ps2MemoryLeaks
[PS2] Fix memory leaks in Font and GFX Driver
2019-10-04 17:07:35 +02:00
Rinnegatamante
6a5af218c7 [VITA] Implement get_mem_total/free for the frontend. 2019-10-04 12:12:14 +02:00
Francisco Javier Trujillo Mata
c48ccdb1fc Fix memory leak in the PS2 GFX and PS2 Font 2019-10-03 23:41:56 +02:00
Rinnegatamante
fffc7597fd [VITA] Add system language detection. 2019-10-01 19:55:43 +02:00
twinaphex
1da7baa49d (Android) get_mem_free - different implementation for Android 2019-09-26 20:07:39 +02:00
rsn8887
c8c5b69b5e [SWITCH] Fix memory free and memory total reporting 2019-09-24 17:18:23 -05:00
twinaphex
473400902c Buildfix - apparently Switch memory reporting cannot be implemented
correctly
2019-09-25 00:08:28 +02:00
benoa
2bd71b55bc Wii/GC: free memory instead of used memory 2019-09-23 16:09:53 +02:00
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
LazyBumHorse
719555bae1 Overhaul shader loading logic, add --set-shader CLI option 2019-08-17 15:20:51 +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
twinaphex
a6d6c21e52 Rename config_file_new_null to config_file_new_alloc 2019-07-17 19:50:32 +02:00
twinaphex
0c31437c24 Create config_file_new_null 2019-07-17 18:27:53 +02:00
Twinaphex
986c1bb235
Merge pull request #9109 from yoshisuga/playlist_support_abbreviated_paths
[iOS] Playlist: support abbreviations for application/home directory
2019-07-16 16:07:49 +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
0a674a9a04 Move frontend.c into retroarch.c 2019-07-15 22:13:55 +02:00
twinaphex
691c884434 Cleanup frontend.c 2019-07-11 04:10:53 +02:00
twinaphex
e02ff9c40c (Win32) Reimplement PeekMessage implementation - this should be at the
start of the while loop
2019-07-11 03:49:33 +02:00
twinaphex
0a4bc116df Restore this code 2019-07-11 03:09:14 +02:00
twinaphex
f6497e8012 ui_application_t - we never use run except for Qt, so remove this
and move the code to frontend.c - also add a boolean variable to
ui_application_t to indicate whether an app is about to exit
2019-07-11 02:18:21 +02:00
twinaphex
4b7dcdc0a4 (Qt) If pointer is available, callback should work as well 2019-07-11 01:25:43 +02:00
twinaphex
78ac8918a8 Cleanup rarch_main 2019-07-11 01:06:24 +02: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
f061941456 Integrate record_driver.c into retroarch.c 2019-06-17 16:23:46 +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