twinaphex
f7ad73b494
No more leak in CFSearchPathForDirectoriesInDomains
2021-08-07 21:25:18 +02:00
twinaphex
8e46e46a40
Simplify CFSearchpathForDirectoriesInDomains - one less leak - not
...
out of the woods yet though
2021-08-07 21:14:38 +02:00
twinaphex
722e36001f
Simplify CFSearchPathForDirectoriesInDomains
2021-08-07 21:05:22 +02:00
twinaphex
8a037a3091
Cleanup CFSearchPathForDirectoriesInDomains
2021-08-07 20:35:27 +02:00
twinaphex
b513a3d166
(OSX) Prevent crash on startup on OSX Platforms with no ARC
...
enabled - CFSearchPathForDirectoriesInDomains - CFTypeRef
returned by NSSearchPathForDIrectoriesInDomains should not
be freed
2021-08-07 18:24:46 +02:00
twinaphex
f459472f6d
Fix leaks - we were not honoring the ownership policy/create rule
...
for various CoreFoundation functions with 'Copy' or 'Create' in the title
2021-08-07 03:46:08 +02:00
Francisco Javier Trujillo Mata
d972f66faa
Remove not needed import and PCSX2 macro
2021-07-24 10:32:09 +02:00
Francisco Javier Trujillo Mata
7f411db808
Use BDM for increasing up USB speed
2021-07-22 00:03:18 +02:00
jdgleaver
9e100b752e
(RS-90) Move appdata (retroarch) base directory to external microsd card
2021-07-15 16:56:23 +01:00
Autechre
32ed7ed1d7
Merge pull request #12508 from CTCaer/unix-bl-bri-fix
...
plat: unix: correct backlight max_brightness path
2021-07-11 18:35:59 +02:00
M4xw
991b43d4ee
[Libnx] Changed PSM Defines
2021-06-28 17:38:17 +02:00
p-sam
1bc588acbd
Fix building with libnx 4.0.0
2021-06-28 17:38:17 +02:00
twinaphex
46a318db45
C89 buildfix
2021-06-20 23:02:55 +02:00
Alcaro
5f182fa564
Don't send speech input as command line argument ( #12539 )
...
* Don't send speech input as command line argument
* Fix a C++-only construct, and simplify some stuff
2021-06-20 14:39:14 +02:00
twinaphex
a129764f0d
Change C++ comment to C
2021-06-17 05:45:59 +02:00
Alcaro
aeddcb54e0
Plug this so-called high-risk vuln ( #12533 )
...
https://www.reddit.com/r/RetroArch/comments/o0p1vy/retroarch_for_windows_versions_190_194_highrisk/
https://labs.bishopfox.com/advisories/retroarch-for-windows-version-1.9.0
2021-06-17 05:44:17 +02:00
CTCaer
98be8f0c22
plat: unix: correct backlight max_brightness path
...
We are assuming that device has its backlight device symlinked to /sys/class/backlight/backlight so this should be stated.
Additionally any hardcoding should be disallowed and the symlink should be always used.
2021-06-09 13:16:37 +03:00
CTCaer
86f8670d0b
plat: unix: get better battery stats on sysfs nodes
...
This addresses 2 issues:
1. Input controllers report battery supplies.
That causes wrong charging status or capacities if they report percentages instead of levels.
Such supplies normally report scope attributes that report Unknown or Device type of power supply.
If reported value is System or the attribute is missing, it's considered a System supply and used.
2. Various systems have backup batteries.
That causes the wrong capacity to be reported depending on order of node creation.
This is addressed by keeping track of these and calculating an average.
2021-05-31 18:36:49 +03:00
twinaphex
35543ecd91
Move defines files over to libretro-common
2021-05-18 22:15:04 +02:00
twinaphex
ef35adc9d6
platform_ps2.c - Use snprintf
2021-05-18 14:15:18 +02:00
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
unknown
49eab75938
Add some PSL1GHT ifdefs
2021-03-06 17:35:31 +01: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