Compare commits

...
5936 Commits
Author SHA1 Message Date
Barry Rowe fca7bc52ed Fixed accessibility for menu start actions. 2020-04-04 11:47:19 -07:00
Barry Rowe 159190cc14 Merge branch 'ozone_accessibility' into SAPI_NVDA_auto 2020-04-03 18:09:49 -07:00
Barry Rowe 984c3a22a3 Added in fixes for ozone and glui accessibility. 2020-04-03 10:39:28 -07:00
Autechre 1d7cae2ceb Merge pull request #10383 from myfreeweb/monotonic
features_cpu: synchronize ifdefs for CLOCK_MONOTONIC
2020-04-03 01:50:12 +02:00
Autechre 1f2e42cdc2 Merge pull request #10384 from myfreeweb/bsd-qt
Use -fPIC with Qt on *BSD like on Linux
2020-04-03 01:49:52 +02:00
Autechre 2cb67d1172 Merge pull request #10387 from yo6snap/master
[FIXES]GPU capture on Metal/OSX/NVidia
2020-04-03 01:49:25 +02:00
Olivier PARRA 5813228c6c [FIXES]GPU capture on Metal/OSX/NVidia
[FIX]RetroArch CRASH on Metal internal assert
_validateGetBytes:39: failed assertion `texture must not be a
framebufferOnly texture.' GPU Capture were done on a
framebufferOnly texture. Fix it by setting framebufferOnly
CAMetalLayer property to NO. Subsequent MTLTexture inherits from
this property.

[FIX]Capture black frames. Resulting PNG screenshots were black.
Since GPU texture where not sync with CPU,
getBytes:bytesPerRow:fromRegion:mipmapLevel: behavior is undefined
Fix it by adding synchronizeResource command to blitCommandEncoder
In order to keep performances, syncing is done ONLY when a GPU
Capture is requested.

[FIX]Corrupted image due to incorrect viewport copy
Modify code in charge of copying MTLTexture bytes to 24bits PNG
buffer.
2020-04-02 23:01:48 +02:00
Autechre dea5b5347d Merge pull request #10385 from jdgleaver/playlist-strlen-fix
(playlist.c) Prevent possible NULL pointer dereferences when calling strlen()
2020-04-02 16:05:17 +02:00
jdgleaver f39e554586 (playlist.c) Prevent possible NULL pointer dereferences when calling strlen() 2020-04-02 14:19:35 +01:00
Greg V f646fea03f Use -fPIC with Qt on *BSD like on Linux
Required on FreeBSD at least.
2020-04-02 15:24:54 +03:00
Greg V f9ae48c3f6 features_cpu: synchronize ifdefs for CLOCK_MONOTONIC
The ifdef in cpu_features_get_time_usec was more portable
than the one in cpu_features_get_perf_counter.

Make them the same to avoid 'undefined reference to __mftb'
on FreeBSD/powerpc64.
2020-04-02 15:09:49 +03:00
Barry Rowe 1e11cbf6b4 Got gamepad commands to work with paused emulation. 2020-04-01 16:40:41 -07:00
twinaphex ecebcf8215 Add HAVE_NVDA switch 2020-04-01 16:40:41 -07:00
Barry Rowe 8f7646ded8 Bug fix with ai service state dictionary. 2020-04-01 16:40:41 -07:00
Barry Rowe b96fd5933c Added in gamepad override access to the AI Service. 2020-04-01 16:40:41 -07:00
Barry Rowe 03676061b4 Adding some nvda stuff. 2020-04-01 16:40:41 -07:00
Barry Rowe 777ba7c5c3 Added in auto-translate support. 2020-04-01 16:40:41 -07:00
Barry Rowe bfb5f58b90 Added in SAPI option for windows narrator. 2020-04-01 16:40:41 -07:00
Autechre 2004545f96 Update CHANGES.md 2020-04-01 21:00:15 +02:00
Autechre e80fb4f386 Merge pull request #10375 from jdgleaver/font-fixes
Enable correct vertical alignment of text (+ font rendering fixes)
2020-04-01 20:59:51 +02:00
Autechre 83958a4402 Merge pull request #10378 from phcoder/qnx-rb
Several fixes for QNX/Blackberry10
2020-04-01 20:46:59 +02:00
Twinaphex 8292f31ea0 Fix unused variable warning 2020-04-01 20:43:03 +02:00
Twinaphex d0a9de01a3 (GL) Fix unused variable setting 2020-04-01 20:41:38 +02:00
Vladimir Serbinenko c809ecd623 Add qnx packaging
Put your cores into pkg/qnx/pkg/assets/cores and info into
pkg/qnx/pkg/assets/info.

set QNX_DEBUGTOKEN to your debug token. Then:

make -f Makefile.griffin platform=qnx clean retroarch-dev.bar

To install:

blackberry-deploy -installApp DEVICEIP  retroarch-dev.bar -password YOURPASSWORD
2020-04-01 16:49:44 +02:00
Vladimir Serbinenko 2ff9bfb24d qnx: support analog sticks 2020-04-01 16:49:44 +02:00
Vladimir Serbinenko ab34a0a34f Handle errors in qnx_input
I had errors with null driver. While this setup is not really usable,
we shouldn't crash on it
2020-04-01 16:49:44 +02:00
Vladimir Serbinenko c5e2099dd9 Add makefile for qnx
Usage:
make -f Makefile.griffin platform=qnx clean all
2020-04-01 16:49:44 +02:00
Vladimir Serbinenko 5a2e4237c4 Fix qnx compilation 2020-04-01 16:49:44 +02:00
Autechre 9d0585a280 Update CHANGES.md 2020-03-31 20:17:09 +02:00
Autechre f0ef3904d5 Merge pull request #10376 from Jamiras/bad_chd_header
don't ignore errors from decompress_v5_map
2020-03-31 20:16:35 +02:00
Jamiras 7fe952ddeb don't ignore errors from decompress_v5_map 2020-03-31 11:08:35 -06:00
jdgleaver 73bcd7a692 Enable correct vertical alignment of text (+ font rendering fixes) 2020-03-31 16:55:22 +01:00
Autechre 316c07c226 Merge pull request #10372 from WeedyWeedSmoker/French-translation-update
French: Add drm_go2_ctx for odroidgo2
2020-03-30 19:01:48 +02:00
Weedy Weed Smoker 2a579f4418 French: Add drm_go2_ctx for odroidgo2 2020-03-30 22:00:25 +07:00
Autechre 8f8fbab4f9 Update CHANGES.md 2020-03-30 08:43:19 +02:00
Autechre 411ff301c7 Merge pull request #10370 from phcoder/psl1ght_s2
PSL1GHT port
2020-03-30 08:42:21 +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
Autechre 761a17ccd8 Merge pull request #10365 from trioan/fixes
msvc 2017 -- HAVE_ODROIDGO2 compile fixes
2020-03-29 06:00:18 +02:00
trioan f466cc5143 msvc 2017 -- HAVE_ODROIDGO2 compile fixes 2020-03-29 03:20:34 +00:00
Autechre 47067b691e Update CHANGES.md 2020-03-29 04:42:21 +02:00
Autechre 83a262ceae Update CHANGES.md 2020-03-29 04:41:54 +02:00
Autechre 15c661a374 Merge pull request #10262 from valadaa48/odroidgo2_drm_ctx_hw_scaling
Add drm_go2_ctx for odroidgo2
2020-03-29 04:40:57 +02:00
Autechre 43d24114b3 Merge pull request #10362 from WeedyWeedSmoker/French-translation-update
French: Add "Cheat File (Append)"
2020-03-28 15:17:58 +01:00
Autechre e4a3946998 Merge pull request #10361 from valadaa48/oga_signal_handler
Register signal handler for oga video driver
2020-03-28 15:17:36 +01:00
Weedy Weed Smoker 0087928aa5 French: Add "Cheat File (Append)" 2020-03-28 17:58:16 +07:00
valadaa48 2d2bd625c6 Register signal handler for oga video driver 2020-03-28 04:54:33 +00:00
valadaa48 6e4228b054 Add drm_go2_ctx for odroidgo2
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.

Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
twinaphex 5972ed9cc6 (gfx_widgets) Cleanups 2020-03-28 03:53:51 +01:00
twinaphex 2dc0fdcfee (gfx drivers_display) Cleanups 2020-03-28 03:47:05 +01:00
twinaphex 4fd3cac319 (Menu) remove ident 2020-03-28 01:59:15 +01:00
twinaphex 66eed86ccf Get rid of the hash generation in menu_cbs.c 2020-03-27 19:09:50 +01:00
twinaphex 79dc998a7b Get rid of the remaining hashes 2020-03-27 19:05:54 +01:00
twinaphex 75a33b3662 (Menu cbs OK) Get rid of label hashes 2020-03-27 18:35:10 +01:00
twinaphex ac72d19f5c Update msg_hash_us.h 2020-03-27 18:04:36 +01:00
twinaphex 49e584c6f6 (Deferred push) Remove hashes 2020-03-27 18:00:26 +01:00
twinaphex d30d2abe10 Fix title regression with playlist entries 2020-03-27 16:41:10 +01:00
Autechre 637266be03 Merge pull request #10357 from jdgleaver/runtime-file-config-cleanup
(runtime_file) Remove settings pointer dependency
2020-03-27 14:57:48 +01:00
jdgleaver 05744bb69f (runtime_file) Remove settings pointer dependency 2020-03-27 11:12:32 +00:00
twinaphex 7531223846 (Menu) Fix ELSPA label 2020-03-27 05:43:44 +01:00
twinaphex 7ba551864b Fix input overlay title label 2020-03-27 04:43:42 +01:00
Autechre 0988f7fb8a Merge pull request #10356 from justinweiss/always-define-rgui-reset
Always define rgui_context_reset and rgui_context_destroy
2020-03-27 02:34:44 +01:00
Justin Weiss d016a0929b Always define rgui_context_reset and rgui_context_destroy
RetroArch will log an error if `menu_driver_ctx->context_reset` isn't
defined. The function should always be defined, and should skip the
platform-specific code inside the function instead.
2020-03-26 17:22:45 -07:00
Autechre b01ae6b366 Update CHANGES.md 2020-03-27 00:15:45 +01:00
Autechre 309af5d526 Merge pull request #10354 from johanbcn/bugfix/android-chd-scanning
Include WANT_SUBCODE and WANT_RAW_DATA_SECTOR defines on Android's JNI makefile
2020-03-27 00:15:00 +01:00
Joan Coll Cerdán 66d98af48b Include WANT_SUBCODE and WANT_RAW_DATA_SECTOR defines on Android's JNI
makefile in order to properly support CHD scanning.
2020-03-26 23:37:46 +01:00
twinaphex 97ee822f35 Fix some titles 2020-03-26 17:47:31 +01:00
twinaphex 4646da6df8 Get rid of label hashes in menu_cbs_title.c 2020-03-26 17:36:05 +01:00
twinaphex 6f6a4e59df (Title) Cleanup more hashes 2020-03-26 17:22:36 +01:00
twinaphex 4a95cb7b54 Cleanups 2020-03-26 16:46:49 +01:00
twinaphex e81e53bdf6 (Menu cbs OK) Rewrite this into a loop 2020-03-26 16:44:16 +01:00
twinaphex ae48da5ebf Cleanups 2020-03-26 14:57:02 +01:00
twinaphex 3d24439276 (Menu cbs ok) Get rid of unused hashes 2020-03-26 14:54:09 +01:00
Autechre 6b0a46d5d2 Update CHANGES.md 2020-03-26 14:06:57 +01:00
Autechre 456346e0c6 Merge pull request #10352 from jdgleaver/texture-slice-fix
Fix 'gfx_display_draw_texture_slice()' (i.e. prevent glitches when rendering Ozone's selection cursor)
2020-03-26 14:06:01 +01:00
jdgleaver 1440b46eb0 Fix 'gfx_display_draw_texture_slice()' (i.e. prevent glitches when rendering Ozone's selection cursor) 2020-03-26 11:45:28 +00:00
twinaphex 9f7e55e59d (intl) Remove HAVE_VIDEO_LAYOUT ifdefs 2020-03-26 03:05:21 +01:00
Autechre ef13fc1b9e Merge pull request #10346 from DEX357/patch-52
Update msg_hash_pl.h
2020-03-26 01:27:56 +01:00
hizzlekizzle 513dcdc502 Merge pull request #10348 from WeedyWeedSmoker/French-translation-update
French: (Manual content scanner/playlist cleaner)
2020-03-25 16:14:49 -05:00
Weedy Weed Smoker b17e274ff6 French: (Manual content scanner/playlist cleaner)
Prevent redundant playlist entries when handling M3U content
2020-03-26 02:54:33 +07:00
DEX357 29774bd84a Update msg_hash_pl.h 2020-03-25 15:50:30 +01:00
hizzlekizzle 95f0b6e0b8 Merge pull request #10344 from phcoder/3ds6
3ds: Add ID for ThePowderToy
2020-03-24 19:19:40 -05:00
Vladimir Serbinenko ab8af924c0 3ds: Add ID for ThePowderToy 2020-03-24 23:22:39 +01:00
Autechre a0e12fecde Update CHANGES.md 2020-03-24 18:24:55 +01:00
Autechre af52212e6d Merge pull request #10310 from Ryunam/lastplayed-timedate
Update timedate style options for Last Played sublabel metadata
2020-03-24 18:16:12 +01:00
Autechre ff7f56e996 Merge pull request #10314 from jdgleaver/m3u-scan
(Manual content scanner/playlist cleaner) Prevent redundant playlist entries when handling M3U content
2020-03-24 18:15:24 +01:00
Autechre 261adaf100 Merge pull request #10339 from jdgleaver/input-notification-port
Use correct port index in input device configured/disconnected notifications
2020-03-24 18:15:06 +01:00
Autechre b9c32276bf Merge pull request #10340 from jdgleaver/ozone-theme-setting
(Ozone) Hide 'Menu Color Theme' setting when 'Use preferred system color theme' is enabled
2020-03-24 18:14:49 +01:00
Autechre e639d2b09a Merge pull request #10342 from jdgleaver/thumb-swap-fix
(XMB/Ozone) Fix thumbnail switching via 'scan' button functionality
2020-03-24 18:13:46 +01:00
Autechre 2cc841a6cb Merge pull request #10343 from jdgleaver/font-segfault-fix
(Menu) Prevent font-related segfaults when using extremely small scales/window sizes
2020-03-24 18:13:32 +01:00
jdgleaver 9194a3b24d (Menu) Prevent font-related segfaults when using extremely small scales/window sizes 2020-03-24 16:14:53 +00:00
jdgleaver b5d9ed60e7 (XMB/Ozone) Fix thumbnail switching via 'scan' button functionality 2020-03-24 14:28:01 +00:00
jdgleaver 7a1e97f8c0 (Ozone) Hide 'Menu Color Theme' setting when 'Use preferred system color theme' is enabled + ensure default theme is applied consistently 2020-03-24 12:06:30 +00:00
jdgleaver fb7b1ec1a0 Use correct port index in input device configured/disconnected notifications 2020-03-24 11:18:54 +00:00
hizzlekizzle 9729b5a917 Merge pull request #10322 from valadaa48/video_oga
Video oga
2020-03-23 13:30:51 -05:00
valadaa48 53fffbd670 Add "oga" graphics driver for odroid go advance
libgo2 improvements

- Expose rga scale mode as param for future use
- Cleanup whitespace
- Add option to disable managed surfaces and allow direct posting to drm
  driver

oga graphics driver

- Uses direct framebuffers in libgo2
- Bitmap font only supported for now
- Uses built-in bicubic filtering: graphics quality better than gl + bilinear
- Support for rotation
2020-03-22 23:35:22 -04:00
Autechre 8643cb22dd Merge pull request #10327 from phcoder/3ds5
3ds: Add ID for crocods
2020-03-22 22:00:57 +01:00
Vladimir Serbinenko 47582ffa41 3ds: Add ID for crocods 2020-03-22 15:03:28 +01:00
Autechre f48c668447 Update CHANGES.md 2020-03-20 17:35:42 +01:00
Autechre 8bcd74bf42 Merge pull request #10311 from altiereslima/master
Update Portuguese Brazilian Translation
2020-03-20 17:34:45 +01:00
Autechre 92f6c33d34 Merge pull request #10312 from natinusala/vc-fix
Fix VG and VC EGL
2020-03-20 17:34:33 +01:00
jdgleaver c61f6aafc1 (m3u_file.c) Replace tab indents with spaces 2020-03-20 14:53:53 +00:00
jdgleaver e24274a314 (Manual content scanner/playlist cleaner) Prevent redundant playlist entries when handling M3U content 2020-03-20 14:26:08 +00:00
natinusala 00590f2077 Fix VG and VC EGL 2020-03-20 09:19:06 +01:00
altiereslima 353ca34a49 Update msg_hash_pt_br.h 2020-03-19 21:40:51 -03:00
altiereslima bc01a94f07 Update msg_hash_pt_br.h 2020-03-19 21:18:43 -03:00
Ryunam 5a8106308e Update timedate style options for Last Played sublabel metadata 2020-03-19 18:47:42 +01:00
Autechre 532fd88e2f Merge pull request #10308 from martinezjavier/master
(GL) Fix NULL pointer dereference in gl2_init()
2020-03-19 06:48:17 +01:00
Javier Martinez Canillas 42e8890c91 (GL) Fix NULL pointer dereference in gl2_init()
Commit 10df615d14 ("add "Send Debug Info" option under Help") added some
debug information that contains the GL_VENDOR, GL_RENDERER and GL_VERSION
strings that are returned by the glGetString() function, and is used by
algorithms to recognize the platform.

But in some GL contexts, these may be NULL which leads to a NULL pointer
dereference when trying to copy the returned strings. Commit 97247dbaec
("gl1: check for vender/renderer was in the wrong place") later fixed it
for the GL1 driver, but it missed doing the same for the GL driver.

For example, on an Exynos Odroid XU4 with a mali-fdev GL context I get:

$ retroarch -v
[INFO] RetroArch 1.8.5 (Git 8d3f25f)
[INFO] === Build =======================================
[INFO] Capabilities:  NEON VFPv3 VFPv4
[INFO] Built: Mar 18 2020
[INFO] Version: 1.8.5
[INFO] Git: 8d3f25f
[INFO] =================================================
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [EGL] Falling back to eglGetDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [GL]: Found GL context: mali-fbdev
[INFO] [GL]: Detecting screen resolution 0x0.
[INFO] [EGL]: Current context: 0xf08e20.
[INFO] [GL]: Vendor: (null), Renderer: (null).
[INFO] [GL]: Version: (null).
Segmentation fault (core dumped)
2020-03-18 23:44:50 +01:00
Autechre 8d3f25f20f Update Makefile.libnx 2020-03-18 14:23:38 +01:00
Autechre fe03ba76f9 Update CHANGES.md 2020-03-17 22:44:46 +01:00
Autechre 9b9e0a03fa Merge pull request #10290 from Ryunam/master
Add European timedate style (DD/MM/YYYY) and reorder timedate options
2020-03-17 22:43:35 +01:00
Autechre d078a7131f Merge pull request #10303 from natinusala/split-widgets
gfx_widgets: move libretro message widget into its own file
2020-03-17 22:42:59 +01:00
Autechre be1b97c7c0 Merge pull request #10306 from phcoder/3ds4
Add ID for chailove
2020-03-17 22:42:21 +01:00
Autechre 249c0f4fb5 Merge pull request #10305 from Tatsuya79/patch-1
qt: add scroll acceleration option
2020-03-17 22:42:06 +01:00
Vladimir Serbinenko 3a1510ca88 Add ID for chailove 2020-03-17 22:38:14 +01:00
Tatsuya79 19331636bd qt: add scroll acceleration option 2020-03-17 22:32:12 +01:00
natinusala 997136c029 gfx_widgets: move libretro message widget into its own file 2020-03-17 17:16:21 +01:00
Autechre 3c4a959b83 Merge pull request #10293 from Crestwave/haiku
(Haiku) Use GL1 video driver by default
2020-03-17 06:57:08 +01:00
Autechre 157260d05d Merge pull request #10301 from libretro/revert-10088-travis-ccache
Revert "(Travis) Use ccache for caching compilation"
2020-03-17 02:33:29 +01:00
Autechre f65fefb462 Revert "(Travis) Use ccache for caching compilation (#10088)"
This reverts commit 7e6fc5ab4d.
2020-03-17 02:33:18 +01:00
Autechre 3180cbd103 Merge pull request #10296 from FmT0/patch-1
(Vita) Prefer Front Touch option fix
2020-03-17 02:31:47 +01:00
Autechre c0c9caec22 Merge pull request #10300 from phcoder/3ds3
3ds: Add ID for tic80
2020-03-17 02:31:01 +01:00
Vladimir Serbinenko 4d79396cc3 Add ID for tic80 2020-03-17 01:37:49 +01:00
Autechre 7c5cca2dba Merge pull request #10297 from jdgleaver/3ds-prboom
(3DS) Restore missing PrBoom assets
2020-03-16 12:20:51 +01:00
jdgleaver 1e0c74e818 (3DS) Restore missing PrBoom assets 2020-03-16 11:13:41 +00:00
FmT0 f0faedddf9 Update psp_joypad.c
Fix "Prefer Front Touch" option from Input menu for Vita toggle menu input
2020-03-16 20:07:10 +09:00
Autechre b4aca85a0c Merge pull request #10292 from phcoder/3ds2
(3DS) Add IDs for hatari, lutro and tyrquake
2020-03-16 08:37:36 +01:00
Autechre e12655915d Merge pull request #10295 from libretro/RobLoach/travis-xcode-allow-failure
(Travis) Allow OSX to fail until we fix xcode11.2
2020-03-16 08:37:26 +01:00
twinaphex 58e7355942 (Android) Buildfix 2020-03-16 08:16:03 +01:00
Rob Loach cfbc3d4317 (Docs) Use HTTPS URL for libretro.com link (#10274)
Fixes #10272
2020-03-16 02:49:18 -04:00
Rob Loach 7e6fc5ab4d (Travis) Use ccache for caching compilation (#10088)
This aims to speed up the Travis builds. Fixes #9961
2020-03-16 02:47:38 -04:00
Rob Loach 8b6c330253 (Travis) Allow OSX to fail until we fix xcode11.2
Xcode 11.2 has been failing for a while through the following error. This change ignores that failure until we can fix it properly...

```
0.03s$ echo $OSX_CERT | base64 --decode > dev.p12
The command "echo $OSX_CERT | base64 --decode > dev.p12" exited with 0.
0.04s$ security import dev.p12 -k build.keychain -P $OSX_CERT_PASS -T /usr/bin/codesign
security: SecKeychainItemImport: One or more parameters passed to a function were not valid.
The command "security import dev.p12 -k build.keychain -P $OSX_CERT_PASS -T /usr/bin/codesign" exited with 1.
0.01s$ rm dev.p12
The command "rm dev.p12" exited with 0.
0.05s$ security set-key-partition-list -S "apple-tool:,apple:,codesign:" -s -k travis build.keychain
security: SecItemCopyMatching: The specified item could not be found in the keychain.
The command "security set-key-partition-list -S "apple-tool:,apple:,codesign:" -s -k travis build.keychain" exited with 1.
4.39s$ xcodebuild -target RetroArchQt -configuration Release -project pkg/apple/RetroArch_Metal.xcodeproj
note: Using new build system
note: Planning build
note: Constructing build description
error: No signing certificate "Developer ID Application" found: No "Developer ID Application" signing certificate matching team ID "ZE9XE938Z2" with a private key was found. (in target 'RetroArchQt' from project 'RetroArch_Metal')
** BUILD FAILED **
The command "xcodebuild -target RetroArchQt -configuration Release -project pkg/apple/RetroArch_Metal.xcodeproj" exited with 65.
```
2020-03-15 23:48:00 -04:00
Crestwave ef78f5b3c3 (Haiku) Use GL1 video driver by default 2020-03-16 08:52:11 +08:00
Vladimir Serbinenko a8a88efcb2 Add ID for lutro 2020-03-15 23:56:04 +01:00
Vladimir Serbinenko e93857cd9b Add ID for tyrquake 2020-03-15 16:25:13 +01:00
Ryunam 0310f6dafd Add European timedate style (DD/MM/YYYY) and reorder timedate options 2020-03-15 16:00:03 +01:00
Vladimir Serbinenko 9c06b1a0fb ID for hatari 2020-03-15 13:48:09 +01:00
Autechre 7c57124aed Merge pull request #10288 from fjtrujy/vita/AudioMixer
[Vita] Add audio mixer to vita
2020-03-15 12:21:48 +01:00
Francisco Javier Trujillo Mata 856eb3df89 Add audio mixer to vita 2020-03-15 11:26:29 +01:00
Autechre e7f5423d53 Merge pull request #10285 from phcoder/xrick3ds
Add ID for xrick
2020-03-15 02:20:59 +01:00
Autechre 442101e7ae Merge pull request #10286 from WeedyWeedSmoker/French-translation-update
French: qt: expose dropped thumbnal size limit
2020-03-15 02:20:52 +01:00
Autechre 0d8c4ce3ae Merge pull request #10287 from phcoder/pocketcdg
Add ID for PocketCDG
2020-03-15 02:20:43 +01:00
Vladimir Serbinenko 1197104b60 Add ID for PocketCDG 2020-03-15 02:17:42 +01:00
Weedy Weed Smoker ab5bb981df French: qt: expose dropped thumbnal size limit 2020-03-15 06:14:33 +07:00
Vladimir Serbinenko 2509d8e88f Add ID for xrick 2020-03-14 22:43:18 +01:00
twinaphex a33353399f Attempt to fix https://github.com/libretro/RetroArch/issues/10276 2020-03-14 21:54:14 +01:00
Autechre c4a98a62d3 Merge pull request #10283 from phcoder/gme
Add ID for GME
2020-03-14 21:02:02 +01:00
Autechre 497180e506 Merge pull request #10284 from fjtrujy/pspsAudioMixer
Add Audio Mixer support to PSP
2020-03-14 21:01:51 +01:00
Francisco Javier Trujillo Mata f0e1ab37cc Add Audio Mixer support to PSP 2020-03-14 18:38:24 +01:00
Vladimir Serbinenko 53194e10b5 Add ID for GME 2020-03-14 13:03:36 +01:00
Autechre 25231d5c92 Merge pull request #10280 from phcoder/3dsboom
3ds: Add ID for mrboom
2020-03-14 10:44:12 +01:00
Vladimir Serbinenko 400f97a163 3ds: Add ID for mrboom 2020-03-14 03:10:14 +01:00
Autechre d857fb3234 Update FUNDING.yml 2020-03-14 02:53:46 +01:00
Autechre 5dc3f40451 Merge pull request #10277 from Tatsuya79/master
qt: expose dropped thumbnail size limit
2020-03-14 02:40:01 +01:00
Autechre e138bfbfaf Merge pull request #10275 from natinusala/split-widgets
gfx_widgets: move generic message to its own file
2020-03-14 02:39:46 +01:00
Autechre c9b39a41e9 Merge pull request #10278 from phcoder/3ds
3DS: Add IDs for 8-bit computers
2020-03-14 02:39:26 +01:00
Autechre cf0f16596c Merge pull request #10279 from phcoder/prboom3ds
Fix prboom smdh
2020-03-14 01:33:00 +01:00
Vladimir Serbinenko 8b138d8bb1 Fix prboom smdh 2020-03-14 01:22:35 +01:00
Vladimir Serbinenko 320d4917bd Add IDs for 8-bit computers 2020-03-14 00:50:35 +01:00
Tatsuya79 a780755af7 qt: expose dropped thumbnal size limit 2020-03-13 22:46:46 +01:00
natinusala 7246d0d053 gfx_widgets: move generic message to its own file 2020-03-13 17:13:56 +01:00
Rob Loach 8794360b65 Merge pull request #10273 from WeedyWeedSmoker/French-translation-update
French: Rename menu widgets to display widgets
2020-03-13 08:19:38 -04:00
Weedy Weed Smoker 6b9f8be3fb French: Rename menu widgets to display widgets 2020-03-13 19:03:14 +07:00
Autechre bae318dbc2 Merge pull request #10271 from phcoder/3ds
3ds: Add ids for ffmpeg and freechaf
2020-03-13 10:04:33 +01:00
Vladimir Serbinenko 11ece8b373 3ds: Add ids for ffmpeg and freechaf 2020-03-13 09:56:53 +01:00
twinaphex efb0b87c1d (Menu cbs title) Take out more hash labels 2020-03-13 06:25:43 +01:00
twinaphex 7986561598 Rename menu widgets to display widgets 2020-03-13 03:58:33 +01:00
Autechre 0aecf033b6 Update CHANGES.md 2020-03-13 02:22:53 +01:00
Autechre 3c6bea1113 Merge pull request #10270 from libretro/RobLoach/database-psp-korea
(Database) Add support for scanning PSP Korean
2020-03-13 02:22:21 +01:00
twinaphex 7f8c13ae09 (GDI/Win32) Refactor code - handle doubleclick press on title bar
inside DInput driver
2020-03-13 02:20:31 +01:00
Rob Loach 7403b3de8a (Database) Add support for scanning PSP Korean
This adds support for scanning PlayStation Portable Korean region.

Found by @pkos, and fixes #10268
2020-03-12 21:19:32 -04:00
twinaphex 925ec7bc82 (MSVC 2010) Buildfix 2020-03-13 01:03:48 +01:00
twinaphex 30e8ec6543 (win32_common.c) Put g_win32_resized into struct 2020-03-13 00:15:51 +01:00
twinaphex 91fd05133b C89_BUILD fix 2020-03-13 00:11:43 +01:00
twinaphex c796f3268b (win32_common.c) Cleanups 2020-03-13 00:11:21 +01:00
twinaphex b4da4940eb Revert "(Win32) Move global state to struct"
This reverts commit dfa1288988.
2020-03-12 22:10:24 +01:00
twinaphex 26bb0105c0 (Vita) Buildfix 2020-03-12 20:54:38 +01:00
Autechre 2e215c4efd Merge pull request #10267 from WeedyWeedSmoker/French-translation-update
French: small cosmetic changes/improvements
2020-03-12 20:29:02 +01:00
Weedy Weed Smoker d9dccf0c78 French: small cosmetic improvement 2020-03-13 00:27:09 +07:00
Weedy Weed Smoker 6b279a2581 French: small cosmetic changes/improvements 2020-03-13 00:16:59 +07:00
Autechre 66f621f810 Merge pull request #10266 from WeedyWeedSmoker/French-translation-update
French: Fix 'remap file loaded' notification msg
2020-03-12 17:48:17 +01:00
twinaphex dfa1288988 (Win32) Move global state to struct 2020-03-12 17:47:49 +01:00
Weedy Weed Smoker fdad03e878 French: Fix 'remap file loaded' notification msg 2020-03-12 23:39:13 +07:00
Autechre ee92c6d679 Update CHANGES.md 2020-03-12 17:18:45 +01:00
Autechre 4ccff43919 Merge pull request #10265 from jdgleaver/glui-scroll-fix
(GLUI) Fix ragged/broken scrolling when navigating at very high speed via gamepad/keyboard/mouse wheel
2020-03-12 17:17:49 +01:00
jdgleaver 050ac1e9cf (GLUI) Fix ragged/broken scrolling when navigating at very high speed via gamepad/keyboard/mouse wheel 2020-03-12 16:04:22 +00:00
twinaphex 28eec1489a Every global has to be named uniquely for Griffin targets 2020-03-12 17:00:13 +01:00
Autechre 76f0c14289 Merge pull request #10263 from jdgleaver/widget-scale-setting-cleanup
Use single 'Widgets Scale Override' setting on console and mobile platforms
2020-03-12 16:38:38 +01:00
Autechre c20e83e50a Merge pull request #10256 from jdgleaver/threaded-video-show-mouse
(Threaded Video) Enable proper mouse cursor show/hide functionality
2020-03-12 16:09:09 +01:00
Autechre e1debd6f11 Merge pull request #10252 from natinusala/split-widgets
gfx_widgets: move volume into its own file
2020-03-12 15:46:21 +01:00
Autechre 932d12a684 Merge pull request #10264 from jdgleaver/remap-msg-fix
Fix 'remap file loaded' notification message
2020-03-12 15:45:39 +01:00
Autechre a9bb8d08f2 Update CHANGES.md 2020-03-12 15:45:23 +01:00
jdgleaver 927d801463 Fix 'remap file loaded' notification message 2020-03-12 12:16:23 +00:00
jdgleaver 018209d6c2 Use single 'Widgets Scale Override' setting on console and mobile platforms 2020-03-12 11:29:53 +00:00
natinusala 375621394c gfx_widgets: move volume into its own file 2020-03-12 09:31:05 +01:00
natinusala 37a5e7ff08 gfx_widgets: cleanup 2020-03-12 09:29:04 +01:00
twinaphex 7fb7d4e74c Buildfix 2020-03-12 08:05:44 +01:00
twinaphex 649aee49ba (task_content.c) Cleanups 2020-03-12 07:29:04 +01:00
twinaphex 67ea016c09 (task_content.c) cleanups 2020-03-12 07:14:44 +01:00
twinaphex 38135c505b Rearrange struct members based on size 2020-03-12 06:59:07 +01:00
twinaphex f13a4b10ee (task_content.c) Move global variables to struct 2020-03-12 06:45:17 +01:00
twinaphex 0611581b28 (Win32) Remove this - hopefully it sets Ozone to default 2020-03-12 03:52:56 +01:00
Autechre 3bfd6ababd Merge pull request #10261 from valadaa48/odroidgo2_conf_extra
Change some defaults for odroidgo2
2020-03-12 02:22:35 +01:00
valadaa48 ea53d4ab38 Change some defaults for odroidgo2 2020-03-12 01:15:05 +00:00
Twinaphex 4a533447a1 Merge pull request #10258 from WeedyWeedSmoker/French-translation-update
French: Add Menu scroll acceleration
2020-03-11 19:58:10 +01:00
Weedy Weed Smoker 16d62001e0 French: Add Menu scroll acceleration 2020-03-12 01:36:41 +07:00
Twinaphex 00577b8950 Merge pull request #10255 from jdgleaver/widget-persistence
Enable widget persistence across drivers_init()/driver_uninit() events
2020-03-11 19:21:27 +01:00
jdgleaver 27ab57bc05 (Threaded Video) Enable proper mouse cursor show/hide functionality 2020-03-11 16:26:17 +00:00
jdgleaver b92dcd1334 (gfx_widgets) reorder internal status updates 2020-03-11 14:28:15 +00:00
jdgleaver 086c68bca7 Enable widget persistence across drivers_init()/driver_uninit() events 2020-03-11 11:47:13 +00:00
Twinaphex 2a0833378d Merge pull request #10239 from parport0/master
(Menu) Add Menu Scroll Acceleration option
2020-03-10 21:33:51 +01:00
twinaphex c4dfa1e12a (Gfx drivers) Cleanups 2020-03-10 19:52:05 +01:00
twinaphex ae18fc808d Cleanups 2020-03-10 19:32:21 +01:00
twinaphex 92b09a9f60 (Video layout) Get rid of video_frame_info dependency 2020-03-10 19:10:02 +01:00
twinaphex abcfe03059 (Metal) Simplification 2020-03-10 19:03:34 +01:00
Twinaphex 9e8dd390b2 Update CHANGES.md 2020-03-10 15:17:41 +01:00
Twinaphex ee5e7f8034 Merge pull request #10246 from jdgleaver/thread-status-fix
Ensure proper detection of 'threaded video' state when calling 'drivers_init()'
2020-03-10 15:16:00 +01:00
jdgleaver 3b3eaa1e24 Ensure proper detection of 'threaded video' state when calling 'drivers_init()' 2020-03-10 12:17:38 +00:00
parport0 1e315bb61b Rename PSP-style scroll to Menu scroll acceleration 2020-03-10 13:10:09 +01:00
Twinaphex e2a703896f Update CHANGES.md 2020-03-10 06:42:24 +01:00
Twinaphex d2f3af69f4 Merge pull request #10243 from libretro/RobLoach/database-korea-asia-discs
database: Add scanning Korea and Asia discs
2020-03-10 06:41:05 +01:00
Rob Loach 84eb05c917 database: Add scanning Korea and Asia discs
This change adds support for scanning Korean and Asian media discs to task_database_cue.c.

Found by @pkos, and fixes #10241 .
2020-03-09 22:46:30 -04:00
twinaphex bbe688cd05 Updates 2020-03-10 03:38:45 +01:00
Twinaphex d81e756fa7 (Metal) Buildfix 2020-03-10 03:37:48 +01:00
twinaphex 8a4e8f4ae9 (Stripes) Cleanups 2020-03-10 03:35:10 +01:00
twinaphex f4c5036c3c Get rid of video_frame_info dep for fonts 2020-03-10 03:24:59 +01:00
Twinaphex 35a528a3e0 (Metal raster font) Remove dependency on video_info 2020-03-10 03:02:37 +01:00
Twinaphex 783f16b198 Updates 2020-03-10 02:48:01 +01:00
Twinaphex 238d72d187 Buildfix 2020-03-10 02:38:23 +01:00
Twinaphex dde5f67962 Revert "(Metal raster font) remove video_frame_info dep"
This reverts commit f2df63e246.
2020-03-10 02:07:10 +01:00
twinaphex f2df63e246 (Metal raster font) remove video_frame_info dep 2020-03-10 02:02:19 +01:00
twinaphex 083a0453c6 (PS2) Buildfix 2020-03-10 01:07:29 +01:00
twinaphex 1a854021a4 (Metal raster font) More simplifications 2020-03-09 22:47:40 +01:00
twinaphex 2da2dd3b0b (Metal raster font) Simplify code 2020-03-09 22:44:01 +01:00
twinaphex c77861126f remove video_info deps 2020-03-09 22:35:25 +01:00
twinaphex 867bdad010 Get rid of unimplemented FPGA font driver 2020-03-09 22:13:17 +01:00
twinaphex a395bf9355 (Drivers font) Start getting rid of video_frame_info dependency 2020-03-09 21:56:03 +01:00
twinaphex 43feea3496 (Drivers font) Add parameter 2020-03-09 21:34:14 +01:00
twinaphex 0ee8119459 (widgets) Nits 2020-03-09 19:35:49 +01:00
Twinaphex adfef2a503 Merge pull request #10240 from natinusala/split-widgets
gfx_widgets: start moving widgets into their own file
2020-03-09 19:14:26 +01:00
twinaphex 252bb3a905 (GLX) Fixes fastforwarding issues 2020-03-09 19:13:43 +01:00
twinaphex c007b68e6b (GLX) GLX OML was unstable with threaded video - remove it -
also put SwapInterval first instead of SwapIntervalEXT - this
makes fastforwarding work on Intel iGPUs
2020-03-09 18:37:20 +01:00
twinaphex 4e6f26d2e4 (Video drivers) Cleanups 2020-03-09 16:24:20 +01:00
twinaphex 9e9ad8d5eb (video_thread_wrapper) Remove unused CMD_POKE_SET_OSD_MSG 2020-03-09 16:19:07 +01:00
twinaphex b7da58b40b (Gfx) Video driver cleanups 2020-03-09 16:15:53 +01:00
natinusala 7dc961bdd9 griffin: add screenshot widget 2020-03-09 16:10:53 +01:00
twinaphex 17bb6f7354 (D3D10) Cleanups 2020-03-09 15:55:37 +01:00
twinaphex 68678987c4 (Vulkan) Cleanups 2020-03-09 15:48:15 +01:00
twinaphex cd152399a3 (GL) Cleanups 2020-03-09 15:40:14 +01:00
twinaphex a4cced8fde (Stripes) Updates - no longer compiles 2020-03-09 15:25:02 +01:00
twinaphex 9786e08228 (Ozone) Cleanups 2020-03-09 15:10:28 +01:00
twinaphex 448b988e62 (Ozone) Cleanups 2020-03-09 15:03:21 +01:00
twinaphex 92054bcd09 (Ozone) Cleanups 2020-03-09 14:53:54 +01:00
twinaphex 540f0d2646 (Menu) Cleanups 2020-03-09 14:46:23 +01:00
natinusala b4ea5d3cd5 gfx_widgets: move screenshot widget into its own file 2020-03-09 14:40:31 +01:00
natinusala 8e3ef34c1f gfx_widgets: pipe all functions to the widgets 2020-03-09 14:40:31 +01:00
natinusala 3c1e9372ab gfx_widgets: add gfx_widget struct 2020-03-09 14:40:31 +01:00
twinaphex 82b327420d (XMB) Cleanups 2020-03-09 14:35:03 +01:00
parport0 fb5f557d91 Add PSP-style menu scroll option 2020-03-09 14:34:51 +01:00
twinaphex b3d5551ad2 (Menu) Cleanups 2020-03-09 14:22:16 +01:00
twinaphex 999f862a6d Fix for cursor conditional 2020-03-09 14:14:11 +01:00
twinaphex ee2f25b1dc (Gfx drivers) Cleanups 2020-03-09 05:18:02 +01:00
twinaphex 006735395c (MaterialUI) Cleanups 2020-03-09 04:59:53 +01:00
twinaphex cdbae18ae5 Cleanups 2020-03-09 04:13:41 +01:00
twinaphex 07416f1a0e Cleanups 2020-03-09 02:59:42 +01:00
twinaphex 7c7fe66dfc Cleanups 2020-03-09 02:58:31 +01:00
twinaphex 87bf32e889 Cleanups 2020-03-09 02:38:13 +01:00
twinaphex 43e608760a Cleanups 2020-03-09 02:22:19 +01:00
twinaphex 7d4e5b8ce5 No more video_info_frame dependency in gfx_thumbnail.c 2020-03-09 02:15:44 +01:00
twinaphex 6a0a68f8df (XMB) Cleanups 2020-03-09 01:36:49 +01:00
twinaphex 7f958862fe cleanups 2020-03-09 01:32:05 +01:00
twinaphex e08689ed98 (Menu) Cleanups 2020-03-09 01:26:43 +01:00
twinaphex c3be8f45fc (Metal) Buildfix 2020-03-09 01:18:01 +01:00
twinaphex e5ab0f33d1 Cleanups 2020-03-09 01:07:35 +01:00
twinaphex 2413c1b8d5 (Menu) Cleanups 2020-03-09 00:58:04 +01:00
twinaphex ba73bebf3d (XMB) Cleanups 2020-03-09 00:43:43 +01:00
twinaphex d91800038d (Ozone) Cleanups 2020-03-09 00:38:18 +01:00
twinaphex a0446f778c Cleanups 2020-03-09 00:34:31 +01:00
twinaphex 5388448cf3 (gfx_widgets.c) Cleanups 2020-03-09 00:25:28 +01:00
twinaphex 8c39c804ee (gfx_widgets.c) Cleanups 2020-03-09 00:18:38 +01:00
twinaphex 13249f6011 Cleanups 2020-03-09 00:08:18 +01:00
twinaphex d72596142e gfx_display_draw_quad - no longer dependent on video_frame_info 2020-03-08 23:56:22 +01:00
twinaphex b24d1f06aa gfx_display_scissor_begin/end - get rid of video_frame_info dependency 2020-03-08 22:58:17 +01:00
twinaphex 044619281c gfx_display_draw - remove video_frame_info dependency 2020-03-08 22:52:02 +01:00
twinaphex d42a76dec1 Simplify conditional and fix clear_color call 2020-03-08 22:36:51 +01:00
twinaphex 6cb6f76add gfx_display_rotate_z - get rid of video_frame_info dependency 2020-03-08 22:33:11 +01:00
twinaphex e4aa0fd544 (gfx display) Get rid of video_frame_info dependency for
blend_begin/blend_end
2020-03-08 22:28:42 +01:00
twinaphex c16568cf32 (gfx drivers display) No more video_frame_info dependency 2020-03-08 22:06:08 +01:00
twinaphex 7a9684b6ea (Gfx display) scissor_begin/scissor_end - drop video_frame_info dependency 2020-03-08 22:06:08 +01:00
Twinaphex 7efe1160e1 Merge pull request #10237 from libretro/revert-10224-metal-entitlements
Revert "(macOS Metal) Add entitlements file"
2020-03-08 21:14:23 +01:00
Twinaphex df0f334b97 Revert "(macOS Metal) Add entitlements file" 2020-03-08 21:14:10 +01:00
Twinaphex e7cbc2cd5c Merge pull request #10236 from libretro/revert-10226-metal-buildfix
Revert "(macOS Metal) Buildfix"
2020-03-08 21:13:53 +01:00
Twinaphex 436fc6706b Revert "(macOS Metal) Buildfix" 2020-03-08 21:13:39 +01:00
twinaphex 591bb36e03 (gfx display) blend_begin/blend_end - no more dependency on
video_frame_info
2020-03-08 21:02:03 +01:00
twinaphex 809e22ec1a (gfx display) set_viewport - no longer dependent on video_frame_info 2020-03-08 20:23:39 +01:00
twinaphex 874510152e (drivers_display) Get rid of video_frame_info argument for
get_default_mvp
2020-03-08 19:59:03 +01:00
twinaphex 3e706fe5b2 (D3D9 renderchain) Take out video_frame_info dependencies 2020-03-08 19:03:57 +01:00
Twinaphex c465fda58a Merge pull request #10234 from MrHuu/patch-4
(3DS) Update Makefile.cores
2020-03-08 18:53:06 +01:00
twinaphex 7c7eeff0fb Move display_server code into retroarch.c 2020-03-08 18:48:15 +01:00
twinaphex 2497ac4584 (video_crt_switch.c) Move static global variables to struct 2020-03-08 18:48:15 +01:00
MrHuu b8b2a2dae4 (3DS) Update Makefile.cores
Fix target for building XMillenium.

'x1_libretro.cia'
2020-03-08 14:01:36 +01:00
Twinaphex 3cb73ccd03 Merge pull request #10231 from altiereslima/master
Update msg_hash_pt_br.h
2020-03-08 01:54:35 +01:00
altiereslima f5c5b872db Update msg_hash_pt_br.h 2020-03-07 21:53:45 -03:00
twinaphex c32cb51755 Cleanups 2020-03-08 01:45:29 +01:00
twinaphex cfa90a4a36 (gfx/drivers_display) cleanups 2020-03-08 01:28:15 +01:00
twinaphex f0bf2df92f Get rid of stale PERF_START/PERF_STOP macros in d3d files 2020-03-07 23:16:25 +01:00
twinaphex 935393b391 Cleanups 2020-03-07 23:12:02 +01:00
twinaphex 212f32e2fd Get rid of the static asserts 2020-03-07 22:54:57 +01:00
twinaphex ead6c2b0dc Cleanups 2020-03-07 22:41:10 +01:00
twinaphex a8a2294f27 (Menu) Cache video_info->width/video_info->height into local
variables
2020-03-07 21:42:49 +01:00
Ömercan Kömür f9c81f358a (Docs) Update README.md latest RetroArch changes (#10092)
* 1.8.4 images && official links
* Update README.md
* Update README.md
* Update README.md
* new location
* images moved to docs folder
* Update README.md
* Update README.md
* Links have changed to markdown format
* Update README.md
* docs: Use https on libretro.com link
Co-Authored-By: Margen67 <[email protected]>
Co-authored-by: Rob Loach <[email protected]>
2020-03-07 15:26:28 -05:00
twinaphex 9b76446b48 Cache video_info->width/video_info->height into local variables
and use them throughout code
2020-03-07 21:18:12 +01:00
twinaphex 9b0ff1fd0d (gfx_display.c) Cleanup 2020-03-07 20:53:39 +01:00
twinaphex 6505080d64 (gfx drivers font) Get rid of as many video_frame_info
dependencies as possible
2020-03-07 20:48:26 +01:00
twinaphex be861cf55d (gfx drivers font) Reduce dependency on video_frame_info 2020-03-07 20:11:39 +01:00
Twinaphex 681443cc45 Merge pull request #10228 from phcoder/audiocb
Return failure on set_audio_callback without threads
2020-03-07 19:58:20 +01:00
twinaphex 4c92d43fe2 (Gfx drivers) More cleanups 2020-03-07 19:54:58 +01:00
twinaphex 9e31c2de34 Remove this for now until this gets reintroduced in some way 2020-03-07 19:34:24 +01:00
twinaphex 83ac24e7f1 (VGA) Move static global variables to struct 2020-03-07 19:33:03 +01:00
twinaphex 9ae4031d13 Cleanups 2020-03-07 19:14:45 +01:00
twinaphex 20366f3d3c (RGUI) Move some static global variables to struct 2020-03-07 18:59:33 +01:00
Vladimir Serbinenko 000eaf712a Return failure on set_audio_callback without threads
Current code returns success even though it's actually a failure
2020-03-07 18:53:06 +01:00
twinaphex 888a4bfe37 Add TODO/FIXME note 2020-03-07 18:51:34 +01:00
twinaphex 4ad03e6553 Buildfix - have to rearrange scan_settings too 2020-03-07 18:45:32 +01:00
twinaphex 5a147fe46f (manual_content_scan.c) Rearrange struct members
(verbosity.c) Add TODO/FIXME
2020-03-07 18:41:39 +01:00
twinaphex 577e254e9e (playlist.c) Rearrange struct members 2020-03-07 18:38:37 +01:00
twinaphex c5fc9cf5ce (X ctx) Move two static global variables to struct 2020-03-07 18:28:53 +01:00
twinaphex 0d543baa4b (Drivers context) Move more static global state to structs 2020-03-07 18:21:49 +01:00
twinaphex 3aa8afd60d (gfx/drivers) Further cleanups 2020-03-07 18:05:50 +01:00
twinaphex 1aa95f6cc4 (GX) Cleanups 2020-03-07 17:53:47 +01:00
twinaphex daea169e5d (GL1) Move static global variables into struct 2020-03-07 17:47:26 +01:00
twinaphex b1337d0a21 (GL) Move shared_context_use into struct 2020-03-07 17:34:35 +01:00
twinaphex 8ec6447b18 (FPGA) Move regOp to struct too 2020-03-07 17:30:56 +01:00
twinaphex 87f34eb12f Add missing header 2020-03-07 17:29:08 +01:00
twinaphex 788ae60d12 (FPGA) Put static global variables into struct 2020-03-07 17:28:42 +01:00
twinaphex 3e35fb8672 (D3D8/D3D9) Move static global to struct 2020-03-07 17:04:06 +01:00
twinaphex d63daacdf9 (GDI) Put gdi_menu_frame into struct 2020-03-07 16:50:25 +01:00
twinaphex efe72dea94 (Caca) Put everything into the struct 2020-03-07 16:42:12 +01:00
twinaphex a7dd320653 (CACA) Cleanups 2020-03-07 16:34:12 +01:00
twinaphex 203b4d7f80 (GDI) Move these variables to struct 2020-03-07 16:31:04 +01:00
twinaphex 2b0164f551 (GDI) Get rid of gdi_video_width static globals 2020-03-07 16:23:34 +01:00
twinaphex 31263970ad Fix include path 2020-03-07 06:50:43 +01:00
twinaphex 7be7815933 (libnx) Buildfix 2020-03-07 06:49:10 +01:00
twinaphex bdc31234d5 (Caca) Move caca global state to struct 2020-03-07 06:03:32 +01:00
twinaphex e8ff0fddca (drivers_font) More untangling of video_info 2020-03-07 05:48:21 +01:00
twinaphex f3c6799b4e (drivers_font) switch_font - cleanups 2020-03-07 05:25:28 +01:00
twinaphex 3e891c6237 (drivers font) Start making the code independent of video_frame_info 2020-03-07 04:45:27 +01:00
twinaphex f588e7f646 Buildfix 2020-03-07 04:22:20 +01:00
twinaphex b4b758466f (gx_display_gl) Simplifications 2020-03-07 01:47:44 +01:00
Twinaphex d4d19555e0 Merge pull request #10226 from CatGreen90/metal-buildfix
(macOS Metal) Buildfix
2020-03-07 01:41:25 +01:00
twinaphex ee9c6ef5ba (Font driver) Get rid of more video_frame_info dependencies 2020-03-07 01:41:00 +01:00
twinaphex 267800abaa (GL) Start reducing dependency on video_frame_info 2020-03-07 00:58:06 +01:00
CatGreen90 5c25cf1ad6 Buildfix 2020-03-06 18:43:41 -05:00
twinaphex 4598f186a8 Get rid of video_frame_info dependency 2020-03-07 00:39:06 +01:00
twinaphex 83b815df17 (XEGL) Buildfix 2020-03-07 00:26:44 +01:00
twinaphex 7f75bcfcb5 (DRM) Buildfix 2020-03-07 00:06:34 +01:00
twinaphex 4f27a740ba Revert "(menu_setting.c) Stop using settings->arrays.menu_driver to"
This reverts commit e75e2ede92.
2020-03-06 23:36:16 +01:00
twinaphex 250468a1ba drm_get_connector - cleanup 2020-03-06 23:18:22 +01:00
twinaphex 304cd05dc6 (X11) Buildfix 2020-03-06 23:00:06 +01:00
twinaphex 4d7b627421 Get rid of video_info dependency for set_video_mode 2020-03-06 22:58:12 +01:00
twinaphex e20151a048 Get rid of video_info struct for swap_buffers too 2020-03-06 22:29:51 +01:00
twinaphex 68664fdf1d update_title - we don't need video_info 2020-03-06 22:11:44 +01:00
twinaphex 8b43e1b4ef Can get rid of IS_SHUTDOWN 2020-03-06 20:32:22 +01:00
twinaphex 4aae293e3d Remove is_shutdown from check_window 2020-03-06 20:29:31 +01:00
Twinaphex 3de0bf27d2 Merge pull request #10224 from CatGreen90/metal-entitlements
(macOS Metal) Add entitlements file
2020-03-06 19:51:40 +01:00
CatGreen90 49e07b3e82 Add entitlements file to project.pbxproj 2020-03-06 13:37:37 -05:00
CatGreen90 c1b5860320 Add entitlements file 2020-03-06 13:15:24 -05:00
Twinaphex 801fa3459c Merge pull request #10221 from jdgleaver/qt-history-thumbs
(QT) Populate 'db_name' and 'crc32' fields when adding entries to content history
2020-03-06 18:54:59 +01:00
twinaphex 05cf2ee8ba (core_info.c) Move globals to single struct 2020-03-06 18:13:36 +01:00
twinaphex ad725cefc2 (discord.c) Move globals to single struct 2020-03-06 17:55:15 +01:00
Twinaphex b99838b06b Merge pull request #10220 from phcoder/3bs-bk
Add bk id for 3ds
2020-03-06 17:52:48 +01:00
twinaphex dcf1138040 (menu_dialog.c) Cleanups 2020-03-06 17:27:42 +01:00
twinaphex 869a8cfcba (menu_dialog.c) Move globals to single struct 2020-03-06 17:19:53 +01:00
twinaphex 26f6e0bccf (ozone_theme.c) Add TODO/FIXME notes 2020-03-06 17:14:41 +01:00
Twinaphex 9a78994fe2 Merge pull request #10223 from jdgleaver/gfx-thumbnail-struct
(gfx_thumbnail) Move globals to a single struct
2020-03-06 17:06:17 +01:00
twinaphex 1f553ac1c4 Get rid of menu_shader_set_modified - instead, add a single
'modified' variable to video_shader struct
2020-03-06 17:05:20 +01:00
twinaphex 814835aa8f (menu_input_bind_dialog.c) Put port into menu input bind dialog
global state
2020-03-06 16:51:39 +01:00
jdgleaver 5b59f0dcda (gfx_thumbnail) Move globals to a single struct 2020-03-06 15:48:07 +00:00
twinaphex 544df2f03c Create global state for gfx_display 2020-03-06 16:33:34 +01:00
twinaphex a6995c0336 (gfx_display.c) Cleanup video coord array 2020-03-06 16:12:24 +01:00
twinaphex e06a6b62c8 (gfx_display.c) Change some of the naming conventions to make it
clear this is no longer code bound to the menu
2020-03-06 16:06:44 +01:00
twinaphex fb04376722 (gfx_display.c) Cleanups 2020-03-06 16:01:45 +01:00
twinaphex d1276258ea Add TODO/FIXME note 2020-03-06 15:55:22 +01:00
Twinaphex ffca8af2c6 Merge pull request #10222 from libretro/refactors
Refactors
2020-03-06 15:49:18 +01:00
twinaphex e678b39de6 Cleanup 2020-03-06 15:40:45 +01:00
twinaphex 9d9c24f94b (gfx_animation.c) Move all global state into the struct 2020-03-06 15:37:16 +01:00
jdgleaver 7873b5f044 (QT) Populate 'db_name' and 'crc32' fields when adding entries to content history 2020-03-06 14:00:04 +00:00
twinaphex 69b84d9d02 Settings cleanups 2020-03-06 04:33:56 +01:00
twinaphex bdc999ca45 Settings cleanups 2020-03-06 03:53:10 +01:00
twinaphex d5985c35ae Settings cleanups 2020-03-06 03:39:33 +01:00
Vladimir Serbinenko ddd12aab36 Add bk id for 3ds 2020-03-06 03:15:13 +01:00
twinaphex 8f65c2cf72 Settings updates 2020-03-06 03:10:55 +01:00
twinaphex f581260daa (video thread wrapper) Add TODO/FIXME notes 2020-03-06 03:05:45 +01:00
twinaphex 62bd4960e1 Fix MSVC include paths 2020-03-06 03:01:47 +01:00
twinaphex bd5f151077 Settings cleanups 2020-03-06 02:52:21 +01:00
twinaphex 70d0c1ce6f Fix IOS build 2020-03-06 02:39:54 +01:00
twinaphex 18a90d81d2 Setting needs to be re-set again 2020-03-06 02:28:37 +01:00
twinaphex 6fd784375a Update 2020-03-06 02:25:28 +01:00
twinaphex 6ad38b4140 Revert "Try to avoid concurrent data access to"
This reverts commit 8fd43c0927.
2020-03-05 22:21:13 +01:00
twinaphex 8fd43c0927 Try to avoid concurrent data access to
video_driver_width/video_driver_height
2020-03-05 22:18:59 +01:00
twinaphex 534f09373e Get rid of video_driver_height dependency 2020-03-05 22:03:58 +01:00
twinaphex 52fae101e8 (GL) Get rid of video_driver_build_info dependency 2020-03-05 21:45:02 +01:00
twinaphex 8d5d91a5a4 (GL1/GLCore) Only video_info dependency now is 'height' 2020-03-05 20:32:58 +01:00
twinaphex e65c816ed0 (GL) Will have to rework set_viewport for the GL drivers -
video drivers should not be calling video_driver_build_info as
they could be on a separate thread
2020-03-05 20:29:51 +01:00
twinaphex a7d679d391 Rename WndProcGL to WndProcWGL 2020-03-05 18:45:41 +01:00
twinaphex c5cb509f1b Change function signatures 2020-03-05 18:32:26 +01:00
Twinaphex c6f3b4a6da Merge pull request #10217 from phcoder/3ds_2
3ds: Add id for bluemsx
2020-03-05 18:31:23 +01:00
twinaphex be39981ba3 (MSVC 2003 Debug) Fix build 2020-03-05 18:29:48 +01:00
Vladimir Serbinenko da1ace4668 3ds: Add id for bluemsx 2020-03-05 17:43:04 +01:00
twinaphex ca4ce9f136 Add this nasty workaround for a suspected MSVC2010 bug 2020-03-05 17:39:43 +01:00
twinaphex dd6cbce0eb Silence these MSVC warnings - warning C4047: '=' : 'unsigned char' differs in levels of indirection from 'char *' 2020-03-05 16:32:15 +01:00
twinaphex e75e2ede92 (menu_setting.c) Stop using settings->arrays.menu_driver to
identify the menu driver
2020-03-05 16:27:35 +01:00
twinaphex 5f8020b32e (libretro-common samples udp test) Rewrite while (1) to for (;;) 2020-03-05 15:52:02 +01:00
twinaphex 860f94e914 (CTR) Stylistic cleanups 2020-03-05 15:50:39 +01:00
twinaphex dc24530382 Cleanups 2020-03-05 15:38:10 +01:00
twinaphex 84f04ae984 (Ozone) Cleanup this confusing code 2020-03-05 15:34:54 +01:00
twinaphex 48ffe8dac3 Do not rely on settings->arrays.menu_driver anymore to check
which menu driver is active
2020-03-05 15:33:18 +01:00
Twinaphex 1c302f26b3 Prevent warning 2020-03-05 15:20:16 +01:00
twinaphex dfe64e3735 Merge branch 'master' of https://github.com/libretro/RetroArch 2020-03-05 15:13:00 +01:00
Twinaphex d7ddeeb40c Update CHANGES.md 2020-03-05 15:12:16 +01:00
Twinaphex 1215f4eb59 Merge pull request #10216 from Tatsuya79/patch-9
don't flush on override/remap messages
2020-03-05 15:11:19 +01:00
Tatsuya79 10ec720686 don't flush on override/remap messages 2020-03-05 14:59:40 +01:00
twinaphex 6d5fc4a36b Buildfix 2020-03-05 14:49:35 +01:00
twinaphex 4933b89736 Buildfix 2020-03-05 14:18:41 +01:00
Twinaphex 3958235c89 Merge pull request #10215 from jdgleaver/widget-osd-fix
Prevent improper display of (old style) OSD text when widgets are enabled
2020-03-05 14:14:25 +01:00
twinaphex d3bc82d2c3 Header cleanups 2020-03-05 14:12:20 +01:00
twinaphex da60c1bb96 Header cleanups 2020-03-05 14:06:04 +01:00
twinaphex 2e034c1574 (gfx/drivers_font) header cleanups 2020-03-05 14:01:34 +01:00
twinaphex 35001e64c2 Header cleanups 2020-03-05 13:53:49 +01:00
twinaphex bdfd6d3175 Cleanups 2020-03-05 13:50:50 +01:00
twinaphex 7841b639ec (Ozone) Header cleanups 2020-03-05 13:35:55 +01:00
jdgleaver 35977efe43 Prevent improper display of (old style) OSD text when widgets are enabled 2020-03-05 12:28:38 +00:00
twinaphex b5c87aaef8 (menu_driver.c) Go through wrapper 2020-03-05 13:26:36 +01:00
twinaphex c66b4249ca More settings cleanups 2020-03-05 13:24:59 +01:00
Twinaphex a451d6927a Merge pull request #10214 from WeedyWeedSmoker/French-translation-update
French translation update
2020-03-05 13:09:49 +01:00
twinaphex 178e4e7d29 (menu_setting.c) Settings cleanups 2020-03-05 13:09:08 +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 f87bd0c190 Settings cleanups - make sure things that modify the settings
struct go through the wrapper function so that the 'modified'
bit gets set
2020-03-05 12:22:58 +01:00
Weedy Weed Smoker 3c9664f099 French translation update 2020-03-05 18:11:17 +07:00
twinaphex 43b65be030 Arrange array members based on size 2020-03-05 11:27:25 +01:00
twinaphex 899c21257c (Video layout) move init_string and set_string to stdstring -
rename them - cleanup strcmp usage in video layout and other
code cleanups
2020-03-05 11:19:44 +01:00
twinaphex 1bda81560e Get rid of remnant 2020-03-05 01:04:50 +01:00
twinaphex 09f595e0a8 Settings cleanups 2020-03-05 01:03:55 +01:00
Twinaphex 2333b7f31a Update CHANGES.md 2020-03-05 00:54:34 +01:00
Twinaphex 8f42e5f9a7 Update CHANGES.md 2020-03-05 00:53:54 +01:00
Twinaphex a18b29743e Merge pull request #10212 from Jamiras/cheevos_rp_buffer_overflow
(cheevos) prevent buffer overflow when encountering an unknown macro
2020-03-05 00:53:28 +01:00
Jamiras 8baf0f6340 prevent buffer overflow when encountering an unknown macro 2020-03-04 16:37:59 -07:00
twinaphex a1951b51b6 Cleanup menu_dialog.c 2020-03-05 00:29:48 +01:00
twinaphex 8bad0b6b7e Cleanup some comments 2020-03-04 23:22:51 +01:00
twinaphex a03d4485b0 Cleanup retroarch_validate_per_core_options 2020-03-04 22:41:58 +01:00
twinaphex c0e088ca07 Add TODO/FIXME 2020-03-04 22:30:17 +01:00
Twinaphex 97d8db7aae Remove unused variables 2020-03-04 22:27:37 +01:00
twinaphex bea4f8aad3 (menu_dialog.c) Cleanups 2020-03-04 22:21:18 +01:00
twinaphex 8d3b22091c Get rid of menu_dialog_is_push_pending 2020-03-04 22:12:42 +01:00
Twinaphex cbeb8944eb Merge pull request #10211 from Tatsuya79/patch-8
qt: update osd options
2020-03-04 20:55:07 +01:00
twinaphex dcfa8cc7ba (cheevos) Cleanup 2020-03-04 20:53:23 +01:00
twinaphex 32e4aea068 Start making the other code safe that is dependent on menu driver
ident checking
2020-03-04 20:47:39 +01:00
twinaphex 2f25db03ba (Menu) Fix bug - if you were in XMB and you would set menu driver to
RGUI, you could no longer go to the left or right tab
2020-03-04 19:51:36 +01:00
Tatsuya79 570884dc2b qt: update osd options 2020-03-04 19:36:07 +01:00
twinaphex 70602487be Cleanup 2020-03-04 19:23:18 +01:00
twinaphex 2077ffa2ca Simplify menu_dialog.c 2020-03-04 19:21:24 +01:00
twinaphex 2637bd648b Cleanups 2020-03-04 19:13:30 +01:00
Twinaphex ee4d86237f Update CHANGES.md 2020-03-04 19:06:49 +01:00
Twinaphex 55bc96e00b Merge pull request #10210 from jdgleaver/widget-scaling-windowed
Add independent widget scale override settings for fullscreen/windowed modes
2020-03-04 19:05:40 +01:00
jdgleaver 29f8189d0e Add independent widget scale override settings for fullscreen/windowed modes 2020-03-04 17:10:49 +00:00
Twinaphex e10ae3dca1 Update CHANGES.md 2020-03-04 17:32:38 +01:00
Twinaphex d74398b262 Merge pull request #10198 from altiereslima/master
Update Portuguese Brazilian Translation
2020-03-04 17:29:40 +01:00
Twinaphex a1fe704d22 Merge pull request #10207 from jdgleaver/arcade-dat-filter
(Manual content scanner) Add 'Arcade DAT Filter' Option
2020-03-04 17:29:33 +01:00
Twinaphex b96bdeeed7 Merge pull request #10208 from jdgleaver/drop-down-auto-select
Automatically select currently checked item when opening drop-down lists
2020-03-04 17:29:22 +01:00
Twinaphex 9678b1f9ed Merge pull request #10209 from jdgleaver/rgui-flux
(RGUI) Enable 'Flux' theme
2020-03-04 17:23:13 +01:00
jdgleaver a10c7e3ac2 (RGUI) Enable 'Flux' theme 2020-03-04 14:09:07 +00:00
jdgleaver f7217702e2 Automatically select currently checked item when opening drop-down lists 2020-03-04 13:24:25 +00:00
jdgleaver 9d59fcaded (Manual content scanner) Add 'Arcade DAT Filter' Option 2020-03-04 11:52:20 +00:00
Twinaphex e2378680ef Merge pull request #10202 from WeedyWeedSmoker/French-translation-update
French update — (GLUI) Add navigation bar option
2020-03-03 19:58:43 +01:00
Twinaphex e7d6c63863 Merge pull request #10204 from jdgleaver/volume-widget-fix
Fix volume widget scaling
2020-03-03 19:45:11 +01:00
jdgleaver 9954ae57a9 Fix volume widget scaling 2020-03-03 17:08:37 +00:00
Twinaphex f61621f753 Merge pull request #10203 from jdgleaver/line-ticker-fix
Fix smooth (vertical) line ticker scroll speed
2020-03-03 17:01:36 +01:00
jdgleaver c02f922c10 Fix smooth (vertical) line ticker scroll speed 2020-03-03 14:33:26 +00:00
Weedy Weed Smoker a62ec9217f French update — (GLUI) Add navigation bar option 2020-03-03 21:11:18 +07:00
twinaphex 6232e0abd3 Buildfix 2020-03-03 11:08:16 +01:00
twinaphex d5f7839d12 Cleanups 2020-03-03 10:58:04 +01:00
twinaphex d1ebb58580 Cleanups - change function signature of compile_spirv to const char * 2020-03-03 10:49:47 +01:00
Twinaphex 67d00f4772 Merge pull request #10199 from orbea/glslang
griffin: Fix the glslang path.
2020-03-03 10:34:12 +01:00
orbea 0138398f0c griffin: Fix the glslang path. 2020-03-02 18:13:26 -08:00
altiereslima 040ded3443 Update msg_hash_pt_br.h 2020-03-02 21:38:33 -03:00
altiereslima 09d8cce474 Update msg_hash_pt_br.h 2020-03-02 21:21:07 -03:00
twinaphex 09df109531 Silence warning 2020-03-03 00:53:43 +01:00
twinaphex e895b9f101 (GX) Buildfix 2020-03-03 00:52:48 +01:00
Twinaphex f74126ec77 Merge pull request #10195 from MrHuu/patch-3
(3DS) Remove duplicate ECWolf ID
2020-03-02 23:39:03 +01:00
Twinaphex ae21ebddc8 Merge pull request #10196 from orbea/deps2
Fix the header paths with the system glslang.
2020-03-02 23:38:52 +01:00
orbea def374c2b9 Fix the header paths with the system glslang. 2020-03-02 14:20:18 -08:00
twinaphex f638fff16d (discord.c) Cleanups 2020-03-02 20:59:27 +01:00
twinaphex 4f5b16b245 Fix some TODO/FIXME notes 2020-03-02 20:52:29 +01:00
twinaphex 1167a06a5a Settings Cleanups 2020-03-02 20:34:31 +01:00
twinaphex 80991a00f0 Settings cleanups 2020-03-02 20:24:00 +01:00
twinaphex 0ef1b342e4 settings Cleanups 2020-03-02 20:10:24 +01:00
MrHuu 13ed047e13 (3DS) Remove duplicate ECWolf ID
ECWolf entry has been duplicated.

https://github.com/libretro/RetroArch/commit/0bd8629baa1b222838fb8363a218ab3352b53ddd#diff-780fd17e8e9be633670c6de3b589c992

https://github.com/libretro/RetroArch/commit/8dc2ea114f620ab7dd9e90e541317257fc4cb6f5#diff-780fd17e8e9be633670c6de3b589c992
2020-03-02 18:42:35 +01:00
Twinaphex 50c3673dfc Update CHANGES.md 2020-03-02 18:15:41 +01:00
Twinaphex 670cbc8903 Merge pull request #10191 from Jamiras/cheevos_lboard_retry
(cheevos) add delayed retries to leaderboard submissions
2020-03-02 18:15:26 +01:00
Twinaphex 96f2f24ce3 Update CHANGES.md 2020-03-02 18:14:38 +01:00
Twinaphex d4c9768138 Merge pull request #10175 from Jamiras/multi_popup
(cheevos) queue multiple popups
2020-03-02 18:13:33 +01:00
Twinaphex 254dacb66b Merge pull request #10194 from jdgleaver/glui-hide-nav-bar
(GLUI) Add option to remove navigation bar
2020-03-02 18:12:20 +01:00
Twinaphex 92bd0fc47a Merge pull request #10193 from phcoder/3ds
3ds: Add ids for ecwolf and xmillenium
2020-03-02 18:12:00 +01:00
jdgleaver 4d3507097a (GLUI) Add option to remove navigation bar 2020-03-02 16:13:53 +00:00
Vladimir Serbinenko 8dc2ea114f 3ds: Add ids for ecwolf and xmillenium
I don't have banners or icons though
2020-03-02 14:11:59 +01:00
Jamiras db5358f70f add delay retries to leaderboard submits 2020-03-01 17:19:50 -07:00
Twinaphex ccb8b98008 Update msg_hash_fr.h 2020-03-01 22:06:44 +01:00
Twinaphex 795be81f4a Merge pull request #10189 from WeedyWeedSmoker/French-update
French update — XMB themes added
2020-03-01 22:06:12 +01:00
twinaphex cc50cefd30 Cleanups 2020-03-01 21:58:09 +01:00
Twinaphex 5b2ed8a08d Update msg_hash_us.h 2020-03-01 20:37:49 +01:00
Twinaphex adbd442448 Merge pull request #10190 from libretro/revert-10188-turkish-language
Revert "Turkish Language updates"
2020-03-01 20:36:35 +01:00
Twinaphex f642066f05 Revert "Turkish Language updates" 2020-03-01 20:36:24 +01:00
Weedy Weed Smoker b1d0fec02e French update — XMB themes added 2020-03-02 01:13:51 +07:00
Twinaphex a4ca31e197 Merge pull request #10188 from fpscan/turkish-language
Turkish Language updates
2020-03-01 18:57:13 +01:00
Ömercan Kömür 40b17e4875 Turkish Language updates 2020-03-01 20:56:25 +03:00
twinaphex b99501d5d7 Simplify netplay_driver_ctl 2020-03-01 18:22:58 +01:00
twinaphex 0c1568c4ab Merge netplay_frontend.c into retroarch.c -
This should be the last file we have to roll into retroarch.c
2020-03-01 18:02:55 +01:00
twinaphex 45b02df36b Put HAVE_NETWORKING ifdefs around this code 2020-03-01 17:41:46 +01:00
twinaphex 182afe9561 Style nit 2020-03-01 17:30:42 +01:00
Twinaphex 38bbb2b3e1 Merge pull request #10183 from MrHuu/patch-2
(3DS) Update Makefile.cores
2020-03-01 16:28:35 +01:00
twinaphex 177d2a5903 (netplay_frontend.c) Settings cleanups 2020-03-01 16:24:06 +01:00
twinaphex 29d954bab2 Cleanups 2020-03-01 16:08:49 +01:00
twinaphex 69ffcf5648 (netplay_frontend.c) Simplify code 2020-03-01 15:58:17 +01:00
twinaphex 360fdfedbc (netplay_frontend.c) Cleanups 2020-03-01 15:33:17 +01:00
Twinaphex cd495a09f1 Merge pull request #10186 from JKoppel93/master
New XMB themes
2020-03-01 14:34:45 +01:00
JKoppel93 4914a41c2c minor tweaking 2020-03-01 04:58:59 -05:00
JKoppel93 105bfcafe5 XMB themes added
XMB themes added
2020-03-01 04:39:45 -05:00
MrHuu 0bd8629baa (3DS) Update Makefile.cores
Add id's for ECWolf / SMSplus / VitaQuake2 cores.
2020-02-29 22:21:01 +01:00
twinaphex 81ab6d575a Cleanups 2020-02-29 18:06:06 +01:00
Jamiras daad8bcca0 queue multiple popups 2020-02-29 09:30:22 -07:00
twinaphex 0524d4ae49 (retroarch.c) Settings cleanups 2020-02-29 17:18:25 +01:00
twinaphex 63b7d74272 Cut down get_time_usec calls - pass current_time around instead 2020-02-29 16:52:56 +01:00
twinaphex 42d3dd68ed (menu_cbs_deferred_push) Cleanups 2020-02-29 16:38:53 +01:00
twinaphex ca6b07cc47 Get rid of hash 2020-02-29 15:05:01 +01:00
twinaphex 22ada33990 Cleanups - get rid of label hash 2020-02-29 15:01:10 +01:00
twinaphex c4583a62fb Cleanups 2020-02-29 14:37:52 +01:00
twinaphex a326be71f3 Simplify remap_load_file 2020-02-29 14:33:53 +01:00
twinaphex 212318f95b Cleanups 2020-02-29 14:16:58 +01:00
twinaphex 8ce4ed7164 Cleanups 2020-02-29 12:55:33 +01:00
twinaphex 9dcc941ec5 Reduce get_time_usec calls 2020-02-29 12:51:42 +01:00
twinaphex 6802fa1324 Buildfix - add missing HAVE_CHEEVOS ifdef 2020-02-29 12:28:23 +01:00
Twinaphex 341cd0da36 Update CHANGES.md 2020-02-29 08:46:48 +01:00
Twinaphex 8476fd0559 Merge pull request #10177 from altiereslima/master
LOCALIZATION: Update Portuguese Brazilian translation
2020-02-29 08:46:26 +01:00
Twinaphex 6c8d87ac04 Update CHANGES.md 2020-02-29 08:17:43 +01:00
Twinaphex a438d4f4da Update CHANGES.md 2020-02-29 08:15:25 +01:00
Twinaphex b03f1d4c7f Update CHANGES.md 2020-02-29 08:14:46 +01:00
Twinaphex a4bad00133 Merge pull request #10180 from justinweiss/keep-bottom-screen-hidden-on-wake
[3DS] Keep the bottom screen hidden on sleep/wakeup
2020-02-29 08:14:13 +01:00
twinaphex b1fa971d35 Do check outside of rarch_perf_log 2020-02-29 08:05:49 +01:00
Justin Weiss a96be2cdce [3DS] Keep the bottom screen hidden on sleep/wakeup
When the 3DS wakes back up after being closed, the bottom screen needs
to be reinitialized. Adding the condition here will cause the screen
to be turned on or off based on the state of
ctr_bottom_screen_enabled, as you'd expect.
2020-02-28 23:01:22 -08:00
twinaphex 160d90f22a (performance counters) Get rid of other duplicate functions 2020-02-29 08:00:38 +01:00
twinaphex 3a1c59d461 rarch_timer_begin_new_time is an unnecessary function 2020-02-29 07:53:42 +01:00
twinaphex 7d908da30f Address TODO/FIXME 2020-02-29 07:45:17 +01:00
twinaphex add0cedc48 * Reduce the amount of cpu_features_get_time_usec calls
* Put code behind menu ifdefs
2020-02-29 07:41:05 +01:00
Twinaphex fe51b44d98 Merge pull request #10174 from Alcaro/patch-2
Fix tautological comparison
2020-02-29 06:35:56 +01:00
Twinaphex 7effd2171c Merge pull request #10179 from Jamiras/cheevos_measured
(cheevos) display measured progress on locked achievements
2020-02-29 06:34:29 +01:00
Jamiras 1557b15c40 display measured progress on locked achievements 2020-02-28 21:23:04 -07:00
altiereslima 897809cc75 LOCALIZATION: Update Portuguese Brazilian translation 2020-02-28 22:14:37 -03:00
hizzlekizzle ad03277e3c Merge pull request #10173 from Alcaro/patch-1
Avoid overflow when calculating multiplying performance counter
2020-02-28 18:30:13 -06:00
Alcaro ad523ebae0 Fix tautological comparison 2020-02-28 18:46:50 +01:00
Alcaro 472fe9a991 Avoid overflow when calculating multiplying performance counter 2020-02-28 18:07:00 +01:00
Twinaphex a10db7c280 Merge pull request #10171 from gordon-fish/patch-1
Fix to correctly set header.metadata_offset
2020-02-28 16:59:49 +01:00
gordon-fish 71c12aab32 Fix to correctly set header.metadata_offset
This fix will correctly set ``header.metadata_offset`` in ``libretrodb_create`` instead of always setting it to zero.

The main problem was using ``filestream_seek`` when ``filestream_tell`` should be used to get the actual offset.

See issue #10140
2020-02-28 07:46:07 -08:00
Twinaphex 385b0b71e7 Update CHANGES.md 2020-02-28 14:23:04 +01:00
Twinaphex 0913849b87 Update CHANGES.md 2020-02-28 14:22:17 +01:00
Twinaphex d67666f9fa Merge pull request #10170 from jdgleaver/core-list-hang-fix
Core updater tasks: Prevent hang when fetching core list if HTTP transfer fails
2020-02-28 14:21:18 +01:00
jdgleaver 5128237228 Core updater tasks: Prevent hang when fetching core list if HTTP transfer fails 2020-02-28 11:57:13 +00:00
twinaphex 5bb85ee5d5 (GX) Buildfix 2020-02-27 23:32:18 +01:00
Twinaphex 227a4585af Merge pull request #10166 from natinusala/odroidgo2-skeleton
ODROID-GO Advance rotation support
2020-02-27 23:30:00 +01:00
Twinaphex 172f49437f Merge pull request #10165 from jdgleaver/ozone-entry-height-fix
(Ozone) Fix entry height calculation
2020-02-27 23:29:05 +01:00
natinusala deb1151f04 odroidgo2: add zlib as dependency of libpng 2020-02-27 19:55:04 +01:00
natinusala b6a79462d5 odroidgo2: add libpng as libgo2 dependency 2020-02-27 19:45:25 +01:00
jdgleaver 4c9e2d98c1 (Ozone) Fix entry height calculation 2020-02-27 17:13:20 +00:00
twinaphex 55a1837494 menu_input_driver_toggle_on - turn function static 2020-02-27 15:34:47 +01:00
twinaphex 74547c0a81 (netplay) Cleanups 2020-02-27 12:02:55 +01:00
natinusala f00fb6d1ea odroidgo2: patched DRM driver 2020-02-27 10:22:51 +01:00
natinusala a75059f94b odroidgo2: add skeleton 2020-02-27 10:22:51 +01:00
twinaphex 765f8d4c8c Cleanup menu_keys_pressed 2020-02-27 10:03:21 +01:00
twinaphex 602623dc50 Remove RARCH_CTL_CORE_OPTIONS_INTL_INIT 2020-02-27 08:51:03 +01:00
twinaphex fb223ac377 Refactor input_keys_pressed 2020-02-27 08:08:38 +01:00
twinaphex 26b3ccf2e5 Don't pass joypad_info by value 2020-02-27 07:33:14 +01:00
twinaphex c2ed8783ee (pkg) Remove font / xui files 2020-02-27 01:34:42 +01:00
twinaphex 94cefaf1c5 Remove xui/fonts 2020-02-27 01:33:26 +01:00
twinaphex cd29beb00d Remove MENU_XUI 2020-02-26 22:05:11 +01:00
twinaphex 0ae51061f6 Fix build 2020-02-26 22:00:59 +01:00
twinaphex a6c9bb95f0 Remove HAVE_XUI 2020-02-26 19:09:00 +01:00
twinaphex fd7bc416ce Get rid of header include 2020-02-26 09:24:20 +01:00
twinaphex f5bc061b26 Merge menu_generic.c into menu_driver.c 2020-02-26 09:22:48 +01:00
twinaphex 3a76aac226 Get rid of unneeded header include 2020-02-26 08:25:56 +01:00
twinaphex b23863ae85 Reduce more cpu_features_get_time_usec calls 2020-02-26 08:17:51 +01:00
twinaphex d19dd12b30 Start calling cpu_features_get_time_usec less per frame iteration 2020-02-26 08:09:20 +01:00
twinaphex 795801b1f5 Reduce amount of calls to input_event_get_osk_ptr 2020-02-26 05:58:11 +01:00
twinaphex 01a65fa5ba Rename menu_osk.c to input_osk.c 2020-02-26 05:49:23 +01:00
Twinaphex e43f34376d Merge pull request #10163 from Tatsuya79/patch-7
qt: move gfx widget option to OSD
2020-02-25 20:16:12 +01:00
Tatsuya79 58fc9ce9ca Update ui.cpp 2020-02-25 19:20:27 +01:00
Tatsuya79 dc5afdccf9 qt: move gfx widget option to OSD 2020-02-25 19:18:57 +01:00
twinaphex a7e4bfe479 Cleanups 2020-02-25 08:11:45 +01:00
Twinaphex 010b2cb109 Merge pull request #10161 from altiereslima/master
(Translation) Update Portuguese Brazilian
2020-02-25 07:45:50 +01:00
Twinaphex 283c95399c Merge pull request #10162 from WeedyWeedSmoker/French-update
French update
2020-02-25 07:45:29 +01:00
Weedy Weed Smoker dd07038e14 (Ozone) Add 'Nord' and 'Gruvbox Dark' themes 2020-02-25 13:25:20 +07:00
twinaphex a5a0437bda (Ozone) Implement menu sublabels 2020-02-25 04:10:05 +01:00
altiereslima 314de68297 (Translation) Update Portuguese Brazilian 2020-02-24 21:22:23 -03:00
Twinaphex bdc159f0b4 Update CHANGES.md 2020-02-24 20:34:45 +01:00
Twinaphex 2d99847529 Merge pull request #10160 from jdgleaver/ozone-themes
(Ozone) Add 'Nord' and 'Gruvbox Dark' themes
2020-02-24 20:34:06 +01:00
jdgleaver 02a6243718 (Ozone) Add 'Nord' and 'Gruvbox Dark' themes 2020-02-24 17:53:07 +00:00
Twinaphex d7e6152d45 Merge pull request #10159 from jdgleaver/playlist-sublabel-fix
Fix playlist sublabels
2020-02-24 11:36:01 +01:00
jdgleaver 27c5ffeb76 Fix playlist sublabels 2020-02-24 10:22:44 +00:00
Twinaphex 0c17faa78f Merge pull request #10081 from felinben/patch
Add French comment
2020-02-24 10:11:08 +01:00
Twinaphex d4e9abe363 Merge pull request #10154 from Jamiras/cheevos_badges
(cheevos) simplify badge handling; remember enablement if XMB not available
2020-02-24 00:59:25 +01:00
Jamiras 5ecc426741 simplify badge handling; remember enablement if XMB not available 2020-02-23 15:55:41 -07:00
Twinaphex f671c37a0d Update CHANGES.md 2020-02-23 19:16:14 +01:00
Twinaphex 1933bc1eaf Merge pull request #10153 from Jamiras/cheevos_user_change
(cheevos) reset token when username or password changes
2020-02-23 19:15:13 +01:00
altiereslima c356e71b0a (Translation) Update Portuguese Brazilian (#10127)
* Update Portuguese Brazilian translation

* updates

* Update msg_hash_pt_br.h

* Update msg_hash_pt_br.h

* update

* finish
2020-02-23 12:26:50 -05:00
Rob Loach a3eef7442f (Translation) Update retroarch.desktop for French 2020-02-23 12:24:11 -05:00
Rob Loach d3419e7490 Merge pull request #10152 from natinusala/connmanctl-fix
connmanctl: fix build
2020-02-23 12:22:39 -05:00
Jamiras 4e27394b87 reset token when username or password changes 2020-02-23 08:10:26 -07:00
natinusala f21412ab59 connmanctl: fix build 2020-02-23 12:02:11 +01:00
twinaphex b89663e213 Inline file_list_get_userdata_at_offset 2020-02-23 11:13:48 +01:00
twinaphex 8ae08cf23d (Gfx widgets) Put AI service overlay code behind HAVE_TRANSLATE
ifdefs
2020-02-23 11:03:38 +01:00
twinaphex 6c82a3802e Remove more hashes 2020-02-23 10:20:29 +01:00
Rob Loach 387cb8bf8b Merge pull request #10132 from WeedyWeedSmoker/French-translation-update
(Translation) Update French translation
2020-02-23 03:30:06 -05:00
twinaphex 19f9ffc99f Get rid of more hashes 2020-02-23 09:22:30 +01:00
twinaphex 65d2c53bfe (Menu) Start getting rid of label hashes 2020-02-23 08:06:42 +01:00
twinaphex 976b659e2b (Ozone/MaterialUI) Settings cleanups 2020-02-23 07:53:19 +01:00
twinaphex 3b207990ce Cleanups 2020-02-23 06:34:41 +01:00
twinaphex 0ec3a8a449 (Input) Settings cleanups 2020-02-23 06:05:23 +01:00
twinaphex 8b11d9f039 Cleanups 2020-02-23 05:55:15 +01:00
twinaphex 3be4eac555 (msg_hash) Settings cleanups 2020-02-23 05:51:45 +01:00
twinaphex a2a5ca0d01 Move this struct over to rhash.c 2020-02-23 05:22:11 +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
Twinaphex 41230c05b1 Merge pull request #10150 from valadaa48/battery_match
Add match on "battery" instead of just "BAT" to appease some unices
2020-02-23 04:41:56 +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 8d6c7d6753 Cleanup 2020-02-23 00:02:56 +01:00
Twinaphex 8525b9e9cb Merge pull request #10143 from Jamiras/task_schedule
(cheevos) delay subsequent unlock attempts on failure
2020-02-22 21:59:43 +01:00
Jamiras c8c05306a3 add comments 2020-02-22 13:01:07 -07:00
Twinaphex 0f06e44b90 Merge pull request #10144 from Tatsuya79/patch-6
qt: fix ui "views" menu for drivers without kiosk mode
2020-02-22 18:29:13 +01:00
Tatsuya79 cb3d4ac722 qt: fix ui "views" menu for drivers without kiosk mode 2020-02-22 18:21:15 +01:00
Jamiras e00449c410 delay subsequent unlock attempts on failure 2020-02-22 07:11:01 -07:00
twinaphex 3ee89a16ef (Menu) Settings cleanups 2020-02-22 07:21:35 +01:00
twinaphex 4f50b2c698 Bump up to 1.8.5 2020-02-22 00:25:53 +01:00
twinaphex 428b3a8cc0 (Settings) Cleanups 2020-02-22 00:19:05 +01:00
twinaphex d8b3132a3c Cleanups 2020-02-21 23:57:42 +01:00
Twinaphex c2ca8b3a2d Update CHANGES.md 2020-02-21 21:57:13 +01:00
twinaphex a4c19457ce Found one instance where userdata was not implicitly set to NULL 2020-02-21 20:48:11 +01:00
Twinaphex 22dda9f398 Silence warnings 2020-02-21 20:40:23 +01:00
twinaphex d3e62c62f2 Make Ozone the new default for platforms that previously defaulted
to XMB
2020-02-21 20:19:13 +01:00
Twinaphex cee58b354d Merge pull request #10139 from jdgleaver/ozone-pointer
(Ozone) Add rudimentary pointer support
2020-02-21 19:46:30 +01:00
jdgleaver 92f93e9e4f (Ozone) Fix touchscreen sidebar scroll acceleration 2020-02-21 17:38:45 +00:00
jdgleaver d79b6e8574 (Ozone) Add rudimentary pointer support 2020-02-21 14:00:38 +00:00
twinaphex 1b0ab1c05f Cleanups 2020-02-21 07:34:53 +01:00
twinaphex 391a02fe45 Cleanups 2020-02-21 06:40:00 +01:00
twinaphex 2ec6d189ff Cleanups 2020-02-21 06:23:49 +01:00
twinaphex 903668aecf CXX_BUILD buildfix 2020-02-21 05:00:08 +01:00
twinaphex 47dc7e3db8 Cleanups 2020-02-21 04:01:21 +01:00
twinaphex 23d521935f Cleanups 2020-02-21 03:31:04 +01:00
twinaphex 6b7f794494 Cleanups 2020-02-21 03:28:23 +01:00
twinaphex 573fb445c4 CXX_BUILD buildfix 2020-02-20 01:06:00 +01:00
twinaphex 90ad9c567b CXX_BUILD buildfix 2020-02-19 23:50:26 +01:00
twinaphex b1db052bea (XMB) Cleanups 2020-02-19 23:30:08 +01:00
twinaphex c182916554 (Cheevos) Cleanups 2020-02-19 22:20:24 +01:00
twinaphex 068529929b Cleanups 2020-02-19 22:06:21 +01:00
twinaphex b3d3e5dd06 Cleanups 2020-02-19 21:05:38 +01:00
twinaphex 85c672a0f6 Settings pointer cleanups 2020-02-19 20:57:02 +01:00
twinaphex ab94af68c1 Cut down on settings access 2020-02-19 19:31:00 +01:00
twinaphex 682462fb20 Cleanups 2020-02-19 19:23:10 +01:00
twinaphex 75eef8a2c9 (drivers shader slang) Put logging behind DEBUG ifdef - and
turn some conditionals into a switch
2020-02-19 16:25:41 +01:00
Weedy Weed Smoker 0cb791ad5b Rename Menu Widgets to Graphics Widgets 2020-02-19 13:51:37 +07:00
twinaphex c6bd3da1c3 (drivers_shader) Cleanups 2020-02-19 03:23:30 +01:00
twinaphex 5280286415 (shader_vulkan.cpp) Cleanup 2020-02-19 03:11:45 +01:00
twinaphex 08f26eb097 (MSVC 2010) Add HAVE_GFX_WIDGETS 2020-02-19 02:59:19 +01:00
twinaphex d36941b81d (CTR) Buildfix 2020-02-19 00:23:45 +01:00
twinaphex 3ea96c2587 (GX) Buildfix 2020-02-19 00:23:45 +01:00
Twinaphex 51b9854a19 Merge pull request #10134 from jdgleaver/ozone-bg-opacity
(Ozone) Enable configuration of background opacity when content is running
2020-02-18 19:52:59 +01:00
jdgleaver 72b2da20e8 (Ozone) Enable configuration of background opacity when content is running 2020-02-18 17:12:39 +00:00
twinaphex 7f2d8742c2 Cleanups 2020-02-18 15:30:47 +01:00
twinaphex 3a94c52426 (gfx drivers) Start reducing settings pointer usage 2020-02-18 14:51:40 +01:00
twinaphex 9af520fa54 Cleanup 2020-02-18 13:40:01 +01:00
twinaphex c1a5bf944a Cleanups 2020-02-18 13:26:43 +01:00
twinaphex d7113372cb Rename Menu Widgets to Graphics Widgets; move setting to
Onscreen Notifications
2020-02-18 13:22:35 +01:00
twinaphex 46cacfc60e (gfx_display.c) Cleanups 2020-02-18 13:04:12 +01:00
Weedy Weed Smoker d3aae85014 French translation update
thanks to crowdin, I could find the last strings I forgot to translate!
2020-02-18 12:59:06 +07:00
twinaphex 2ba45d0acb (GL1) Fixes crash on MSVC2005 2020-02-18 05:51:23 +01:00
twinaphex cf8f2ac56c (menu_filebrowser.c) No more dependencies on settings_t 2020-02-18 05:43:13 +01:00
twinaphex 2ed50d2579 (MSVC 2010) x64 - update 2020-02-18 05:15:11 +01:00
twinaphex 6d09d29093 Be more safe with these functions - this was causing crashes on
MSVC 2005
2020-02-18 04:18:31 +01:00
twinaphex bd63d28b0f (MSVC) Add HAVE_OZONE 2020-02-18 02:55:33 +01:00
twinaphex 1a55b37046 (MSVC 2005) Add HAVE_OZONE 2020-02-18 02:53:28 +01:00
twinaphex 63a0f7a637 Get rid of fill_pathname_slash here 2020-02-18 02:42:41 +01:00
twinaphex 49b908e3c6 (MSVC2008) Add HAVE_OZONE 2020-02-18 02:35:52 +01:00
twinaphex 6609a749a3 (MSVC 2008) Add HAVE_GFX_WIDGETS 2020-02-18 02:15:41 +01:00
twinaphex 4224900f47 Fix memory leak 2020-02-18 02:02:22 +01:00
twinaphex 71d5f120a9 (Apple PPC) Add HAVE_GFX_WIDGETS 2020-02-17 23:03:10 +01:00
twinaphex 5684c72e35 (Ozone) Add two TODO/FIXMEs 2020-02-17 22:45:13 +01:00
twinaphex 53356fe61a Get rid of menu_texture_item 2020-02-17 22:28:21 +01:00
twinaphex 898044933a (MSVC 2005) Add HAVE_GFX_WIDGETS 2020-02-17 22:23:33 +01:00
twinaphex f4dd0f27ed MSVC2010 buildfix 2020-02-17 22:19:22 +01:00
twinaphex e3af337a78 Buildfix 2020-02-17 21:48:15 +01:00
twinaphex ebc335319e Cleanups 2020-02-17 21:47:09 +01:00
twinaphex 7c7d0f596a HAVE_MENU_WIDGETS now decoupled from HAVE_MENU 2020-02-17 21:28:42 +01:00
twinaphex 561012c3ba (gfx_widgets) Set all values to initial state 2020-02-17 20:49:56 +01:00
Twinaphex 7a37476b9a Update CHANGES.md 2020-02-17 16:44:33 +01:00
Twinaphex 65564b415d Merge pull request #10130 from ToKe79/lakka_ssid_length
connmanctl: display more chars from SSID
2020-02-17 16:44:05 +01:00
Twinaphex 25d428fde0 Update CHANGES.md 2020-02-17 16:43:45 +01:00
Twinaphex f7675bb48a Merge pull request #10131 from jdgleaver/double-input-fix
Prevent double input when using 'return' key (hardware) to close on-screen keyboard
2020-02-17 16:43:26 +01:00
twinaphex 10d09eaed3 gfx_widgets_init - move content of error path to retroarch.c 2020-02-17 16:42:17 +01:00
twinaphex 4d148ff078 Roll gfx_widgets_context_destroy into gfx_widgets_free 2020-02-17 16:35:19 +01:00
jdgleaver b10d4e9412 Prevent double input when using 'return' key (hardware) to close on-screen keyboard 2020-02-17 15:13:18 +00:00
twinaphex 166c0c2311 Cleanups 2020-02-17 16:07:37 +01:00
Tomas Kelemen (vudiq) d5cd51644e connmanctl: display more chars from SSID 2020-02-17 15:57:16 +01:00
Twinaphex 903648f1fe Update Makefile.cores 2020-02-17 14:16:03 +01:00
Twinaphex 3cc0c5a60a Merge pull request #10129 from jdgleaver/dos2unix
gfx_display.h/c: Fix line endings
2020-02-17 13:06:15 +01:00
Twinaphex 97627559a6 Merge pull request #10128 from jdgleaver/scaling-fix
Ensure menu ID is set before initialising menu driver
2020-02-17 13:06:04 +01:00
jdgleaver e497b8f534 gfx_display.h/c: Fix line endings 2020-02-17 12:01:14 +00:00
jdgleaver 12cd9e5c88 Ensure menu ID is set before initialising menu driver (fixes first-frame scaling bug) 2020-02-17 11:51:01 +00:00
twinaphex cec672a71d Buildfix 2020-02-17 12:27:08 +01:00
twinaphex cccf8a9870 Move hex32_to_rgba_normalized to materialui.c 2020-02-17 04:01:58 +01:00
twinaphex a0f3010159 Cleanup 2020-02-17 03:59:12 +01:00
hizzlekizzle 4e5509e206 Merge pull request #10123 from WeedyWeedSmoker/French-translation-update
French translation update
2020-02-16 20:37:42 -06:00
twinaphex c855eb38d8 Move enums to related header 2020-02-17 03:06:07 +01:00
twinaphex a59eec01e1 Cleanups 2020-02-17 02:40:37 +01:00
twinaphex 6e880ef686 osk_dark no longer a global 2020-02-17 02:31:14 +01:00
twinaphex 8980d92efa Cleanup 2020-02-17 02:08:40 +01:00
twinaphex 43561dc389 (Xvideo) Buildfix 2020-02-17 01:54:25 +01:00
twinaphex b00bf17153 Move menu_widgets to gfx/ and call it gfx_widgets 2020-02-17 01:54:07 +01:00
twinaphex b229f267e4 Rename menu_widgets to gfx_widgets 2020-02-17 01:43:40 +01:00
twinaphex 6b82089d6c Move menu_display code to gfx_display 2020-02-17 00:42:49 +01:00
twinaphex 550e8fff6b Move menu DPI scaling code to menu_widgets 2020-02-17 00:17:36 +01:00
twinaphex 633277ddd0 Refactor menu_widgets_iterate 2020-02-16 23:38:24 +01:00
twinaphex 5d5200d20b (Menu widgets) Refactor 2020-02-16 23:34:49 +01:00
Twinaphex 31a7e5628c Update CHANGES.md 2020-02-16 22:27:28 +01:00
Twinaphex 481e970424 Merge pull request #10126 from hcvcastro/master
avoid crash when running retroarch
2020-02-16 22:27:01 +01:00
twinaphex ec302bc4fc video_set_nonblock_state - remove settings dependency 2020-02-16 22:26:07 +01:00
twinaphex 47af95469a (font_driver.c) Remove configuration.h dependency 2020-02-16 21:59:03 +01:00
Henry Castro 4ac25e09ce avoid crash when running retroarch
Avoid NULL deref when running in GNU/Linux Debian
2020-02-16 16:52:07 -04:00
twinaphex 4493ece2f2 Cleanup 2020-02-16 20:27:22 +01:00
twinaphex 26dea23b5d Add DEBUG ifdefs 2020-02-16 20:21:54 +01:00
twinaphex 1cea12bf57 Cleanups 2020-02-16 20:03:57 +01:00
twinaphex 05dd4bbb51 No longer menu-specific 2020-02-16 19:49:02 +01:00
twinaphex 09da302b8d Try to make it more portable for BSD 2020-02-16 19:37:59 +01:00
twinaphex 95286408ed Buildfixes 2020-02-16 18:45:28 +01:00
twinaphex 26543a3636 Cleanups 2020-02-16 18:29:34 +01:00
twinaphex 7bf5da8de4 (gfx_animation.c) Remove remaining menu namespace conventions 2020-02-16 18:24:45 +01:00
twinaphex e7149effa7 (Menu widgets) Add HAVE_CHEEVOS ifdefs
(retroarch.c) command_reply is now still used regardless of HAVE_CHEEVOS
being defined or not
2020-02-16 18:11:50 +01:00
twinaphex 808a54e217 Cleanups 2020-02-16 17:40:06 +01:00
twinaphex bb2251a7b2 (display server) Cleanup 2020-02-16 17:34:26 +01:00
twinaphex 2f525187a1 (gfx_display.c) Get rid of more header includes 2020-02-16 17:18:13 +01:00
twinaphex 13ea2ceaa6 Get rid of some header includes 2020-02-16 17:09:52 +01:00
twinaphex 5c15b306d6 Header include cleanups 2020-02-16 16:58:38 +01:00
twinaphex b7ced5763b Get rid of header include 2020-02-16 16:54:58 +01:00
twinaphex f74225721d menu_thumbnail and menu_thumbnail_path now decoupled from menu
system
2020-02-16 16:38:17 +01:00
twinaphex f0bdb61fd8 gfx_display and gfx_animation no longer tied to HAVE_MENU 2020-02-16 15:51:58 +01:00
twinaphex 9a6ab81739 MOve gfx_display and gfx_animation to gfx/ 2020-02-16 15:26:58 +01:00
twinaphex c71469c715 Rename menu_display to gfx_display 2020-02-16 15:10:07 +01:00
twinaphex e6d64f72ec Start preparing menu_widgets.c to become independent of menu code 2020-02-16 14:17:33 +01:00
twinaphex fc9edda0ef Turn menu_animation.c into gfx_animation.c 2020-02-16 14:01:34 +01:00
twinaphex 084bad5aaa Every menu driver can set its own callback 2020-02-16 13:40:18 +01:00
twinaphex 98227a886b menu_animation_update_time - cleanups 2020-02-16 02:16:27 +01:00
twinaphex 3a1abbed4c Cleanup 2020-02-15 17:28:29 +01:00
twinaphex 45a012eb71 Cleanups 2020-02-15 17:25:20 +01:00
twinaphex 980058ea4c Cleanup dir_init_shader 2020-02-15 15:43:26 +01:00
Twinaphex 8e59430f93 Merge pull request #10122 from Jamiras/rcheevos_rp
default rich presence on; better handling of special characters
2020-02-15 13:23:13 +01:00
Weedy Weed Smoker 4f91a12f73 French translation update 2020-02-15 13:37:33 +07:00
Jamiras 4b8f3ec5b5 default rich presence on; better handling of special characters 2020-02-14 20:12:49 -07:00
Twinaphex bba8d9cd30 Update CHANGES.md 2020-02-15 02:43:54 +01:00
Twinaphex 46d876d607 Merge pull request #10121 from WeedyWeedSmoker/French-translation-update
French translation update
2020-02-15 02:43:12 +01:00
Twinaphex 205eb10f43 Merge pull request #9971 from sinusinu/master
Update korean translation
2020-02-15 02:42:37 +01:00
twinaphex 01e01f480e Add crowdin.yaml 2020-02-15 02:41:29 +01:00
Twinaphex 1c031466fc Merge pull request #9513 from guoyunhe/translation-update-script
Add translation update scripts to integrate with localization platforms
2020-02-15 02:39:31 +01:00
twinaphex ff96d914f4 Use M_PI from retro_math.h 2020-02-15 01:54:44 +01:00
Weedy Weed Smoker 278498da48 Latest additions to the french translation 2020-02-15 04:10:16 +07:00
Twinaphex b030f044f4 Update CHANGES.md 2020-02-14 22:05:29 +01:00
twinaphex 1d86fc07b1 Buildfix 2020-02-14 22:01:28 +01:00
twinaphex 5d56d09b8d Merge branch 'celerizer-test' 2020-02-14 21:56:31 +01:00
twinaphex 386199e422 Merge branch 'master' of git://github.com/celerizer/RetroArch into celerizer-test 2020-02-14 21:56:14 +01:00
Twinaphex 851ee94c5c Merge pull request #10120 from libretro/celerizer-master
Cleanups
2020-02-14 21:54:41 +01:00
Weedy Weed Smoker 9526e3f14b French translation update 2020-02-15 03:54:25 +07:00
twinaphex d86eb46f15 Cleanups 2020-02-14 21:53:45 +01:00
Twinaphex 2992cbd261 Merge pull request #10119 from Tatsuya79/patch-5
qt: add menu widget scaling new settings
2020-02-14 21:48:10 +01:00
Tatsuya79 914e330ef2 qt: add menu widget scaling new settings 2020-02-14 21:44:35 +01:00
twinaphex f320eb45d8 (menu_animation.c) Need to find a different way to remove this
dependency
2020-02-14 21:26:13 +01:00
twinaphex 60f335cf02 Split up menu display code into separate file 2020-02-14 21:07:15 +01:00
Guo Yunhe 1b395e664f Merge branch 'master' into translation-update-script 2020-02-14 21:06:03 +02:00
twinaphex 8040e7d168 (PS2) Buildfix 2020-02-14 19:04:12 +01:00
Twinaphex 9d5d7edf9a Update CHANGES.md 2020-02-14 19:00:59 +01:00
Twinaphex 136163ba4f Merge pull request #10114 from jdgleaver/widget-scaling
(Menu Widgets) Add scaling
2020-02-14 18:53:43 +01:00
jdgleaver 23c9b86f64 (Menu Widgets) Enable scaling of widgets independently from menu scale 2020-02-14 17:10:39 +00:00
twinaphex afb2a4abbf (Wii) Style nits 2020-02-14 17:43:58 +01:00
twinaphex c4f69b1eb7 (PS2) Cleanups 2020-02-14 17:43:00 +01:00
Twinaphex d6e7ae3769 Merge pull request #10118 from orbea/menu_null
Fix a segfault when starting the qt menu with the null menu driver.
2020-02-14 17:19:52 +01:00
orbea 0ea75894c1 Fix a segfault when starting the qt menu with the null menu driver. 2020-02-14 07:47:34 -08:00
twinaphex 0278e78989 Replace strcmp with string_is_equal 2020-02-14 16:46:09 +01:00
twinaphex 3b977c8747 Cleanups 2020-02-14 16:32:31 +01:00
twinaphex 789db436bb (conmanctl) Cleanups 2020-02-14 14:38:26 +01:00
twinaphex 2be5ffe4e9 Improve ifdef - should be compiled in only if HAVE_OZONE is defined 2020-02-14 14:31:02 +01:00
twinaphex 369348ebaf (Managers) Get rid of settings_t dependencies 2020-02-14 14:24:38 +01:00
twinaphex dad077adf3 Cleanups 2020-02-14 14:11:25 +01:00
twinaphex 3b2a3c1277 (led_driver) Take out settings_t dependency
(menu cbs sublabel) Add HAVE_MATERIALUI ifdefs
2020-02-14 14:05:35 +01:00
twinaphex e5674b146d (PSP) Buildfix 2020-02-14 13:33:27 +01:00
twinaphex ebd3e65f46 (ps2 compat files) Cleanups 2020-02-14 13:16:21 +01:00
twinaphex 2d946d0d95 (PS2 gfx) Cleanups 2020-02-14 13:06:56 +01:00
twinaphex cb0c145e3d Cleanups 2020-02-14 12:55:36 +01:00
twinaphex de604a79ab dir_list_new_special - no more dependency on settings_t 2020-02-14 12:12:59 +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 e47b7526bc (gfx) Cleanups 2020-02-13 23:24:51 +01:00
twinaphex 310bf3328e (UI) Cleanups 2020-02-13 22:39:29 +01:00
twinaphex 4467f811e0 ui_companion_driver_toggle - turn into static function 2020-02-13 22:33:09 +01:00
Twinaphex 637ff87e3f Merge pull request #10115 from orbea/cxx_linker
Add CXX_LINKER to the builtin glslang.
2020-02-13 22:26:49 +01:00
orbea c9c50f286c Add CXX_LINKER to the builtin glslang.
Fixes https://github.com/libretro/RetroArch/issues/10112.
2020-02-13 13:20:14 -08:00
twinaphex 59d6ad6b05 (platform_win32.c) Cleanup 2020-02-13 21:53:31 +01:00
twinaphex 950f6bb752 (record_ffmpeg) No more settings_t dependency 2020-02-13 21:48:52 +01:00
twinaphex 9c37356267 (record_ffmpeg.c) Start reducing settings_t usage 2020-02-13 21:41:29 +01:00
twinaphex 835acec8f3 (record_ffmpeg.c) Cleanups 2020-02-13 21:39:24 +01:00
twinaphex a6d64696e3 (menu_animation.c) Cleanups 2020-02-13 21:24:02 +01:00
twinaphex f4d93587a3 Remove unnecessary strings 2020-02-13 21:17:46 +01:00
twinaphex d0c40e3295 Remove duplicate English strings 2020-02-13 21:15:23 +01:00
twinaphex a92943d66c Buildfix for --disable-menu 2020-02-13 20:23:41 +01:00
jdgleaver 3f34f5072f (Menu Widgets) Add comment notifying that OZONE_SIDEBAR_WIDTH must be kept in sync between menu_widgets.c and ozone.h 2020-02-13 18:20:49 +00:00
twinaphex bf35c1faf5 Cleanup 2020-02-13 18:42:11 +01:00
twinaphex 108643473d (Intl Ja) Remove duplicate Japanese strings 2020-02-13 18:34:40 +01:00
jdgleaver e8a2a39d72 (Menu Widgets) Add scaling 2020-02-13 17:28:32 +00:00
Twinaphex e0cfa01e99 Merge pull request #10099 from WeedyWeedSmoker/French-translation-update
French translation update
2020-02-13 18:24:28 +01:00
twinaphex d645478f89 Cleanups 2020-02-13 18:19:04 +01:00
twinaphex a0ab7ab6fc (Menu) Cleanups 2020-02-13 18:13:21 +01:00
twinaphex 7090de541a - Merge runahead/mylist.c into retroarch.c
- General cleanups
2020-02-13 17:26:11 +01:00
twinaphex 5cb7d29c17 Style nits 2020-02-13 17:11:57 +01:00
twinaphex 2f64329c98 Cleanups 2020-02-13 17:04:49 +01:00
twinaphex 732fe2e996 Simplify menu_shader_manager_set_preset 2020-02-13 17:01:06 +01:00
twinaphex d02dbcfedd Update CHANGES.md 2020-02-13 14:18:30 +01:00
Twinaphex a97557f2e4 Merge pull request #10111 from jdgleaver/ozone-scaling
(Ozone) Add DPI-based scaling
2020-02-13 14:16:34 +01:00
twinaphex b004202cbf Revert "Reduce dependency on settings in menu_widgets.c"
This reverts commit ec53a400a7.
2020-02-13 14:11:52 +01:00
twinaphex 2e0f921ded Cleanups 2020-02-13 02:18:38 +01:00
twinaphex b7a17442d9 (menu_shader.c) Remove configuration.h dependency 2020-02-13 02:04:35 +01:00
twinaphex 699a21fa87 Cleanups 2020-02-13 01:09:27 +01:00
twinaphex 4c95d1af4e (network) Turn some functions into static functions 2020-02-12 20:06:21 +01:00
twinaphex 013117318c (network) Get rid of all the settings pointer grabbing 2020-02-12 20:01:48 +01:00
twinaphex e93244e0cb Cleanups 2020-02-12 17:26:54 +01:00
twinaphex 71030e4d81 Cleanup 2020-02-12 17:18:14 +01:00
twinaphex 7eb41e7057 (JACK) Get rid of configuration.h dependency 2020-02-12 17:13:47 +01:00
twinaphex ec53a400a7 Reduce dependency on settings in menu_widgets.c 2020-02-12 17:06:53 +01:00
twinaphex bb0840956f (menu_osk) Cleanup - take out configuration.h dependencies 2020-02-12 16:45:50 +01:00
twinaphex dd01ae8ebc menu_animation.c - no more dependency on configuration.h 2020-02-12 16:31:15 +01:00
twinaphex 1105d1019d Reduce some configuration dependencies 2020-02-12 16:13:28 +01:00
twinaphex d918c1791a Get rid of some configuration.h dependencies 2020-02-12 16:09:30 +01:00
jdgleaver b1773cc73b (Switch) Report correct (approximate) DPI in 'docked' mode 2020-02-12 14:25:49 +00:00
twinaphex 83a03b6679 Silence this warning 2020-02-12 14:16:09 +01:00
Twinaphex f3b3fc3935 Merge pull request #10102 from Jamiras/cheevos_unsupported_core
(cheevos) if the core says it's exposing SYSTEM_RAM, give it the benefit of the doubt
2020-02-12 13:38:46 +01:00
jdgleaver fff9a4f0c5 (Ozone) Add DPI-based scaling 2020-02-11 17:03:54 +00:00
twinaphex 1f6b90a4f9 Prevent warnings 2020-02-10 20:45:17 +01:00
twinaphex bc5349061f Missing prototype 2020-02-10 20:39:53 +01:00
twinaphex 70e3ddb224 Cleanups 2020-02-10 17:19:49 +01:00
twinaphex 5e20a7ef5e Rework some of the config.def.h variables 2020-02-10 15:33:32 +01:00
twinaphex 0fd00ca82f Cleanup 2020-02-10 15:24:14 +01:00
twinaphex 1fafdb2843 Style nits 2020-02-10 13:18:27 +01:00
twinaphex c142ee19ba Cleanups 2020-02-10 13:12:26 +01:00
twinaphex 880391d0c5 (libnx) Try to silence warnings 2020-02-10 12:36:11 +01:00
twinaphex 9dbad614a5 Prevent warnings 2020-02-10 11:54:05 +01:00
twinaphex 0c6bb6660a Cleanups 2020-02-10 11:49:50 +01:00
Guo Yunhe a4bb8f130b Merge branch 'master' into translation-update-script 2020-02-07 10:59:36 +02:00
twinaphex dce610747b Update audio resampler 2020-02-07 07:53:23 +01:00
Twinaphex 84e6c2a185 Merge pull request #10095 from eadmaster/patch-2
added GET_CONFIG_PARAM and SHOW_MSG network commands
2020-02-06 19:57:15 +01:00
Jamiras 446e44cb09 if the core says it's exposing SYSTEM_RAM, give it the benefit of the doubt 2020-02-05 18:16:34 -07:00
Twinaphex eb58b8c0b5 Update opensl.c 2020-02-05 18:53:11 +01:00
Twinaphex 51964eee20 Remove unused variable 2020-02-05 07:17:25 +01:00
Twinaphex 8bda4553ed Update CHANGES.md 2020-02-05 02:33:17 +01:00
Twinaphex b8951b9934 Update CHANGES.md 2020-02-05 02:31:32 +01:00
Twinaphex 0b7edbad28 Merge pull request #10100 from hasenbanck/fix-ffmpeg-seek
Fix crash on seeking when using HW decoding in some cases.
2020-02-05 02:31:06 +01:00
Nils Hasenbanck baf065b789 Fix crash on seeking when using HW decoding in some cases.
This fix makes sure that we don't de-allocate the video buffer before
while the decoding thread is still working. We also don't throw
an misleading error when the decoding threads flushed the buffers
on seeking.
2020-02-04 21:29:35 +01:00
Weedy Weed Smoker 609dde0988 Another small change to the french translation 2020-02-05 03:15:03 +07:00
Weedy Weed Smoker 41b5387203 Small change to the french translation 2020-02-05 03:06:06 +07:00
Weedy Weed Smoker 2311936580 French translation update
and small typo fix for the english file…
2020-02-05 02:59:48 +07:00
Twinaphex ed4558fadd Merge pull request #10096 from jdgleaver/disk-control-notification-labels
(Disk Control) Add disk labels to 'disk inserted' notifications
2020-02-04 20:10:18 +01:00
Twinaphex b1d56207e3 Merge pull request #10097 from jdgleaver/widget-width
(Menu Widgets) Allow notifications to use full screen width when not displaying menu
2020-02-04 19:38:21 +01:00
jdgleaver 0d5a8c6aaa (Menu Widgets) Allow notifications to use full screen width when not displaying menu 2020-02-04 16:07:06 +00:00
jdgleaver 9de9a79925 (Disk Control) Add disk labels to 'disk inserted' notifications 2020-02-04 15:45:00 +00:00
eadmaster ed0a624b12 added GET_CONFIG_PARAM and SHOW_MSG network commands 2020-02-04 08:57:45 +01:00
twinaphex 8627d638e1 Cleanups 2020-02-04 06:05:00 +01:00
twinaphex 3990254a7c Cleanups 2020-02-04 05:54:00 +01:00
twinaphex 51290457dd Cleanups 2020-02-04 05:01:03 +01:00
twinaphex 2c2ab2a7b9 Revert "Cleanups"
This reverts commit 110dda6e48.
2020-02-04 04:49:25 +01:00
twinaphex a7f21e6cea (config.def.h) Cleanups 2020-02-04 04:21:31 +01:00
twinaphex 309dbacb67 Cleanup 2020-02-04 03:11:57 +01:00
twinaphex 110dda6e48 Cleanups 2020-02-04 03:10:58 +01:00
twinaphex 58457ef16c Cleanups 2020-02-04 02:57:16 +01:00
twinaphex 55e7c16dea Cleanups 2020-02-04 02:50:12 +01:00
twinaphex 51bc64559b Revert "(Config file) Don't save 'nul' entries in config file anymore -"
This reverts commit 4c6d46137c.
2020-02-04 01:02:40 +01:00
twinaphex 4c6d46137c (Config file) Don't save 'nul' entries in config file anymore -
config file size goes from 100KB to 20KB
2020-02-04 00:05:11 +01:00
twinaphex debbd9f15b Remove unused menu_display_pixel_get_scale 2020-02-03 22:47:26 +01:00
twinaphex 712910dec0 Cleanups 2020-02-03 22:05:11 +01:00
twinaphex 8999235373 Cleanups 2020-02-03 21:45:55 +01:00
twinaphex 8c2fe0a9ae Cleanup 2020-02-03 21:17:17 +01:00
Twinaphex 9651299e79 Merge pull request #10094 from IlDucci/master
Updating Spanish translation with latest changes.
2020-02-03 21:16:59 +01:00
twinaphex fdb7f972a6 Update Makefile.griffin 2020-02-03 18:14:15 +01:00
twinaphex 12e82baeb3 Update - add HAVE_CONFIGFILE to Makefile.griffin 2020-02-03 18:12:43 +01:00
IlDucci a41ee25518 Updating Spanish translation with latest changes. 2020-02-03 15:30:30 +01:00
twinaphex cd20966fc8 Remove more settings_t dependencies 2020-02-03 08:00:08 +01:00
twinaphex d3e0d03301 Cleanups 2020-02-03 07:44:00 +01:00
twinaphex 2cb6416572 Cleanup 2020-02-03 07:39:14 +01:00
twinaphex 3fd40c03bf (tasks/task_core_updater.c) get Rid of some settings dependencies 2020-02-03 07:37:05 +01:00
twinaphex e5b236898f Cleanup 2020-02-03 07:22:30 +01:00
twinaphex 67cfff2520 Remove the menu display null drivers 2020-02-03 07:04:06 +01:00
twinaphex 68467da7ac Remove menu_display_ctx_vga - is identical to menu display null 2020-02-03 06:55:15 +01:00
twinaphex 6b0a62d6ff Null video driver should work now 2020-02-03 06:49:59 +01:00
twinaphex 5ff4ee96e4 (Resampler) More buildfixes 2020-02-03 03:33:50 +01:00
twinaphex e1603c0f44 (Resampler) Cleanups 2020-02-03 01:59:24 +01:00
twinaphex 5ceb73c1cf More casts 2020-02-03 00:29:34 +01:00
twinaphex 5f631b3499 Cast this 2020-02-03 00:24:24 +01:00
twinaphex 076fddd9d9 (Resampler) Turn this void 2020-02-03 00:16:16 +01:00
twinaphex bcfa6d7e0e Cleanup 2020-02-02 23:45:11 +01:00
twinaphex 2c37fb1f5e Add HAVE_CONFIGFILE ifdefs 2020-02-02 23:41:17 +01:00
twinaphex e0fdd8d39e Add back HAVE_CONFIGFILE ifdef - will strip out remaps and overrides
support as well
2020-02-02 21:27:38 +01:00
twinaphex cb48ae6989 Updates 2020-02-02 17:37:16 +01:00
twinaphex cde2d7c18c Looks like unnecessary logic 2020-02-02 17:32:14 +01:00
twinaphex 28b2a34191 Remove duplicate prototype 2020-02-02 08:07:59 +01:00
Twinaphex 07a2dc5aa9 Merge pull request #10089 from orbea/vulkan_warning
Silence warning with clang-9.0.1.
2020-02-02 04:08:24 +01:00
Twinaphex bfbbd858fb Merge pull request #10090 from orbea/glslang
Add HAVE_BUILTINGLSLANG to other build systems.
2020-02-02 04:07:57 +01:00
twinaphex 564a4758de Cleanups 2020-02-02 03:45:42 +01:00
orbea f1b9b8cb73 Add HAVE_BUILTINGLSLANG to other build systems. 2020-02-01 18:36:41 -08:00
twinaphex 5bb084c32b Cleanups 2020-02-02 03:00:51 +01:00
twinaphex 97beb90b8f Remove unused RARCH_CTL_IS_BLOCK_CONFIG_READ 2020-02-02 02:26:54 +01:00
twinaphex 8eca1a0459 Refactor this 2020-02-02 02:16:19 +01:00
twinaphex e7e7a284f5 Cleanups 2020-02-02 02:16:19 +01:00
orbea baf7013941 Silence warning with clang-9.0.1.
gfx/drivers_shader/shader_vulkan.cpp:2372:4: warning: field 'device' will be initialized after field 'size' [-Wreorder]
   device(device),
   ^
1 warning generated.
2020-02-01 16:52:00 -08:00
Twinaphex 7bf6bac63f Merge pull request #10087 from orbea/glslang
qb: Support building with a system version of glslang.
2020-02-02 01:23:31 +01:00
orbea 74a09844c2 qb: Support building with a system version of glslang. 2020-02-01 16:12:54 -08:00
orbea 65e071e470 qb: Add c++ support for check_header. 2020-02-01 15:40:43 -08:00
twinaphex e005044f64 Remove retro_main_log_file function 2020-02-01 23:56:51 +01:00
Twinaphex d788531ae5 Update CHANGES.md 2020-02-01 23:50:09 +01:00
Twinaphex 5ed63521b1 Merge pull request #10085 from Jamiras/cheevos_hash_info
(cheevos) show RetroAchievements Hash in content information list
2020-02-01 23:49:46 +01:00
twinaphex 3b492142db Add CDROM_DEBUG ifdefs around this 2020-02-01 19:39:44 +01:00
twinaphex 6b99e07043 Can remove retroarch_get_launch_arguments function now 2020-02-01 17:46:01 +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 e5ffeff36e Turn two more functions static 2020-02-01 17:24:27 +01:00
twinaphex bece92abb2 Turn command_set_shader private 2020-02-01 17:17:36 +01:00
Jamiras 79b51595a5 show RetroAchievements hash in content information list 2020-02-01 08:10:22 -07:00
twinaphex d89fb0e7c4 (shader_slang.cpp) Simplify usage of functions that are only
ever used as C-strings
2020-02-01 07:04:27 +01:00
twinaphex ca83be1db4 Cleanups 2020-02-01 04:19:22 +01:00
twinaphex 64c515bac4 Turn while (true) into for (;;) for easier MSVC backwards compatibility 2020-02-01 04:15:22 +01:00
twinaphex ff6d79b2cc Get rid of more RARCH_CTL_ enums 2020-02-01 03:32:24 +01:00
twinaphex 96018412c0 Cleanups 2020-02-01 03:27:58 +01:00
twinaphex 35b8c4cb05 Cleanup 2020-02-01 02:02:50 +01:00
Twinaphex 063e1a5d33 Update CHANGES.md 2020-02-01 01:52:22 +01:00
Twinaphex f54cd38f2e Update CHANGES.md 2020-02-01 01:51:59 +01:00
Twinaphex 04a5cbab4f Update CHANGES.md 2020-02-01 01:51:18 +01:00
Twinaphex 823f6b1047 Merge pull request #10084 from hasenbanck/override-netplay-fix
Save netplay settings which have a CLI override.
2020-02-01 01:50:47 +01:00
twinaphex 2db0d1f518 Cleanups 2020-02-01 01:50:01 +01:00
twinaphex cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
Nils Hasenbanck ec254f817d Save netplay settings which have a CLI override.
Currently the CLI overrides should not be saved when creating a confi-
guration file. But because of a bug, the user can never save netplay
settings which have an override.

This change prevents the frontend to set the "override flag" for these
options when setting the setting manually via the settings menu.

This enables toe saving of the affected settings again.
2020-01-31 15:21:20 +01:00
twinaphex 84251b02bd verbosity.c - add necessary header 2020-01-31 15:06:50 +01:00
twinaphex f0e889b552 Change prototype of video_driver_set_size 2020-01-31 15:06:50 +01:00
Twinaphex b490c774bf Update compat_ifaddrs.c 2020-01-31 07:48:32 +01:00
twinaphex 9f66968d1b Update verbosity.c 2020-01-31 02:34:16 +01:00
twinaphex 12da79730f Merge runahead/mem_util.c into retroarch.c 2020-01-31 02:32:49 +01:00
twinaphex 982e35db45 Use strlcat instead of strcat 2020-01-30 22:20:18 +01:00
twinaphex 941b5f83f3 Prefer to use strlcpy/strlcat instead of strcpy/strcat 2020-01-30 22:14:50 +01:00
twinaphex 3fc8aa7071 Cleanup 2020-01-30 22:03:49 +01:00
twinaphex 8c76e82e2f Simplify copy_core_to_temp_file 2020-01-30 21:55:38 +01:00
twinaphex 5ef559f6d8 Simplify copy_core_to_temp_file 2020-01-30 21:45:43 +01:00
twinaphex 0421d463f8 JUst use strdup instead of strcpy_alloc 2020-01-30 21:26:54 +01:00
twinaphex bb3e7fad66 - Make strcpy_alloc a static function of mem_util.c
- Make sure we avoid strcpy as much as possible - preferring
to use strlcpy instead
2020-01-30 20:16:20 +01:00
twinaphex d7c2eba4fd Simplify get_temp_directory_alloc 2020-01-30 20:05:44 +01:00
twinaphex e31ba43b5a Don't need to use verbosity_get_ptr for this 2020-01-30 19:47:03 +01:00
twinaphex 5d428d471c Move logging code over to verbosity.c 2020-01-30 19:22:57 +01:00
twinaphex a934e13309 Move variables into function 2020-01-30 19:13:17 +01:00
twinaphex d631da7d11 Start taking settings dependencies out of rarch_log_file_init
function
2020-01-30 19:04:05 +01:00
twinaphex 08239ead20 Remove duplicate English strings 2020-01-30 18:26:44 +01:00
twinaphex 7c0e80a415 (RPNG) Fix test compilation, currently fails though 2020-01-30 17:52:32 +01:00
twinaphex 0ff69ec3df Move test over to samples 2020-01-30 17:47:15 +01:00
twinaphex cad21249e0 Move crc32.c to samples 2020-01-30 17:44:29 +01:00
twinaphex acfe7ab16d Updates to samples/utils 2020-01-30 17:41:38 +01:00
twinaphex 652923d056 Move files around 2020-01-30 17:31:49 +01:00
twinaphex 4d18f3e9b7 Create more tests 2020-01-30 17:25:58 +01:00
twinaphex df06a0effe Fix names 2020-01-30 17:14:45 +01:00
twinaphex e13ffc7507 Add missing samples 2020-01-30 17:13:44 +01:00
twinaphex 12ec690044 Add samples test file for config_file 2020-01-30 17:02:52 +01:00
twinaphex 7f4139c427 Get rid of wrong double ';;' 2020-01-30 16:53:20 +01:00
twinaphex 74cd84399f Cleanups - Replace '== NULL' 2020-01-30 16:47:33 +01:00
Twinaphex f762ea6412 Update CHANGES.md 2020-01-30 16:39:25 +01:00
Twinaphex 46e26d9682 Update CHANGES.md 2020-01-30 16:37:57 +01:00
Twinaphex 057e57e0b6 Update CHANGES.md 2020-01-30 16:37:38 +01:00
Twinaphex 7f6b9fb31a Merge pull request #10080 from Jamiras/cheevos_unsupported_core
(cheevos) don't block sameboy core because it only exposes some memory
2020-01-30 16:36:52 +01:00
twinaphex a034909ae9 Cleanups 2020-01-30 16:35:59 +01:00
twinaphex f785e4b045 Replace while (1) with for (;;) - avoids MSVC warnings 2020-01-30 16:15:52 +01:00
twinaphex 8870632918 Get rid of unused RARCH_CTL_SET_FRAME_TIME_LAST 2020-01-30 04:39:22 +01:00
Jamiras 3ff13783fa workaround for sameboy only exposing RAM 2020-01-29 07:30:28 -07:00
Benoit Felix 54c7109cee Add French comment 2020-01-29 13:55:34 +00:00
twinaphex fe98aab910 Buildfix 2020-01-29 14:17:39 +01:00
twinaphex 260be59c9e C89_BUILD buildfix 2020-01-29 13:24:11 +01:00
twinaphex 2688805872 (retroarch.c) move variables to top 2020-01-29 03:48:09 +01:00
twinaphex ed84fd73a3 Cleanups 2020-01-29 03:46:25 +01:00
Twinaphex 255790b664 Merge pull request #10073 from eadmaster/patch-1
added GET_STATUS network command
2020-01-28 23:57:01 +01:00
eadmaster 491c0457a6 added detection of paused state 2020-01-28 21:40:56 +01:00
twinaphex 764990bb59 Revert "Aggressively simplify netplay_handshake - this function was very"
This reverts commit 096f992cc0.
2020-01-28 19:15:12 +01:00
twinaphex ac72ba5af8 Revert "(Netplay) Cleanups"
This reverts commit 646eba5a92.
2020-01-28 19:15:05 +01:00
twinaphex 846d9ed391 Revert "Cleanups"
This reverts commit 399f039b9e.
2020-01-28 19:14:37 +01:00
twinaphex 21381ff990 Revert "(netplay_frontend.c) Cleanups"
This reverts commit d0a2315098.
2020-01-28 19:14:22 +01:00
Twinaphex f43d7cc2d4 Merge pull request #10077 from phcoder/pixelbook2
Pixelbook fixes part 2
2020-01-28 17:50:37 +01:00
Vladimir Serbinenko 193d40bae4 Cleanup AMotionEvent_getAxisValue check
I though it was a weak loading but in fact it's explicit so
loading with some define magic, so we need to check for p_AMotionEvent_getAxisValue
to be clean. Binary code is actually the same

Tested by reverting path fix
2020-01-28 17:32:38 +01:00
Vladimir Serbinenko 6d8cbd2c4b Fix so file for x64 android
In particular it affects Pixelbook which implements x64 Android
2020-01-28 17:23:46 +01:00
Vladimir Serbinenko 14c24e1fab Remove unnecessarry check for AMotionEvent_getX
Unlike getAxis getX is always present and doesn't need to be checked
2020-01-28 17:04:32 +01:00
twinaphex d0a2315098 (netplay_frontend.c) Cleanups 2020-01-28 15:42:55 +01:00
Twinaphex 3d510bcaba Merge pull request #10075 from jdgleaver/netplay-rooms
Prevent out-of-bounds array indexing when displaying/selecting netplay rooms in menus
2020-01-28 15:38:03 +01:00
Twinaphex f75b588b0f Merge pull request #10076 from phcoder/pixelbook
Fix crash on Pixelbook
2020-01-28 15:32:56 +01:00
twinaphex 399f039b9e Cleanups 2020-01-28 15:14:29 +01:00
Vladimir Serbinenko e290e9193d Fix crash on Pixelbook
AMotionEvent_getAxisValue is a weak symbol and we need
to check for its presence before calling it.
2020-01-28 15:03:16 +01:00
twinaphex 646eba5a92 (Netplay) Cleanups 2020-01-28 14:56:05 +01:00
twinaphex 096f992cc0 Aggressively simplify netplay_handshake - this function was very
weird - the conditional was never triggered because all instances
of connection->mode being greater than or equal to
NETPLAY_CONNECTION_CONNECTED would already early return anyway
2020-01-28 14:29:30 +01:00
jdgleaver f538e04fd2 Prevent out-of-bounds array indexing when displaying/selecting netplay rooms in menus 2020-01-28 12:42:26 +00:00
twinaphex f72e127f5f Remove 'Send Debug Info' 2020-01-28 02:18:34 +01:00
eadmaster 7e7429cadd fixed comments style 2020-01-27 23:35:11 +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
eadmaster 7867b09a0e added GET_STATUS network command (#9483)
will return a string with the name of the current core running, the content name and crc32
2020-01-27 20:10:35 +01:00
twinaphex eb4e365820 (libretro-common) Cleanups 2020-01-27 17:00:18 +01:00
twinaphex f57ca1abba (netplay_room_parse) Fix namespacing of variable 2020-01-27 16:47:11 +01:00
twinaphex e8bc606c20 Move netplay_get_architecture to frontend_driver.c 2020-01-27 16:39:36 +01:00
twinaphex 9f9191819d (netplay_frontend.c) Cleanups 2020-01-27 16:27:51 +01:00
twinaphex 17cdbc305c Cleanups 2020-01-27 16:03:30 +01:00
Rob Loach a0faec186d intl: Remove AUTOMATICALLY_ADD_CONTENT_TO_PLAYLIST 2020-01-27 09:29:25 -05:00
Rob Loach 6b4b5ec2a1 Merge branch 'master' into master 2020-01-27 09:07:06 -05:00
Twinaphex 4a931c3bef Merge pull request #10062 from trioan/fixes
fix vulkan_framebuffer_generate_mips (msvc2017)
2020-01-26 15:08:06 +01:00
trioan 0e20be17cc fix vulkan_framebuffer_generate_mips (msvc2017)
{0} initializer
2020-01-25 21:14:28 -05:00
twinaphex 36cbcb12b2 Update CHANGELOG 2020-01-25 17:51:38 +01:00
twinaphex e54e12876b Header cleanups 2020-01-25 17:51:07 +01:00
twinaphex d198bef37b task_decompress.c - get rid of logging
task_autodetect_blissbox.c - get rid of logging
2020-01-25 17:22:24 +01:00
twinaphex cfcce71392 - Add HAVE_BLISSBOX
- Do not use logging functions inside internal task functions - should
always be done outside at end handler function
2020-01-25 17:17:53 +01:00
twinaphex 571eafd149 Get rid of send debug info in a more safe way that won't mess
with people's existing configs
2020-01-25 15:58:22 +01:00
twinaphex 3f598a0f9c Revert "Get rid of send debug info - if we ever bring this back, needs to be"
This reverts commit c0482ff2ea.
2020-01-25 15:55:11 +01:00
twinaphex c0482ff2ea Get rid of send debug info - if we ever bring this back, needs to be
reimplemented according to new infra
2020-01-25 14:53:04 +01:00
Twinaphex 3952761812 Merge pull request #10049 from Jamiras/http_port
allow characters other than / to follow port
2020-01-25 04:28:47 +01:00
hizzlekizzle f8ac94353a Merge pull request #9710 from hunterk/master
switch to nearest neighbor scaling as default
2020-01-24 15:56:03 -06:00
Jamiras d0d1c5bb37 allow characters other than / to follow port 2020-01-23 07:00:50 -07:00
Guo Yunhe 24aa0f7fe6 Merge branch 'master' into translation-update-script 2020-01-23 12:04:19 +02:00
twinaphex 60e087b8e7 (Discord) Add header include 2020-01-23 04:49:51 +01:00
twinaphex 9ddd8417c8 Replace some more auto variables 2020-01-23 04:49:51 +01:00
Twinaphex 363e7294b6 Update CHANGES.md 2020-01-23 01:59:39 +01:00
Twinaphex b0aa447d5f Merge pull request #10048 from Jamiras/http_task_progress_div_zero
prevent divide by zero error when calculating http transfer percentage
2020-01-23 01:57:15 +01:00
Jamiras a96672c0fc improve accuracy of progress for smaller payloads; prevent divide by zero for very small payloads 2020-01-22 17:42:55 -07:00
twinaphex bf5d3437f0 Merge branch 'master' of https://github.com/libretro/RetroArch 2020-01-22 20:09:33 +01:00
Twinaphex 689805ecbb Merge pull request #10045 from jdgleaver/disk-control-restore-index
(Disk Control Interface) Add support for saving/restoring last used disk in playlists + code overhaul
2020-01-22 20:09:14 +01:00
twinaphex a4564b8939 Move C oriented code from slang_reflection.cpp to glslang_util.c 2020-01-22 19:36:49 +01:00
twinaphex ff9701685f Remove some auto variables 2020-01-22 19:07:10 +01:00
twinaphex 528edf7e82 (Discord) Cleanups - we might want to do a clean implementation of all
this someday as Discord RPC is deprecated anyway
2020-01-22 18:53:54 +01:00
jdgleaver 00397a33f0 (Disk Control Interface) Add support for saving/restoring last used disk in playlists + code overhaul 2020-01-22 17:09:12 +00:00
twinaphex 276b7a03f1 Remove 'automatically add content to playlist' option - causes
memory corruption; not worth it for now
2020-01-22 17:08:02 +01:00
twinaphex 6d0286efbd Turn video_shader_parse_type into macro 2020-01-22 14:30:55 +01:00
twinaphex 920e89a506 Move pass set texture to vulkan_common.c 2020-01-22 14:27:24 +01:00
twinaphex 8f1aa8c2c3 (shader_gl_core.cpp) Cleanups 2020-01-22 13:52:14 +01:00
twinaphex 376ad6d61d move more C functions over to gl_core.c 2020-01-22 13:12:00 +01:00
twinaphex 90874b434e (shader_vulkan.cpp) Move more C code to vulkan_common.c 2020-01-22 12:09:08 +01:00
twinaphex bcf8ff3d0a (shader_gl_core) Get rid of ConfigDeleter - move C code to gl_core.c 2020-01-22 11:57:06 +01:00
twinaphex c8227c95dd (shader_gl_core) get rid of ConfigDeleter 2020-01-22 11:35:00 +01:00
twinaphex b8cd37aef7 (shader_vulkan.cpp) Get rid of ConfigDeleter 2020-01-22 11:29:40 +01:00
twinaphex f853632260 Move framebuffer generate_mips function to vulkan_common.c 2020-01-22 10:52:20 +01:00
twinaphex e9c73bd9a6 (Vulkan) Move more C code to vulkan_common.c 2020-01-22 10:41:38 +01:00
twinaphex ef27a660a7 (shader vulkan) Cleanups - moving C code out of the C++ file 2020-01-22 10:11:42 +01:00
twinaphex d4a1f2ef85 Cleanups 2020-01-20 05:06:51 +01:00
twinaphex 60faeffde0 (task_patch.c) Cleanups 2020-01-20 04:44:45 +01:00
twinaphex 481f31fe8f Turn task_patch.c into separately compiled file 2020-01-20 04:31:32 +01:00
twinaphex 8a989b65ee Cleanup 2020-01-19 13:19:25 +01:00
twinaphex 826b2245ec WndProcCommon - small optimization 2020-01-19 12:17:26 +01:00
twinaphex 61c6dc5a70 (msg_hash_pl.h) Buildfix 2020-01-19 07:49:27 +01:00
Twinaphex bfc46120bb Update CHANGES.md 2020-01-19 07:36:38 +01:00
Twinaphex b63387ca4f Merge pull request #10029 from DEX357/patch-51
New PL strings
2020-01-19 07:36:21 +01:00
Twinaphex 4e2f2e0458 Merge pull request #10031 from yoshisuga/tvos-fix-compiler-flag
tvOS: fix preprocessor flag; update version in Info.plist
2020-01-19 07:12:06 +01:00
Yoshi Sugawara 72a6e71e72 tvOS: fix preprocessor flag; update version in Info.plist 2020-01-18 20:01:41 -10:00
twinaphex 7748ac207c Split up blissbox code into separate file
tasks/task_autodetect_blissbox.c
2020-01-19 06:40:07 +01:00
twinaphex f852209040 Silence some unused variable warnings on some targets 2020-01-19 06:04:37 +01:00
twinaphex 32c62a7fe1 Get rid of header include 2020-01-19 05:00:35 +01:00
twinaphex 51d6b467d6 (Win32) Buildfix 2020-01-19 04:56:12 +01:00
twinaphex 638b65c828 (platform_switch.c) Cleanups 2020-01-19 04:23:07 +01:00
Twinaphex 4e7a8a6478 Update CHANGES.md 2020-01-19 04:16:41 +01:00
Twinaphex 17153b4aae Update CHANGES.md 2020-01-19 04:16:08 +01:00
Twinaphex ee95aa401d Merge pull request #10017 from Jamiras/cheevos_segacd_ext_mem
(cheevos) support for extended sega cd memory
2020-01-19 04:15:41 +01:00
Twinaphex ff81118ffc Update CHANGES.md 2020-01-19 04:15:25 +01:00
Twinaphex fdac368153 Merge pull request #10028 from ToadKing/emscripten-input-fix
emscripten: recreate input event listeners properly
2020-01-19 04:15:06 +01:00
Twinaphex 7f3bf75788 Update CHANGES.md 2020-01-19 04:14:47 +01:00
Twinaphex 506b524db0 Merge pull request #10027 from ToadKing/fix-mouse-capture
fix mouse capture hotkey not working
2020-01-19 04:14:23 +01:00
DEX357 21b8ae9e52 New PL strings 2020-01-18 20:29:49 +01:00
Toad King 14c67fde7f emscripten: recreate input event listeners properly
There's a new (undocumented -_-) API for removing event listeners in emscripten
now, so use that when recreating input listeners. Fixes mouse events breaking
when loading cores.
2020-01-18 12:51:21 -06:00
Toad King 7ca666a0e9 fix mouse capture hotkey not working
There's a normal binding for this set in your configs/`grab_mouse_toggle`, but
there's a second place where it's hardcoded to check the F11 key. Because F11
is the default key, both of these codepaths will run which immediately captures
and then uncaptures the mouse cursor, effectively breaking it.

Tested and this fixes the behavior on Linux and Emscripten
2020-01-18 12:49:08 -06:00
twinaphex c26c9483ec Cleanup WNDPROC functions 2020-01-18 11:34:50 +01:00
twinaphex a01e6652df Replace ZeroMemory with memset 2020-01-18 10:46:25 +01:00
twinaphex 57c00e7e26 Cleanup 2020-01-18 10:41:26 +01:00
twinaphex a67896ab2b Cleanup 2020-01-18 09:37:16 +01:00
twinaphex 142503d3b5 move win32_menu_loop and win32_browser to win32_common 2020-01-18 09:28:46 +01:00
twinaphex fe9022afe0 More CXX_BUILD fixes 2020-01-18 05:48:19 +01:00
twinaphex 64d3408188 (ffmpeg) Fixups 2020-01-18 05:40:11 +01:00
Twinaphex ffd9b1bede Merge pull request #10022 from Jamiras/http_transfer_file
add task_push_http_transfer_file
2020-01-18 04:59:14 +01:00
Twinaphex daf52cb32e Merge pull request #10023 from Jamiras/http_port
fix parsing of port in net_http_connection_done
2020-01-18 04:57:11 +01:00
Jamiras 92d572285e add missing header 2020-01-17 20:36:28 -07:00
Jamiras 59302e816c fix parsing of port in net_http_connection_done 2020-01-17 20:22:49 -07:00
Jamiras 7325147d83 add task_push_http_transfer_file 2020-01-17 19:48:40 -07:00
Twinaphex d6592b6b0a Merge pull request #10021 from Jamiras/cheevos_coro_fix
(cheevos) attempt to fix corrupted User-Agent string
2020-01-18 03:38:45 +01:00
Jamiras 3460214467 buffer doesn't survive across CORO boundary 2020-01-17 18:52:48 -07:00
Twinaphex 38b486eb6b Merge pull request #10019 from jdgleaver/extended-disk-control
Add disk control interface API extension
2020-01-17 18:09:15 +01:00
jdgleaver a2e1d622e1 Add disk control interface API extension 2020-01-17 16:34:05 +00:00
Guo Yunhe c6139b7285 Merge branch 'master' into translation-update-script 2020-01-17 17:14:11 +02:00
Twinaphex dbe0705880 Merge pull request #10014 from orbea/unused
qb: Improve the NOUNUSED checks.
2020-01-17 08:19:05 +01:00
Jamiras 4b471a6e01 support for extended sega cd memory 2020-01-16 19:44:14 -07:00
orbea a87192f8d0 qb: Improve the NOUNUSED checks. 2020-01-15 11:05:38 -08:00
Twinaphex f425d8dc8b Update CHANGES.md 2020-01-15 19:29:14 +01:00
Twinaphex 9e25601a56 Merge pull request #10012 from orbea/c99
qb: Improve the gnu99 compiler check.
2020-01-15 19:18:29 +01:00
Twinaphex fca5af7ac3 Merge pull request #10011 from orbea/qb-fix
qb: Don't set cc_works in test_compiler.
2020-01-15 19:18:20 +01:00
Twinaphex 1af0ede1a6 Merge pull request #10013 from jdgleaver/clean-playlists
(Playlist Management) Add 'Clean Playlist' option
2020-01-15 19:17:50 +01:00
jdgleaver e7733abc40 (Playlist Management) Add 'Clean Playlist' option 2020-01-15 18:00:51 +00:00
orbea 4171c93bff qb: Improve the gnu99 compiler check. 2020-01-15 09:55:27 -08:00
orbea dd2c9c911b qb: Don't set cc_works in test_compiler. 2020-01-15 09:23:49 -08:00
Twinaphex de052537ec Update AndroidManifest.xml 2020-01-15 17:18:05 +01:00
Twinaphex 68bc6b37ae Update AndroidManifest.xml 2020-01-15 17:17:43 +01:00
Twinaphex 548d1bae9e Update retroarch-sailfishos.spec 2020-01-15 17:12:35 +01:00
Twinaphex c89e557158 Update bar-descriptor.xml 2020-01-15 17:12:15 +01:00
Twinaphex 62dda5fdbf Update Info.plist 2020-01-15 17:09:26 +01:00
Twinaphex 22f24bd48f Update Info_Metal.plist 2020-01-15 17:09:10 +01:00
Twinaphex eeb0c65b6e Update Info.plist 2020-01-15 17:08:02 +01:00
Twinaphex b23fcf238b Update RetroArch_iOS9-Info.plist 2020-01-15 17:07:00 +01:00
Twinaphex 79698981ad Update version.dtd 2020-01-15 17:06:00 +01:00
Twinaphex ab4e3e8c75 Update version.all 2020-01-15 17:05:43 +01:00
Twinaphex 4bee4429aa Update CHANGES.md 2020-01-15 17:05:04 +01:00
Twinaphex 269ee7e672 Merge pull request #10010 from orbea/uname
Don't use uname -a.
2020-01-15 16:17:20 +01:00
orbea 8d6b70c22c Don't use uname -a. 2020-01-15 06:27:42 -08:00
twinaphex e786059506 frontend_ctx_null - add missing function pointer 2020-01-15 09:11:17 +01:00
twinaphex d48d4385d9 (Wayland) Silence warning 2020-01-15 08:48:13 +01:00
Twinaphex 1521be8acb Merge pull request #10007 from orbea/eval
qb: Move BUILD_DIRS to the correct function.
2020-01-15 08:21:05 +01:00
Twinaphex 76c97bbfad Merge pull request #10009 from orbea/qb-win
qb: Clean up.
2020-01-15 07:52:30 +01:00
Twinaphex 1b931dd410 Merge pull request #10008 from orbea/qt-fix
qb: Fix the qt configure check with older compilers.
2020-01-15 07:51:52 +01:00
orbea 77baa1c930 qb: Clean up. 2020-01-14 22:12:22 -08:00
orbea d41b7770c4 qb: Fix the qt configure check with older compilers. 2020-01-14 21:01:50 -08:00
Twinaphex 4f145a4f4f Update CHANGES.md 2020-01-15 05:29:50 +01:00
twinaphex fc7dc3cef7 (Camera) Add stub null camera driver 2020-01-15 05:20:01 +01:00
orbea 0dbfd721b3 qb: Move BUILD_DIRS to the correct function. 2020-01-14 20:06:09 -08:00
Twinaphex 243505b7cb Merge pull request #10006 from orbea/eval
qb: Remove potentially unsafe uses of eval.
2020-01-15 00:43:09 +01:00
orbea 04af898fe5 qb: Remove potentially unsafe uses of eval. 2020-01-14 14:30:28 -08:00
Twinaphex 9e1c5747f6 Merge pull request #10004 from orbea/exists
qb: Update the exists function.
2020-01-14 22:33:47 +01:00
twinaphex ab49806a5f add another ifdef 2020-01-14 22:09:00 +01:00
twinaphex e24934d5ea Improve compile time checks for determining if ffmpeg
version supports hardware decoder
2020-01-14 21:41:26 +01:00
Twinaphex 8ab162ffb1 Update CHANGES.md 2020-01-14 20:28:41 +01:00
Twinaphex 614e5bc44f Update CHANGES.md 2020-01-14 20:28:23 +01:00
twinaphex c1137ee3fa CoreAudio - Put g_interrupted behind IOS ifdefs 2020-01-14 20:22:06 +01:00
twinaphex 6cfe0ea77c (Audio) Update 2020-01-14 20:20:54 +01:00
orbea d89b7f93b2 qb: Update the exists function. 2020-01-14 10:20:35 -08:00
Twinaphex a6b114e423 Merge pull request #10000 from orbea/comp
qb: Allow multi argument CC and CXX.
2020-01-14 19:01:14 +01:00
Twinaphex 90f2ebeac1 Update CHANGES.md 2020-01-14 18:51:40 +01:00
Twinaphex 60cca4d9d2 Merge pull request #10003 from jdgleaver/disk-control-tweaks
Disk control interface improvements
2020-01-14 18:48:57 +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
jdgleaver 16c4035e1c DISABLE_MENU=1 build fix 2020-01-14 14:04:34 +00:00
jdgleaver b5eba22aaf Disk control interface improvements 2020-01-14 12:30:08 +00:00
twinaphex 98b572d17a (FFmpeg) Add more ffmpeg_sw_decoder_threads options 2020-01-14 06:56:14 +01:00
Twinaphex 76c6e01534 Update CHANGES.md 2020-01-13 19:34:17 +01:00
Twinaphex 15b1281075 Update CHANGES.md 2020-01-13 19:34:05 +01:00
twinaphex e4ef930b47 (Android) Prevent crash when Android device is minimized and you go back to
the app
2020-01-13 19:21:24 +01:00
orbea 19e86a2b19 qb: Allow multi argument CC and CXX. 2020-01-13 09:41:14 -08:00
twinaphex 46b62b4a63 Update Makefile 2020-01-13 08:28:26 +01:00
twinaphex 7874d179da Simplify create_win32_process 2020-01-13 00:01:28 +01:00
twinaphex 341a4d50ea Buildfix 2020-01-12 23:56:08 +01:00
twinaphex b8328a9fdf (Accessibility) Cleanups 2020-01-12 22:04:31 +01:00
twinaphex 5b8411fe77 Silence implicit definition warnings 2020-01-12 21:46:28 +01:00
twinaphex 682d8f23e9 Strip out accessibility settings in menu if HAVE_ACCESSIBILITY
is not defined
2020-01-12 21:38:30 +01:00
twinaphex 34a9224334 Add accessibility.h 2020-01-12 21:34:31 +01:00
twinaphex 88ee7cbfa8 Add HAVE_ACCESSIBILITY switch 2020-01-12 21:33:00 +01:00
twinaphex 70e472e9e2 (menu widgets) Minor variable cleanups; shouldn't affect anything 2020-01-12 21:11:26 +01:00
twinaphex e9adb44c4a Avoid two warnings 2020-01-12 00:07:41 +01:00
twinaphex 81f8cae52a (RGUI) Prevent 'potential uninitialized reference to variables'
in load_custom_theme
2020-01-11 23:22:54 +01:00
twinaphex 36e67108fb Cleanups 2020-01-11 23:22:54 +01:00
Twinaphex f0bad7b091 Merge pull request #9988 from hasenbanck/fix-brackets
Fix brackets in buffer logic of the ffmpeg core.
2020-01-11 23:15:28 +01:00
Nils Hasenbanck 354c50039b Fix brackets in buffer logic of the ffmpeg core. 2020-01-11 15:01:21 +01:00
twinaphex b9c69e24a9 Cleanups 2020-01-11 05:06:38 +01:00
twinaphex 6319262b9c (RGUI) Prevent warning 2020-01-11 05:03:27 +01:00
twinaphex 78e02bf3dd Avoid warnings when HAVE_RUNAHEAD is not defined 2020-01-11 05:02:46 +01:00
twinaphex 3492ba5fd6 (libretro-common) Prevent warning 2020-01-11 04:48:33 +01:00
twinaphex f9ed6cbbfe Prevent another warning 2020-01-11 04:27:38 +01:00
twinaphex 98a573033d Prevent another warning 2020-01-11 04:26:31 +01:00
twinaphex 066089873b Prevent warning when HAVE_NETWORKING is not defined 2020-01-11 04:13:05 +01:00
twinaphex 8032ff6e19 (RCheevos) Cleanups 2020-01-11 03:07:54 +01:00
twinaphex 99d5dba6ae Add signal.h check for linux/unix 2020-01-10 15:19:29 +01:00
Twinaphex 0b0455975b Update CHANGES.md 2020-01-10 15:09:37 +01:00
Twinaphex 4b34894b59 Merge pull request #9978 from dev-0x7C6/master
Added additional CI test for passing sysroot flags via CC and CXX.
2020-01-10 15:07:20 +01:00
Twinaphex 311ee2db62 Update build.gradle 2020-01-10 15:06:00 +01:00
Twinaphex dfafcb0513 Update AndroidManifest.xml 2020-01-10 15:05:34 +01:00
Twinaphex 28520af599 Merge pull request #9979 from hasenbanck/better-buffer-logic
Fix the ffmpeg core packet buffer logic.
2020-01-10 15:04:31 +01:00
Twinaphex 207795abfd Merge pull request #9981 from jdgleaver/thumb-task-cleanup
Thumbnail downloader clean-ups
2020-01-10 15:04:11 +01:00
jdgleaver 495ad41741 Thumbnail downloader clean-ups 2020-01-10 11:08:36 +00:00
Nils Hasenbanck d591529e7a Fix the ffmpeg core packet buffer logic.
The logic for when to consider to decode a buffered packet did
had used a "magic number" when considering when the current packet
should be decoded when compared to the reference packet.
This change uses the media fps so that we never "overshoot" our target
and don't need to rely on a "magic number".
2020-01-10 08:23:18 +01:00
twinaphex 3a5dace583 (WiiU) fix build 2020-01-10 01:16:42 +01:00
Bartłomiej Burdukiewicz e2952586d1 Added additional CI test for passing sysroot flags via CC and CXX. 2020-01-09 23:14:50 +01:00
Twinaphex 16f25c2e06 Update AndroidManifest.xml 2020-01-09 21:36:38 +01:00
Twinaphex 8fea733a1f Update AndroidManifest.xml 2020-01-09 21:36:23 +01:00
Twinaphex bbb09f7557 Update AndroidManifest.xml 2020-01-09 21:36:14 +01:00
Twinaphex 1fc1acd3d0 Update CHANGES.md 2020-01-09 19:54:04 +01:00
twinaphex 0923985516 (GL/WGL) This regression caused cores that required GL to fail
because it would try to erroneously load GLESv2.dll instead of
OpenGL32.dll
2020-01-09 19:26:53 +01:00
twinaphex 2b1d1bc8cb (MaterialUI) Add icons for rooms 2020-01-09 18:21:25 +01:00
twinaphex 38e3cc2087 Update CHANGES.md 2020-01-09 18:11:00 +01:00
twinaphex be3acb902b (Discord) use fill_pathname_application_path 2020-01-09 17:19:00 +01:00
twinaphex 617940fb8d Move midi_null driver to retroarch.c 2020-01-09 17:00:46 +01:00
twinaphex a96ae6e987 (Playlists) Make sure history list can be set to 1 as a bare minimum -
bump up default to 200 for history and favorites lists
2020-01-09 16:49:52 +01:00
twinaphex a65396ba56 Add title for sideload core setting 2020-01-09 16:44:04 +01:00
twinaphex 61c4e3a5e4 Update Makefile.ctr.salamander 2020-01-09 15:49:24 +01:00
twinaphex df8f93e9d5 Split up VFS file_path code into separate file 2020-01-09 15:44:48 +01:00
twinaphex 577e1bd693 Merge branch 'master' of https://github.com/libretro/RetroArch 2020-01-09 15:28:30 +01:00
Twinaphex 1012d07e7f Merge pull request #9973 from jdgleaver/sideload-core-fix
Fix manual core installation
2020-01-09 15:26:53 +01:00
jdgleaver edec9448c4 Fix manual core installation 2020-01-09 14:13:21 +00:00
Woohyun Shin 5f456d067e Update korean translation 2020-01-09 15:00:42 +09:00
twinaphex 19ea50843c Merge branch 'master' of https://github.com/libretro/RetroArch 2020-01-09 01:43:12 +01:00
Twinaphex e9db190baa Merge pull request #9970 from hasenbanck/packet-buffer
Implement the packet buffer for the FFMPEG core
2020-01-08 22:06:19 +01:00
twinaphex fd5d9a0710 Merge branch 'packet-buffer' of git://github.com/hasenbanck/RetroArch 2020-01-08 21:56:31 +01:00
Nils Hasenbanck 1f673be3c8 Fixed the video decoder deadlock when using HW decoding. 2020-01-08 21:51:22 +01:00
Nils Hasenbanck a82582e859 Remove an unused struct variable. 2020-01-08 21:06:28 +01:00
Nils Hasenbanck 40ecfbcdfa Fix memory leak in ffmpeg core packet_buffer 2020-01-08 21:02:23 +01:00
Nils Hasenbanck 1e54379141 Implemented the packet buffer.
Simply use two packet_buffers that are double-linked lists of
AVPacket structs. This way we can control which packets to feed
to the decoders at the right time.

This solves the playback problem with the MP4 files.
2020-01-08 20:44:00 +01:00
twinaphex 291012d2a9 (libretro-common) Updates 2020-01-08 19:47:23 +01:00
Twinaphex 5296f4aebd Merge pull request #9968 from fjtrujy/psp/DevelopmentImprovements
Put new makefile options after the commons for PSP
2020-01-08 17:29:46 +01:00
Francisco Javier Trujillo Mata c86de916cb Put new makefile options after the commons for PSP 2020-01-08 16:53:42 +01:00
Twinaphex c014fc20a1 Update Makefile.psp1 2020-01-08 16:42:10 +01:00
Twinaphex 39f089f374 Merge pull request #9967 from jdgleaver/widget-title-fix
(Menu Widgets) Prevent 'looping' of task title text
2020-01-08 16:38:24 +01:00
jdgleaver 1fe7898add (Menu Widgets) Prevent 'looping' of task title text 2020-01-08 14:19:10 +00:00
twinaphex 3b2ec53100 (libretro-common) Update 2020-01-08 04:26:49 +01:00
twinaphex 3a8f12dff3 Update libretro-common 2020-01-08 01:44:58 +01:00
twinaphex 02d1eeb400 (VFS UWP) Get rid of verbosity.h dependency 2020-01-08 00:28:30 +01:00
twinaphex 261f1b72d4 Remove separate null_resampler.c file and move it into audio_resampler.c 2020-01-07 23:03:23 +01:00
Twinaphex 15f7ba4d99 Merge pull request #9963 from natinusala/master
libnx: fix swkbd indefinitely showing up
2020-01-07 21:06:20 +01:00
Twinaphex ea49348db2 Merge pull request #9964 from fjtrujy/psp/DevelopmentImprovements
[Psp] Development improvements
2020-01-07 20:20:04 +01:00
Francisco Javier Trujillo Mata af6208be29 Improve Makefile to make easier Debug in PSP 2020-01-07 20:07:24 +01:00
Francisco Javier Trujillo Mata 5f81200067 Include new action inside of the launch.json 2020-01-07 20:06:47 +01:00
Francisco Javier Trujillo Mata 3901c2d63a Add in libretro-common the psp1 implementation 2020-01-07 20:06:47 +01:00
natinusala b1ad6014f0 libnx: fix swkbd indefinitely showing up 2020-01-07 20:06:20 +01:00
Twinaphex 572611f1ca Merge pull request #9959 from dev-0x7C6/master
Fixed more compiler invokes in configure stage.
2020-01-07 18:52:09 +01:00
Twinaphex 6d4b1b69e5 Merge pull request #9962 from ToadKing/patch-1
fix null check in video_display_server
2020-01-07 16:47:00 +01:00
Michael Lelli dcb6bae868 fix null check in video_display_server 2020-01-07 09:36:32 -06:00
Twinaphex 69208d0fca Update CHANGES.md 2020-01-07 16:27:08 +01:00
Twinaphex 60c8edd39c Merge pull request #9960 from jdgleaver/core-updater-status
Display number of cores updated when updating installed cores
2020-01-07 16:26:46 +01:00
jdgleaver d2e2c289a6 Display number of cores updated when updating installed cores 2020-01-07 14:59:46 +00:00
Bartłomiej Burdukiewicz 562bf11946 Fixed more compiler invokes in configure stage. 2020-01-07 15:38:15 +01:00
twinaphex 3d80838754 Fix display server crashing on some platforms 2020-01-07 11:35:32 +01:00
Twinaphex 85f25574fb Merge pull request #9956 from ToadKing/fix-fullscreen
fix fullscreen button in packaged emscripten build
2020-01-07 11:33:29 +01:00
Twinaphex 2986e9ff37 Merge pull request #9954 from Derynect/fix_dispserv_null
fix null pointer deref in new dispserv_null code
2020-01-07 11:33:04 +01:00
Twinaphex 9b87456d3e Merge pull request #9955 from Derynect/dingux_flag_fix
Fixed flags for dingux target
2020-01-07 11:32:47 +01:00
Michael Lelli 8a64df5763 fix fullscreen button in packaged emscripten build 2020-01-06 21:36:44 -06:00
jovonna 376547044c fix null pointer deref in new dispserv_null code 2020-01-06 21:52:13 -05:00
jovonna 2b22eaa7e6 Fixed flags for dingux target 2020-01-06 21:33:53 -05:00
twinaphex da4c95531e Bump up version 2020-01-06 21:17:17 +01:00
Twinaphex 707aafa1e6 Update CHANGES.md 2020-01-06 20:36:52 +01:00
twinaphex e5169eee71 Remove menu/drivers/null.c - move it into menu/menu_driver.c 2020-01-06 20:23:58 +01:00
twinaphex 665b98bd28 (CTR) Buildfix 2020-01-06 20:09:59 +01:00
Twinaphex 0817fb3d18 Update CHANGES.md 2020-01-06 20:08:36 +01:00
Twinaphex 29e9546b7d Merge pull request #9949 from theheroGAC/patch-46
Update msg_hash_it.h
2020-01-06 20:08:16 +01:00
twinaphex 2653a9bed3 Update CHANGES.md 2020-01-06 19:05:28 +01:00
Twinaphex 72a44078ce Merge pull request #9950 from hasenbanck/sao-paulo
Add Brazil relay server in Sao Paulo.
2020-01-06 18:40:03 +01:00
twinaphex 501954c6f6 Forgot to bump this before 2020-01-06 18:32:58 +01:00
twinaphex fa7859ad13 (Gfx drivers context) Cleanup EGL calls 2020-01-06 18:27:18 +01:00
Nils Hasenbanck 600776012d Add Brazil relay server in Sao Paulo. 2020-01-06 18:14:59 +01:00
theheroGAC 37044dd387 Update msg_hash_it.h 2020-01-06 18:13:20 +01:00
twinaphex a11d955dd8 (INTL) Remove more duplicate English strings 2020-01-06 17:59:13 +01:00
theheroGAC c0daf56963 Update msg_hash_it.h 2020-01-06 17:54:16 +01:00
theheroGAC bbdf586f18 Update msg_hash_it.h 2020-01-06 17:34:12 +01:00
twinaphex 4a93cb2007 (Metal) Update pbxproj 2020-01-06 17:33:20 +01:00
twinaphex 203bea3fe6 (MIDI) Turn bunch of functions static
(Menu) Remove menu_display_null driver
2020-01-06 17:30:09 +01:00
twinaphex 641662d77c Remove led_null.c 2020-01-06 16:29:25 +01:00
twinaphex 2ad394148a Revert "Remove led_null.c"
This reverts commit bef72a19d0.
2020-01-06 16:22:11 +01:00
twinaphex bbd1e6a6a5 Get rid of separate null midi driver file and display server file 2020-01-06 16:06:42 +01:00
twinaphex bef72a19d0 Remove led_null.c 2020-01-06 16:01:05 +01:00
twinaphex 3efa83a646 Get rid of record null file 2020-01-06 15:59:03 +01:00
twinaphex 1d2150cb45 Remove drivers_hid/null_hid.c 2020-01-06 15:52:35 +01:00
twinaphex 56236f7372 Get rid of platform_null.c file 2020-01-06 15:35:35 +01:00
twinaphex 246863279a Get rid of null input and null joypad driver files 2020-01-06 15:28:11 +01:00
twinaphex a986b71947 Remove separate audio / video null driver files 2020-01-06 15:22:21 +01:00
Twinaphex 3eba8da4e9 Update CHANGES.md 2020-01-06 15:09:00 +01:00
Twinaphex 94261da70a Update CHANGES.md 2020-01-06 15:07:54 +01:00
twinaphex 5dcdee5faa Get rid of null camera file and null location file - and buildfix 2020-01-06 14:57:02 +01:00
twinaphex 8386c06e07 Fix issue #9368 on Linux - 'Show desktop menu on startup' does not
launch qt-ui
2020-01-06 14:48:41 +01:00
twinaphex 85d11eac30 Revert "(INTL) Remove duplicate English strings"
This reverts commit 755cc94489.
2020-01-06 14:09:07 +01:00
twinaphex 755cc94489 (INTL) Remove duplicate English strings 2020-01-06 14:06:34 +01:00
Mats A ef2ddf6912 fix breaking changes from the 3.0.0 libnx release 2020-01-06 13:12:00 +01:00
U-DESKTOP-LII42QK\andre 05c1f9c9aa Squashed commit of the following:
commit 830a69818c6a9496d950def3f68f59c7d3affcab
Author: celerizer <[email protected]>
Date:   Sun Jan 5 17:43:47 2020 -0600

    remove unneeded pointer

commit 034cc521004dd95816af69c9d02eec6b3db62d95
Author: celerizer <[email protected]>
Date:   Sun Jan 5 17:39:45 2020 -0600

    cleanup

commit 4317b9d04d3f86f215d9df8d41ac22a6a2705420
Author: celerizer <[email protected]>
Date:   Thu Jan 2 18:52:06 2020 -0600

    needs a lot of cleanup
2020-01-05 17:53:59 -06:00
twinaphex f97e557194 (DRM/EGL) Buildfix 2020-01-06 00:33:28 +01:00
twinaphex 0029598822 (ANGLE) Add MINGW32/MINGW64 detection 2020-01-05 21:46:19 +01:00
twinaphex e23cd0e7e7 (Dingux) Build/warning fix 2020-01-05 20:09:30 +01:00
twinaphex 4c9ae245a4 (ANGLE) Add x64 mingw DLLs for libEGL.dll/libGLESv2.dll 2020-01-05 20:03:15 +01:00
twinaphex 4380b73ca6 Add HAVE_DYNAMIC_EGL option 2020-01-05 19:14:47 +01:00
twinaphex fa2a748631 (DSound) Create dsound_set_wavefmt 2020-01-05 17:16:55 +01:00
twinaphex bdc866d6d5 (DSound/WASAPI) Cleanups 2020-01-05 17:08:50 +01:00
Guo Yunhe 0c2fbd178d Synchronize translations 2020-01-04 21:56:20 +02:00
Guo Yunhe 85814137ea Use JSON as format to connect with translation tools 2020-01-04 21:56:20 +02:00
Guo Yunhe 34792a3493 Fix C98 build error 2020-01-04 21:56:20 +02:00
Guo Yunhe 148e15bca0 Detect duplicated keys 2020-01-04 21:56:20 +02:00
Guo Yunhe a3806194ee Handle exceptions in intl/template.py 2020-01-04 21:56:20 +02:00
Guo Yunhe c4c8778017 Rebase 2020-01-04 21:56:20 +02:00
Guo Yunhe ecd117d80d Add translation update script 2020-01-04 21:56:19 +02:00
Twinaphex 554bbb5fd0 Update CHANGES.md 2020-01-04 20:12:49 +01:00
twinaphex 6e0971fc61 (EGL) Call EGL common calls 2020-01-04 19:58:57 +01:00
twinaphex d5cdfbb7ba Move all EGL functions to egl_common.c file 2020-01-04 19:22:02 +01:00
twinaphex 063986a4b3 (ANGLE) Angle gets separate EXE name 2020-01-04 19:05:23 +01:00
Twinaphex fdb859276b Update CHANGES.md 2020-01-04 18:55:07 +01:00
Twinaphex 9a14c28056 Merge pull request #9944 from dev-0x7C6/master
Fixed compiler invoke in configure stage.
2020-01-04 18:53:59 +01:00
Twinaphex 210833006f Merge pull request #9943 from Derynect/dingux
Initial port to dingux platform
2020-01-04 18:53:05 +01:00
Bartłomiej Burdukiewicz 4ca5af4ac9 Fixed compiler invoke in configure stage. 2020-01-04 18:27:58 +01:00
jovonna decd374c15 Initial port to dingux platform 2020-01-04 12:20:03 -05:00
twinaphex 1216c3ef6d (OSX/Metal) Buildfix 2020-01-04 17:44:33 +01:00
Twinaphex 0f72a07b9e Update CHANGES.md 2020-01-04 16:43:08 +01:00
Twinaphex c4fafaebec Merge pull request #9941 from graciborski/pl_translation_input_names
update Polish translations for input configuration
2020-01-04 16:42:20 +01:00
Twinaphex c0160095fa Merge pull request #9942 from libretro/fix_video_filters
Only use threads when the number > 1
2020-01-04 16:42:12 +01:00
Francisco José García García f559e931cf Only use threads when the number > 1 2020-01-04 16:36:54 +01:00
twinaphex f92a507a9b Change function signature of font_driver_render_msg 2020-01-04 16:24:14 +01:00
Grzegorz Raciborski be7e074856 update Polish translations for input configuration 2020-01-04 16:00:56 +01:00
twinaphex 3e1f56d57f Change function signature of win32_has_focus 2020-01-04 15:49:23 +01:00
Twinaphex aae2e6fd7d Merge pull request #9940 from jdgleaver/xmb-ozone-quick-menu-fix
(XMB/Ozone) Fix 'quick menu' detection
2020-01-04 15:40:27 +01:00
twinaphex 91baea201a Change function signature of win32_show_cursor 2020-01-04 15:40:02 +01:00
jdgleaver cf58c09d6e (XMB/Ozone) Fix 'quick menu' detection 2020-01-04 14:28:30 +00:00
twinaphex 53dbd69751 (EGL) Create egl_bind_api 2020-01-04 15:09:42 +01:00
twinaphex 3d950b2324 Optimize audio_mix_volume_SSE 2020-01-04 14:40:37 +01:00
twinaphex 96395f7d39 (Xenon) Update sound driver 2020-01-04 13:47:50 +01:00
twinaphex e4eb5a9bb9 (menu_networking) remove configuration.h dependency 2020-01-04 13:14:53 +01:00
twinaphex 27c45b1b7a (Menu_thumbnail) Get rid of settings_t dependency 2020-01-04 12:38:33 +01:00
twinaphex 278dc75285 (tasks) Fix samples 2020-01-04 12:07:58 +01:00
twinaphex 9c6c10da22 (Playlist) Get rid of settings_t dependency 2020-01-04 12:04:00 +01:00
twinaphex 1d6f547e7f (Audio) Cleanups 2020-01-04 10:39:33 +01:00
twinaphex ee7051891b (Audio) Update audio drivers to make them more uniform 2020-01-04 10:32:03 +01:00
twinaphex 22b789cca6 (OpenSL) Move nonblock conditional outside of loop 2020-01-04 09:52:10 +01:00
twinaphex 40a6c978ce (DSound) Optimize codepaths
(CoreAudio) Only iOS uses g_interrupted flag, put it behind ifdefs
2020-01-04 09:46:27 +01:00
twinaphex 688629d108 (WASAPI) Get rid of one unnecessary function 2020-01-04 09:09:04 +01:00
twinaphex 65e8b28d02 (WASAPI) Optimize -
- turn blocking variable into nonblocking in line with other audio drivers
- blocking codepath would do numerous conditional checks on
w->buffer, w->exclusive, w->blocking during a loop iteration - get rid
of this
2020-01-04 08:58:27 +01:00
Twinaphex 1561ed8022 Merge pull request #9938 from ToadKing/fix-indexer-permissions
fix file permissions on `indexer` script for emscripten
2020-01-04 00:25:35 +01:00
Michael Lelli 1630affbdd fix file permissions on indexer script for emscripten 2020-01-03 16:41:52 -06:00
twinaphex d88e37a2f1 (Audio resampler/Sinc) Don't do kaiser window check inside hot loop 2020-01-03 22:12:11 +01:00
twinaphex fa00cdba20 (Audio) Update 2020-01-03 21:54:09 +01:00
twinaphex 6c97a7514c (Vulkan) turn superfluous functions in vulkan_common.c into macros
to avoid unnecessary function overhead
2020-01-03 20:20:59 +01:00
Twinaphex 83057301c2 Merge pull request #9934 from ToadKing/fix-emscripten-images
fix images not loading in menu in emscripten
2020-01-03 18:42:59 +01:00
twinaphex 6e6fbc5ad3 (Dsound) Split up dsound_write
(XAudio) Optimize xa_write_nonblock
2020-01-03 14:19:31 +01:00
twinaphex d567b0ca25 (WASAPI) Split up write function - set up the write callback dynamically
based on whether exclusive and blocking is set to true or not
2020-01-03 13:56:45 +01:00
twinaphex 3667690027 Revert "Integer scale fix for windowed mode"
This reverts commit 4ec9fe5a57.
2020-01-03 13:56:44 +01:00
Twinaphex 2936b1940a Update CHANGES.md 2020-01-03 13:36:38 +01:00
Twinaphex 07700d77bd Merge pull request #9933 from driver1998/angle
Win32/UWP: D3D driver get_metrics support, D3D11 -> GL failback
2020-01-03 13:16:50 +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
GH Cao 8f39fb2adf UWP: Use D3D11 driver by default 2020-01-03 09:46:27 +08:00
GH Cao 91ee8c8ee6 D3D11: Block 9_3 devices, implement gl failback 2020-01-03 09:44:24 +08:00
GH Cao a4e810795c D3D: Add get_metrics 2020-01-03 09:40:41 +08:00
GH Cao 0418e49757 Win32 MSVC2017: Disable ANGLE 2020-01-03 09:29:12 +08:00
Twinaphex 0096b9e6f0 Merge pull request #9929 from theheroGAC/patch-45
Update msg_hash_it.h
2020-01-03 01:55:12 +01:00
Twinaphex 47e1f0f2b1 Merge pull request #9932 from driver1998/angle
UWP: Save config on exit
2020-01-03 01:25:39 +01:00
GH Cao f2a64aa8e7 UWP: Save config on exit 2020-01-03 08:21:58 +08:00
Twinaphex c25e3ab3f9 Merge pull request #9931 from driver1998/angle
UWP: ANGLE prebuilt binaries, copy ANGLE in deployment / packaging
2020-01-02 23:24:07 +01:00
GH Cao b6d01ce448 UWP: Enable ANGLE for all platforms, copy ANGLE on deployment 2020-01-03 06:15:02 +08:00
GH Cao 090919490a UWP: Remove uwp_egl_create_surface
Because of 0e2265, this is not doing anything special anymore.
Remove it entirely and use common EGL surface creation instead.
2020-01-03 06:07:05 +08:00
GH Cao 2ba1f3547c UWP: Add ANGLE prebuilt binaries 2020-01-03 06:04:24 +08:00
theheroGAC 556fa9a499 Update msg_hash_it.h 2020-01-02 22:48:40 +01:00
theheroGAC ec3ab80da8 Update msg_hash_it.h 2020-01-02 22:33:40 +01:00
twinaphex 41e32ea949 (XAudio) If xa->nonblock is true - point write callback to
specialized version of the function
2020-01-02 20:33:21 +01:00
twinaphex 42c3072ff9 (Menu) Cleanups - rewrite code dependent on settings pointer
grabbing
2020-01-02 19:39:37 +01:00
Twinaphex 0b0ac03bed Merge pull request #9928 from Tatsuya79/patch-4
menu_setting increase run ahead frames range
2020-01-02 19:24:03 +01:00
Tatsuya79 ef8427cc23 menu_setting increase run ahead frames range 2020-01-02 19:12:58 +01:00
twinaphex c73daa6a1c (Discord) Remove settings_t dependency 2020-01-02 18:29:30 +01:00
twinaphex 6b6233944b Cleanups 2020-01-02 18:25:37 +01:00
twinaphex a6245185b9 (menu_driver.c) Cleanups 2020-01-02 18:21:43 +01:00
twinaphex bfd283e2a6 (INTL) CHT - Remove duplicate English strings 2020-01-02 18:11:19 +01:00
twinaphex 54675938ce (INTL) VN - Remove duplicate English strings 2020-01-02 18:05:28 +01:00
twinaphex 758a6c76ae Reduce dependence on settings_t struct 2020-01-02 17:52:37 +01:00
twinaphex 05d71ebb67 Start reducing dependency on settings struct 2020-01-02 17:41:52 +01:00
twinaphex 19406af87f Cleanups 2020-01-02 17:17:18 +01:00
twinaphex fa328c1590 (Netplay) Cleanups 2020-01-02 17:07:03 +01:00
twinaphex c4e04a6d09 Cleanups 2020-01-02 16:35:55 +01:00
Twinaphex b1579dd8d9 Update CHANGES.md 2020-01-02 15:41:15 +01:00
twinaphex 6ca24c412d (INTL) EL - Get rid of duplicate English strings 2020-01-02 15:36:31 +01:00
twinaphex fc4a5ad691 Revert "Configurable lobby URL"
This reverts commit cc0b7c42d1.
2020-01-02 15:30:50 +01:00
Twinaphex 4b183f84b2 Merge pull request #9926 from jdgleaver/3ds-race-assets
(3DS) Add build assets for RACE core
2020-01-02 14:23:36 +01:00
jdgleaver bf01a2d6e5 (3DS) Add build assets for RACE core 2020-01-02 12:57:56 +00:00
Twinaphex 4c38228359 Update CHANGES.md 2020-01-02 11:15:15 +01:00
Twinaphex ef9501a40d Merge pull request #9925 from jdgleaver/core-info-init
Ensure core info is always initialised when calling 'drivers_init()'
2020-01-02 11:09:54 +01:00
jdgleaver 195c9f6ab6 Ensure core info is always initialised when calling 'drivers_init()' 2020-01-02 09:49:05 +00:00
twinaphex cc0b7c42d1 Configurable lobby URL 2020-01-02 10:15:21 +01:00
twinaphex 4ec9fe5a57 Integer scale fix for windowed mode 2020-01-02 10:05:18 +01:00
twinaphex 643b3a73a4 (INTL) AR - Remove duplicate English strings 2020-01-02 09:48:55 +01:00
twinaphex dcd5dd6492 (INTL) JP - remove duplicate English strings 2020-01-02 09:41:07 +01:00
twinaphex 39db52b4f4 (Intl) Cleanup duplicate English strings 2020-01-02 09:36:38 +01:00
twinaphex 3955009b08 (Intl) Stat removing duplicate English text 2020-01-02 09:20:53 +01:00
twinaphex f1dc0b6d8e Update Disk Management labels 2020-01-02 08:57:10 +01:00
twinaphex a30e53d911 (Menu) Add password settings to Netplay Hosting submenu 2020-01-02 07:00:27 +01:00
twinaphex 568c55aca2 (Menu) Rearrange Recording settings 2020-01-02 06:58:23 +01:00
Twinaphex 62af393cd8 Update build.gradle 2020-01-02 03:16:32 +01:00
Twinaphex 7ed61ca766 Update build.gradle 2020-01-02 03:16:19 +01:00
twinaphex f9580c245d (Android) Add .ra64 2020-01-01 15:16:23 +01:00
twinaphex 88b28b6458 Add ANGLE UWP x64 DLLs 2020-01-01 11:59:16 +01:00
twinaphex 7c63889b26 Move static inline functions over to input_bind_dialog.c - were
not used elsewhere
2020-01-01 10:53:36 +01:00
twinaphex 55de2803a4 Turn some input functions static 2020-01-01 10:22:29 +01:00
twinaphex 4de34a53e7 Turn input_driver_grab_mouse/input_driver_ungrab_mouse static 2020-01-01 09:22:23 +01:00
twinaphex 0e22651c48 (UWP) Not setting EGLRenderResolutionScaleProperty fixes DPI scaling issues 2020-01-01 00:21:06 +01:00
twinaphex fa6ce5bc68 Add ANGLE UWP x64 libEGL/libGLESv2 static libs 2019-12-31 19:25:58 +01:00
Twinaphex db7431f3fa Merge pull request #9921 from libretro/revert-9898-kivutar/fixprs
Revert "Don't try to import secret certificates during PRs"
2019-12-31 18:29:10 +01:00
Twinaphex 7747e3a6b4 Revert "Don't try to import secret certificates during PRs" 2019-12-31 18:28:59 +01:00
Twinaphex 0d2d8f4d41 Merge pull request #9919 from Stevoisiak/patch-1
Remove unnecessary escape character
2019-12-31 18:16:41 +01:00
Stevoisiak f4f339c4d5 Remove unnecessary escape character
http://eslint.org/docs/rules/no-useless-escape
2019-12-31 12:13:40 -05:00
Twinaphex 48fddcb7bd Merge pull request #9918 from Stevoisiak/posix-undefined-brackets
Replace [[ ]] with [ ] for POSIX compatibility
2019-12-31 17:39:33 +01:00
Stevoisiak 0a6f6cb281 Replace [[ ]] with [ ] for POSIX compatibility
Double brackets are not compatible with all POSIX compliant shells. Replaced with single brackets.

http://mywiki.wooledge.org/BashFAQ/031
2019-12-31 11:31:55 -05:00
Twinaphex eb51b0c383 Update CHANGES.md 2019-12-31 13:47:15 +01:00
Twinaphex 5f1fcf51a6 Merge pull request #9916 from jdgleaver/filebrowser-fix
(Filebrowser) Fix file selection issues when starting from (or navigating to) the top level directory
2019-12-31 13:46:27 +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 1d6ebacfaa (MSVC 2017 UWP) Start adding separate configurations for ANGLE 2019-12-31 13:21:09 +01:00
Twinaphex 80f494b961 Update CHANGES.md 2019-12-30 17:09:11 +01:00
Twinaphex f4d1732137 Merge pull request #9915 from Jamiras/cheevos_unsupported_core
(cheevos) don't count unsupported achievements as unlocked
2019-12-30 17:08:50 +01:00
Twinaphex 2fc3a6fc1a Update CHANGES.md 2019-12-30 16:56:11 +01:00
Twinaphex dc8f8cd401 Update CHANGES.md 2019-12-30 16:34:26 +01:00
twinaphex 88c331ea99 (Menu) Add missing textures 2019-12-30 15:05:23 +01:00
Twinaphex 9d16264ba1 Merge pull request #9914 from jdgleaver/3ds-buildfix
(3DS) Theodore buildfix
2019-12-30 14:03:04 +01:00
twinaphex d809cc6a31 Buildfix for non-networking targets 2019-12-30 14:02:41 +01:00
jdgleaver 5c0cca9783 (3DS) Theodore buildfix 2019-12-30 12:57:57 +00:00
twinaphex a0e7fe19af (MSVC 2010) Buildfix 2019-12-30 09:47:58 +01:00
Twinaphex 960ff23843 Remove unused variable 2019-12-30 08:27:39 +01:00
twinaphex 0996e13352 Add subsystem settings list to menu_displaylist_build_list 2019-12-30 08:05:14 +01:00
twinaphex 81972149fc Submenu system is now properly hidden 2019-12-30 08:02:13 +01:00
twinaphex 48af253a06 (Menu) This macro is no longer used 2019-12-30 07:48:55 +01:00
twinaphex 1e45692f0b Create HAS_SET_SUBSYSTEMS for rarch_ctl 2019-12-30 07:46:33 +01:00
twinaphex 096a420e7b Update CHANGES.md 2019-12-30 07:04:42 +01:00
twinaphex ecb3301b19 (hosting submenu) Set include_everything to false 2019-12-30 07:01:24 +01:00
twinaphex ad397671a7 Add warning about globals 2019-12-30 06:50:25 +01:00
twinaphex 8b5db9fdaf Add return value to menu_displaylist_netplay_refresh_rooms 2019-12-30 06:48:10 +01:00
twinaphex 4137273002 Move netplay_refresh_rooms_menu to menu_displaylist.c and rename
it menu_displaylist_netplay_refresh_rooms
2019-12-30 06:44:14 +01:00
twinaphex f6db9ce04d Move menu_subsystem_populate to menu_displaylist.c 2019-12-30 05:57:32 +01:00
twinaphex 106c912eb5 (Netplay hosting)
- Remove clear
- Use index offset variable
2019-12-30 05:49:45 +01:00
twinaphex 3fe8806018 (Subsystem Settings) Create separate subsystem settings list - will
be selectively hidden later based on whether subsystems are implemented
for the core
2019-12-30 05:43:48 +01:00
twinaphex f3742a101c Change function signature on subsystem function 2019-12-30 05:17:31 +01:00
Jamiras b09a22360c don't count unsupported achievements as unlocked 2019-12-29 20:50:55 -07:00
Twinaphex f01afe72c6 Update msg_hash_ru.h 2019-12-30 04:47:38 +01:00
twinaphex a2fd581dad Add HAVE_NETWORKING ifdef 2019-12-30 04:43:42 +01:00
twinaphex 2169a25b0a Create Netplay Hosting submenu 2019-12-30 03:01:52 +01:00
twinaphex fdd4915718 Add Network Settings to Netplay tab 2019-12-30 02:22:23 +01:00
Twinaphex 9e9fa1f7df Update CHANGES.md 2019-12-29 22:44:05 +01:00
Twinaphex 5e8ab7b287 Update CHANGES.md 2019-12-29 22:43:40 +01:00
Twinaphex 0e47f4efb8 Update CHANGES.md 2019-12-29 19:17:40 +01:00
Twinaphex 080b3ea184 Update CHANGES.md 2019-12-29 19:17:05 +01:00
Twinaphex 13d44720e0 Update CHANGES.md 2019-12-29 19:16:38 +01:00
Twinaphex 57f5d04126 Merge pull request #9911 from jdgleaver/vulkan-font-fix
(Vulkan) Fix font driver 'vulkan_get_message_width()' function
2019-12-29 17:32:39 +01:00
Twinaphex 463d68163e Merge pull request #9680 from IlDucci/master
Additional revision of the Spanish translation
2019-12-29 17:32:31 +01:00
jdgleaver 7ad4becedb (Vulkan) Fix font driver 'vulkan_get_message_width()' function 2019-12-29 14:44:07 +00:00
Francisco José García García 7fa6247770 (VITA) Re-add online updater 2019-12-29 14:24:17 +01:00
Twinaphex 17c827adfb Merge pull request #9898 from libretro/kivutar/fixprs
Don't try to import secret certificates during PRs
2019-12-29 04:53:56 +01:00
Twinaphex a30a53f12a Update CHANGES.md 2019-12-28 09:53:01 +01:00
Twinaphex 7e83f4a531 Merge pull request #9905 from Jamiras/cheevos_invalid_reset
don't reset triggers/lboards that failed to load
2019-12-28 09:50:58 +01:00
Jamiras 3c3e6978b8 don't reset triggers/lboards that failed to load 2019-12-27 19:03:40 -07:00
Twinaphex 19f53d96a2 Update CHANGES.md 2019-12-27 19:47:35 +01:00
Twinaphex 98618c052b Merge pull request #9900 from CheezeCake/fix-double-free
fix potential double free error
2019-12-27 19:47:08 +01:00
Emmanuel Nicolet 69e5e97bdf fix potential double free error 2019-12-27 12:04:01 +01:00
Twinaphex 99850df96e Update Makefile.vita 2019-12-27 09:39:31 +01:00
Jean-André Santoni dd658a05b4 Don't try to import secret certificates during PRs 2019-12-27 10:16:04 +07:00
Twinaphex 3ce38ffe91 Update CHANGES.md 2019-12-26 18:57:20 +01:00
Twinaphex 89b04d255e Merge pull request #9895 from Jamiras/cheevos_invalid_addaddr
(cheevos) don't disable achievement when AddAddress generates an out-of-range address
2019-12-26 18:56:48 +01:00
Jamiras 410e94aa89 don't disable achievement when AddAddress generates an out-of-range address 2019-12-26 10:15:36 -07:00
Twinaphex 7c8d831497 Merge pull request #9892 from hizzlekizzle/master
make build all/uninstall scripts work with TARGET renaming
2019-12-26 04:59:05 +01:00
hunterk c84d02830c make build all/uninstall scripts work with TARGET renaming 2019-12-25 21:54:34 -06:00
twinaphex b3e8d6e9ca Remove this check - hope it solves the PNG inversion color issues with
VideoCore GPUs
2019-12-26 04:05:51 +01:00
Twinaphex cf97f39cac Update .travis.yml 2019-12-25 21:26:17 +01:00
IlDucci 96fd6f8617 Translated the latest additions to US language into Spanish. 2019-12-25 12:19:10 +01:00
IlDucci cde4ecd08b Update msg_hash_es.h according to the latest changes on the US file. 2019-12-25 12:08:31 +01:00
IlDucci a05ebd4bbc Updating msg_hash_es.h with the latest changes on the US equivalent. 2019-12-25 12:08:31 +01:00
IlDucci 9e749ee63a Update msg_hash_es.h 2019-12-25 12:08:31 +01:00
IlDucci e785bff78d Update msg_hash_es.h
- Added a missing string.
 - Moved the Sunbeam title to the corresponding place.
2019-12-25 12:08:30 +01:00
IlDucci 3aedbe6989 Additional revision of the Spanish translation
- Decided that all instances of "Refresh rate" will be translated as "frecuencia de actualización", not "tasa de refresco". Used Windows' official translation as a reference.
 - Minor typo corrections and tweaks.
 - Unified certain phrasings in the Settings sublabels.
2019-12-25 12:08:30 +01:00
Twinaphex b6a45645d8 Update AndroidManifest.xml 2019-12-25 09:33:43 +01:00
Twinaphex 3d3c848ba7 Update AndroidManifest.xml 2019-12-25 09:33:27 +01:00
twinaphex c98dc7ef34 Update CHANGES.md 2019-12-25 09:15:46 +01:00
twinaphex 586f54a0f7 Fix C89_BUILD 2019-12-25 09:08:50 +01:00
twinaphex 75f3a79aa6 (MaterialUI) Add icons 2019-12-25 08:49:52 +01:00
Twinaphex 27c3c1f684 Update CHANGES.md 2019-12-25 08:37:01 +01:00
Twinaphex 5ee803682f Update CHANGES.md 2019-12-25 08:36:46 +01:00
Twinaphex e52daa8602 - use MIN macro instead of min for portability
- remove unused variable
2019-12-25 08:31:18 +01:00
twinaphex 65cddce865 (OSX/iOS) Forcibly disable Threaded Video until UIWindow/NSWindow
concurrency issues are fixed
2019-12-25 08:28:43 +01:00
twinaphex 973ae36fe5 (MaterialUI) Add missing icons 2019-12-25 08:24:08 +01:00
Twinaphex 7b1819e988 Update CHANGES.md 2019-12-25 07:43:45 +01:00
twinaphex 538f0c534f Backport Added alternate Turbo-Mode 'Single Button' -
For systems supporting only a single button, the turbo-button will toggle firing that button without the need to hold it.
When holding the button turbo will be suspended and resumed when the button is released. Holding the button may have a different function to just tapping it, e.g. charging the beam in R-Type on C64/Amiga.
The original implementation in RA is named 'Classic' because I have no
idea where it originates from.
2019-12-25 07:13:01 +01:00
twinaphex 921e470b05 Bump up to 1.8.2 2019-12-25 07:00:45 +01:00
Twinaphex ea4e5ab9ef Merge pull request #9889 from fpscan/turkish
Turkish language updates
2019-12-24 23:25:04 +01:00
Ömercan Kömür 96d0de4e7c Update msg_hash_tr.h
update for 1.8.2
2019-12-25 00:44:45 +03:00
Ömercan Kömür 04bd684258 Merge pull request #2 from libretro/master
updates
2019-12-25 00:27:33 +03:00
twinaphex 58852ec9bb (Menu) Selectively hide 'Disallow Non-Slave Mode Clients' if 'Allow SLave-Mode
Clients' is disabled
2019-12-24 17:38:07 +01:00
twinaphex e4fcce118c (Menu) Hide 'Show desktop menu on startup' if 'Desktop menu' setting
itself is disabled
2019-12-24 17:24:48 +01:00
twinaphex ef149605cd (Menu) Reimplement Quick Menu - > Shaders -> Watch shader files for
changes - can now be turned on/off through touch
2019-12-24 17:19:23 +01:00
Twinaphex c240449b10 Merge pull request #9888 from hasenbanck/ass-fix
Fix ASS rendering assertion on seeking.
2019-12-24 16:56:32 +01:00
twinaphex 8d63faa74d C89_BUILD fix 2019-12-24 16:53:13 +01:00
Nils Hasenbanck 226f2d52ff Fix ASS rendering assertion on seeking.
ASS needs some locking.
2019-12-24 12:16:52 +01:00
twinaphex 1165f8dfe9 (Menu) Remove duplicates 2019-12-24 08:29:06 +01:00
twinaphex 4e34611d1d (Menu) Add title for Remap Binds Port 2019-12-24 08:10:20 +01:00
twinaphex 0df043aff1 (Menu) Refactor Quick Menu - Controls - each port now has its own
submenu
2019-12-24 07:36:01 +01:00
twinaphex 9573b53390 Put ifdefs around core_updater_list_free_cached for targets
that don't define HAVE_NETWORKING
2019-12-24 05:36:54 +01:00
twinaphex ca0edad8c2 (Menu) don't hide logging settings anymore 2019-12-24 05:29:15 +01:00
twinaphex f47b07e35a (Menu) Quick Menu - Cheats - Delete All no longer requires five
right button presses - this should fix this functionality for mobile
touch users too
2019-12-24 05:13:24 +01:00
Twinaphex 45db2122c9 Merge pull request #9887 from WeedyWeedSmoker/French-update
French update - core updater newest additions!
2019-12-24 04:58:38 +01:00
twinaphex d33624c623 (Menu) Hide Refresh Rate options when Threaded Video is enabled -
these settings do nothing with Threaded Video
2019-12-24 04:29:12 +01:00
twinaphex abb1b28e96 Hide Logging Verbosity levels behind Logging Verbosity 2019-12-24 04:18:38 +01:00
twinaphex a19da4bf22 (Menu) No longer hide Logging behind Advanced 2019-12-24 04:09:34 +01:00
Weedy Weed Smoker 347cb15722 French update - core updater newest additions! 2019-12-24 09:53:57 +07:00
twinaphex 20f3b8d404 Buildfix for non-shader targets 2019-12-24 03:15:51 +01:00
twinaphex 31a7f2b4d9 Add missing ifdef 2019-12-24 02:17:48 +01:00
twinaphex e5a6517897 (MSVC UWP) Generate new pfx key 2019-12-23 23:04:56 +01:00
twinaphex 80f3f99845 Merge branch 'master' of https://github.com/libretro/RetroArch 2019-12-23 20:18:35 +01:00
Twinaphex 4322d0c3fe Merge pull request #9885 from jdgleaver/core-update
(Core Updater) Only download when new core is available + add option to update all installed cores
2019-12-23 20:02:43 +01:00
twinaphex 764f1d846e Merge branch 'master' of https://github.com/libretro/RetroArch 2019-12-23 19:58:42 +01:00
Twinaphex 1d0be580c5 (Menu) Remove unused variables 2019-12-23 19:43:09 +01:00
twinaphex 44f2986665 Merge branch 'master' of https://github.com/libretro/RetroArch 2019-12-23 19:19:26 +01:00
Twinaphex 9d6490e38a Merge pull request #9881 from hasenbanck/no-video-fifo
Remove video fifo in ffmpeg core.
2019-12-23 19:18:59 +01:00
twinaphex 7aa914fde7 Merge branch 'no-video-fifo' of git://github.com/hasenbanck/RetroArch 2019-12-23 19:04:54 +01:00
Twinaphex 0930cd29fb Merge pull request #9884 from WeedyWeedSmoker/French-update
French translation - Latest additions!
2019-12-23 18:56:12 +01:00
jdgleaver 695749f155 (Core Updater) Only download when new core is available + add option to update all installed cores 2019-12-23 17:34:44 +00:00
Weedy Weed Smoker 3ca8623b29 French translation - Latest additions! 2019-12-23 22:41:49 +07:00
Nils Hasenbanck c6309d963d Remove video fifo in ffmpeg core.
The video fifo can be removed, since we have a ring buffer in it's
place. This removes unneeded copy operations and as a positive side
improves overall decoding speed.

Makes 8k60p SW and 4k60p HW decoding possible on my system.

For now the ring buffer is 32 images deep. This limitation will
be removed, once audio and video decoder have their own
packet handling.
2019-12-23 16:07:34 +01:00
twinaphex 305aee2c33 (Menu) Get rid of 'Port Number' label for Port Binds screen 2019-12-23 08:21:44 +01:00
twinaphex cbcdfa572a (Mobile) Should no longer crash when clicking on a cheat entry 2019-12-23 07:49:29 +01:00
twinaphex 2512365012 (Menu) Displaylist - Get rid of global 2019-12-23 06:34:58 +01:00
twinaphex 9988bae6f4 (Shader) Implement shader parameter action OK callbacks 2019-12-23 05:39:10 +01:00
twinaphex 18f2b9c63e Reimplement shader preset parameter functions 2019-12-22 22:45:08 +01:00
twinaphex b5cc71720c (Menu) Move FORCE_SRGB_DISABLE to Video Output 2019-12-22 22:10:45 +01:00
twinaphex 6eed40f80c More warning fixes for non-shader target platforms 2019-12-22 08:18:00 +01:00
twinaphex e93d90bc45 Fix build on platforms that don't have shader support 2019-12-22 08:12:42 +01:00
twinaphex d057d2a202 (Menu) Implement action OK callback for Quick Menu -> Shaders -> Passes 2019-12-22 07:14:20 +01:00
twinaphex cb67ace703 (Menu) Hide Windowed Mode settings selectively 2019-12-22 06:26:42 +01:00
twinaphex 759724facb (Menu) Hide Fullscreen Mode settings if windowed mode is not supported
by context driver
2019-12-22 06:22:05 +01:00
twinaphex 3033491f3d Turn HAVE_EASTEREGG into HAVE_GONG 2019-12-22 03:08:02 +01:00
twinaphex 751ff8f72c (Menu) Selectively hide Network Command Port 2019-12-21 21:08:37 +01:00
twinaphex d6d76a53b9 (Menu) Selectively hide Relay Server Location 2019-12-21 19:56:33 +01:00
twinaphex 3224eefdf1 (Menu) Selectively hide Video Layout 2019-12-21 18:39:34 +01:00
twinaphex 776ae626a6 (Menu) User Interface - selectively hide Kiosk Mode Password 2019-12-21 18:23:25 +01:00
twinaphex 8ad44acc5d (Menu) Action start callback - do a refresh at the end 2019-12-21 18:13:01 +01:00
twinaphex ecbbf1e3bb (Menu) Selectively hide Settings -> Accessibility 2019-12-21 17:59:56 +01:00
twinaphex 2d31377ba8 (Menu) User Interface -> Appearance - Selectively hide XMB Horizontal
Animation setting
2019-12-21 17:49:39 +01:00
twinaphex e55692d74f (Desktop Menu) Prevent hidden settings for desktop menu -
add third parameter that when set to true, will include everything
in the list - this way we can show greyed out settings
2019-12-21 17:33:50 +01:00
twinaphex 6164e33b07 (Menu) Settings -> Playlists - more selective hiding 2019-12-21 17:22:43 +01:00
twinaphex 4850cc0f97 (Menu) Aspect Ratio - implement dropdown box again 2019-12-21 16:54:42 +01:00
twinaphex 5674c46f38 (Menu) Don't hide Config Aspect Ratio for advanced 2019-12-21 16:44:47 +01:00
twinaphex a33280b08e (Menu) Implement touch/OK callbacks 2019-12-21 07:00:27 +01:00
twinaphex 48799b73d5 Standardize function signature for action_select 2019-12-21 06:01:38 +01:00
twinaphex 7c028596fb (Menu) Selectively hide Overlay Settings and Rewind 2019-12-21 05:35:46 +01:00
twinaphex d93200d2eb (Menu) Selectively hide 'Rewind' settings 2019-12-21 05:27:42 +01:00
twinaphex aafee65238 (Menu) Selectively hide 'FPS Update Interval' 2019-12-21 05:22:18 +01:00
twinaphex f5a7504c38 (Menu) Selectively hide Onscreen Notifications BG Color Settings 2019-12-21 05:10:22 +01:00
twinaphex ef4d24600e (Menu) Settings -> Logging - Hide 'Log To File Timestamp' if 'Log To File' is disabled 2019-12-21 04:49:30 +01:00
twinaphex 28ec64e200 (Menu) Video -> Scaling - Hide Custom Viewport X/Y when Integer
Scale is enabled as description indicates
2019-12-21 04:32:56 +01:00
twinaphex 1fcded67ef (Menu) Achievement submenu - selectively hide 2019-12-21 03:10:15 +01:00
twinaphex 3be60539ce (Menu) Aspect ratio - selectively hide/show values based on whether
you have Custom or Config selected
2019-12-21 01:27:28 +01:00
twinaphex 779c0a01d3 Selectively hide Hard Sync 2019-12-21 00:39:30 +01:00
twinaphex e1a5b80ae1 (Menu) Implement selective hiding for VSync and Hard Sync 2019-12-21 00:24:29 +01:00
twinaphex 021102c62d (Menu) Runahead global setting now hides the related options 2019-12-20 23:10:35 +01:00
twinaphex de1e66f7a9 (Menu) Add Input -> Haptic Feedback submenu 2019-12-20 20:49:30 +01:00
twinaphex 13793885f3 (Menu) Add Input -> Menu Controls settings submenu 2019-12-20 19:24:35 +01:00
twinaphex cdeef9dc95 (Menu) Implement action OK for Bind Hold, Turbo Period and Duty Cycle 2019-12-20 15:29:15 +01:00
twinaphex 55400e9b42 (Menu) Max Swapchain Images - implement action OK callback 2019-12-20 15:18:44 +01:00
twinaphex 110bc5abbe (Menu) Settings - Implement action OK callback for custom viewport width/height 2019-12-20 15:14:13 +01:00
twinaphex 21ffbc0cca (Menu) Netplay submenu - don't show 'No Settings found'
(Menu/Misc) Some more icons
2019-12-20 14:37:44 +01:00
twinaphex 559c6df0c3 (Desktop Menu) Cleanups 2019-12-20 14:19:11 +01:00
twinaphex b7b0348c3c (Desktop Menu) Input -> Hotkey Binds refactor 2019-12-20 14:17:16 +01:00
twinaphex 779b8b32cf Move 'Press Quit Twice' and 'Menu Toggle Gamepad Combo' to Input ->
Hotkey Binds
2019-12-20 13:56:31 +01:00
twinaphex a73555f672 (Menu) Add sublabel for Video Output submenu 2019-12-20 13:50:20 +01:00
twinaphex 03d0e0d799 (MaterialUI) Add icons for submenus 2019-12-20 13:48:38 +01:00
twinaphex 64597e47c6 (Menu Usability) If 'Favorites Tab' is disabled, don't show
'Add To Favorites' option in Quick Menu/Playlist menu
2019-12-20 07:21:15 +01:00
twinaphex 6713c6ebed (Menu) If On-Demand Thumbnail Downloader is enabled, hide
'Download Thumbnails' from playlist menu screen
2019-12-20 07:15:04 +01:00
twinaphex 051342cc8b Rewrite win32_get_video_output 2019-12-20 07:15:03 +01:00
Twinaphex 94cf920751 Merge pull request #9879 from Jamiras/cdfs_track_start
proper calculation of offset to track 2 when sector sizes vary
2019-12-20 04:02:53 +01:00
twinaphex dcac9de58b Add Audio Driver setting to Audio -> Output 2019-12-20 02:30:05 +01:00
twinaphex 23ce202d38 (Menu) Add Audio -> Resampler settings 2019-12-20 02:16:31 +01:00
Twinaphex 362dd7241a Merge pull request #9878 from Jamiras/cheevos_segacd_bin_hash
(cheevos) fix hashing of raw bin file for Sega CD
2019-12-20 01:19:13 +01:00
twinaphex 94907678eb (Menu) Add Audio -> output and Audio -> Synchronization 2019-12-20 01:18:28 +01:00
Jamiras 9cb94e00b0 fix hashing of raw bin file for sega cd 2019-12-19 13:19:43 -07:00
Jamiras 3b4e55d0e5 proper calculation of offset to track 2 when sector sizes vary 2019-12-19 13:17:32 -07:00
Twinaphex 8779151fef Merge pull request #9877 from DEX357/patch-49
Update msg_hash_pl.h
2019-12-19 21:04:38 +01:00
twinaphex 923c19356b (ffmpeg) - Fix CXX_BUILD errors - see
https://github.com/ZoneMinder/zoneminder/blob/master/src/zm_ffmpeg.h
(comment on av_err2str)
2019-12-19 20:43:59 +01:00
DEX357 3d95f3c7b1 Update msg_hash_pl.h
Please fix the displayed translations
2019-12-19 20:37:30 +01:00
twinaphex 6f6bd95a84 move Crop Overscan to Video Scaling; add Sync to Exact Content Framerate
option to Video Synchronization
2019-12-19 20:00:19 +01:00
twinaphex aa537310ad (Menu) Create Video -> Synchronization 2019-12-19 19:39:02 +01:00
twinaphex 39ebd6e8d1 (Settings) Add Video -> Output 2019-12-19 19:15:57 +01:00
twinaphex faf8c83f54 (Menu) Set video submenu titles 2019-12-19 19:01:32 +01:00
twinaphex e8babede53 (Menu) Create Settings -> Video -> Fullscreen and Windowed submenus 2019-12-19 18:53:51 +01:00
twinaphex 36af159991 (Menu) Settings - Video - Add Scaling subsection 2019-12-19 18:22:22 +01:00
twinaphex 7150d6ef59 Bind start callback for playlist entries in Playlist Screen 2019-12-19 16:37:39 +01:00
twinaphex 2a500baaca Change start callback signatuer to OK callback signature 2019-12-19 16:30:53 +01:00
twinaphex cb85b3e8dd Put this behind ifdef 2019-12-19 13:24:39 +01:00
Twinaphex ea9d5e3a5e Merge pull request #9875 from negativeExponent/patch-1
Fix heap-use-after-free found when using asan
2019-12-18 23:31:56 +01:00
negativeExponent d96409ff37 Fix heap-use-after-free found when using asan
Fix https://github.com/libretro/RetroArch/issues/9871
2019-12-19 04:44:34 +08:00
Twinaphex 95e11234a7 Merge pull request #9874 from fpscan/3ds-missing-images
3ds missing images
2019-12-18 19:07:41 +01:00
Ömercan Kömür 97329367e4 Merge pull request #1 from fpscan/master
Add files via upload
2019-12-18 20:59:51 +03:00
Ömercan Kömür 4217369709 Add files via upload
@SpardaXV works.
2019-12-18 20:58:03 +03:00
Ömercan Kömür 09832d09fb Update Makefile.cores 2019-12-18 20:56:59 +03:00
twinaphex 168395af74 (libretro-common) Update 2019-12-18 18:25:54 +01:00
twinaphex 60b182b821 Promote tpool as libretro-common component 2019-12-18 18:21:03 +01:00
twinaphex 587a56026e Disable HAVE_UPDATE_CORES for Steam too 2019-12-18 18:13:05 +01:00
twinaphex 3e8e6d35d6 (tpool.c) Code style nits 2019-12-18 18:11:18 +01:00
twinaphex 9a7a8efb39 Hide this setting behind HAVE_UPDATE_CORES 2019-12-18 17:45:14 +01:00
Twinaphex 4db4d5e8bc Merge pull request #9869 from hasenbanck/frame-conversion
FFMPEG core frame based color conversion
2019-12-18 15:55:24 +01:00
Nils Hasenbanck d046594591 Fix ffmpeg core memory leak when using pthreads. 2019-12-18 15:05:01 +01:00
Nils Hasenbanck 417d1b7de7 Color space conversion using frame based MT.
Using a ordered ring buffer and a thread pool, the color space
conversion is not multi-threaded based on frames. I tried
to implement slice based threading, but libswscale did produced
highly distorted pictures without obvious reason.

This approach introduces some more "lag" when decoding and skipping,
but shouldn't be affect the user negatively, since movie
watching is not lag sensitive, as long as the A/V is synchronized.

Change default to software decoding.

SW decoding is the most robust and fasted method of decoding right now.
Users should enable hw based decoding if their system requires it
and it's actually beneficial for them.

Fix deadlocks when seeking and decrease RAM usage.

Decrease memory allocation by reusing AVFrames.
2019-12-18 11:46:49 +01:00
Twinaphex a88e6f4e1f Merge pull request #9867 from jdgleaver/ozone-fullscreen-thumbs
(Ozone) Add fullscreen thumbnail viewer
2019-12-17 22:24:17 +01:00
Hans-Kristian Arntzen 96723c6f70 Vulkan/Android: Workaround weird WSI return codes in landscape mode.
Android WSI wants you to use preTransform, and if it is not used
correctly, Android 10 will return VK_SUBOPTIMAL_KHR, and we would create
a new swapchain every frame.

This workaround just ignores this error, since it's not really an error.
A more "proper" fix is to use prerotate and modify the MVP matrices,
which might help certain devices with crummy display processors.
2019-12-17 19:08:20 +01:00
Twinaphex 5062374c72 Merge pull request #9868 from jdgleaver/database-fix
Fix database entry display
2019-12-17 15:25:26 +01:00
jdgleaver 76bb0031cb Fix database entry display 2019-12-17 14:07:35 +00:00
jdgleaver 8ba17dd985 (Ozone) Add fullscreen thumbnail viewer 2019-12-17 11:41:01 +00:00
Hans-Kristian Arntzen 4437cd1eac Attempt to workaround odd crashes in glslang.
I accidentally managed to reproduce an issue which has been plaguing
users for a while, where glslang throws an assert after closing a game
(and starting a new one).

pthread_setspecific was somehow failing with an EINVAL call, despite the
key never having been freed. I suspect some kind of corruption happening
when dynamic libraries are unloaded, but I doubt this is a bug in either
RetroArch or glslang per-se.

My workaround here is to tear down all TLS use in glslang after we're
done compiling. Somehow this works around the problem for me, and I
don't really see another viable fix. Valgrind does not say anything about the
issue, so doubt it's memory corruption either.

I had to fix a minor TLS leak in glslang as DetachProcess does not free
the PoolIndex TLS.
2019-12-16 22:27:13 +01:00
Twinaphex 3cfed7ba01 Merge pull request #9677 from orbea/travis
travis: Log configure arguments + use before_script.
2019-12-16 14:40:17 +01:00
Twinaphex e9a264217a Merge pull request #9860 from Themaister/master
Android/Vulkan: Recreate swapchain on orientation change.
2019-12-15 16:51:55 +01: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
twinaphex 79ce997156 Fix potential bug with analog deadzones - should be fabs 2019-12-15 16:21:27 +01:00
Twinaphex 15838c2850 Merge pull request #9858 from ToadKing/emscripten-upgrades
fix bug in emscripten input code
2019-12-15 15:40:00 +01:00
Francisco José García García 0545c42db9 (Vita) Fix duplicate symbols with some cores 2019-12-15 11:05:22 +01:00
Toad King f3001c9bba fix bug in emscripten input code 2019-12-14 20:57:10 -06:00
Twinaphex 42aa83b2a5 Merge pull request #9857 from ToadKing/emscripten-upgrades
changes to support upgraded emscripten SDK
2019-12-15 03:32:13 +01:00
Toad King 15e8be4074 changes to support upgraded emscripten SDK 2019-12-14 20:24:41 -06:00
ThePhxRises 3c27300a4e [VITA] Enable touch regardless of MiniVitaTV 2019-12-14 20:50:17 +01:00
ThePhxRises 65f406a39e [VITA] MiniVitaTV Support
Set kernel model manually with sceCtrlIsMultiControllerSupported()
2019-12-14 20:50:17 +01:00
Twinaphex 0d06dfa948 Merge pull request #9854 from frangarcj/upstream
(VITA) Fixes for non working cores and VITA2D (GXM) Improvements
2019-12-14 16:07:03 +01:00
Francisco José García García b4be7b0c74 (Vita) Several improvements to vita2d driver 2019-12-14 14:11:47 +01:00
Francisco José García García 9ad874eef8 (Vita) Add new function to draw textured arrays of vertices 2019-12-14 14:11:47 +01:00
Francisco José García García d52f3ba3e9 (Vita) Fix clipping and reduce number of calls 2019-12-14 14:11:46 +01:00
Francisco José García García 3d44faf6c3 (Vita) New set viewport function 2019-12-14 14:11:46 +01:00
Francisco José García García 8ad3cb14f8 (Vita) Changes for new tint shaders 2019-12-14 14:11:46 +01:00
Francisco José García García 0be7e96437 (Vita) Disable lto 2019-12-14 14:11:46 +01:00
Francisco José García García d1aa7dbedc Disable not compilable sqrtfv_neon 2019-12-14 14:11:46 +01:00
Francisco José García García eef7611cf1 Fix for duplicated error symbol 2019-12-14 14:11:46 +01:00
Francisco José García García 758b3ad2cc (VITA) Make VITA2D the default driver 2019-12-14 14:11:46 +01:00
hizzlekizzle b468aa8c01 Merge pull request #9852 from realnc/swap-interval-drc
Support DRC even when using a vsync swap interval higher than 1
2019-12-13 22:16:25 -06:00
Nikos Chantziaras 31d86e6e78 Update CHANGES.md 2019-12-13 23:29:43 +02:00
Nikos Chantziaras 1617cd7e2a Support DRC even when using a vsync swap interval higher than 1 2019-12-13 23:27:23 +02:00
Twinaphex ac318f2c8c Merge pull request #9851 from rsn8887/master
Fix radial analog deadzone scaling
2019-12-13 20:32:41 +01:00
rsn8887 42d02565af Fix radial analog deadzone scaling 2019-12-13 13:29:28 -06:00
Twinaphex 18d3eba614 Merge pull request #9842 from rsn8887/master
Implement proper analog button deadzone
2019-12-13 19:15:52 +01:00
Twinaphex 3171c71639 Merge pull request #9850 from jdgleaver/dropdown-list-fix
Fix 'currently selected item' indicator in dropdown lists
2019-12-13 12:11:10 +01:00
jdgleaver 32444f8188 Fix 'currently selected item' indicator in dropdown lists 2019-12-13 10:49:52 +00:00
Twinaphex 73729e7a33 Merge pull request #9848 from BarryJRowe/master
Fixed a segfault and an issue with AI Service overlay's image mode.
2019-12-13 07:04:25 +01:00
Barry Rowe c6f55eeb94 Fixed a segfault and an issue with AI Service overlay's image mode. 2019-12-12 16:31:18 -08:00
Twinaphex 5e156b9d73 Merge pull request #9847 from jdgleaver/xmb-fullscreen-thumbs
(XMB) Add fullscreen thumbnail viewer
2019-12-12 20:08:20 +01:00
jdgleaver 004d100ed8 (XMB) Add fullscreen thumbnail viewer 2019-12-12 17:01:37 +00:00
Twinaphex 1f866dbad4 Merge pull request #9844 from Jamiras/cheevos_pce_cd_memory
support for extended PC-Engine memory map
2019-12-11 21:08:46 +01:00
Twinaphex 127e07c210 Merge pull request #9845 from jdgleaver/ozone-thumb-tweaks
(Ozone) Minor thumbnail optimisations
2019-12-11 21:08:34 +01:00
rsn8887 745fb4b40c Implement proper analog button deadzone 2019-12-11 10:06:08 -06:00
Jamiras a96ea2492d support for extended PC-Engine memory map 2019-12-11 08:53:06 -07:00
jdgleaver 3b8e3c613f (Ozone) Minor thumbnail optimisations 2019-12-11 13:44:59 +00:00
Twinaphex f7445bcc98 Merge pull request #9843 from DEX357/patch-48
Update msg_hash_pl.h
2019-12-11 06:19:46 +01:00
DEX357 0fd2cfbab6 Update msg_hash_pl.h 2019-12-10 21:26:19 +01:00
Twinaphex d5d643ca28 Merge pull request #9841 from jdgleaver/xmb-thumbnails
(XMB) Use new 'menu_thumbnail' library for loading/rendering thumbnails
2019-12-10 20:04:54 +01:00
jdgleaver 2dc9616509 (XMB) Use new 'menu_thumbnail' library for loading/rendering thumbnails 2019-12-10 17:03:47 +00:00
Twinaphex 739f7b47fe Update CHANGES.md 2019-12-10 06:12:48 +01:00
Twinaphex 82df0c3aa3 Merge pull request #9838 from dobyrch/master
(Menu) Analog stick controls menu even if autoconfig disabled
2019-12-10 06:12:18 +01:00
twinaphex 3e22d7bbd5 (UWP) Cleanups/build fixes 2019-12-10 06:03:25 +01:00
Douglas Christman b67894586f (Menu) Analog stick controls menu even if autoconfig disabled
Fixes #9089 and #8192
2019-12-09 23:14:47 +08:00
Twinaphex 5e20d16ef8 Merge pull request #9837 from jdgleaver/glui-accessibility-icon
(GLUI) Use default icon for 'Accessibility' settings menu entry
2019-12-09 11:28:29 +01:00
jdgleaver 83235dc484 (GLUI) Use default icon for 'Accessibility' settings menu entry 2019-12-09 10:12:19 +00:00
Twinaphex bd0d8fd8ea Merge pull request #9836 from BarryJRowe/master
Fixed MacOSX defines for accessibility.
2019-12-09 00:47:24 +01:00
Barry Rowe ec7faddd26 Fixed MacOSX defines for accessibility. 2019-12-08 11:12:16 -08:00
twinaphex 6591844b3e (ANGLE) Don't need to link against GLESv2 explicitly 2019-12-07 21:14:37 +01:00
twinaphex 14c5825769 (Qb) Add ANGLE build option - currently requires you to put the required
libs in angle-x64 dir and then have the shared libs inside the main root
dir - after this, we want to try static linking
2019-12-07 21:01:44 +01:00
Twinaphex dfda4f3519 Merge pull request #9830 from WeedyWeedSmoker/french-translation-update
French translation update…
2019-12-07 20:58:12 +01:00
Twinaphex 7117cb8f8e Merge pull request #9833 from hasenbanck/ffmpeg-sw-mt
ffmpeg core implements MT for SW decoding.
2019-12-07 18:39:35 +01:00
Nils Hasenbanck 00f755a822 ffmpeg core implements MT for SW decoding.
This change will activate multi-threading for software based
decoder. Color conversion is still single threaded and also not
being performed by OpenGL.

Since the way ffmpeg inits the HW decoding, we can't 100% valdiate
if a hw decoder will play a file or not. Since we need to know
before calling avcodec_open2() if we want to either multi-thread via
software or HW decode, we will only run single-threaded in case of a
late fallback.

This happens for example in off cases when my AMD vega based graphic
card reports that it could HW decode VP9 video but in reality can't
(which is catched in callback get_format() and after avcodec_open2(().

There is currently no good solution in sight, since we can't
reconfigure the decoding context at that point of time.
2019-12-07 17:45:41 +01:00
twinaphex 328d5bf648 For ANGLE, point the EGL include dir to our copied files on
the repo
2019-12-07 10:52:14 +01:00
twinaphex 7f1c1db651 Now that we can build with ANGLE, we have to take this out 2019-12-07 10:30:28 +01:00
twinaphex b90bd91731 Bake out accessibility for iOS 2019-12-07 09:51:51 +01:00
twinaphex 5aa87c1734 Add HAVE_ANGLE switch 2019-12-07 08:16:00 +01:00
twinaphex 1fd6d024eb More buildfixes for ANGLE 2019-12-07 07:24:20 +01:00
twinaphex c6b325e4d6 Add more headers 2019-12-07 07:17:21 +01:00
twinaphex df588ca422 (ANGLE) Move headers to gfx/include/ANGLE 2019-12-07 07:09:49 +01:00
twinaphex 17a161afa2 Add missing header 2019-12-07 07:04:26 +01:00
Twinaphex 5628d3ba91 Merge pull request #9832 from libretro/angle-headers
Add more required headers
2019-12-07 07:01:45 +01:00
twinaphex 94f82ece4e Add more required headers 2019-12-07 07:01:11 +01:00
Twinaphex 6b2ac3afcd Merge pull request #9831 from libretro/angle-headers
Add EGL headers
2019-12-07 06:55:50 +01:00
twinaphex 1aaf933a1a Add EGL headers 2019-12-07 06:55:16 +01:00
Weedy Weed Smoker 3af86cab07 French update last minute typo…
Now ready to merge!
2019-12-07 12:38:37 +07:00
Weedy Weed Smoker d0ed4e90b3 Style unification for the US file…
Unifies the last lines with the style used throughout the US file
2019-12-07 12:35:32 +07:00
Weedy Weed Smoker 355aaac73a Minor update to french file 2019-12-07 12:31:09 +07:00
Weedy Weed Smoker fbd973147b French translation update…
Implements all the latest additions from the english file!
2019-12-07 12:19:42 +07:00
Twinaphex 6d2b81c6b3 Merge pull request #9828 from BarryJRowe/master
Fixed narrator speed on mac.
2019-12-07 04:08:44 +01:00
Barry Rowe b01b4de91d Fixed narrator speed on mac. 2019-12-06 13:16:30 -08:00
Twinaphex 36e7cc4bbd Merge pull request #9826 from jdgleaver/show-playlists
Enable playlist/add content functionality on platforms without database support
2019-12-06 14:26:39 +01:00
Twinaphex 7429124cd4 Update CHANGES.md 2019-12-06 14:24:40 +01:00
Twinaphex e3658cbc7b Merge pull request #9823 from driver1998/angle
[Win32 & UWP] ANGLE OpenGL ES support
2019-12-06 14:23:53 +01:00
jdgleaver 3031556e73 Enable playlist/add content functionality on platforms without database support 2019-12-06 10:49:27 +00:00
driver1998 105fadd668 [ANGLE] Add HAVE_ANGLE 2019-12-06 15:43:19 +08:00
driver1998 a8a4e60171 [ANGLE] Cleanup 2019-12-06 13:59:22 +08:00
driver1998 bfe167fae8 [UWP] Add ANGLE context 2019-12-06 13:24:18 +08:00
driver1998 7cbdd845ad [Win32] Add ANGLE context 2019-12-06 13:24:17 +08:00
driver1998 de203390be [Windows] Add ANGLE support 2019-12-06 13:24:17 +08:00
Twinaphex 55916a40ab Update CHANGES.md 2019-12-05 23:59:11 +01:00
Twinaphex 002f2ab6e7 Merge pull request #9801 from cmitu/kms-video-mode-selection
KMSDRM: better detection for the current video mode
2019-12-05 23:39:02 +01:00
Twinaphex e61fc4e427 Merge pull request #9822 from driver1998/uwp-fixes
Multiple UWP Fixes
2019-12-05 23:38:47 +01:00
Twinaphex c198c0737a Merge pull request #9825 from hasenbanck/ffmpeg-deps
Fix ffmpeg core build under linux.
2019-12-05 23:37:01 +01:00
Nils Hasenbanck 03b18dbfc4 Disable HW acceleration with ffmpeg 3.4. 2019-12-05 20:11:29 +01:00
Nils Hasenbanck c88f2b31ee Fix ffmpeg core build under linux.
Libass is optional again. This build will also compile with
ffmpeg 3.4 again, but HW acceleration is not guaranteed to work,
since it hasn't been tested well enough.
2019-12-05 19:39:56 +01:00
Twinaphex a01e99aa63 Update .travis.yml 2019-12-05 10:29:32 +01:00
Twinaphex 1ea82b8b5d Merge pull request #9821 from BarryJRowe/master
Removed narrator for emscripten case.
2019-12-05 10:27:04 +01:00
driver1998 4b393eb22a [UWP] Enable menu touch input 2019-12-05 17:15:27 +08:00
driver1998 bb6f13a725 [UWP] Fix keyboard input hang 2019-12-05 17:15:02 +08:00
driver1998 7519d3562b [UWP] Use GLUI on Windows 10 Mobile 2019-12-05 16:32:38 +08:00
driver1998 0f924bd083 [UWP] expand custom.ini to absolute path, prevent crashing 2019-12-05 16:32:38 +08:00
driver1998 004d782323 [UWP] Mouse fix on high DPI, multi touch support 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
driver1998 aa19d5180b [UWP] Move RunAsync out of VFS implementation 2019-12-05 16:32:38 +08:00
Barry Rowe d44d1537d9 Removed narrator for emscripten case. 2019-12-04 22:51:59 -08:00
Twinaphex 1392143d14 Merge pull request #9820 from BarryJRowe/master
Fix to audiomixer ifdef.
2019-12-05 07:47:40 +01:00
Barry Rowe ca03491e63 Fix to audiomixer. 2019-12-04 21:05:44 -08:00
Twinaphex 25fb69a7a5 Update CONTRIBUTING.md 2019-12-05 06:00:02 +01:00
twinaphex c1717fc028 Cleanups 2019-12-05 05:53:36 +01:00
twinaphex 49fb0d7909 Fix --disable-audiomixer 2019-12-05 05:48:26 +01:00
twinaphex 28e88c95ec Fix --disable-menu 2019-12-05 05:44:26 +01:00
Twinaphex 4c198a7cb3 Merge pull request #9819 from BarryJRowe/master
More build fixes.
2019-12-05 05:36:28 +01:00
Barry Rowe e1f8b66c05 More build fixes. 2019-12-04 20:11:02 -08:00
Twinaphex f03f6d6a63 Update CHANGES.md 2019-12-05 04:05:42 +01:00
Twinaphex b06314cda3 Merge pull request #9681 from fpscan/flux
New RGUI theme: Flux
2019-12-05 04:05:03 +01:00
Twinaphex fc6580200a Update CHANGES.md 2019-12-05 04:02:57 +01:00
Twinaphex ed20c14f23 Merge pull request #9816 from jdgleaver/manual-scan-arcade-dat
(Manual Content Scanner) Enable automatic naming of arcade content via DAT files
2019-12-05 04:02:15 +01:00
Twinaphex cbe46dfd99 Merge pull request #9818 from BarryJRowe/master
Removed C99 styled literals.
2019-12-05 03:58:45 +01:00
Barry Rowe 1223f74f5c Removed C99 styled literals. 2019-12-04 16:38:25 -08:00
twinaphex 8c2135f2bb Buildfix 2019-12-04 23:53:02 +01:00
Twinaphex d20dc01aff Merge pull request #9817 from BarryJRowe/master
Accessibility settings and narrator speed.
2019-12-04 23:30:15 +01:00
Barry Rowe cd29485d6e Removed extra prototypes. 2019-12-04 14:19:54 -08:00
Barry Rowe a8430acd66 Merge remote-tracking branch 'upstream/master' 2019-12-04 13:23:08 -08:00
Barry Rowe 3a67e072bb Added in fixes for accessibility feature. 2019-12-04 10:51:50 -08:00
twinaphex 535f2f23f3 Implement remaining accessibility settings 2019-12-04 18:11:25 +01:00
jdgleaver a27ee73622 Manual content scan arcade DAT files: Add support for MAME 'Software List' XML format 2019-12-04 16:19:32 +00:00
jdgleaver 9b012e907a (Manual Content Scanner) Enable automatic naming of arcade content via DAT files 2019-12-04 12:46:04 +00:00
twinaphex ebe9f1861e Implement more settings for Accessibility 2019-12-04 09:24:27 +01:00
twinaphex 9462fd301a (Accessibility) Add the two new Accessibility settings 2019-12-04 08:57:10 +01:00
twinaphex 6992f580e8 (Accessibility) Implement Narrator mode setting 2019-12-04 08:46:51 +01:00
twinaphex 6dd7f65322 (Accessibility) Update 2019-12-04 08:41:20 +01:00
twinaphex 72e6601702 C89 buildfix 2019-12-04 08:25:54 +01:00
twinaphex cab8663713 (Accessibility) Start adding Accessibility settings - empty for now 2019-12-04 08:25:24 +01:00
twinaphex 8d9419128e Add TODO/FIXME comment 2019-12-04 07:35:05 +01:00
twinaphex e3bf70dc10 Fix Linux build 2019-12-04 07:33:33 +01:00
twinaphex 0647e0d2c2 (Cheevos) Turn strncpy functions into strlcpy
(Translation/Accessibility) Turn functions static
2019-12-04 06:21:16 +01:00
twinaphex 2f43a1b5f4 Remove unused variable 2019-12-04 05:20:52 +01:00
twinaphex 831e33739e Replace some usage of strcpy and strcat 2019-12-04 05:17:53 +01:00
twinaphex 90008242eb Put this behind HAVE_TRANSLATE ifdef 2019-12-04 05:12:30 +01:00
twinaphex 43017cb65b Fix targets that don't have HAVE_NETWORKING 2019-12-04 05:10:56 +01:00
Twinaphex 2f17cbaef3 Merge pull request #9768 from BarryJRowe/master
Added in accessibility. (DO NOT MERGE)
2019-12-04 04:06:39 +01:00
twinaphex 688acb1e41 Refactor build_list 2019-12-03 03:26:54 +01:00
twinaphex 7b2d7a9ec7 Cleanups 2019-12-03 03:14:39 +01:00
twinaphex 01e62efb72 move more code to build_list 2019-12-03 02:17:43 +01:00
twinaphex 82391b6ac1 move more code to build_list 2019-12-03 02:09:55 +01:00
twinaphex 2ad2983b25 Move HELP_SCREEN_LIST to build_list 2019-12-03 01:53:00 +01:00
twinaphex 5df0516318 Move these to build_list 2019-12-03 01:50:14 +01:00
twinaphex 56014a6bf7 Change the sublabel for User Binds / Port Binds as well 2019-12-03 00:49:12 +01:00
twinaphex dd923d55f2 Change 'User % Binds' To 'Port % Binds' 2019-12-03 00:37:11 +01:00
twinaphex 3c2d30c510 Move DISPLAYLIST_OPTIONS_REMAPPINGS to build_list 2019-12-03 00:26:39 +01:00
twinaphex a4982cd460 (Menu displaylist) Cleanup 2019-12-02 23:45:21 +01:00
twinaphex e6a3785b01 Cleanups 2019-12-02 23:39:46 +01:00
twinaphex d09ae22147 Fix return values 2019-12-02 23:16:35 +01:00
twinaphex d2e83df498 Refactor menu_displaylist_parse_load_content_settings - should now
properly report count
2019-12-02 22:50:33 +01:00
twinaphex c490b06fe9 (menu_displaylist) build_list - add more entries 2019-12-02 22:35:02 +01:00
twinaphex c9a97d255c (menu_cbs_title) Cleanups 2019-12-02 22:20:36 +01:00
Twinaphex f0a9f4e6a4 Merge pull request #9812 from libretro/menu-actionok-refactors
Menu actionok refactors
2019-12-02 21:11:33 +01:00
twinaphex 177ca956f1 Code de-duplication 2019-12-02 21:08:21 +01:00
twinaphex e13febc82b (menu cbs ok) Code de-duplication 2019-12-02 21:05:04 +01:00
twinaphex 04ee55f202 Add NOTE/TODO about globals 2019-12-02 20:52:23 +01:00
twinaphex ee6c2393c1 (menu_cbs_ok.c) Cut down on some code duplication 2019-12-02 20:47:50 +01:00
Twinaphex 52fe3d2c7d Merge pull request #9810 from hasenbanck/ffmpeg-version
ffmpeg core prints out the ffmpeg library version
2019-12-02 19:41:00 +01:00
Nils Hasenbanck 1dbc7cdc9a ffmpeg core prints out the ffmpeg library version
For better debugging and supporting of the users, we will print
out the library versions that the ffmpeg core is currently using.
2019-12-02 18:50:44 +01:00
twinaphex 07f3abfda1 (madmonkey) Proposed fix for Mali GPUs 2019-12-02 16:28:35 +01:00
Twinaphex a2c7b17cd3 Update CHANGES.md 2019-12-02 16:25:55 +01:00
Twinaphex 56393bd253 Merge pull request #9808 from jdgleaver/manual-scan-archives
(Manual Content Scanner) Add option to scan inside archives
2019-12-02 16:25:27 +01:00
jdgleaver 3d52d7a8f6 (Manual Content Scanner) Add option to scan inside archives 2019-12-02 11:49:41 +00:00
Twinaphex b5958359d2 Update CHANGES.md 2019-12-02 09:27:57 +01:00
Twinaphex e7257c1855 Update CHANGES.md 2019-12-02 07:35:44 +01:00
Twinaphex 6329b28e4a Update CHANGES.md 2019-12-02 07:35:12 +01:00
twinaphex c3743a74f6 Refactor menu_cbs_sublabel.c 2019-12-02 07:20:01 +01:00
twinaphex e7d2e7ebcb Refactor menu_cbs_get_value.c 2019-12-02 06:47:51 +01:00
Twinaphex 71f4ff6b84 Merge pull request #9777 from DEX357/patch-47
FIXME Update msg_hash_pl.h
2019-12-02 06:17:47 +01:00
Twinaphex bfe00ac6f3 Merge pull request #9807 from libretro/deferred-refactors-pt2
(menu_cbs_ok) Cleanups
2019-12-02 06:17:30 +01:00
Twinaphex 2b2d6742e0 Merge pull request #9805 from libretro/deferred-refactors-pt2
Deferred refactors pt2
2019-12-02 06:16:48 +01:00
Twinaphex aa9934a722 Merge pull request #9806 from libretro/revert-9561-patch-6
Revert "iOS - Bump GCC Optimization level to-0s for Release Builds. "
2019-12-02 06:16:38 +01:00
Twinaphex ec4ecb5d34 Revert "iOS - Bump GCC Optimization level to-0s for Release Builds. " 2019-12-02 06:16:28 +01:00
twinaphex 8551d175ab (menu_cbs_ok) Cleanups 2019-12-02 06:10:32 +01:00
twinaphex d0bce8bc9f Refactor menu_cbs_title 2019-12-02 05:50:32 +01:00
Twinaphex 12ae92ef66 Merge pull request #9786 from hasenbanck/ffmpeg-amf
Implement ffmpeg send/receive encoding API
2019-12-02 05:35:37 +01:00
Twinaphex c1a2dd81c7 Merge pull request #9798 from libretro/kivutar/makeosx
[WIP] Allow building using make on OSX
2019-12-02 05:24:29 +01:00
Twinaphex a4d8ecf2b8 Merge pull request #9561 from mrjschulte/patch-6
iOS - Bump GCC Optimization level to-0s for Release Builds.
2019-12-02 05:24:07 +01:00
twinaphex c80d18c446 Refactor DEFERRED_RECORDING_SETTINGS_LIST 2019-12-02 02:33:09 +01:00
twinaphex 2a41f1fb99 Change type to enum - should silence C89 build errors 2019-12-02 01:21:42 +01:00
Twinaphex 901932a8e1 Merge pull request #9804 from libretro/deferred-push-refactor
Refactor deferred push callbacks
2019-12-01 23:23:23 +01:00
Twinaphex e57e4dbf57 Merge branch 'master' into deferred-push-refactor 2019-12-01 23:22:18 +01:00
Twinaphex 00ca7297f3 Merge pull request #9795 from jdgleaver/manual-scan
Add manual content scanner
2019-12-01 23:11:45 +01:00
twinaphex cfc2a15d41 Refactor the other entries as well 2019-12-01 22:57:18 +01:00
twinaphex e8f55e8b24 Refactor deferred push callbacks 2019-12-01 22:38:53 +01:00
Twinaphex c09c4299ba Merge pull request #9803 from libretro/flowchart-controls
Change 'User' terminology to 'Port' for input binding stuff
2019-12-01 21:40:17 +01:00
Twinaphex dda12da672 Merge pull request #9799 from hasenbanck/ffmpeg-hw
FFMPEG Core HW accelerated decoding
2019-12-01 20:32:50 +01:00
Twinaphex 96b6789855 Merge pull request #9800 from Tatsuya79/patch-3
fix dock titles getting cut off
2019-12-01 19:52:58 +01:00
Nils Hasenbanck 17107a1563 Fix decoder switching and context re-usage.
The re-usage of the decoder context is not properly implemented.
Restart options will only be applied when the core is started.
2019-12-01 12:49:37 +01:00
Nils Hasenbanck c3c2f5bfb6 Implement HW based decoding for the ffmpeg core.
The ffmpeg core not support the usage of HW based video decoders.

Core options to configure the HW decoder to use is provided.
Proper fallback to the SW based decoder is implemented.

Currently the decoder loop in single threaded and is limited by
the color conversion that is done in software.
The frame based threading provided by ffmpeg also currently doesn't
seem to provide any benefits in configuring it.
2019-12-01 12:11:14 +01:00
cmitu 3953659901 KMSDRM: better detection for the current video mode 2019-12-01 06:45:43 +00:00
DEX357 c3f2469832 Update msg_hash_pl.h 2019-11-30 22:25:23 +01:00
Tatsuya79 2e0c1daf1b fix dock titles getting cut off 2019-11-30 19:06:59 +01:00
Jean-André Santoni 93df88a5d6 Typo 2019-11-30 14:24:38 +07:00
Jean-André Santoni 3ed2cf7812 CI 2019-11-30 13:01:43 +07:00
Jean-André Santoni c0dfcd2adf Fix Metal build 2019-11-30 12:49:52 +07:00
Jean-André Santoni f349784bd6 Fix the xcode build 2019-11-30 12:43:38 +07:00
Jean-André Santoni ba2c870d95 Allow building using make on OSX 2019-11-30 12:37:58 +07:00
Twinaphex b382ea2a33 Merge pull request #9797 from Tatsuya79/patch-2
fix search dock title
2019-11-29 23:25:45 +01:00
Tatsuya79 b6094d6f3b fix search dock title 2019-11-29 22:48:18 +01:00
jdgleaver 170397456c Add manual content scanner 2019-11-29 17:14:46 +00:00
Twinaphex 944485b9ae Update Makefile.libnx 2019-11-29 05:23:00 +01:00
Twinaphex c8adaaaab2 Merge pull request #9789 from jdgleaver/ozone-thumbnails
(Ozone) Use new 'menu_thumbnail' library for loading/rendering thumbnails
2019-11-28 18:06:06 +01:00
Twinaphex d8ba2839c4 Merge pull request #9794 from Jamiras/cheevos_unsupported_core_hardcore_pause
(cheevos) pause hardcore if core doesn't support achievements
2019-11-28 18:05:53 +01:00
DEX357 576213b048 FIXME 2019-11-27 19:41:17 +01:00
Jamiras 1f97d31f2a pause hardcore if core doesn't support achievements 2019-11-27 07:38:41 -07:00
Barry Rowe 1e6e7a698f Added in accessibility. 2019-11-26 15:19:21 -08:00
jdgleaver 9170bca9b3 (Ozone) Use new 'menu_thumbnail' library for loading/rendering thumbnails 2019-11-25 13:14:25 +00:00
twinaphex 388879da38 Change 'User' terminology to 'Port' for input binding stuff 2019-11-24 20:11:49 +01:00
DEX357 4476d3e971 Update msg_hash_pl.h 2019-11-24 18:32:59 +01:00
Nils Hasenbanck 4e4802e5c6 Implement ffmpeg send/receive encoding API
This is implementing the send/receive encoding API of ffmpeg in the
ffmpeg record backend.

Newer encoder do need the client to use this API to use them (for
example h264_amf and hvec_amf). "Old" encoders should work fine
(Tested x264 and webm profiles).

The biggest change is the handling of the encoded packets, since
the API can return multiple packets in it's queue. As a positive
side-effect the code for flushing is much more easier.
2019-11-24 17:41:22 +01:00
Twinaphex 203a80aeaa Merge pull request #9785 from Jamiras/nds_hash
(cheevos) add hashing for Nintendo DS
2019-11-24 16:59:04 +01:00
Twinaphex 50a50b8519 Merge pull request #9784 from jdgleaver/thumbnail-upscaling-settings-fix
Fix 'Thumbnail Upscaling Threshold' setting drop-down list
2019-11-24 16:58:35 +01:00
DEX357 4203b4fb78 Update msg_hash_pl.h 2019-11-24 16:05:09 +01:00
Jamiras a990c0bca4 add hashing for Nintendo DS 2019-11-24 07:59:59 -07:00
jdgleaver 4eec21b4d1 Fix 'Thumbnail Upscaling Threshold' setting drop-down list 2019-11-24 14:39:08 +00:00
DEX357 6625eff3d8 Update msg_hash_pl.h 2019-11-24 03:56:11 +01:00
DEX357 677f13a2fe Update msg_hash_pl.h 2019-11-24 03:15:54 +01:00
twinaphex ba74747860 (ffmpeg core) Update Makefile 2019-11-23 22:39:50 +01:00
Twinaphex de3ac2c549 Merge pull request #9775 from Jamiras/chd_pregap
(cheevos) fix hash calculation for some PCEngine CHD files
2019-11-23 21:08:47 +01:00
Twinaphex ccaba7d465 Merge pull request #9776 from fjtrujy/psp/PThread
[PSP] Solving issue Exiting RetroArch by HOME button
2019-11-23 12:59:14 +01:00
Francisco Javier Trujillo Mata e553e19996 Call pthread_terminate is if it is NO SALAMANDER 2019-11-23 12:54:45 +01:00
twinaphex ce9ba045ff This can be unreverted after we bake in the pthreads implementation for PSP and Vita
Revert "Call to the terminate function for the pthread on the deinit of the PSP platform"

This reverts commit 1671f16b0c.
2019-11-23 12:36:31 +01:00
Jamiras c69a11a219 better detection of pregap data in file 2019-11-22 19:36:38 -07:00
Twinaphex 4aa936ce33 Merge pull request #9772 from DuMOHsmol/xbox_one_bluetooth_fix
Get rid of 128 byte device name limit for XInput device discover
2019-11-22 19:50:58 +01:00
Twinaphex f09561026a Merge pull request #9771 from jdgleaver/pointer-msgbox-inhibit
(Menu) Ensure pointer input is handled correctly when showing message boxes
2019-11-22 19:50:13 +01:00
Dmitry Sergeenkov 5cdef89b86 Get rid of 128 byte device name limit for XInput device discover 2019-11-22 21:15:58 +03:00
jdgleaver b1d5542d77 (Menu) Ensure pointer input is handled correctly when showing message boxes 2019-11-22 15:10:28 +00:00
Francisco Javier Trujillo Mata 1671f16b0c Call to the terminate function for the pthread on the deinit of the PSP platform 2019-11-21 19:25:02 +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
Twinaphex 822eb3bb86 Merge pull request #9759 from Jamiras/rcheevos_81
(cheevos) update rcheevos to v8.1
2019-11-21 16:39:58 +01:00
Twinaphex 3e55d598db Merge pull request #9762 from gblues/gblues/default-asset-directory
Gblues/default asset directory
2019-11-21 15:45:17 +01:00
Twinaphex def1e352d4 Merge pull request #9763 from jdgleaver/glui-fs-thumbs-enable-select
(GLUI) Enable pass-through of [RetroPad A]/[Keyboard Return key] when viewing fullscreen thumbnails
2019-11-21 15:34:30 +01:00
jdgleaver 34b744aff6 (GLUI) Enable pass-through of [RetroPad A]/[Keyboard Return key] when viewing fullscreen thumbnails 2019-11-21 12:45:03 +00: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
Jean-André Santoni 33206b8847 Wait longer for the notarization server 2019-11-21 11:12:54 +07:00
Jamiras b26fa714a8 more descriptive error string 2019-11-20 18:19:35 -07:00
Jamiras 9983976ddb update rcheevos to v8.1 2019-11-20 14:40:34 -07:00
Twinaphex d3ed02dd87 Update Makefile.common 2019-11-20 20:38:28 +01:00
jdgleaver d392d90a6e (GLUI) Add fullscreen thumbnail viewer (#9758) 2019-11-20 19:09:02 +01:00
Francisco José García García c8067ba0c0 (VITA) Baked math-neon and vitaGL (#9757)
* Squashed 'deps/math-neon/' content from commit 0050735

git-subtree-dir: deps/math-neon
git-subtree-split: 0050735ae8f18281c1e6fbe2dc80546e402b7fc5

* Squashed 'deps/vitaGL/' content from commit 694b387

git-subtree-dir: deps/vitaGL
git-subtree-split: 694b387a6eacf7e179f07ff621e5772ae4253315

* (Vita) Add baked math-neon and vitaGL
2019-11-20 12:13:33 +01:00
Twinaphex 932071952d (OSX) Buildfix 2019-11-20 11:19:18 +01:00
Twinaphex f081cfa314 Merge pull request #9756 from libretro/iosfix
Revert code in hopes iOS works again
2019-11-20 11:11:23 +01:00
twinaphex 861379d8e3 Revert code in hopes iOS works again 2019-11-20 06:25:40 +01:00
Twinaphex 64b23937d3 Merge pull request #9690 from libretro/kivutar/codesign
Code sign OSX release
2019-11-20 05:44:23 +01:00
Jean-André Santoni 11a4a4cffb Code cleaning 2019-11-20 10:45:14 +07:00
Jean-André Santoni 8da54e2349 Uncomment stuff 2019-11-20 10:09:24 +07:00
Jean-André Santoni 87cc90741d Deep sign 2019-11-20 09:59:34 +07:00
Jean-André Santoni 27da1c94f2 Enable hardened runtime for the Qt build 2019-11-20 09:09:27 +07:00
Twinaphex d2d240ecf5 (iOS) Should fix iOS build problems 2019-11-20 02:58:17 +01:00
Twinaphex 540edd7b5d (iOS) Buildfix #1 2019-11-20 02:51:18 +01:00
Twinaphex 81c020d300 Replace g_instance with CocoaView get 2019-11-20 02:24:03 +01:00
twinaphex e3506ed06b Move nsview_get_ptr to cocoa_common 2019-11-20 02:24:03 +01:00
Twinaphex 387e18b528 cocoagl_gfx_ctx_set_video_mode - go through [CocoaView get] here 2019-11-20 02:24:03 +01:00
Twinaphex bac58c99c4 Buildfix 2019-11-20 02:24:03 +01:00
twinaphex 964fcda79a Move glkitview_init to cocoa_common.m 2019-11-20 02:24:02 +01:00
Twinaphex b241b5769b Merge pull request #9754 from realnc/fix-null-deref
Fix null pointer deref
2019-11-19 23:58:23 +01:00
Nikos Chantziaras 376598a6e0 Fix null pointer deref 2019-11-20 00:41:38 +02:00
twinaphex ed8e440b0d Revert "Move update_window_title to main thread - this should resolve some"
This reverts commit 442608981d.
2019-11-19 22:48:35 +01:00
twinaphex 442608981d Move update_window_title to main thread - this should resolve some
concurrency issues on OSX as well
2019-11-19 22:13:51 +01:00
Jean-André Santoni 8191f2775f Add Qt back 2019-11-19 17:46:35 +07:00
Jean-André Santoni f142caea11 Disable some other builds for now 2019-11-19 17:40:01 +07:00
Jean-André Santoni d2f381d121 Try to take qt5 out 2019-11-19 17:39:19 +07:00
Jean-André Santoni 90b56fb487 Move back code signing to travis 2019-11-19 17:38:19 +07:00
Jean-André Santoni 8533512a82 Revert "Remove project changes"
This reverts commit f5dac2859ff029c7e836264cccf6cb28b146c308.
2019-11-19 17:38:19 +07:00
Jean-André Santoni dbe4be7e7f Remove project changes 2019-11-19 17:38:19 +07:00
Jean-André Santoni 912ab4ff00 Fix QT build 2019-11-19 17:38:19 +07:00
Jean-André Santoni 460cfc9efd Fix QT build 2019-11-19 17:38:19 +07:00
Jean-André Santoni 309045e0ac Move the logic to the shell script 2019-11-19 17:38:18 +07:00
Jean-André Santoni 944e89bdc8 Enable hardened runtime 2019-11-19 17:38:18 +07:00
Jean-André Santoni 885eb4f15b Fix signing conflict 2019-11-19 17:38:18 +07:00
Jean-André Santoni 27ecc119e0 Try to set the team ID there 2019-11-19 17:38:18 +07:00
Jean-André Santoni ded406984f Don't codesign this way 2019-11-19 17:38:18 +07:00
Jean-André Santoni 2a7b76249c Use xcode 11.2 and attempt to notarize the .app 2019-11-19 17:38:18 +07:00
Jean-André Santoni e49d505254 Code sign OSX release 2019-11-19 17:38:11 +07:00
twinaphex 79c336b6fd Update dist-cores.sh 2019-11-19 10:04:45 +01:00
Jean-André Santoni 249c73d68c Revert "Try xcode 11.1"
This reverts commit ffda27c8a7.
2019-11-19 15:21:08 +07:00
twinaphex 5d8c566dbc (cores/ffmpeg) Resync 2019-11-19 09:09:52 +01:00
Twinaphex aa2348823c Merge pull request #9749 from libretro/kivutar/removeuselessifdef
Remove useless HAVE_COCOA_METAL ifdef
2019-11-19 09:04:20 +01:00
twinaphex 10a234908f Update libretro-ffmpeg Makefile 2019-11-19 09:01:46 +01:00
twinaphex 6d5104f6d7 (Windows/ffmpeg) Standalone Makefile - Don't set it explicitly to gcc/g++ 2019-11-19 08:55:04 +01:00
twinaphex fbdc53f926 Update ffmpeg Makefile.common - see if it changes anything 2019-11-19 08:54:19 +01:00
Jean-André Santoni 8e028f4db3 Remove useless HAVE_COCOA_METAL ifdef 2019-11-19 14:50:21 +07:00
twinaphex 29ced2a72f Simplify cocoagl_gfx_ctx_get_video_size somewhat 2019-11-19 08:26:12 +01:00
twinaphex 77b05d6078 Add this for OSX 10.7 solution 2019-11-19 08:10:12 +01:00
Twinaphex b351fac466 Merge pull request #9748 from libretro/kivutar/xcode111
Try xcode 11.1
2019-11-19 07:54:11 +01:00
Jean-André Santoni ffda27c8a7 Try xcode 11.1 2019-11-19 13:42:06 +07:00
Twinaphex 72601103ba Merge pull request #9747 from libretro/kivutar/travispr
Prevent duplicate travis jobs
2019-11-19 07:32:14 +01:00
twinaphex 4736bef77b (Apple) Add HAVE_ONLINE_UPDATER 2019-11-19 07:18:16 +01:00
Jean-André Santoni 1581d23a6c Prevent deplicate travis jobs 2019-11-19 13:17:10 +07:00
Twinaphex 15b6da2a17 Merge pull request #9745 from libretro/kivutar/osxmake
Fix building with make on OSX
2019-11-19 07:12:07 +01:00
twinaphex f0784351c4 Update header include - should look in system dir 2019-11-19 06:19:09 +01:00
Twinaphex 9df2a6fd99 Merge pull request #9676 from orbea/qb3
Some minor qb changes.
2019-11-19 06:15:55 +01:00
Twinaphex 8518b4f50b Merge pull request #9673 from orbea/deprecate
qb: Remove deprecated arguments.
2019-11-19 06:15:40 +01:00
Twinaphex 53b7fb2ba2 Remove unused variables 2019-11-19 06:08:54 +01:00
Twinaphex 6a541125aa Silence two issues 2019-11-19 06:01:11 +01:00
Jean-André Santoni 947e15f34f Move WindowListener around 2019-11-19 12:00:24 +07:00
Twinaphex c7ce2c7053 Fix Xcode issue 2019-11-19 05:54:01 +01:00
Jean-André Santoni d5a5380e6d Fix building with make on OSX 2019-11-19 11:38:27 +07:00
Twinaphex 496104005b Merge pull request #9744 from realnc/fix-aspect-ratio-change
Don't omit AR changes when not reinitting video in SET_SYSTEM_AV_INFO
2019-11-19 04:11:46 +01:00
Nikos Chantziaras 33ab147514 Don't omit AR changes when not reinitting video in SET_SYSTEM_AV_INFO 2019-11-19 04:37:03 +02:00
Twinaphex c0bc8d2df2 Update CHANGES.md 2019-11-18 08:22:50 +01:00
Twinaphex d2a1d96f59 Update CHANGES.md 2019-11-18 08:21:29 +01:00
twinaphex 9d0356dd73 Add HAVE_STEAM switch 2019-11-18 08:04:29 +01:00
twinaphex a46027bed7 Remove MENU_LABEL_ONLINE_UPDATER 2019-11-18 07:51:57 +01:00
twinaphex a68e9b5014 Start passing global struct to configuration.c functions 2019-11-18 07:32:01 +01:00
twinaphex 88d4ae6790 Buildfix for Android - this header should not be done as a system
header include
2019-11-18 06:48:15 +01:00
twinaphex 48cca00d91 Revert "(retroarch.c) Cleanups"
This reverts commit db9a067e64.
2019-11-18 06:43:30 +01:00
twinaphex 9555f70440 Cleanup some RARCH_CTL_ actions 2019-11-18 06:32:23 +01:00
twinaphex db9a067e64 (retroarch.c) Cleanups 2019-11-18 06:20:47 +01:00
twinaphex 0aa9bd9c22 (retroarch.c) Cleanups - start getting rid of driver_find_ident
functions
2019-11-18 06:06:59 +01:00
twinaphex aba96fbf03 (Menu) Small cleanups 2019-11-18 04:20:40 +01:00
Twinaphex 2a72d90e8a Merge pull request #9715 from realnc/no-video-reinit
Do not reinit video driver on SET_SYSTEM_AV_INFO unless needed
2019-11-18 00:41:30 +01:00
Twinaphex 479ba58042 Update CHANGES.md 2019-11-17 23:16:44 +01:00
Twinaphex 9c0028c1d1 Merge pull request #9739 from Jamiras/cheevos_init_load_state
(cheevos) prevent loading state while achievements are still being fetched from server
2019-11-17 23:16:21 +01: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
twinaphex 63e437d58f Rename get_rotation to retroarch_get_rotation 2019-11-17 22:58:52 +01:00
Twinaphex ddd9fbf6ae Merge pull request #9734 from Aethyrion/rotation_fixing
Rotation fixing
2019-11-17 22:53:12 +01:00
Twinaphex 68719ac8d4 Merge pull request #9741 from Jamiras/cheevos_lbl_cleanup
(cheevos) remove unused menu labels
2019-11-17 22:44:36 +01:00
twinaphex 934697b0da Buildfix for no menu 2019-11-17 22:42:15 +01:00
twinaphex cbe68cbf88 Turn the find_handle/find_ident functions static 2019-11-17 22:31:57 +01:00
Jamiras 9e547699c6 remove CHEEVOS_UNLOCKED_ACHIEVEMENTS, CHEEVOS_LOCKED_ACHIEVEMENTS, and CHEEVOS_OLD_ENABLE menu labels 2019-11-17 13:09:55 -07:00
twinaphex f9bc57bcf8 Merge list_special.c into retroarch.c 2019-11-17 21:07:56 +01:00
twinaphex 09b7202c54 Do a fall-through here 2019-11-17 21:01:46 +01:00
twinaphex 8c799f978b Merge paths.c - this is one of the last file we merge - not long after this
we can start splitting up retroarch.c into several files
2019-11-17 21:00:15 +01:00
Rémi 34125a6d14 Remove // comments 2019-11-17 20:46:51 +01:00
twinaphex c252cbe9e0 Strip out rxml and yxml if HAVE_VIDEO_LAYOUT is not defined 2019-11-17 20:43:26 +01:00
Twinaphex 8e6e30370d Merge pull request #9729 from huwpascoe/rxml-fix
Fixed xml parsing
2019-11-17 20:23:07 +01:00
Rémi 154c2d388d Fix CI compilation issues 2019-11-17 20:18:42 +01:00
Nikos Chantziaras e8c027cbc3 Do not reinit video driver on SET_SYSTEM_AV_INFO unless needed
Video reinit causes the core to freeze momentarily, freezing audio and
flashing the window. Cores like dosbox-svn need to change fps quite often
(some DOS games even change fps mid-gameplay) and the video reinit becomes
very annoying.

Change this to not reinit the video driver unless CRT SwitchRes is enabled
or a max width/height change was requested.
2019-11-17 20:29:42 +02:00
Rémi e3a8e28edc Using MAX macro. 2019-11-17 18:34:19 +01:00
Rémi 1c9d0dbf48 Refactoring (still trying to fix CI compilation issue) 2019-11-17 18:03:57 +01:00
Jamiras 939770929f hardcore mode is not dependent on having achievement data 2019-11-17 09:36:39 -07:00
Rémi 756b4636f6 Update Aspect Ratio (1:1 PAR and Custom) when rotating from menu 2019-11-17 17:22:10 +01:00
Twinaphex 80e49531b1 Merge pull request #9738 from libretro/revert-9714-master
Revert "Refactor RetroArch input polling settings"
2019-11-17 16:45:54 +01:00
Twinaphex b6aa9f2fd1 Revert "Refactor RetroArch input polling settings" 2019-11-17 16:45:40 +01:00
Rémi 09a9b7d254 CI compilation issue 2019-11-17 16:26:29 +01:00
Rémi f804e0738f Fix Integer Scaling when rotating 2019-11-17 13:52:28 +01:00
Rémi a28e57e42d Fixing Integer Scaling for Custom Viewport (when rotating) 2019-11-17 13:21:50 +01:00
Rémi 7088281b52 Fixing 1:1 PAR for 270 degree rotation 2019-11-16 23:18:56 +01:00
Rémi ba183cf7a6 Refactoring (get_rotation) 2019-11-16 23:03:15 +01:00
Rémi 9df755bdb4 Fixing 1:1 PAR aspect ratio when video rotated 2019-11-16 22:13:12 +01:00
Huw Pascoe 4eebfa237b Fixed xml parsing 2019-11-16 20:56:12 +00:00
Rémi cc99b9f949 Merge branch 'rotation_fixing' of https://github.com/Aethyrion/RetroArch into rotation_fixing 2019-11-16 19:52:52 +01:00
Rémi 6c47f02bdf Fixing OpenGL shader rotation 2019-11-16 19:52:47 +01:00
Rémi 30f36a30f2 Remove empty line 2019-11-16 19:50:35 +01:00
Rémi b6dc887d52 Fixing OpenGL shader rotation 2019-11-16 19:45:04 +01:00
Twinaphex 9b192dc3c1 Update CHANGES.md 2019-11-16 17:28:09 +01:00
Twinaphex 686a0ce199 Update CHANGES.md 2019-11-16 17:27:01 +01:00
Twinaphex 27f88abb02 Merge pull request #9733 from Jamiras/psx_exe_hash
(cheevos) use PSX.EXE if SYSTEM.CNF cannot be found
2019-11-16 17:26:35 +01:00
Jamiras 3b0cbc1e41 use PSX.EXE if SYSTEM.CNF cannot be found 2019-11-16 08:36:13 -07:00
Twinaphex 0d284c42bc Merge pull request #9714 from rz5/master
Refactor RetroArch input polling settings
2019-11-15 17:18:30 +01:00
Twinaphex 11f054e646 Merge pull request #9725 from guoyunhe/patch-1
Fix comment in freetype.c
2019-11-15 17:16:26 +01:00
Twinaphex 6ec7eddfc9 Merge pull request #9728 from jdgleaver/glui-navigation
(GLUI) Navigation improvements
2019-11-15 16:31:19 +01:00
jdgleaver 7eefec6945 (GLUI) Navigation improvements 2019-11-15 14:53:00 +00:00
Guo Yunhe 95dede9039 Fix comment in freetype.c 2019-11-15 10:18:05 +02:00
rz5 82898ea194 Cast arg to rarch_set_in_put from what it is to enum rarch_poll_type.
Might fix building under clang 6.0
2019-11-15 00:47:46 +00:00
Twinaphex 666ebb0ae1 Update CHANGES.md 2019-11-15 00:59:17 +01:00
Twinaphex 8548771025 Merge pull request #9682 from fpscan/turkish-translation
Update msg_hash_tr.h
2019-11-15 00:58:51 +01:00
Twinaphex 6adfff6995 Update CHANGES.md 2019-11-15 00:56:51 +01:00
Twinaphex 724865a8fc Update freetype.c 2019-11-15 00:53:17 +01:00
Twinaphex eab80384ab Update CHANGES.md 2019-11-15 00:52:11 +01:00
Twinaphex cbf0bc9cfc Merge pull request #9721 from guoyunhe/fix-chinese-font-linux
Correct Droid Sans Fallback font path in Linux
2019-11-15 00:51:07 +01:00
Twinaphex 474110b818 Merge pull request #9720 from Rinnegatamante/master
Some improvements to Italian translation.
2019-11-15 00:50:27 +01:00
Guo Yunhe 52b3a4fe17 Correct Droid Sans Fallback font path 2019-11-14 18:01:46 +02:00
Rinnegatamante 2f7a6fa394 Some improvements to Italian translation. 2019-11-14 13:14:46 +01:00
Rinnegatamante 2a77dc5600 Make code C89 compliant. 2019-11-13 21:44:59 +01:00
Twinaphex d84dfee044 Merge pull request #9711 from WeedyWeedSmoker/French-update
Update french language with the latest additions
2019-11-13 18:31:23 +01:00
Rinnegatamante 616759ed8c [VITA] Implement check_window. 2019-11-13 11:19:51 +01:00
Rinnegatamante 637319c938 [VITA] Implement swap_interval in vita video driver context. 2019-11-13 09:57:03 +01:00
Rinnegatamante d7572399cc [VITA] Make (for now) vita2d renderer the default one. 2019-11-13 09:05:57 +01:00
rz5 2678789bd8 Refactor RetroArch input polling settings
* Refactored the way RetroArch sets the input state/poll callbacks, hopefully it's clearer now.

* The unnamed enum of poll type behaviors in core.h was moved to retroarch.h and is now named rarch_poll_type.
It represents polling behaviors implemented specifically by RetroArch.
First element starts at 1 to match the data encoding of RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE.

* Created rarch_set_input_cbs - sets different input state/poll callbacks based on a
rarch_poll_type parameter.

* Replaced the static variable core_poll_type_override in retroarch.c with a poll_type_lock flag
inside global_t's menu struct;
RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE will now call rarch_set_input_cbs and set poll_type_lock,
which blocks the user from changing behaviors from the menu.

* To follow the RETRO_ENVIRONMENT_POLL_TYPE_OVERRIDE spec, we now set poll_type_lock and call
rarch_set_input_cbs after calling unload_game.

* core_set/unset_netplay_callbacks will now set/unset poll_type_lock, preventing the
poll type from being changed by the user;

* The MENU_ENUM_LABEL_INPUT_POLL_TYPE_BEHAVIOR action will now call rarch_set_input_cbs if poll_type_lock
isn't set, which means poll type is changed on-the-fly.
2019-11-13 00:11:05 +00:00
Rinnegatamante 96845f4a7e [VITA] Removing a no more used ifndef. 2019-11-13 00:45:48 +01:00
Twinaphex baaf27c268 Merge pull request #9712 from julianaito/master
OpenBSD/powerpc: fix "undefined reference to __mftb"
2019-11-12 23:11:17 +01:00
Charlène 3038e9e1ce OpenBSD/powerpc: fix "undefined reference to __mftb" 2019-11-12 22:24:35 +01:00
Rinnegatamante a30f7dc79f [VITA/PSP] Fix logging to file not working. 2019-11-12 19:46:37 +01:00
Rinnegatamante 2b20c8d350 [GL1] Fixed core frame renderer. 2019-11-12 19:46:37 +01:00
radius 3f88a49bdc linux frontend: add proper drives 2019-11-12 19:11:51 +01:00
Rinnegatamante bed9847b48 [VITA] Hijacking wrong positioning for UI elements. 2019-11-12 19:06:18 +01:00
Rinnegatamante 66bdf711f4 [VITA] Back to GL_LUMINANCE_ALPHA usage. 2019-11-12 16:33:47 +01:00
Rinnegatamante f3ca57e6f0 [VITA] Add vita video driver context. 2019-11-12 16:33:36 +01:00
Rinnegatamante 6b7673f806 [VITA] Fixing gl1 video driver crashes. 2019-11-12 15:37:37 +01:00
twinaphex 312f143253 Update dist-cores.sh 2019-11-12 14:55:37 +01:00
twinaphex 3a552e08ff Fix dist-cores.sh 2019-11-12 14:54:21 +01:00
Rinnegatamante 1533d618e5 [VITA] Allow usage of null context with gl1. 2019-11-12 13:50:14 +01:00
Rinnegatamante 6394342b9c [VITA] Add gl1 video driver support through vitaGL. 2019-11-12 11:54:00 +01:00
Weedy Weed Smoker 9c27f0e7c3 Update french language with the latest additions 2019-11-12 12:06:25 +07:00
twinaphex a0486c3cd7 Revert "Simplify slang_process.cpp"
This reverts commit 25a417cdd7.
2019-11-12 01:34:03 +01:00
Twinaphex 4cca0c1eb7 Merge pull request #9709 from Tatsuya79/patch-1
French translation fix
2019-11-11 19:58:40 +01:00
hunterk b142a44fd0 keep bilinear filtering for low-res targets 2019-11-11 12:56:55 -06:00
hunterk ed4aae2d18 switch to nearest neighbor scaling as default 2019-11-11 12:48:13 -06:00
Tatsuya79 a75491375c French translation fix 2019-11-11 19:34:36 +01:00
Twinaphex d31dcbed81 Merge pull request #9708 from jdgleaver/glui-thumb-tweaks
(GLUI) Minor thumbnail improvements
2019-11-11 19:20:35 +01:00
twinaphex 25a417cdd7 Simplify slang_process.cpp 2019-11-11 18:55:33 +01:00
jdgleaver df6d65e061 (GLUI) Minor thumbnail improvements 2019-11-11 16:30:42 +00:00
Twinaphex 95f68b0625 Update CHANGES.md 2019-11-11 15:47:53 +01:00
Twinaphex f9f7092370 Update CHANGES.md 2019-11-11 15:47:44 +01:00
Twinaphex 9e2ac1100c Merge pull request #9701 from WeedyWeedSmoker/French-translation-update
Update the french translation
2019-11-11 15:46:16 +01:00
twinaphex 8f492adac3 Fix some errors 2019-11-11 15:05:18 +01:00
twinaphex 0a4795f6d5 Rewrite dist-cores.sh - make it so that we don't exit out of the entire
script when a core fails to compile
2019-11-11 15:03:49 +01:00
Twinaphex 8a26931622 Update CHANGES.md 2019-11-11 14:20:07 +01:00
Twinaphex 52db3779c7 Merge pull request #9706 from Jamiras/cheevos_unsupported
(cheevos) display Unofficial and Unsupported achievement states
2019-11-11 14:19:36 +01:00
Jamiras 84de1ce2f2 display Unofficial and Unsupported achievement states 2019-11-10 19:48:46 -07:00
twinaphex 6443169bac Desktop Menu - hide 'Online Updater' if HAVE_ONLINE_UPDATER is not
defined
2019-11-11 02:06:33 +01:00
twinaphex 08ce33eed0 Add HAVE_ONLINE_UPDATER 2019-11-11 00:22:03 +01:00
Weedy Weed Smoker 1fc1a48bfe Ready to merge! 2019-11-11 06:21:49 +07:00
Weedy Weed Smoker e4bcfa6a2a Missed one translation! Done... 2019-11-11 06:15:31 +07:00
twinaphex cf586b7273 Hide Core Updater properly 2019-11-10 18:12:23 +01:00
twinaphex bc657778fe Add HAVE_UPDATE_CORES - by running ./configure --disable-update_cores
you can strip out the Online Core Updater
2019-11-10 15:55:39 +01:00
Weedy Weed Smoker ad5874b94d Clarify a sublabel... 2019-11-10 04:01:09 +07:00
Weedy Weed Smoker 0e6f33103a Add the new dual-thumbnail option from the US file 2019-11-10 03:54:07 +07:00
twinaphex 455982da91 Silence warning 2019-11-09 18:01:13 +01:00
twinaphex 0c83d2a7cf (Libnx) RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT - return false for libnx 2019-11-09 17:29:49 +01:00
twinaphex dbd1e70410 RETRO_ENVIRONMENT_SET_HW_SHARED_CONTEXT - turn this off for now
for Switch
2019-11-09 17:16:29 +01:00
Twinaphex c62af7dc49 Merge pull request #9700 from jdgleaver/glui-dual-thumbs
(GLUI) Add dual thumbnail support
2019-11-09 15:19:21 +01:00
Weedy Weed Smoker 946713100a Add english back to the "cutie" color themes 2019-11-09 12:28:19 +07:00
Weedy Weed Smoker a3aef0f3f5 Use the "cutie" reference instead of a translation 2019-11-09 12:26:26 +07:00
Weedy Weed Smoker f3506054a1 Add a plural for the thumbnails... 2019-11-09 07:04:25 +07:00
Weedy Weed Smoker a5f1e9f817 Add a translation for "sunbeam"... 2019-11-09 01:28:59 +07:00
Weedy Weed Smoker ff03272e07 Update the french translation
with the latest additions in the US file!
2019-11-09 01:22:32 +07:00
jdgleaver bba454207e (GLUI) Add dual thumbnail support 2019-11-08 16:45:46 +00:00
Twinaphex f2898f4404 Merge pull request #9697 from BarryJRowe/master
Added fix for ai service overlay still showing when opening the menu.
2019-11-07 23:29:41 +01:00
Barry Rowe a247ee14cd Added fix for ai service overlay still showing when opening the menu. 2019-11-06 09:52:26 -08:00
Ömercan Kömür 42a85938e7 Update msg_hash_tr.h 2019-11-05 23:37:15 +03:00
Twinaphex 4d6555d58b Update CHANGES.md 2019-11-05 17:42:23 +01:00
Twinaphex 0493ecc7a6 Merge pull request #9687 from Jamiras/cheevos_user_agent
(cheevos) pass RetroArch and core versions through User-Agent HTTP header
2019-11-05 17:42:05 +01:00
Twinaphex 44219c00aa Update CHANGES.md 2019-11-05 17:41:33 +01:00
Twinaphex 545996f52e Merge pull request #9693 from altiereslima/master
Update Portuguese Brazilian translation
2019-11-05 17:41:04 +01:00
Twinaphex 16e7fe41dc Update CHANGES.md 2019-11-05 17:40:43 +01:00
Twinaphex 4a4b76111f Merge pull request #9692 from jdgleaver/glui-scroll-fix
(GLUI) Halt scrolling when pointer is pressed/stationary
2019-11-05 17:40:16 +01:00
Twinaphex 38716b518c Merge pull request #9688 from yoshisuga/ios_tvos_update_1_8_1
iOS/tvOS: update default assets.zip to show functional UI on startup;…
2019-11-05 17:02:51 +01:00
altiereslima a28bbf5d14 Update Portuguese Brazilian translation 2019-11-05 11:26:30 -03:00
jdgleaver 6afd684ae5 (GLUI) Halt scrolling when pointer is pressed/stationary 2019-11-05 12:23:09 +00:00
Ömercan Kömür ab56aca3ef Update msg_hash_tr.h
missing text added and translated
missing texts translated
2019-11-05 04:13:34 +03:00
Yoshi Sugawara 7e6ce4e279 iOS/tvOS: update default assets.zip to show functional UI on startup; update version to 1.8.1 2019-11-03 13:40:14 -10:00
Jamiras 67e9fba9d7 generate User-Agent for retroachievement API calls 2019-11-02 21:52:30 -06:00
Ömercan Kömür d326828fd6 Update msg_hash_tr.h
Missing texts translated to Turkish language
2019-11-02 18:00:29 +03:00
Ömercan Kömür 82b31c12c1 Flux
New RGUI Theme
2019-11-02 17:33:51 +03:00
twinaphex bfdc8e6a62 Bump up to 1.8.1 2019-11-02 12:17:03 +01:00
Twinaphex 078961648f Update CHANGES.md 2019-11-02 12:12:00 +01:00
Twinaphex 044851f608 Merge pull request #9616 from fpscan/master
New XMB Menu Color Theme: Sunbeam
2019-11-02 12:07:35 +01:00
Twinaphex dc696ab112 Merge pull request #9679 from IlDucci/master
Small typo correction and adding latest changes on msg_hash_es.h
2019-11-02 10:19:02 +01:00
IlDucci ec4f49d860 Fixed formatting issues with rgui
- Major formatting proofread to ensure no help screen goes past the hard character limits of rgui UI.
 - Tweaked the writing of some dialogues.
2019-11-02 00:00:27 +01:00
IlDucci 73e3620d20 Update msg_hash_es.h
- Fixed a missing accent in "English" language.
 - Translated the latest additions for the thumbnail views.
 - Replaced "landscape" and "portrait" with the extended translation in Spanish: "horizontal" and "vertical".
2019-11-01 22:31:02 +01:00
Twinaphex 112483e824 Turn on 'network on demand thumbnails' for Android/iOS 2019-11-01 20:29:22 +01:00
Twinaphex 36f13e0520 Update CHANGES.md 2019-11-01 20:20:21 +01:00
Twinaphex f0aafce88b Update CHANGES.md 2019-11-01 20:17:16 +01:00
Twinaphex e9643d189b Merge pull request #9659 from DEX357/patch-45
Update msg_hash_pl.h
2019-11-01 20:13:59 +01:00
Twinaphex 79b2b098b1 Update CHANGES.md 2019-11-01 20:13:19 +01:00
Twinaphex e60f72388e Merge pull request #9662 from IlDucci/master
Spanish language revision and update
2019-11-01 20:12:19 +01:00
Twinaphex 26f1e8be95 Merge pull request #9678 from jdgleaver/glui-scroll-position
(GLUI) Fix scroll position calculation
2019-11-01 19:04:27 +01:00
jdgleaver 697d16dd01 (GLUI) Fix scroll position calculation 2019-11-01 17:04:49 +00:00
orbea 841b3d620f travis: Log configure arguments + use before_script. 2019-11-01 09:41:38 -07:00
orbea b427f44908 qb: Update configure checks to print the check before the result.
This is very helpful for debugging in case the check just exits or hangs
unexpectingly.
2019-11-01 09:02:01 -07:00
orbea 98de418b7a qb: Improve the windres check. 2019-11-01 09:01:38 -07:00
orbea 8fc4a788e1 qb: Make the pkgconfig check more simple pt. 2: 2019-11-01 08:38:52 -07:00
orbea b590d0a219 qb: Print ... earlier.
Its better if the ... is printed before the check in case of unexpected
errors where it will look better.
2019-11-01 08:37:27 -07:00
Twinaphex eb2a881d55 Merge pull request #9675 from jdgleaver/glui-thumb-fix
(GLUI) Fix node height bug when showing thumbnails + set new default thumbnail view modes
2019-11-01 12:49:13 +01:00
jdgleaver b8d6e1d2c3 (GLUI) Fix node height bug when showing thumbnails + set new default thumbnail view modes 2019-11-01 11:13:34 +00:00
Twinaphex 72d416d5f2 Merge pull request #9672 from orbea/pkgconf
qb: Make the pkgconfig check more simple.
2019-11-01 11:21:48 +01:00
orbea 98b04b99dc qb: Remove deprecated arguments.
Please use --bindir, --mandir and --sysconfdir now.
2019-10-31 22:53:52 -07:00
orbea 14e159decf qb: Make the pkgconfig check more simple. 2019-10-31 22:36:04 -07:00
Twinaphex 8809932b49 Merge pull request #9670 from jdgleaver/glui-thumbs
(GLUI) Add initial thumbnail support
2019-11-01 01:55:35 +01:00
Twinaphex 5a9f435863 Update CHANGES.md 2019-10-31 18:40:49 +01:00
Twinaphex 72a087384b Merge pull request #9667 from Rinnegatamante/master
[VITA] Added accelerometer and gyroscope support.
2019-10-31 18:40:12 +01:00
jdgleaver c356969c3a (GLUI) Add initial thumbnail support 2019-10-31 17:25:55 +00:00
IlDucci 9ba48d8a4e Fixed some nesting problems. 2019-10-31 18:09:45 +01:00
IlDucci 01bf1c9710 Removing some unknown leftover. I'm not sure what else is left to do. 2019-10-31 17:28:33 +01:00
IlDucci 370c28f0d4 Added a missing component for the C89 workarounds. 2019-10-31 15:20:57 +01:00
IlDucci c10175030f Update msg_hash_es.c 2019-10-31 15:11:46 +01:00
IlDucci 3a8e58ada4 Copypasted fixes from French to solve two strings being too long for the C89 compiler.
Also tweaked some spaces before the "\n" code.
2019-10-31 15:11:31 +01:00
IlDucci d915787c9c Update msg_hash_es.c
Removing an extra "%s" in the virtual controller overlay.
2019-10-31 14:43:13 +01:00
IlDucci 7d5e24806c Adding first batch of fixes 2019-10-31 14:31:17 +01:00
IlDucci ee39d62031 Update to the Spanish revision/overhaul
- Fixed an instance where the term "peer" wasn't using the extended term (cliente).
 - Fixed the ordering of Dynamic Audio Rate Control.
 - Added a translation for the term "frame time".
 - Added the missing revision/proofread of the help messages.
 - Translated the missing help messages.
 - Did a quick cleanup of unneeded line jumps.
2019-10-31 13:59:36 +01:00
Rinnegatamante 064f821cf0 [VITA] Added accelerometer and gyroscope support. 2019-10-31 09:33:16 +01:00
Ömercan Kömür 9a3512df31 Revert "Delete msg_hash_fr.h"
This reverts commit fad8a0f29c.
2019-10-31 04:34:56 +03:00
Ömercan Kömür fad8a0f29c Delete msg_hash_fr.h 2019-10-31 04:23:16 +03:00
Ömercan Kömür 7021a4909e Merge branch 'master' into master 2019-10-31 04:22:33 +03:00
twinaphex d4b7be4ae4 Update libretro-common 2019-10-31 01:25:27 +01:00
twinaphex eb77d84716 Update libretro-common 2019-10-31 01:02:01 +01:00
hizzlekizzle 5639b3ebbd Merge pull request #9664 from alphanu1/master
Fixes for RPI
2019-10-30 14:33:07 -05:00
twinaphex d215d3ff44 Add HAVE_LIBNX conditional 2019-10-30 13:28:04 +01:00
alphanu1 a488876a6a Added missing argument to function (#2) 2019-10-30 08:43:51 +00:00
alphanu1 9c0f4c737e Fixes for RPI (#1)
New Raspberry Pi porch and aspect ratio generation. Added code to fix X offset for Raspberry Pi.
2019-10-30 08:34:02 +00:00
IlDucci 1f56d944ae Spanish language revision and update
Hello there, this is a large update and proofread for RetroArch's Spanish translation.

I have done the following changes:
 - Translated the new strings.
 - Unified the tenses being used for menu entry labels and sublabels (There was a mix of tenses all over the place, so I've decided for now to use infinitive for labels and present's second person in singular for starting sublabels).
 - Unified many terms that were translated in more than one way (frames, for example, had frames and fotogramas all around).
 - Added many missing trailing periods at sublabels and what I think are OSD notifications.
 - Fixed a metric ton of missing accents.
 - Added rewrites on some translations.
 - Updated translations wherever the English texts had substantial changes.

There's one thing that I might have mixed, and that's the Spanish region that the line's being directed. Back when I started this translation, I followed the European Spanish expressions and verbal tenses, but it seems there's been a deviation since then into Latin American Spanish's expressions and verbal usage (video/indice instead of vídeo/índice, encontró instead of ha encontrado... Not sure if it's actually an attempt to do Neutral Spanish).

A decision has to be made about this (Either try to go with Neutral or split the translation into European Spanish and Latin American. I'd personally go with the latter).
2019-10-29 23:12:06 +01:00
twinaphex 7dbd46c978 Add missing header 2019-10-29 21:21:48 +01:00
Twinaphex b854201bc1 Merge pull request #9649 from BarryJRowe/master
AI Service overlay.
2019-10-29 20:53:57 +01:00
Twinaphex 0719f9861c Merge pull request #9657 from p-sam/switch-input-sensor
(Switch) input driver sensor
2019-10-29 20:53:44 +01:00
hizzlekizzle d15f8e0dc5 Merge pull request #9654 from Tatsuya79/master
Cutie, Virtual Boy themes for glui.
2019-10-29 12:02:29 -05:00
DEX357 86a7e500e9 Update msg_hash_pl.h 2019-10-29 16:40:46 +01:00
Barry Rowe d641e67876 AI Service overlay. 2019-10-28 16:48:05 -07:00
Tatsuya79 eb72061b27 Cutie, Virtual Boy themes for glui. 2019-10-29 00:24:34 +01:00
Twinaphex b64289bd5f Merge pull request #9638 from Jamiras/cheevos_pce_cd
(cheevos) update PCEngine-CD hash algorithm
2019-10-28 20:54:05 +01:00
Twinaphex b3df81e791 Update CHANGES.md 2019-10-28 20:53:59 +01:00
Twinaphex eae8470dce Merge pull request #9631 from DEX357/patch-43
Update msg_hash_pl.h
2019-10-28 20:52:12 +01:00
Twinaphex 6456b5dcb1 Merge pull request #9647 from DEX357/patch-44
Update msg_hash_pl.h
2019-10-28 20:49:42 +01:00
Twinaphex 2ebf1a2c67 Merge pull request #9642 from WeedyWeedSmoker/French-translation-update
Update french translation and unifies formatting
2019-10-28 20:22:02 +01:00
Twinaphex 640a2b8991 Merge pull request #9653 from jdgleaver/mali-rotation-fix
Fix menu rendering with Mali GPUs after changing video dimensions
2019-10-28 20:21:49 +01:00
jdgleaver 6b4d76fc26 (GLUI) Minor bug fixes (#9646) 2019-10-28 20:21:37 +01:00
p-sam 49b87724eb (Switch) Implement driver sensor interface 2019-10-28 16:36:46 +00:00
p-sam f7f0499601 Fix mixed indentation 2019-10-28 16:36:46 +00:00
p-sam 0e79aa80d9 wip: merge libretro-common 2019-10-28 16:36:46 +00:00
jdgleaver c9b8164b0c Fix menu rendering with Mali GPUs after changing video dimensions 2019-10-28 14:42:48 +00:00
DEX357 1436dcfb30 Update msg_hash_pl.h 2019-10-27 17:17:54 +01:00
Weedy Weed Smoker 1ccd4d56fa Last typo fixed 2019-10-27 02:05:35 +01:00
Weedy Weed Smoker a4f0176089 Last typos fixed 2019-10-27 02:04:15 +01:00
Weedy Weed Smoker 4a76399583 Remove 2 duplicate entries, this can now be merged 2019-10-27 02:50:00 +02:00
Weedy Weed Smoker 5e2f0428c7 Delete remaining trailing spaces 2019-10-27 02:38:30 +02:00
Weedy Weed Smoker 8d4d69e218 Update french translation and unifies formatting
Update french translation on par with the english files, and unifies formatting...
2019-10-27 02:07:27 +02:00
twinaphex 14f8ee1e40 Update CHANGES.md 2019-10-26 22:03:48 +02:00
Jamiras 0615d655af fix travis error 2019-10-25 20:20:00 -06:00
jdgleaver 45deb2c218 (GLUI) Improve tab icon colours for 'Dark Blue' theme (#9636) 2019-10-25 18:58:45 +02:00
jdgleaver 1194b29c12 (GLUI) Navigation bar improvements (#9635) 2019-10-25 18:28:36 +02:00
Twinaphex b56551e978 Update version.all 2019-10-25 17:09:25 +02:00
twinaphex 32c2ae8278 Bump up version 2019-10-25 16:32:55 +02:00
Jamiras 0b92224c36 update PCEngine-CD hash algorithm; pregap cdfs support for CUE and CHD files 2019-10-24 18:46:43 -06:00
rz5 a723a833a8 (video_driver_frame) Cache frame before converting 0RGB1555 (#9629)
* (video_driver_frame) Don't convert 0RGB1555 when menu is active

Fixes the color cycling that happens when the menu is up and the core's internal pixel format is 0RGB1555.

This happened because video_driver_scaler would keep converting from 0RGB1555 to RGB565, even when the core was paused.

* Update retroarch.c

* Update retroarch.c
2019-10-25 02:15:07 +02:00
twinaphex c78a0da045 Disable this setting 2019-10-24 02:45:05 +02:00
Twinaphex bf122a33e6 Merge pull request #9630 from jdgleaver/glui-updates
(GLUI) Menu improvements (Round 3)
2019-10-24 02:03:26 +02:00
DEX357 37ea3d0cee Update msg_hash_pl.h 2019-10-23 19:43:18 +02:00
jdgleaver 3734ccbcc0 (GLUI) Menu improvements (Round 3) 2019-10-23 15:46:28 +01:00
twinaphex 362b76fd74 Update sthread_get_current_thread_id 2019-10-21 14:01:09 +02:00
twinaphex e968dd85e2 Implement sthread_get_thread_id (functional equivalent for
SDL_GetThreadId) and sthread_get_current_thread_id (functional
equivalent
for SDL_ThreadID)
2019-10-20 23:55:19 +02:00
twinaphex d51b32f662 Implement AI Service Pause 2019-10-19 20:53:17 +02:00
twinaphex 4e78375340 Update AI Service Mode sublabel 2019-10-19 20:39:54 +02:00
twinaphex 1bab26dc3d Add sublabel 2019-10-19 18:58:34 +02:00
twinaphex f678a06b95 Remove xbox 360 fonts 2019-10-19 16:42:39 +02:00
Ömercan Kömür ef464d9785 New XMB Menu Color Theme: Sunbeam 2019-10-19 14:50:58 +03:00
Twinaphex 682775ba83 Merge pull request #9614 from Rinnegatamante/videodrivers_yet_another
Implement the driver switch enable setting.
2019-10-19 00:29:20 +02:00
Rinnegatamante 24c798f550 Implement the driver switch enable setting. 2019-10-18 23:39:13 +02:00
twinaphex 73c853def4 Add setting 'Driver Switch Enable' - not hooked up yet 2019-10-18 23:03:29 +02:00
Twinaphex 38600f4cf3 Merge pull request #9611 from Rinnegatamante/videodrivers4
Re-initializing menu display driver even when widgets are not supported.
2019-10-18 20:54:29 +02:00
Ömercan Kömür e24ee95558 Merge pull request #1 from libretro/master
updates
2019-10-18 21:22:17 +03:00
Rinnegatamante 3cfde6cc45 Re-initializing menu display driver even when widgets are not supported. 2019-10-18 19:58:37 +02:00
Twinaphex 1c8d147d7c Merge pull request #9610 from jdgleaver/glui-refactors
(GLUI) Menu improvements (Round 2)
2019-10-18 19:27:11 +02:00
jdgleaver 37d12c3859 (GLUI) Menu improvements (Round 2) 2019-10-18 17:56:43 +01:00
Twinaphex 8283092367 Merge pull request #9609 from Tatsuya79/master
Add Ozone Dark theme to glui.
2019-10-18 12:53:33 +02:00
Tatsuya79 ed7c3dcff4 Add Ozone Dark theme to glui. 2019-10-17 18:14:48 +02:00
twinaphex 836fb17d0d (libretro-common) Update libretro-common 2019-10-17 01:48:41 +02:00
Twinaphex 564eb6a4a0 Update CHANGES.md 2019-10-17 01:19:25 +02:00
twinaphex 969ed176d6 Update CHANGES.md 2019-10-17 01:11:04 +02:00
twinaphex 8e2be92c72 Fix crash when setting thumbnail directory 2019-10-17 01:07:19 +02:00
Twinaphex f9d9dc8adb Merge pull request #9605 from p-sam/libnx-audren-default
(Switch) Make the audren threaded audio driver default
2019-10-16 20:22:37 +02:00
Twinaphex a127d2bf48 Merge pull request #9607 from jdgleaver/glui-colours
(GLUI) Menu improvements (Round 1)
2019-10-16 19:06:00 +02:00
Twinaphex 5fca67974d Merge pull request #9606 from Rinnegatamante/xrevert
Revert to old x context.
2019-10-16 18:54:45 +02:00
Rinnegatamante 02c35441d6 Revert to old x context. 2019-10-16 18:29:17 +02:00
jdgleaver 10d652a9f7 (GLUI) Menu improvements (round 1) 2019-10-16 17:17:49 +01:00
p-sam 77069b7299 (Switch) Make the audren threaded audio driver default 2019-10-16 15:43:26 +00:00
Twinaphex e34fdedfb4 Merge pull request #9601 from orbea/qb_die
qb: Update the die function.
2019-10-16 15:08:17 +02:00
Twinaphex dea603dcc1 Merge pull request #9602 from Rinnegatamante/videodrivers3
Fix for cached driver not restoring back with vulkan override
2019-10-16 15:08:03 +02:00
Rinnegatamante 011078f991 Fix for cached driver not restoring back to old one with vulkan override. 2019-10-16 14:31:56 +02:00
orbea d0442f4468 qb: Update the die function. 2019-10-15 19:29:29 -07:00
Twinaphex 615c581cd2 Merge pull request #9600 from fjtrujy/psp/CleanUp
PSP1 Some improvements
2019-10-16 01:06:49 +02:00
Francisco Javier Trujillo Mata fd75ae487e Disable the duplication FPS in PSP 2019-10-16 00:46:29 +02:00
Francisco Javier Trujillo Mata c2c3ed6a76 Make logs works again for PSP 2019-10-16 00:46:14 +02:00
Twinaphex 4ac264b1d0 Merge pull request #9591 from Rinnegatamante/videodrivers2
Graceful switching between videodrivers #2.
2019-10-15 22:49:17 +02:00
Twinaphex 65935696c3 Merge pull request #9598 from orbea/travis
travis: Try to fix xcode10.1.
2019-10-15 21:20:47 +02:00
Rinnegatamante 4d9fb951df Make code C90 compliant. 2019-10-15 19:31:27 +02:00
Twinaphex 836aa69f9c Merge pull request #9597 from orbea/wayland
Fix build when SDL2 is not built against wayland.
2019-10-15 19:28:00 +02:00
orbea 253f770259 travis: Try to fix xcode10.1.
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- active_support/core_ext/object/blank (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/global.rb:12:in `<top (required)>'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative'
	from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `<main>'

The command "brew install --force-bottle qt5" exited with 1.

Source: https://stackoverflow.com/questions/54888582/ruby-cannot-load-such-file-active-support-core-ext-object-blank
2019-10-15 09:48:07 -07:00
Twinaphex 50fbf04df5 Merge pull request #9596 from orbea/networking
Remove redundant conditionals.
2019-10-15 18:36:38 +02:00
orbea 55d123d95a Fix build when SDL2 is not built against wayland.
Fixes https://github.com/libretro/RetroArch/issues/9583.
2019-10-15 09:10:18 -07:00
Rinnegatamante 7fee4ad11b Update libretro-common. 2019-10-15 17:43:50 +02:00
orbea 14308e0b98 Remove redundant conditionals.
HAVE_NETWORK_CMD should never be true when HAVE_NETWORKING is
false.
2019-10-15 08:15:37 -07:00
Twinaphex 6b93b77d0d Merge pull request #9595 from orbea/networking
qb: Fix --disable-networking.
2019-10-15 16:52:44 +02:00
orbea 70fd455b13 qb: Fix --disable-networking.
Fixes https://github.com/libretro/RetroArch/issues/9580.
2019-10-15 07:37:24 -07:00
Rinnegatamante 839747f420 Added RETRO_ENVIRONMENT_GET_PREFERRED_HW_RENDER. 2019-10-15 14:53:10 +02:00
Rinnegatamante d1a74e1b96 Fix for crash on Linux. 2019-10-15 09:07:15 +02:00
twinaphex 89e9bdc413 Buildfix 2019-10-14 01:35:04 +02:00
Twinaphex 87d0bce799 Update FUNDING.yml 2019-10-14 01:33:37 +02:00
twinaphex b29fbbb587 Update CHANGES.md and add another travis target 2019-10-14 00:38:47 +02:00
twinaphex f983519589 Enable HAVE_VIDEO_LAYOUT for OSX/Switch/iOS/Android 2019-10-14 00:36:58 +02:00
twinaphex 4fbf823707 Enable HAVE_VIDEO_LAYOUT by default 2019-10-14 00:31:44 +02:00
Rinnegatamante 26b0bc771d Add vulkan context logging. 2019-10-13 17:47:08 +02:00
Twinaphex 0eff23eeed Update CHANGES.md 2019-10-12 14:54:04 +02:00
Twinaphex 97f0357407 Update CHANGES.md 2019-10-12 14:52:33 +02:00
Twinaphex 92272fe01e Merge pull request #9556 from ToKe79/lakka_wifi_ap
[Lakka] Wi-Fi Access Point in RetroArch Settings
2019-10-12 14:52:12 +02:00
Twinaphex 52c73e6382 Update CHANGES.md 2019-10-12 14:50:22 +02:00
Twinaphex b26a031ca8 Update CHANGES.md 2019-10-12 14:49:18 +02:00
Twinaphex 5309036463 Update CHANGES.md 2019-10-12 14:48:29 +02:00
Twinaphex ca78e1c2bf Update CHANGES.md 2019-10-12 14:47:56 +02:00
Twinaphex 5340387164 Merge pull request #9584 from jdgleaver/menu-scaling
(GLUI) Menu scaling improvements
2019-10-12 14:46:36 +02:00
Twinaphex 912fb252c6 Merge pull request #9589 from Tatsuya79/patch-3
always show advanced sync options in Qt
2019-10-12 14:37:16 +02:00
Tatsuya79 1907deb8de show advanced latency options 2019-10-12 14:26:22 +02:00
Tatsuya79 042783af21 always show advanced sync options 2019-10-12 14:25:02 +02:00
Twinaphex 7bed40d17b Merge pull request #9547 from Rinnegatamante/videodrivers
Graceful switch between video drivers.
2019-10-12 14:21:33 +02:00
Rinnegatamante ff726d212c Fix for video driver config overwrite when video driver was forced by core on exit. 2019-10-11 15:15:18 +02:00
jdgleaver d6d0bb5e4e (GLUI) Add menu scaling workaround for Mac platforms (DPI requests currently cause crashes on Mac) 2019-10-11 13:31:00 +01:00
Twinaphex 2fe4cf6ca5 Merge pull request #9586 from JoeOsborn/patch-1
Fix BSV recording/playback
2019-10-11 13:54:13 +02:00
Joe Osborn ef0eba5c5f Fix BSV recording/playback
Inputs are 16-bit numbers, but the file writing routines were called with just one byte lengths.  This change fixes BSV recording and playback for me.
2019-10-11 07:37:58 -04:00
Rinnegatamante 77d185ba8b Fix video submenu not updating when a driver swap happens.
Thanks to jdgleaver for this.
2019-10-11 13:05:32 +02:00
jdgleaver e47e055508 (GLUI) Menu scaling improvements 2019-10-10 10:01:46 +01:00
Twinaphex 7afbd4632d Merge pull request #9582 from BarryJRowe/master
Added in fix for bmp returns to ai service.  Added in label passing to ai endpoint.
2019-10-09 22:58:23 +02:00
twinaphex cb576b1b95 Move include headers to rglgen_private_headers.h 2019-10-09 22:12:14 +02:00
Barry Rowe 778571e3d0 Added in fix for bmp returns to ai service. Added in label passing to
ai service call.
2019-10-09 12:41:31 -07:00
Twinaphex 9144583fdb Merge pull request #9576 from natinusala/fast-forward-osd
osd: fix fast forward indicator
2019-10-08 15:31:19 +02:00
natinusala e394b439a8 osd: fix fast forward indicator 2019-10-08 10:42:13 +02:00
Twinaphex b12d1d7d8a Merge pull request #9575 from RobLoach/fix/RobLoach/9514--title
Fix window title missing space
2019-10-08 04:26:04 +02:00
Rob Loach c41e2218f7 Fix minus character 2019-10-07 22:16:50 -04:00
Rob Loach f7dba5d331 Fix window title missing space 2019-10-07 22:15:07 -04:00
Twinaphex 4dcd7a0247 Update CHANGES.md 2019-10-07 05:29:59 +02:00
Twinaphex 956d08e9bc Update CHANGES.md 2019-10-07 05:29:19 +02:00
twinaphex 9fe72bfa7b Change this back to how it was before 2019-10-07 05:28:00 +02:00
Twinaphex b6eb048a12 Merge pull request #9560 from mrjschulte/patch-5
iOS - Update project.pbxproj to use 11.0 for all Deployment Targets.
2019-10-07 02:05:19 +02:00
Twinaphex 875ff0e28c Merge pull request #9563 from yoshisuga/fix-main-thread-call
iOS: #9562: wrap call to get app delegate around a gcd main thread async call
2019-10-07 02:05:01 +02:00
Yoshi Sugawara 2b415292c6 iOS: #9562: wrap call to get app delegate around a gcd main thread async call 2019-10-06 09:41:53 -10:00
Twinaphex 0f55f8f12b Silence warning 2019-10-06 21:24:41 +02:00
MrJs 41d3dfc591 Update project.pbxproj
Bump Optimization level to -0s for Release builds
2019-10-06 10:25:34 -07:00
MrJs a02245ade2 Update project.pbxproj
update remaining iOS deployment targets to 11.0
2019-10-06 10:18:49 -07:00
Twinaphex f0bfdbf209 Add header to prevent build failures 2019-10-06 03:43:49 +02:00
Twinaphex 2d769d4bfb Merge pull request #9558 from justinweiss/ctr-gfx-fix-flickering-with-osd
Fix 3DS screen flickering when OSD is enabled
2019-10-06 03:39:23 +02:00
Justin Weiss 64dc3dde40 Fix 3DS screen flickering when OSD is enabled
On the 3DS, for some cores, the screen will flicker if OSD is enabled,
and sometimes when going in and out of the menu.

As far as I can tell, this happens when a frame is dup'd, and we send
0x0 as the frame to the gfx driver. When that happens, we still draw
the OSD, using a vertex shader to transform and render it at the right
size.

When the frame is 0x0, though, the vertex shader uniforms are never
_reset_ to redraw the previous frame, so it's drawn with different
params, and gets drawn the wrong size. It will draw as the correct
size when the correct vertex shader uniforms are set, and the
incorrect size when the incorrect uniforms are set, causing
flickering.

At least, that's what I think is happening. Forcing the vertex shader
to be set regardless of whether the frame data is set fixes it, at
least during some light testing with PCSX.
2019-10-05 14:21:42 -07:00
Twinaphex 385dfdd33d Merge pull request #9557 from yoshisuga/ios-tvos-1-7-9
[iOS/tvOS]: Set version to 1.7.9, Xcode 11 project update
2019-10-05 22:48:58 +02:00
Yoshi Sugawara 777b0a33c3 Set version to 1.7.9, Xcode 11 project update 2019-10-05 10:19:18 -10:00
Twinaphex f8f29fbccf Update CHANGES.md 2019-10-05 19:31:43 +02:00
twinaphex fb6a2ef746 Turn menu_horizontal_animation into macro and actually use it for
default value
2019-10-05 19:11:59 +02:00
twinaphex 7969221919 Remove two unused variables 2019-10-05 19:08:57 +02:00
twinaphex 918b0619d0 (Travis) Add disable audio mixer target 2019-10-05 19:02:29 +02:00
twinaphex 0da68dacf5 Silence unused variable warning 2019-10-05 19:01:05 +02:00
twinaphex 4cf27651ba (Cocoa defines) Guarantee backwards compatibility 2019-10-05 18:58:15 +02:00
twinaphex 7e9e330e99 Add another HAVE_AUDIOMIXER ifdef - use string_is_equal instead
of strcmp
2019-10-05 18:50:28 +02:00
twinaphex 7175c3ec22 FIx another 'may be used uninitialized' warning 2019-10-05 18:43:25 +02:00
twinaphex 221df13250 Cleanups/warning fixes - compilation fix for OSX PPC 2019-10-05 18:38:17 +02:00
Tomas Kelemen (vudiq) 7b4c4efd11 Wi-Fi Access Point in RetroArch Settings
Adds an option to start wireless access point directly from RetroArch
settings menu (Services submenu). This wireless access point can be then
used for local netplay. If not defined in a specific config file
(LAKKA_LOCALAP_PATH), the arbitrary values for SSID/PassKey of the
created access point are LakkaAccessPoint/RetroArch. The menu/option is
added only in case when compiling with HAVE_LAKKA.
2019-10-05 13:18:15 +02:00
Rinnegatamante d18ae6dac6 Removed unused MSG_INCOMPATIBLE_CORE_FOR_VIDEO_DRIVER. 2019-10-05 10:16:48 +02:00
Rinnegatamante b6e6b78843 Properly changing video driver name in settings when a core forces one. 2019-10-04 19:45:49 +02:00
Rinnegatamante eed65a64b2 Removing no more required video context capabilities check at content_load time. 2019-10-04 19:25:05 +02:00
twinaphex 908974dfe4 (Android) Bump up version 2019-10-04 18:16:19 +02:00
Twinaphex 904f0e65e5 Update CHANGES.md 2019-10-04 18:14:45 +02:00
twinaphex 51722b628c Revert "Change detection around for coreaudio3"
This reverts commit 28ab397d60.
2019-10-04 18:13:58 +02:00
twinaphex 28ab397d60 Change detection around for coreaudio3 2019-10-04 18:10:50 +02:00
twinaphex 8a06263ba6 Fix regression with 'Set Core Association' and leave a TODO/FIXME note 2019-10-04 17:41:03 +02:00
Twinaphex 811138221a Fix unused variable warning 2019-10-04 17:34:46 +02:00
twinaphex daa30b1dc8 Use old DPI scaling for now on desktop until we have devised a good solution 2019-10-04 17:27:14 +02:00
Twinaphex d2ec1ba2cc Update CHANGES.md 2019-10-04 17:08:01 +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
Francisco Javier Trujillo Mata eebe0eda48 Disable BUILD_FOR_PCSX2 by default 2019-10-04 16:12:43 +02:00
Twinaphex 419eb5a6c0 Remove unused variables 2019-10-04 16:06:34 +02:00
Twinaphex 0cd1843bc2 Merge pull request #9554 from Rinnegatamante/debug
[VITA] Added debug symbols usage.
2019-10-04 15:29:02 +02:00
Rinnegatamante 8066a6938f [VITA] Added debug symbols usage. 2019-10-04 15:21:37 +02:00
Twinaphex 16a5a69bae Update CHANGES.md 2019-10-04 14:41:47 +02:00
twinaphex eed44eea9c Cache this string too 2019-10-04 14:27:09 +02:00
twinaphex 1788042c9e (Android) dpi_get_density - cache one variable to avoid excessive
system_property_get querying
2019-10-04 14:22:10 +02:00
Twinaphex bf95fa34da Merge pull request #9552 from Rinnegatamante/mem
[VITA] Memory related improvements
2019-10-04 13:54:02 +02:00
Twinaphex 32f7d73835 Merge pull request #9553 from jdgleaver/overlay-auto-rotate
Add option to automatically rotate overlays
2019-10-04 13:53:55 +02:00
Twinaphex 88e56faafa Merge pull request #9551 from jdgleaver/glui-gestures
(GLUI) Add initial gesture support + bug fixes
2019-10-04 13:26:40 +02:00
jdgleaver 1df3e20bdd Add option to automatically rotate overlays 2019-10-04 12:15:57 +01:00
Rinnegatamante 6a5af218c7 [VITA] Implement get_mem_total/free for the frontend. 2019-10-04 12:12:14 +02:00
Rinnegatamante b3316fea35 [VITA] Make newlib heap allocation dynamic. 2019-10-04 12:11:52 +02:00
jdgleaver db030f6472 (GLUI) Add initial gesture support + bug fixes 2019-10-04 09:33:15 +01:00
Francisco Javier Trujillo Mata c48ccdb1fc Fix memory leak in the PS2 GFX and PS2 Font 2019-10-03 23:41:56 +02:00
Twinaphex 9ea18c433b Merge pull request #9545 from libretro/frangarcj-vita-memory
[VITA] More memory
2019-10-03 18:55:17 +02:00
Rinnegatamante 453781af9c Graceful switch between video drivers. 2019-10-03 17:45:59 +02:00
Francisco José García García a529b7b487 [VITA] Add 64Mb of memory 2019-10-03 14:33:33 +02:00
Francisco José García García 690670e2b5 [VITA] More memory 2019-10-03 13:58:23 +02:00
twinaphex 5351b56a0b Add this for Galaxy Store 2019-10-02 17:45:09 +02:00
Twinaphex b757304513 Merge pull request #9527 from monkeyman79/speedup-elf2rpl
Speed up elf2rpl by using maps
2019-10-02 09:40:26 +02:00
Twinaphex cc0ce43a57 Update CHANGES.md 2019-10-01 22:13:28 +02:00
Twinaphex 5904839bc6 Merge pull request #9541 from Rinnegatamante/master
[VITA] Add system language detection.
2019-10-01 20:35:31 +02:00
Rinnegatamante fffc7597fd [VITA] Add system language detection. 2019-10-01 19:55:43 +02:00
Twinaphex 4a7dfba6ee Merge pull request #9540 from SindenLightgun/master
Fixed bug with touchscreen/lightgun
2019-10-01 19:24:22 +02:00
Twinaphex addc75748b Merge pull request #9538 from jdgleaver/swipe-detection
(Menu Input) Re-work pointer 'swipe' detection
2019-10-01 14:14:03 +02:00
jdgleaver ece9851afb (Menu Input) Re-work pointer 'swipe' detection 2019-10-01 13:00:59 +01:00
SindenLightgun 2e480a37ea Fixed bug with touchscreen/
From my analysis I "believe" this is a development bug/typo and is causing issues with mouse and touchscreen input, that would affect touchscreen and lightgun APIs.
2019-10-01 12:26:13 +01:00
Twinaphex 890e076d20 Update CHANGES.md 2019-10-01 03:14:27 +02:00
twinaphex 547f8968aa (GL1) Buildfix + cleanups 2019-10-01 03:14:18 +02:00
Twinaphex b0b3abe775 Merge pull request #9535 from driver1998/gl1-gldirect
Support GLDirect (D3D9 to OGL1.1 wrapper) in gl1 driver
2019-10-01 02:19:45 +02:00
GH Cao 27d2877106 gl1: take care of const 2019-10-01 06:51:29 +08:00
GH Cao 897488862e gl1: adapt C89 2019-10-01 06:24:06 +08:00
driver1998 0212567d75 Support GLDirect (D3D9 to OGL1.1 wrapper) in gl1 driver 2019-10-01 06:02:30 +08:00
Twinaphex 109adf9739 Update CHANGES.md 2019-09-30 19:03:34 +02:00
Twinaphex ca2a4cdb27 Merge pull request #9532 from jdgleaver/pointer-input-updates
(Menu Input) Add mouse/touchscreen gesture support + full gesture support for XMB
2019-09-30 19:02:10 +02:00
jdgleaver 3057c31798 (Menu Input) Add mouse/touchscreen gesture support + full gesture support for XMB 2019-09-30 16:55:41 +01:00
Twinaphex 0a123e8215 Merge pull request #9530 from swingflip/master
Fixed bug with QB regarding lxcb
2019-09-29 23:02:16 +02:00
Twinaphex 1eaf6f54cc Merge pull request #9529 from swingflip/master
SEGA Mini/SNESC update
2019-09-29 22:47:27 +02:00
Ryan 'Swingflip' Hamlin 9be6d265b4 Fixed bug with QB. (Now doesn't look for the x11 client library headers (lxcb) if --disable-x11 is true) 2019-09-29 21:46:22 +01:00
Ryan 'Swingflip' Hamlin 8fff917341 add platform specific to classics 2019-09-29 21:44:58 +01:00
Ryan 'Swingflip' Hamlin adc3c9e36b SEGA Mini/SNESC update
- Replaced crap A7A7 make
- Added better targets and clean targets for Sega Mega Drive Mini and (S)NES Classic
2019-09-29 21:41:13 +01:00
Twinaphex da06dfca0d Update .travis.yml 2019-09-29 20:05:21 +02:00
Twinaphex 030231038c Update CHANGES.md 2019-09-29 19:49:59 +02:00
Twinaphex 38fe58e746 Merge pull request #9521 from Jamiras/segacd_cheevos
(cheevos) support for Sega CD/Saturn; reduce hash calls to server
2019-09-29 19:33:36 +02:00
twinaphex b80b9cd157 CXX_BUILD buildfix 2019-09-29 17:58:02 +02:00
Twinaphex 8a68c620ac Merge pull request #9526 from FreeShippingParty/delete_playlist
Add option to delete playlists
2019-09-29 17:52:00 +02:00
Tadek Kijkowski 4b73879369 Speed up elf2rpl by using maps 2019-09-29 17:36:39 +02:00
Jamiras 1ab81e5711 support for Sega CD/Saturn; reduce hash calls to server 2019-09-29 09:07:16 -06:00
FreeShippingParty 999887bda5 Add option to delete playlists 2019-09-29 10:48:46 -04:00
twinaphex b9a08520ff Move File Manager settings to Settings 2019-09-26 21:01:59 +02:00
twinaphex 1da7baa49d (Android) get_mem_free - different implementation for Android 2019-09-26 20:07:39 +02:00
twinaphex 1b8093513d Bump up to 1.7.9 2019-09-26 19:57:20 +02:00
Twinaphex 2061b465fb Update CHANGES.md 2019-09-26 19:53:46 +02:00
twinaphex 6dd46e6971 Fix database query regression 2019-09-26 13:37:58 +02:00
Twinaphex 6ac8b89601 Update CHANGES.md 2019-09-26 06:12:25 +02:00
Twinaphex 4b586b6496 Merge pull request #9516 from rsn8887/master
Switch/Vita: Set default aspect to core provided instead of 4:3
2019-09-26 06:11:49 +02:00
Twinaphex e8bd94aab8 Merge pull request #9517 from torarnv/improve-metal-debugging
Improve metal debugging
2019-09-26 06:10:17 +02:00
Tor Arne Vestbø b5cf9b639e metal: Improve shader debugging
Having the path to each shader is helpful when debugging the
rendering pipeline. The render command encoder label is limited
to just the filename of the shader, as the graphics debugging
UI in Xcode doesn't handle long names very well.

We don't encode the pass number into the string as the shaders
can be organized in a graph, not just a linked list, so an
indexed order can be misrepresenting the flow.
2019-09-25 22:36:40 +02:00
Tor Arne Vestbø 91caf28bfc metal: Add some missing debug labels and groups 2019-09-25 22:36:40 +02:00
rsn8887 2409831a14 Switch/Vita: Set default aspect to core provided instead of 4:3 2019-09-25 13:59:35 -05:00
Twinaphex bc52b952d7 Update CHANGES.md 2019-09-25 13:43:29 +02:00
Twinaphex 4428b545bb Merge pull request #9510 from jdgleaver/dropdown-list-fixes
Menu drop-down lists: Add proper titles, and remember last postion when navigating core options
2019-09-25 11:53:07 +02:00
Twinaphex fdf3a07b15 Merge pull request #9512 from rsn8887/master
[SWITCH] Fix Switch build
2019-09-25 00:20:30 +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
jdgleaver 58ad81f063 Menu drop-down lists: Add proper titles, and remember last postion when navigating core options 2019-09-24 17:41:06 +01:00
twinaphex b01149f068 Cleanups 2019-09-24 16:22:20 +02:00
Twinaphex 89ae74fba6 (MaterialUI) Fix handle float cast overflow 2019-09-24 11:38:47 +02:00
Twinaphex a1f2c6197f Update CHANGES.md 2019-09-24 11:16:04 +02:00
twinaphex f4467d6595 Combine RARCH_LOG/RARCH_ERR messages 2019-09-24 08:24:19 +02:00
Twinaphex 688d1ef81c Merge pull request #9505 from jdgleaver/ozone-metadata-wrap
(Ozone) Add option to toggle between static and scrolling content metadata
2019-09-23 21:54:22 +02:00
Twinaphex 4f2ed12e4f Merge pull request #9504 from Wiimpathy/WiiFreeMem
Wii/GC: free memory instead of used memory
2019-09-23 21:27:32 +02:00
jdgleaver ef710442f1 (Ozone) Add option to toggle between static and scrolling content metadata 2019-09-23 15:33:20 +01:00
benoa 2bd71b55bc Wii/GC: free memory instead of used memory 2019-09-23 16:09:53 +02:00
Twinaphex c78dcbd382 Merge pull request #9488 from justinweiss/enable-luma-svchax
Enable svchax in 3dsx builds when running under Luma3DS 8.0+
2019-09-23 11:14:20 +02:00
Twinaphex 80b62fc635 Merge pull request #9501 from justinweiss/always-define-runtime-shader-preset
Ensure {set,unset}_runtime_shader_preset are always defined
2019-09-23 11:10:34 +02:00
Twinaphex 7d466c8177 Update CHANGES.md 2019-09-23 09:24:54 +02:00
Twinaphex 516bace3ca Update CHANGES.md 2019-09-23 09:24:34 +02:00
twinaphex 3307e65ad3 Fix FPS text in threaded video mode 2019-09-23 09:22:35 +02:00
twinaphex 01dc71f598 (menu_driver.c) Cleanups 2019-09-23 04:49:01 +02:00
twinaphex 17fb07cb85 (Menu) Simplify menu_entries_get_core_title 2019-09-23 04:44:22 +02:00
twinaphex 85d9eeb50d Should fix CXX_BUILD 2019-09-23 04:40:18 +02:00
twinaphex 0314921434 (menu_cbs_deferred_push.c) Cleanups 2019-09-23 04:31:12 +02:00
twinaphex dde7c28730 (menu_shader.c) Cleanups 2019-09-23 04:27:03 +02:00
twinaphex 682b403a9c menu_content.c - This file is no longer necessary 2019-09-23 04:24:00 +02:00
twinaphex 08d3fe8c04 Cleanups 2019-09-23 04:19:52 +02:00
twinaphex 82259a086e Make action_scan_directory safer - fill_pathname_join now doesn't
have the same variable for arguments 1 and 2
2019-09-23 04:14:10 +02:00
twinaphex d045484788 Cleanups of some strings 2019-09-23 02:41:19 +02:00
twinaphex dd522cdc6f Turn function static 2019-09-23 02:23:20 +02:00
Twinaphex ae7d956341 Silence warning 2019-09-23 01:44: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
Justin Weiss 621c79dd3c Ensure {set,unset}_runtime_shader_preset are always defined
These functions are used elsewhere, so they need to be defined. (Or we
could guard every place they're called instead)
2019-09-22 14:39:27 -07:00
Twinaphex 21a2ba3f79 Update CHANGES.md 2019-09-22 23:06:05 +02:00
twinaphex 579c41535a (OSX/Metal) Only set CoreAudio driver as default for non-Metal build 2019-09-22 23:03:14 +02:00
Twinaphex 107b5eec44 (OSX) Simplify 2019-09-22 22:53:57 +02:00
twinaphex 882a66b49a C89_BUILD buildfix 2019-09-22 21:59:17 +02:00
Twinaphex b4e1ca8a2c Merge pull request #9499 from LazyBumHorse/fix_opti
fix path_relative_to()
2019-09-22 21:53:50 +02:00
LazyBumHorse f309c85f92 STRLCAT_CONST_INCR should be at most 1 statement, so single-line if, for etc work 2019-09-22 20:12:56 +02:00
LazyBumHorse db723df879 fix path_relative_to 2019-09-22 16:29:54 +02:00
twinaphex 5f87fa1aca CXX_BUILD buildfix 2019-09-22 14:04:02 +02:00
twinaphex f33264f7a6 (X11) XStoreName is a useless wrapper function around XChangeProperty 2019-09-22 13:00:44 +02:00
twinaphex c5b3428408 Add sdl2_common.c/.h 2019-09-22 12:40:40 +02:00
twinaphex efdc07ab10 (Wayland) update_title function - simplify this function a bit 2019-09-22 12:14:49 +02:00
twinaphex 920a20f060 (GX) Silence more warnings 2019-09-22 11:35:09 +02:00
Twinaphex 2414224df8 (Cocoa) It's only necessary to set the display server userdata for
set_video_mode
2019-09-22 11:29:58 +02:00
Twinaphex 511f43d5cf Move it to cocoa_gl_ctx.m 2019-09-22 11:26:06 +02:00
Twinaphex a6ec5a9831 Should now work 2019-09-22 11:19:54 +02:00
Twinaphex 6fe4559b8e Revert "(Cocoa) See if this works"
This reverts commit 1ddd7ee79d.
2019-09-22 10:54:11 +02:00
Twinaphex 83f1b28f98 Revert "(Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m"
This reverts commit 4f564360e7.
2019-09-22 10:54:01 +02:00
twinaphex 4f564360e7 (Cocoa) Move nsview_get_ptr and nsview_set_ptr to cocoa_gl_ctx.m 2019-09-22 10:48:23 +02:00
twinaphex 1ddd7ee79d (Cocoa) See if this works 2019-09-22 10:43:31 +02:00
Twinaphex 23bb1414ff (Metal) Buildfix 2019-09-22 10:30:59 +02:00
twinaphex ad1fb29092 (Metal) Refactor 2019-09-22 10:28:51 +02:00
Twinaphex 6a9feb7978 (OSX) Refactor this so that we always set the userdata
pointer so we can use the new set_title codepaths - will
have to check how to reduce the overhead in nsview_get_ptr
later
2019-09-22 10:19:03 +02:00
Twinaphex ae21bd98aa Update CHANGES.md 2019-09-22 09:23:08 +02:00
Twinaphex eadfb1398a Update CHANGES.md 2019-09-22 09:22:54 +02:00
Twinaphex bbb2bda20a Merge pull request #9497 from BarryJRowe/master
Added in rpng string streaming to ai service.
2019-09-22 09:16:47 +02:00
Barry Rowe 4e155dbc8e Added in rpng string streaming to ai service. 2019-09-21 23:57:59 -07:00
Twinaphex 9f0f53b1d7 (OSX) Correct userdata 2019-09-22 08:16:43 +02:00
twinaphex fbb8a9640c (OSX) Set pointer for HAVE_COCOA_METAL too 2019-09-22 08:00:39 +02:00
twinaphex 2135e86fc7 (Cocoa) Set video display driver userdata for Cocoa 2019-09-22 07:49:43 +02:00
Twinaphex 69a38f9b9f (Cocoa) Pass direct pointer to UI companion driver window title function 2019-09-22 07:41:56 +02:00
twinaphex c7fd375120 Create video_driver_display_userdata_{set/get} 2019-09-22 07:35:05 +02:00
twinaphex 464df18ac2 Add missing prototype 2019-09-22 05:56:04 +02:00
twinaphex 3a39a51f11 (CTR/3DS) Properly report free RAM 2019-09-22 04:42:20 +02:00
Twinaphex c2b26a3cd9 Remove unused variable 2019-09-22 04:40:01 +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 a855447d11 Update CHANGES.md 2019-09-22 03:30:37 +02:00
twinaphex 111d666f85 Fix space 2019-09-22 03:30:04 +02:00
twinaphex d356f88fb5 Memory details can now be shown individually without FPS and
frame count
2019-09-22 03:21:36 +02:00
twinaphex 03bddff8e6 Cleanups of update_window_title functions 2019-09-22 03:05:06 +02:00
Twinaphex ccc2bea0c4 Merge pull request #9496 from monkeyman79/fix-elf2rpl
Fixed WiiU compilation randomly failing
2019-09-21 22:31:54 +02:00
Tadek Kijkowski c1504555ac Fixed WiiU compilation randomly failing
- Fixed elf2rpl referencing deleted symbols in relocations
- Added some diagnostics to elf2rpl (activated with -v switch)
2019-09-21 21:31:34 +02:00
Twinaphex 08393b1d0c Update CHANGES.md 2019-09-21 19:57:35 +02:00
Twinaphex 2fca06c994 Merge pull request #9495 from Jamiras/psx_cheevos_fixes
improve handling of line endings when calculating CD hashes for retroachievements
2019-09-21 19:57:12 +02:00
Twinaphex f4feda6323 Merge pull request #9494 from LazyBumHorse/fix_log
fix name of RetroArch's log file
2019-09-21 19:56:42 +02:00
Jamiras c5750da85a improve handling of line endings in m3u and cue files 2019-09-21 08:06:06 -06:00
LazyBumHorse c81d363a6e fix name of retroarch log file 2019-09-21 12:12:45 +02:00
twinaphex 302e2fdc53 Move show memory details outside of the video context driver and
into retroarch.c - avoid lots of code duplication
2019-09-21 07:49:33 +02:00
twinaphex f65e005d97 label_sanitization - change a bunch of functions to static 2019-09-21 03:55:20 +02:00
twinaphex 7cfd996802 Add return value to fill_pathname_noext 2019-09-21 01:41:56 +02:00
twinaphex 1ed38ddb2d Start using return values of fill_pathname_ functions 2019-09-21 00:22:40 +02:00
twinaphex 6d8bc91220 Start returning sizes for file_path functions 2019-09-21 00:01:09 +02:00
twinaphex 2f0a5f48aa Corect small log string 2019-09-20 23:36:29 +02:00
twinaphex 3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
twinaphex 76f4cf5cc5 Start using STRLCAT_CONST/STRLCAT_CONST_INCR/STRLCPY_CONST 2019-09-20 20:39:34 +02:00
Twinaphex 99a3aa8ee1 Update CHANGES.md 2019-09-20 18:28:06 +02:00
Twinaphex 73c63d8768 (Cocoa) Add mouse down events 2019-09-20 18:22:14 +02:00
Twinaphex 3da84396b6 Remove unused variables 2019-09-20 17:34:35 +02:00
Justin Weiss 2e9a793519 Enable svchax in Luma3DS 8.0+ 2019-09-20 08:27:41 -07:00
Twinaphex bcb7e14d0f Merge pull request #9490 from jdgleaver/horiz-mouse-wheel-fix
Improve horizontal mouse wheel (tilt) navigation
2019-09-20 16:16:50 +02:00
Twinaphex 42818a2310 Merge pull request #9489 from jdgleaver/rgui-mouse-drag-fix
(RGUI) Ensure display is always refreshed when pointer input is active
2019-09-20 16:16:39 +02:00
jdgleaver eb72a2e7d2 Improve horizontal mouse wheel (tilt) navigation 2019-09-20 14:16:21 +01:00
jdgleaver dacf9e327a (RGUI) Ensure display is always refreshed when pointer input is active 2019-09-20 11:04:31 +01:00
twinaphex 2a8798b729 Cleanups 2019-09-20 09:31:18 +02:00
Twinaphex 2892abf155 Update CHANGES.md 2019-09-20 08:49:49 +02:00
Twinaphex 3bd585a94e Update CHANGES.md 2019-09-20 08:46:10 +02:00
Twinaphex 2d4236882f Update CHANGES.md 2019-09-20 08:45:29 +02:00
twinaphex ec4bfd7827 Silence some warnings - statement unreachable etc. 2019-09-20 06:17:40 +02:00
twinaphex 7173efe10f (Network/Relay Server Location) RetroArch crashed when pressing
left while Relay Server Location entry was selected - index offset
would set itself to -1 and cause a buffer overflow
2019-09-20 04:14:32 +02:00
twinaphex 43000d2e24 (Networking) Fix memory leak that could happen at exit after a network
operation has ran (menu_driver_data->core_buf gets allocated inside
cb_net_generic_menu and doesn't get freed until the function is ran
again
2019-09-20 04:08:03 +02:00
twinaphex db624a7c99 Start cleaning up the rather messy manual assignment 2019-09-20 02:03:26 +02:00
Twinaphex 72a9d77638 Merge pull request #9484 from Wiimpathy/GCfix
GameCube: Fix build
2019-09-19 20:45:05 +02:00
Twinaphex 36e5909057 Merge pull request #9485 from jdgleaver/input-update
Overhaul menu mouse/touchscreen input handling
2019-09-19 20:44:35 +02:00
jdgleaver 8655038601 Overhaul menu mouse/touchscreen input handling 2019-09-19 16:53:22 +01:00
benoa 9250f649db GameCube: Fix build 2019-09-19 15:13:22 +02:00
twinaphex 71cc43651a (Ozone) Fix regression with sidebar textures 2019-09-19 09:03:07 +02:00
twinaphex e7eb0e2b3e Combine two RARCH_LOGs into one 2019-09-19 09:00:05 +02:00
twinaphex 33353d5cd9 Fix C89_BUILD buildfix 2019-09-19 07:07:03 +02:00
Twinaphex 1149487fbd Update CHANGES.md 2019-09-19 06:27:55 +02:00
twinaphex f192e8618f (Win32) Call the log window 'Logging Console' 2019-09-19 06:23:31 +02:00
twinaphex 4eac009c27 Buffer more before we send text to be logged to stderr/stdout
and the logger interface for help/features/startup
2019-09-19 05:50:26 +02:00
twinaphex 15470596ad Remove 'puts' lines 2019-09-19 04:19:18 +02:00
twinaphex f4c6b06b49 (file_path.c) Remove some strlcpy/strlcat invocations 2019-09-19 03:45:18 +02:00
twinaphex 1d621c412c Add HW_RVL to this - won't compile on Gamecube otherwise 2019-09-19 02:15:18 +02:00
twinaphex 7dc2ca425f (RTGA) Further optimizations 2019-09-18 21:49:18 +02:00
twinaphex 1075522147 (RTGA) Cleanups 2019-09-18 21:13:46 +02:00
twinaphex 9a5b8f0475 (RBMP) Typo fix and some further cleanups 2019-09-18 20:30:39 +02:00
twinaphex bd39d72acd (RBMP) More optimizations 2019-09-18 20:25:15 +02:00
twinaphex b582f1c7c6 (RBMP/RJPEG) Cleanups + optimizations 2019-09-18 19:52:45 +02:00
twinaphex 1027762db5 Remove some trivial string_is_equal calls during parsing of buttons
in config_file
2019-09-18 18:22:31 +02:00
twinaphex ab515daa0c Try to get rid of file_path_str 2019-09-18 18:12:57 +02:00
twinaphex 3a61cfe6ec Cleanup menu_displaylist_parse_content_information 2019-09-18 10:20:06 +02:00
Twinaphex d09362ed6f (OSX) Silence warnings for OSX 2019-09-18 10:04:21 +02:00
twinaphex 6eaf19533b (sublabels) Optimizations 2019-09-18 09:37:32 +02:00
twinaphex 8f8a9863ad Optimize sublabel_playlist_entry by removing snprintf 2019-09-18 09:28:37 +02:00
twinaphex c186747edc (video_shader_parse) avoid some more snprintfs 2019-09-18 09:11:32 +02:00
twinaphex 922680851a (features_cpu) noticed that the buffer wasn't actually being used,
so it can go
2019-09-18 08:37:35 +02:00
twinaphex 3fbeb0617b (glslang_util_cxx.cpp) Get rid of this strlcpy too 2019-09-18 08:03:49 +02:00
twinaphex 306d7f6f8a glsl_find_uniforms_frame - get rid of the remaining strlcats 2019-09-18 07:53:59 +02:00
twinaphex ab60005cdc (GLSL) Avoid snprintf, prefer strlcpy/strlcat where possible 2019-09-18 07:32:06 +02:00
twinaphex f663c64cd4 (MaterialUI/Ozone) Prevent more unnecessary strlcats 2019-09-18 06:43:01 +02:00
twinaphex a9ef8333eb Rewrite menu_entries_get_core_title 2019-09-18 06:35:21 +02:00
twinaphex 6d89bbfe61 (Menu animation) Avoid some strlcat usage here too 2019-09-18 05:54:32 +02:00
twinaphex b0a8f5d775 (menu displaylist) Some more cleanups 2019-09-18 05:40:06 +02:00
twinaphex ed77d46cc9 Cut down on some strlcat usage where not necessary 2019-09-18 04:58:52 +02:00
twinaphex 1ced1b3f73 (Platform unix) Updates 2019-09-18 03:37:25 +02:00
twinaphex 698387e762 (task_screenshot.c) Cleanups - don't use snprintf unless necessary 2019-09-18 02:31:02 +02:00
twinaphex 8928052863 (libretro-common) (VFS implementation) Cleanup 2019-09-18 02:23:25 +02:00
twinaphex 8fa6230426 Cleanups 2019-09-18 02:16:47 +02:00
twinaphex 7dd3939a26 Update CHANGES.md 2019-09-17 08:20:01 +02:00
twinaphex b28c405377 Backport and rebase initial FPGA port that was done in 2017 (port
done for Z-Turn board) - has some outstanding issues such as
very slow framebuffer software rendering output that needs to
be overcome before this becomes usable - community help needed
2019-09-17 08:16:50 +02:00
twinaphex b6a6127509 Replace more snprintf usage 2019-09-17 07:30:29 +02:00
twinaphex 7d58bb9799 Avoid more snprintf usage 2019-09-17 06:34:00 +02:00
twinaphex 65aa939296 task_push_http_transfer_generic - rewrite snprintf usage 2019-09-17 06:10:15 +02:00
twinaphex c3c4638b22 Replace some snprintf usage where not necessary 2019-09-17 05:49:54 +02:00
twinaphex a36d5926d7 Cleanups 2019-09-17 05:30:07 +02:00
twinaphex 6f6b1a8333 (Net HTTP) Avoid unnecessary snprintf 2019-09-17 05:26:00 +02:00
twinaphex 861262ef3a (network gfx) Cleanup 2019-09-17 05:04:57 +02:00
Brad Parker c7c7d0988e initial network video driver, sends raw frames over TCP 2019-09-17 04:18:44 +02:00
twinaphex 712547cb2b C89_BUILD fix 2019-09-17 03:59:59 +02:00
twinaphex 5024b77492 Prevent more strlcats that are quite trivial 2019-09-17 02:43:40 +02:00
twinaphex d01ae6929d Don't use strlcat for basic concatenation of characters
except when absolutely necessary
2019-09-17 02:00:04 +02:00
twinaphex c2cad1f122 (platform_unix) Small cleanups 2019-09-17 01:33:54 +02:00
twinaphex 25f232616b input_config_get_bind_string_joyaxis - replace snprintf 2019-09-17 01:25:39 +02:00
twinaphex 4ea493c86c Turn cheat_manager_free into static function 2019-09-17 01:20:30 +02:00
Twinaphex d526530167 Merge pull request #9474 from yoshisuga/cheevos_fix_set_sublabel
(cheevos) Fix crash when setting sublabel of achievement
2019-09-17 00:26:42 +02:00
Yoshi Sugawara ae6e2f5df5 (cheevos) create a local string var to set the sublabel attribute when calling rcheevos_get_description. This prevents an unintended pointer reassignment and can cause a crash on strlcpy on some platforms 2019-09-16 12:54:03 -07:00
twinaphex 4354ad296d Revert "Cleanup - it shouldn't be necessary to call fill_pathname_slash"
This reverts commit 419fe62da8.
2019-09-16 20:40:08 +02:00
twinaphex 86839db417 set_label_shader_watch_for_changes - simplify 2019-09-16 20:02:49 +02:00
twinaphex b9e8e95498 use fill_pathname_join_delim at key places instead of snprintf 2019-09-16 19:58:56 +02:00
twinaphex 150f4f0f4b More efficient way of adding delimiting characters - proper spacing
as well in title bar
2019-09-16 19:20:03 +02:00
twinaphex 66794d2166 Rewrite input_config_set_device_path 2019-09-16 18:41:46 +02:00
twinaphex 81ec152f10 fill_pathname_slash only used now inside file_path.c 2019-09-16 18:25:02 +02:00
twinaphex 60574f04d2 We don't need the double char variable here 2019-09-16 17:44:14 +02:00
twinaphex 419fe62da8 Cleanup - it shouldn't be necessary to call fill_pathname_slash
after fill_pathname_join
2019-09-16 17:35:15 +02:00
twinaphex aacc544300 Turn cheat_manager_search into static function 2019-09-16 17:04:58 +02:00
twinaphex 9fd4ff7a8d (Cheat manager)
- Cleanups
- Functional improvement: don't attempt to create the 'core directory'
inside the cheats directory for game-specific cheats when we are only
trying to load the cheat - if we are loading and the directory doesn't
exist, that means the cheat file doesn't exist either
2019-09-16 16:57:50 +02:00
twinaphex 352be447df Update CHANGES.md 2019-09-16 16:35:23 +02:00
twinaphex 5ba77289d9 Merge branch 'master' of https://github.com/libretro/RetroArch 2019-09-16 16:32:50 +02:00
Twinaphex 497868ecaf Merge pull request #9473 from Tatsuya79/patch-2
fix gong crash
2019-09-16 16:29:17 +02:00
Tatsuya79 ef216d3010 fix gong crash 2019-09-16 16:27:34 +02:00
twinaphex d2add47f1e Merge branch 'master' of https://github.com/libretro/RetroArch 2019-09-16 05:17:22 +02:00
Twinaphex f45a1d797e Update CHANGES.md 2019-09-16 04:56:08 +02:00
Twinaphex 80311970cf Merge pull request #9469 from yoshisuga/ios_xcode_prep
(iOS/tvOS): Xcode project changes and small tweak
2019-09-16 04:49:45 +02:00
twinaphex 1040d3eedf Merge branch 'master' of https://github.com/libretro/RetroArch 2019-09-16 04:49:34 +02:00
Twinaphex 07c6b4c363 Merge pull request #9470 from Wiimpathy/WiiLightgun
Wii: Add wiimote lightgun support
2019-09-16 04:49:01 +02:00
Twinaphex 454b4ea715 Update CHANGES.md 2019-09-16 04:31:30 +02:00
Twinaphex 7c2d2246fe Update CHANGES.md 2019-09-16 04:30:27 +02:00
Twinaphex 725430994d Update CHANGES.md 2019-09-16 03:20:14 +02:00
Twinaphex ea7e682253 Update AndroidManifest.xml 2019-09-16 03:06:19 +02:00
Twinaphex 97d2be1ff3 Update CHANGES.md 2019-09-16 03:03:17 +02:00
Twinaphex d38dfa60f6 Update CHANGES.md 2019-09-16 03:02:27 +02:00
twinaphex b179dde1e7 Cleanups 2019-09-15 07:46:24 +02:00
twinaphex 4c7beacfe4 (RPNG) rpng_is_valid - cleanup 2019-09-15 07:40:02 +02:00
twinaphex b7fe19b6c8 (libretro-common) RPNG - Cleanup 2019-09-15 02:04:37 +02:00
benoa 744fac6777 Wii: Add wiimote lightgun support 2019-09-15 00:46:02 +02:00
Yoshi Sugawara f0adf90ec0 (iOS/tvOS): add references to some iOS specific source files to xcode project to make it easier to open and search source files; removed call to show native menu when going into the background 2019-09-14 14:16:23 -07:00
Yoshi Sugawara 70b573c951 added apple common ui files 2019-09-14 13:37:01 -07:00
Twinaphex e1a7b82b2e Merge pull request #9468 from yoshisuga/ios_build_fixes
(iOS/tvOS): IOS/tvOS build fixes
2019-09-14 22:05:50 +02:00
Yoshi Sugawara c24caa8f48 (iOS/tvOS): IOS/tvOS build fixes:
- change bundle identifier to match that used in the official releases
- remove code signature assignment
- add a minimal assets.zip so that one can build and run without having to be required to go thru the online updater
- add the tvOS core directory
2019-09-14 12:59:22 -07:00
Twinaphex 753be84ae0 (Apple) Silence some warnings 2019-09-14 17:15:30 +02:00
twinaphex 27ada9b7b2 Buildfixes for --disable-menu 2019-09-14 07:24:26 +02:00
twinaphex 785ed87117 (libnx/switch) Add HAVE_TRANSLATE 2019-09-12 17:59:06 +02:00
Twinaphex 85f07b6f27 Merge pull request #9405 from Jamiras/psx_cheevos_cdfs
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-09-11 23:38:23 +02:00
Twinaphex f004666674 Merge pull request #9456 from jdgleaver/date-format
Menu time/date: Add 12-hour versions of all formats + clean ups
2019-09-10 17:58:11 +02:00
Twinaphex eb012a353a Merge pull request #9460 from jdgleaver/build-fix
'CXX_BUILD=1' build fix
2019-09-10 17:58:01 +02:00
jdgleaver c645d43598 'CXX_BUILD=1' build fix 2019-09-10 16:49:07 +01:00
Twinaphex ef3c83da04 Merge pull request #9459 from jdgleaver/runtime-date-format
Enable customisation of runtime 'last played' display format
2019-09-10 17:35:20 +02:00
jdgleaver a0fd9d21d2 Enable customisation of runtime 'last played' display format 2019-09-10 16:14:38 +01:00
Twinaphex f6d1cbe6b9 Merge pull request #9447 from altiereslima/master
Update Brazilian Portuguese Translation
2019-09-10 06:38:03 +02:00
jdgleaver ac5c03c458 'DISABLE_MENU=1' build fix 2019-09-09 15:15:28 +01:00
jdgleaver 25006cadfe Menu time/date: Add 12-hour versions of all formats + clean ups 2019-09-09 14:06:49 +01:00
Twinaphex d00af57b4a Merge pull request #9451 from meepingsnesroms/master
Remove unfinished translation files
2019-09-09 14:36:03 +02:00
meepingsnesroms 85f46b9899 Remove unfinished translation files 2019-09-08 20:14:23 -07:00
altiereslima 50f2beb15b Update msg_hash_pt_br.h 2019-09-08 21:31:25 -03:00
Twinaphex 561a4cd4bf Update CHANGES.md 2019-09-09 01:22:19 +02:00
altiereslima 1b7e95b1bd Update msg_hash_pt_br.c 2019-09-08 14:05:50 -03:00
altiereslima f382589083 Update msg_hash_pt_br.h 2019-09-08 13:48:16 -03:00
altiereslima 7cdc5c8e93 Update Brazilian Portuguese Translation 2019-09-08 12:35:33 -03:00
Twinaphex 2179c16f60 Update main.cpp 2019-09-08 04:41:03 +02:00
Twinaphex fde7026ac2 Update Makefile 2019-09-08 04:19:58 +02:00
Twinaphex 8520a94b8f Update Makefile 2019-09-08 04:17:43 +02:00
Twinaphex e39f5d7143 Merge pull request #9443 from bmaupin/72-audio-crackles-on-psp
Fix PSP audio conversion code
2019-09-07 12:30:54 +02:00
bmaupin 3047c55121 Fix PSP audio conversion code
Fixes https://github.com/libretro/QuickNES_Core/issues/72
2019-09-06 21:02:37 -04:00
Twinaphex b875a69266 Merge pull request #9439 from jdgleaver/rgui-resize-2
(RGUI) Handle window resize event edge case
2019-09-06 16:26:41 +02:00
jdgleaver 518f1bae20 (RGUI) Handle window resize event edge case 2019-09-06 14:52:33 +01:00
Twinaphex 9edd5eeaeb Update CHANGES.md 2019-09-06 15:49:46 +02:00
Twinaphex b0cc504d7c Merge pull request #9438 from jdgleaver/rgui-resize
(RGUI) Correctly rescale menu when resizing window if aspect ratio lock is enabled
2019-09-06 15:49:20 +02:00
jdgleaver 5d5de8ce51 (RGUI) Ignore window resize events until next menu toggle after accessing video settings 2019-09-06 14:25:57 +01:00
jdgleaver a6ee786a4f (RGUI) Correctly rescale menu when resizing window if aspect ratio lock is enabled 2019-09-06 13:29:59 +01:00
twinaphex 48db589ed2 Update CHANGES.md 2019-09-06 14:11:38 +02:00
twinaphex dec30677d9 Should fix analog remap issues 2019-09-05 20:43:54 +02:00
Twinaphex c566b7eca5 Merge pull request #9432 from losernator/patch-2
Update Korean traslation
2019-09-05 16:44:34 +02:00
Joohan Lee e8df78f508 Update Korean traslation
Update Korean traslation
2019-09-05 16:18:04 +09:00
Twinaphex 7cca6ea394 Merge pull request #9423 from jdgleaver/rgui-glcore-fix
(glcore) Ensure correct scaling of menu texture (RGUI)
2019-09-03 19:58:26 +02:00
jdgleaver 3a680df733 (glcore) Ensure correct scaling of menu texture (RGUI) 2019-09-03 12:52:26 +01:00
Twinaphex 97d91a895c Merge pull request #9419 from torarnv/metal-draw-video-stats-over-overlay
metal: Draw video stats on top of overlay
2019-09-03 12:44:01 +02:00
Twinaphex f4aabd0226 Merge pull request #9404 from fpscan/master
Turkish Language Update for 1.7.8 changes
2019-09-02 20:52:24 +02:00
Tor Arne Vestbø af75ddd04a metal: Draw video stats on top of overlay 2019-09-02 20:02:16 +02:00
Twinaphex 5140bf9bd0 Merge pull request #9417 from torarnv/metal-draw-overlay-with-correct-viewport
Metal draw overlay with correct viewport
2019-09-02 20:01:39 +02:00
Tor Arne Vestbø 204407b64a metal: Set up correct viewport before rendering overlay 2019-09-02 18:02:30 +02:00
Tor Arne Vestbø 48d28aa734 metal: Split menu drawing out from core drawing 2019-09-02 18:02:30 +02:00
Twinaphex 7e50bedd07 Merge pull request #9416 from torarnv/remove-osx-suffix-in-window-title
Remove '_OSX' suffix from RetroArch window title
2019-09-02 15:54:55 +02:00
Twinaphex 7d267d124e Merge pull request #9415 from yoshisuga/tvos_13
(tvOS) tvOS 13 support: Update Xcode project to handle cores built using tvOS SDK
2019-09-02 14:18:09 +02:00
Twinaphex 8b3fcf7740 Merge pull request #9413 from torarnv/metal-use-correct-uniforms-when-blitting-menu-frame
Use correct uniforms when blitting menu frame with Metal
2019-09-02 13:42:17 +02:00
Tor Arne Vestbø 3ac29eb659 Remove '_OSX' suffix from RetroArch window title
There's no need for a platform-specific window title, and if there
was it should be macOS nowadays, not OS X.
2019-09-02 13:31:40 +02:00
Yoshi Sugawara a55a159fb9 (tvOS) Cores are now compiled using tvOS SDK and reside in a separate directory - required for iOS 13 support. Updated code sign script to handle tvOS cores 2019-09-02 01:24:29 -10:00
Tor Arne Vestbø e6227f9898 Use correct uniforms when blitting menu frame with Metal
Fixes broken rgui with the Metal video driver.
2019-09-02 13:01:42 +02:00
Twinaphex a52130e368 Update CHANGES.md 2019-09-02 02:44:23 +02:00
Twinaphex 350eeeebbf Merge pull request #9412 from brenodantas10/master
Soft-Patch any IPS size
2019-09-02 00:41:52 +02:00
brenodantas10 0ab26a1371 Soft-Patch any IPS size (put declarations at beginning) 2019-09-01 18:44:21 -03:00
brenodantas10 49032ae2f2 Soft-Patch any IPS size 2019-09-01 16:01:48 -03:00
Jamiras b1fb7a1c1e add hashing support for PSX cheevos (bin/cue, chd, or real CD) 2019-09-01 11:13:54 -06:00
Twinaphex 2997c26069 Merge pull request #9409 from torarnv/explicitly-invalidate-font-atlas-buffer
Explicitly invalidate atlas buffer when rendering text with Metal
2019-09-01 18:56:24 +02:00
Tor Arne Vestbø a7723ba13f Explicitly invalidate atlas buffer when rendering text with Metal
Fixes #9016
2019-09-01 18:46:26 +02:00
Twinaphex e4fb5587f7 Update CHANGES.md 2019-08-31 21:12:14 +02:00
Ömercan Kömür 3fdd7a4b61 Turkish Language Update for 1.7.8 changes 2019-08-31 03:50:00 +03:00
Twinaphex b3a4410e00 Merge pull request #9401 from jdgleaver/favorites-fix
(Favourites) Fix 'remove entry' deleting wrong item
2019-08-30 17:34:26 +02:00
jdgleaver dc55720641 (Favourites) Fix 'remove entry' deleting wrong item 2019-08-30 15:43:17 +01:00
Twinaphex c4e9661b66 Merge pull request #9391 from jdgleaver/smooth-line-ticker
(XMB) Add smooth scrolling vertical line ticker (for sublabels)
2019-08-30 16:19:23 +02:00
Twinaphex a406bacda0 Merge pull request #9399 from libretro/revert-9395-psx_cheevos
Revert " add hashing support for PSX cheevos (bin/cue, chd, or real CD)"
2019-08-30 15:55:36 +02:00
Twinaphex 29dc30fa48 Revert " add hashing support for PSX cheevos (bin/cue, chd, or real CD)" 2019-08-30 15:55:07 +02:00
Twinaphex 6e4f0a03d3 Merge pull request #9398 from LazyBumHorse/fix
never load shaders in main menu
2019-08-30 15:46:40 +02:00
LazyBumHorse 00299cf283 fix unnecessarily loading shaders in main menu for good 2019-08-30 15:30:43 +02:00
jdgleaver 35f7110c41 Smooth line ticker - replace scissor operation with fade in/out animation 2019-08-30 14:28:07 +01:00
Twinaphex d5690e21a5 Merge pull request #9394 from DEX357/patch-42
Update msg_hash_pl.h
2019-08-30 14:35:24 +02:00
Twinaphex 959edb50a5 Merge pull request #9395 from Jamiras/psx_cheevos
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-30 14:35:08 +02:00
Jamiras a8232e6a2e don't try to build CUE file if media isn't available 2019-08-29 22:25:33 -06:00
Jamiras 1f6b9c31e2 ensure vfs_implementation_cdrom in all Makefiles referencing vfs_implementation 2019-08-29 21:48:27 -06:00
Jamiras 1348c2cc75 fix wiiu build 2019-08-29 21:05:44 -06:00
Jamiras bcd61d7f9b add hashing support for PSX cheevos (bin/cue, chd, or real CD) 2019-08-29 21:05:14 -06:00
twinaphex d6df17a154 Revert "add hashing support for PSX cheevos (bin/cue, chd, or real CD)"
This reverts commit 1185433374.
2019-08-30 03:14:42 +02:00
DEX357 1f358e8bec Update msg_hash_pl.h 2019-08-29 23:02:07 +02:00
Brad Parker 4e9cd6ff3e win32: set menubar language to same as config 2019-08-29 16:36:09 -04:00
DEX357 d780d9d797 Update msg_hash_pl.h 2019-08-29 21:07:47 +02:00
Brad Parker 3187eecf05 win32: fix user language detection 2019-08-29 14:36:14 -04:00
twinaphex 2609747243 MSVC buildfix 2019-08-29 20:20:35 +02:00
jdgleaver daeff97f7e (XMB) Add smooth scrolling vertical line ticker (for sublabels) 2019-08-29 16:48:10 +01:00
Twinaphex 3751537278 Update CHANGES.md 2019-08-29 15:29:07 +02:00
Twinaphex 5e539ef2a1 Update AndroidManifest.xml 2019-08-29 15:28:02 +02:00
Twinaphex 7a8cfeeb1d Update AndroidManifest.xml 2019-08-29 15:27:43 +02:00
Twinaphex 1f87de2760 Update CHANGES.md 2019-08-29 15:26:38 +02:00
Twinaphex d2ba528841 Update CHANGES.md 2019-08-29 15:25:51 +02:00
Twinaphex f11fab4490 Update CHANGES.md 2019-08-29 15:21:51 +02:00
Twinaphex 59e6396d45 Update CHANGES.md 2019-08-29 15:21:42 +02:00
Twinaphex 6e880e8018 Update CHANGES.md 2019-08-29 15:17:29 +02:00
Twinaphex 4a676bb59b Merge pull request #9390 from DEX357/patch-41
Update msg_hash_pl.h
2019-08-29 15:14:17 +02:00
Twinaphex 5a82c809dc Merge pull request #9334 from Jamiras/psx_cheevos
add hashing support for PSX cheevos (bin/cue, chd, or real CD)
2019-08-29 13:48:42 +02:00
DEX357 9514b36c0b Update msg_hash_pl.h 2019-08-29 13:40:25 +02:00
twinaphex 3b59bc7385 Buildfixes 2019-08-29 12:38:46 +02:00
Twinaphex 256e5e67bb Merge pull request #9389 from DEX357/patch-40
Update msg_hash_pl.h
2019-08-29 12:34:13 +02:00
twinaphex 718d65d95d Take this out - too unsafe - fixes D3D12 driver 2019-08-29 12:30:56 +02:00
DEX357 e9ea9f98e2 Update msg_hash_pl.h 2019-08-29 12:16:50 +02:00
twinaphex cb8107a154 remove video_context_driver_init_image_buffer 2019-08-29 11:26:28 +02:00
twinaphex ca5e51f116 Remove video_context_driver_make_current 2019-08-29 11:13:17 +02:00
twinaphex 029f1c403e Turn function static 2019-08-29 10:16:26 +02:00
twinaphex 967aae04c8 Cleanups 2019-08-29 09:55:27 +02:00
twinaphex 9a49da10e5 (WndProcCommon) Put this back in 2019-08-29 09:31:08 +02:00
twinaphex df4f2a67e3 (Win32) Simplify WndProcCommon 2019-08-29 02:26:32 +02:00
twinaphex 5ca165379c Cleanups 2019-08-29 01:45:44 +02:00
Twinaphex f6092ebc27 Merge pull request #9386 from LazyBumHorse/contentless
fix shader loading and saving in content-less cores
2019-08-29 01:19:20 +02:00
twinaphex 04f9b81fed Cut down on some unnecessary wrapper functions 2019-08-29 00:02:50 +02:00
twinaphex 3a7515c82f Cut down on code duplication 2019-08-28 23:58:15 +02:00
twinaphex 01cb2b8d44 Cleanup 2019-08-28 23:55:57 +02:00
twinaphex d406fee72e Remove video_context_driver_suppress_screensaver 2019-08-28 22:52:41 +02:00
twinaphex c50cc7b010 Remove video_context_driver_show_mouse 2019-08-28 21:36:58 +02:00
twinaphex aeedeb14a9 (Vita) Vita has no video context driver set, so this can go 2019-08-28 21:30:17 +02:00
twinaphex fa3b927ece Get rid of video_context_driver_get_proc_address 2019-08-28 21:26:43 +02:00
LazyBumHorse e97a31a46c fix shader loading and saving in content-less cores 2019-08-28 21:15:37 +02:00
twinaphex 88720b540e Get rid of video_context_driver_swap_interval 2019-08-28 21:12:51 +02:00
Twinaphex d3632eadb8 Merge pull request #9385 from Sunderland93/master
[Wayland] Remove deprecated wl_shell interface
2019-08-28 11:41:23 +02:00
Twinaphex 0e00d14c3a Merge pull request #9384 from LazyBumHorse/fix_ident
fix video_driver_get_ident for thread wrapper
2019-08-28 11:32:52 +02:00
Sunderland93 8345f08f64 [Wayland] Remove deprecated wl_shell interface 2019-08-28 12:26:51 +04:00
LazyBumHorse 2c028964c9 fix video_driver_get_ident for thread wrapper 2019-08-28 09:43:22 +02:00
twinaphex 0a35a84c4d Prevent ASAN runtime error 2019-08-28 08:13:01 +02:00
twinaphex 46806ff736 Hopefully finally shuts ASAN up 2019-08-28 07:55:10 +02:00
twinaphex a602975c72 Another attempted fix 2019-08-28 07:50:51 +02:00
twinaphex c93c7c82b0 Add this back 2019-08-28 07:47:19 +02:00
twinaphex 7653ced3b3 See if this finally silences the ASAN runtime errors 2019-08-28 07:44:58 +02:00
twinaphex ca3a7aa654 Prevent ASAN runtime error 2019-08-28 07:44:13 +02:00
twinaphex 88dabc7260 Prevent these two runtime errors with ASAN 2019-08-28 07:37:49 +02:00
Twinaphex 90ba789a9f Merge pull request #9382 from brenodantas10/master
Fix IPS patch after a099812 commit
2019-08-28 07:16:15 +02:00
brenodantas10 33c681c0c7 Fix IPS Patch, still without re-allocation 2019-08-28 01:52:26 -03:00
Breno Dantas Mendonça be493daf72 Update task_patch.c
Fix IPS Patch, still without reallocation
2019-08-28 01:39:15 -03:00
Twinaphex 073d612b47 Merge pull request #9379 from yoshisuga/ios_use_launch_storyboard
(iOS) use launch storyboard to properly support all screen sizes
2019-08-28 05:46:09 +02:00
Yoshi Sugawara 5cc8ffa48b (iOS) use launch storyboard to properly support all screen sizes, including recent iPad Pro models. 2019-08-27 12:00:40 -10:00
Brad Parker 2969b07e65 update JP translation 2019-08-27 16:59:17 -04:00
Twinaphex ed8189bb91 Merge pull request #9377 from jdgleaver/3ds-fix
Fix 3DS build
2019-08-27 19:50:50 +02:00
jdgleaver 1e3c5acf0d Fix 3DS build 2019-08-27 17:10:35 +01:00
Twinaphex 3f6b5e1b5d Update travis_metal_deploy.sh 2019-08-27 16:31:23 +02:00
Twinaphex 5ea6dcf05f Merge pull request #9375 from LazyBumHorse/shader_delay
implement video_shader_delay setting
2019-08-27 16:25:47 +02:00
Twinaphex ab33e3623e Merge pull request #9374 from losernator/patch-1
Update korean translation
2019-08-27 16:06:21 +02:00
LazyBumHorse 886d538c48 implement video_shader_delay setting (in ms), which delays auto-shaders 2019-08-27 16:01:48 +02:00
Joohan Lee 5ffd79f1c6 Update korean translation
Update korean translation
2019-08-27 22:58:01 +09:00
twinaphex 25170f3615 Try to fix badges 2019-08-27 14:54:25 +02:00
Twinaphex 84281d3e66 Merge pull request #9369 from yoshisuga/ios_1-7-8
(iOS/tvOS) Update to 1.7.8; add assets.zip to Xcode project definition
2019-08-27 07:16:01 +02:00
Yoshi Sugawara 41382b5f58 tvOS: support extracting bundled assets.zip on startup 2019-08-26 15:43:12 -10:00
Yoshi Sugawara 71c1f327d3 remove dev team 2019-08-26 15:29:28 -10:00
Yoshi Sugawara 44dd704572 update iOS version number to 1.7.8, add assets.zip to Xcode project to add it to the application bundle if available 2019-08-26 15:26:36 -10:00
twinaphex 2cad33b19e (AI Service) Set japanese to 'ja' 2019-08-26 23:58:57 +02:00
twinaphex 6d418cd5d8 Change the name 2019-08-26 20:48:19 +02:00
twinaphex 1ca3659d08 Need to change the name for Android 2019-08-26 20:47:08 +02:00
Twinaphex 7ebeb6b572 Update AndroidManifest.xml 2019-08-26 14:35:46 +02:00
Twinaphex 95b78a2417 Update AndroidManifest.xml 2019-08-26 14:35:03 +02:00
Twinaphex 0d31ccc199 Merge pull request #9364 from libretro/revert-9351-master
Revert "[Switch] Really fix splitting/joining JoyCons via single option"
2019-08-26 14:23:14 +02:00
Twinaphex 1091193ed5 Revert "[Switch] Really fix splitting/joining JoyCons via single option" 2019-08-26 14:22:58 +02:00
twinaphex 045a4cce10 Revert "Update AndroidManifest.xml"
This reverts commit e9f5590584.
2019-08-25 20:29:05 +02:00
Twinaphex e9f5590584 Update AndroidManifest.xml 2019-08-25 19:51:54 +02:00
twinaphex 59571b5aa4 Guard against aspect ratio index being out of bounds 2019-08-25 08:10:30 +02:00
Twinaphex 3e53783dc8 Merge pull request #9351 from rsn8887/master
[Switch] Really fix splitting/joining JoyCons via single option
2019-08-25 04:49:48 +02:00
rsn8887 8c0c0e3eae [Switch] Really fix splitting/joining JoyCons via single option 2019-08-24 21:08:35 -05:00
twinaphex 4a65436df1 Update CHANGES.md 2019-08-24 22:42:59 +02:00
twinaphex a623a611f1 (Wayland) Untested - apply the same for Wayland 2019-08-24 20:51:12 +02:00
twinaphex aa428e4a82 (X11) Better resizing of menu when window is resized 2019-08-24 20:50:06 +02:00
Twinaphex 23646a959d Merge pull request #9348 from toshixm/master
Update Japanese translation
2019-08-24 20:39:57 +02:00
Twinaphex 6d0875e975 (OSX) Use new menu rescaling when resizing window 2019-08-24 20:36:06 +02:00
toshixm be0a8f970c Merge branch 'master' into master 2019-08-25 03:33:55 +09:00
Twinaphex 6a5b01df33 Return ret 2019-08-24 20:30:00 +02:00
twinaphex aa95b721dd Reset frame time counter after doing menu context reset 2019-08-24 20:13:33 +02:00
twinaphex 8780541de9 (Win32) Add deferred menu context reset - menu should properly rescale now
when we do a Win32 window resize
2019-08-24 20:03:09 +02:00
Toshiyuki Maezawa 4a14c5fb98 Update Japanese translation messages 2019-08-25 02:57:11 +09:00
twinaphex fd0232ba71 Add titles for shader preset save/remove 2019-08-24 19:40:24 +02:00
twinaphex 42f2d0ffa4 Add private environment callback - only used by Flycast
(RetroArch-specific, for threaded rendering)
2019-08-24 19:25:03 +02:00
twinaphex f80d77c06c Add sublabels for XMB menu animations 2019-08-24 18:47:25 +02:00
Twinaphex 6dac79d1dc Merge pull request #9347 from LazyBumHorse/get_default_shader_dir
disable get_default_shader_dir() for now
2019-08-24 18:38:45 +02:00
twinaphex 4f5f32f5aa Add sublabel for menu widgets 2019-08-24 18:37:57 +02:00
LazyBumHorse 215f8f7838 disable get_default_shader_dir() for now 2019-08-24 18:33:14 +02:00
twinaphex 94e2d646be Add Frame Time Counter settings 2019-08-24 18:18:24 +02:00
twinaphex f8fb2bf3dc Reset A/V counter when loading/saving a state - will be made
configurable through settings
2019-08-24 17:22:52 +02:00
twinaphex 86410cc3b0 (CoreText) Buildfix 2019-08-24 16:57:23 +02:00
Twinaphex e5ac07f52f Merge pull request #9345 from LazyBumHorse/delete_auto
finish up shader menu changes, add shader preset remove options to Qt
2019-08-24 16:56:41 +02:00
Twinaphex 0899dda468 Merge pull request #9346 from jdgleaver/ctr-fix
(3DS) Build fix
2019-08-24 16:56:15 +02:00
LazyBumHorse 9b71340959 finish up shader menu changes, add 'remove presets' to Qt 2019-08-24 16:43:52 +02:00
jdgleaver f85c0737e4 (3DS) Build fix 2019-08-24 14:37:45 +01:00
toshixm 5582d341b7 Merge new messages from msg_hash_us.h 2019-08-24 19:03:04 +09:00
twinaphex b6c92d5a66 Do video driver monitor reset after fastforwarding; helps prevent
the building up of big frametime deviations
2019-08-24 09:17:54 +02:00
twinaphex 02dccb0396 (OSX) Buildfix for C89_BUILD 2019-08-24 08:51:33 +02:00
twinaphex a93b99b919 Hook up start button to 'Load Core' - will unload a core 2019-08-24 08:31:07 +02:00
twinaphex 297f2b3050 Cover edge case - if this would return false, this would not be
set to false, and as a result, Load Core would not show
2019-08-24 08:15:57 +02:00
twinaphex 5b04350376 (Ozone) Update - hide Load Core when core and/or content is running 2019-08-24 06:41:59 +02:00
twinaphex d492f1acaf Hide 'Load Core' when a core is already loaded and the libretro
core has started running its runloop
2019-08-24 06:37:10 +02:00
Twinaphex de0aa8ad69 Merge pull request #9344 from brenodantas10/master
(bps/ups)_apply_patch - Re-allocation target_data variable for target…
2019-08-24 05:40:27 +02:00
twinaphex bd50a5b62d Cleanups 2019-08-24 05:40:23 +02:00
brenodantas10 a099812f6e (bps/ups)_apply_patch - Re-allocation target_data variable for target patch size (can now apply bigger patches without extra-bytes on memory) 2019-08-24 00:06:34 -03:00
twinaphex b1d3818ed5 (Qt UI) Dehardcode input.cpp ; merge throttle.cpp into generic.cpp 2019-08-24 04:33:42 +02:00
twinaphex b9d7be372f (CoreText) Check first if path is valid 2019-08-24 03:35:23 +02:00
twinaphex 8d9812985b Add this to the header 2019-08-24 03:34:03 +02:00
Twinaphex 714e3ddc2a (SBT font driver) Check first if font files exist before
we try to open them
2019-08-24 03:30:32 +02:00
twinaphex 0dc73f2c8e Prevent calling FT_New_Face if path is not valid 2019-08-24 03:25:46 +02:00
twinaphex 7bae97d762 These settings are moved to submenus now 2019-08-24 02:50:11 +02:00
twinaphex 1b20680e3f (MaterialUI) Add icons 2019-08-24 02:07:43 +02:00
twinaphex b66c5581db Add Shader Preset Save / Remove 2019-08-24 01:44:50 +02:00
twinaphex e80f57310d Don't hide this behind advanced settings anymore 2019-08-23 21:57:44 +02:00
twinaphex 9ba2936f9a Add label for AI Service Mode 2019-08-23 20:00:33 +02:00
twinaphex 9589621619 (Qt UI) Add AI Service category 2019-08-23 19:52:13 +02:00
twinaphex f6d2768181 (Ozone) Add 'Load Disc/Dump Disc' entries to Ozone
(Ozone) Add texture for disc
(Disc) Add sublabels for Load Disc/Dump Disc
2019-08-23 18:35:04 +02:00
twinaphex 26e8cb7ff0 (MaterialUI) Add missing icons 2019-08-23 18:16:09 +02:00
twinaphex 619fbd0e60 (XMB) Add icons for discs 2019-08-23 17:57:58 +02:00
twinaphex 852e190863 (WinRT) Disable file I/O related content runtime logging on WinRT just to
be safe
2019-08-23 17:35:59 +02:00
twinaphex af775fb032 Enable playlist sublabels by default - should have minimal file I/O
overhead - maybe a slight dip from fullspeed/60fps to 59.90/59.10fps at
worse when flicking through playlist entries for the first time (it's
cached after first viewing) - after 1.7.8 we can further micro optimize
this
2019-08-23 17:33:59 +02:00
twinaphex f0e2d47ffb Add content runtime per log options to Settings -> Playlists 2019-08-23 17:26:41 +02:00
twinaphex c990b29c09 Enable content runtime log by default 2019-08-23 17:10:56 +02:00
twinaphex 8841fb4005 Slim down help section - we're going to have an integrated walkthrough
of sorts in later versions
2019-08-23 17:01:03 +02:00
twinaphex 0264cd815a (HTTP/on-demand thumbnails) Mute error output when task is set to mute 2019-08-23 16:52:30 +02:00
twinaphex 622a184fd4 (Menu) Add shortcut to On-Demand Menu Thumbnails from Online Updater
category
2019-08-23 16:48:04 +02:00
Twinaphex 58a4d8e000 Merge pull request #9343 from jdgleaver/rgui-animation-cap
(RGUI) Make particle effects framerate independent + add animation speed setting
2019-08-23 16:21:40 +02:00
Jamiras 1185433374 add hashing support for PSX cheevos (bin/cue, chd, or real CD) 2019-08-23 08:02:06 -06:00
jdgleaver c27149bb67 (RGUI) Make particle effects framerate independent + add animation speed setting 2019-08-23 12:22:30 +01:00
Twinaphex 08ac3ed925 Update BaseConfig.xcconfig 2019-08-23 07:52:59 +02:00
Twinaphex b248c31568 Update BaseConfig.xcconfig 2019-08-23 07:52:49 +02:00
twinaphex 8dfb3c454b (UI Qt) Dehardcode achievements 2019-08-23 05:05:11 +02:00
twinaphex 6a8f2ef9b6 (Qt options/UI) Make it more dynamic 2019-08-23 05:00:20 +02:00
twinaphex 532a08afb3 (Qt UI) Start refactoring this code to be more dynamic 2019-08-23 04:53:09 +02:00
twinaphex dc4bfa91ed (Qt) Update User Interface -> Views 2019-08-23 04:31:09 +02:00
Twinaphex f7cda5f753 Merge pull request #9336 from LazyBumHorse/preset_reference
save unmodified auto-shaders as a reference instead of a copy
2019-08-23 03:38:04 +02:00
Twinaphex 396d6c6ad9 Merge pull request #9341 from BarryJRowe/master
Added in fixes for using config parameters instead of the ai service url
2019-08-23 03:28:05 +02:00
Barry Rowe ccc073d506 Added in fixes for translation. 2019-08-22 18:24:26 -07:00
twinaphex 6595aef508 Add missing sublabel 2019-08-23 03:09:29 +02:00
twinaphex f23172ba81 Ability to hide every setting category now 2019-08-23 03:06:38 +02:00
twinaphex 09ac01afd2 Buildfix 2019-08-23 00:46:06 +02:00
twinaphex 8d41efb00d Enable DEFAULT_AI_SERVICE_ENABLE 2019-08-22 23:54:57 +02:00
twinaphex 3015abfb71 (Griffin) Add encoding_base64.c too 2019-08-22 23:41:31 +02:00
Twinaphex e1260b2186 Remove unused variables 2019-08-22 23:40:14 +02:00
twinaphex 2a70b3533c Don't use itoa - not available on OSX 2019-08-22 23:37:23 +02:00
twinaphex 40ad1319c4 Buildfix 2019-08-22 23:31:33 +02:00
twinaphex 94308efcd8 First separator needs to be '?', then it becomes '&' 2019-08-22 23:24:44 +02:00
twinaphex 2c063cb1c9 (Translation) Add "?mode=fast" first when we set either language
and/or target language
2019-08-22 23:18:10 +02:00
twinaphex a79cd32363 Add HAVE_TRANSLATE to MSVC 2017 2019-08-22 23:10:34 +02:00
twinaphex 9867a4c36d Add HAVE_TRANSLATE to Apple 2019-08-22 23:06:22 +02:00
twinaphex afe04d91ca (JNI) Add -DHAVE_TRANSLATE 2019-08-22 23:01:32 +02:00
twinaphex fa1f98dbac Append target_lang and source_lang to AI service URL when the
settings are set
2019-08-22 22:55:04 +02:00
twinaphex 32029731c0 Hook up remaining languages 2019-08-22 22:20:31 +02:00
twinaphex 84491736ab Add the other languages 2019-08-22 21:33:02 +02:00
twinaphex eca2f0a663 Start adding translation language names 2019-08-22 21:15:07 +02:00
twinaphex 5b71939848 Add target_lang/source_lang options 2019-08-22 19:39:00 +02:00
twinaphex 7f095907e2 (Translation) Add enums for all languages 2019-08-22 19:14:09 +02:00
Twinaphex 2db4d8abd8 Merge pull request #9339 from jdgleaver/smooth-ticker-rgui
(RGUI) Optimise smooth ticker text
2019-08-22 19:05:13 +02:00
jdgleaver 37190b8f7d (RGUI) Optimise smooth ticker text 2019-08-22 17:51:57 +01:00
LazyBumHorse 813a5cc370 fix edge case where resetting shader parameter wasn't counted as a modification 2019-08-22 18:08:58 +02:00
LazyBumHorse a882901e39 save unmodified auto-shaders as a reference instead of a copy, see:
- implement #reference directive for auto-shaders
 - replace usual preset saving and loading functions with video_shader_read_preset() and video_shader_write_preset()
 - apply saved presets automatically for console menus
 - move auto-shader saving logic from menus into menu_shader.c menu_shader_manager_save_auto_preset()
 - refactor menu_shader_manager_save_preset() into menu_shader_manager_save_preset_internal()
2019-08-22 16:57:28 +02:00
Twinaphex e088d4e186 Merge pull request #9337 from jdgleaver/ticker-fix
Line ticker bug fix
2019-08-22 16:22:52 +02:00
jdgleaver 5903463734 Line ticker bug fix 2019-08-22 15:16:29 +01:00
Twinaphex 93ac764e01 Merge pull request #9335 from jdgleaver/smooth-ticker-resolution
Make smooth ticker text scroll speed resolution independent
2019-08-22 14:41:32 +02:00
jdgleaver 84dac7745e Make smooth ticker text scroll speed resolution independent 2019-08-22 11:49:05 +01:00
twinaphex 9a36851beb (AI Service) Add sublabels 2019-08-22 07:22:52 +02:00
twinaphex a612e7a4c3 Hook up AI Service settings 2019-08-22 07:07:34 +02:00
Brad Parker 203504e793 add newline 2019-08-22 00:20:42 -04:00
twinaphex d2b274ac23 Bump version 2019-08-22 05:48:12 +02:00
twinaphex 565d2351d1 Fixes hotkeys not properly working when gamepads are mapped to
a different logical port from their physical one
2019-08-22 02:50:17 +02:00
twinaphex 3bf2d9d7fc Attempt to fix 'no newline at EOF' with Clang 2019-08-22 01:31:13 +02:00
twinaphex 90266a2a6a Cleanups 2019-08-21 22:48:19 +02:00
twinaphex bd87e7fc17 Merge translation_service.c into retroarch.c 2019-08-21 22:40:47 +02:00
twinaphex c5739a5c31 Cleanups 2019-08-21 22:27:01 +02:00
twinaphex a3e2531bd6 Remove duplicate function in translation_service.c 2019-08-21 21:51:25 +02:00
twinaphex 95637cfe08 Buildfix 2019-08-21 21:09:19 +02:00
twinaphex ccc6d65c43 (Translation) Enable by default for PC platforms, fix CXX_BUILD 2019-08-21 20:57:08 +02:00
twinaphex fea7694027 Add AI Service settings 2019-08-21 20:43:32 +02:00
twinaphex f6c451fafe Enable ticker smooth by default 2019-08-21 18:52:08 +02:00
Twinaphex 35c336e3ab Merge pull request #9333 from jdgleaver/smooth-ticker
Add optional smooth scrolling menu ticker text
2019-08-21 18:42:20 +02:00
twinaphex 894b05dd40 Silence warnings 2019-08-21 18:41:49 +02:00
jdgleaver 8569e65c18 Add optional smooth scrolling menu ticker text 2019-08-21 17:01:20 +01:00
twinaphex e536911bb0 Buildfix for C89_BUILD 2019-08-21 08:14:39 +02:00
twinaphex 5481166156 (Vita) Buildfix 2019-08-21 08:02:56 +02:00
Twinaphex 5dd74503d2 Update discord_register_linux.c 2019-08-21 04:35:37 +02:00
twinaphex edd5677492 Set this to true 2019-08-21 03:18:39 +02:00
twinaphex b19d83c1e4 Set default values for some settings 2019-08-21 03:18:11 +02:00
twinaphex 039daf3374 Ability to hide 'Input Settings' 2019-08-21 00:27:40 +02:00
twinaphex 7bce5783aa Add User Interface -> Views -> Settings 2019-08-21 00:04:34 +02:00
twinaphex 01bd4c22ad Avoid warning 2019-08-20 23:14:16 +02:00
twinaphex 74f2a4b093 Use encodings/utf functions 2019-08-20 23:01:01 +02:00
twinaphex 20a4b39272 (Win32) Properly set initial directory for menubar -> Load Core 2019-08-20 22:50:40 +02:00
twinaphex dde53fe682 (ui_win32.c) Cleanups 2019-08-20 22:48:06 +02:00
twinaphex 1917b2235e (Discord) Cleanups 2019-08-20 21:11:48 +02:00
twinaphex a363af7796 (Discord) Convert some files to C 2019-08-20 21:03:16 +02:00
twinaphex 12698f561f (Discord) Call Discord_RunCallbacks directly 2019-08-20 20:24:41 +02:00
twinaphex b059119213 Simplify input_keys_pressed 2019-08-20 20:11:57 +02:00
twinaphex 5752ea58f3 Use button masks for menu_input_keys_pressed 2019-08-20 18:59:23 +02:00
twinaphex c1f961b94e Start turning the two input functions closer together 2019-08-20 18:46:01 +02:00
twinaphex 75c7b2a29a Simplify menu_input_keys_pressed 2019-08-20 18:25:52 +02:00
twinaphex ab5e5d3a80 Add Quick Menu -> Views ->'Show Resume/Restart/Close content' 2019-08-20 18:08:44 +02:00
twinaphex b46545cd64 menu_driver_frame - use video_info->menu_is_alive instead 2019-08-20 17:04:06 +02:00
twinaphex 230b4b95dc Cleanups 2019-08-20 16:57:07 +02:00
twinaphex dd83bc98a2 (menu_driver.c) Avoid function calls when possible 2019-08-20 16:38:45 +02:00
twinaphex 525d63f9ec use menu_entries_get_selection_buf_ptr_internal 2019-08-20 16:24:10 +02:00
twinaphex 4a05dafbb7 Should not use RARCH_LOG and friends on a thread 2019-08-20 16:15:30 +02:00
Twinaphex a595557495 Merge pull request #9331 from LazyBumHorse/changes
Update CHANGES.md
2019-08-20 14:46:13 +02:00
LazyBumHorse 69cd4e6778 Update CHANGES.md 2019-08-20 11:03:39 +02:00
twinaphex d8860104d3 Get rid of file_list_get_alt_at_offset 2019-08-20 06:13:33 +02:00
twinaphex 74c79e3962 Don't go through these superfluous functions 2019-08-20 06:03:28 +02:00
twinaphex 75754c54e3 verbosity.c - cleanups - no longer need file_path_str 2019-08-20 05:25:22 +02:00
twinaphex c38b8bee45 Cleanups 2019-08-20 05:03:12 +02:00
twinaphex 17c3635a38 RARCH_LOG_BUFFER - if verbosity level is above 1, skip 2019-08-20 03:54:10 +02:00
twinaphex 9ece732348 (Menu settings) Turn function static and some style nits 2019-08-20 03:44:17 +02:00
twinaphex afc7f9ae12 (menu setting) Cleanups 2019-08-20 03:32:53 +02:00
twinaphex cc86a78740 change_handler gets called every frame, so make this as
efficient as possible
2019-08-20 03:26:17 +02:00
twinaphex 72bde77ef0 Ability to set FPS update interval (new setting - fps_update_interval) 2019-08-20 03:05:52 +02:00
twinaphex 73663104b3 Add separate setting for Frontend Logging Level 2019-08-20 01:34:40 +02:00
twinaphex ad71451432 Add frontend log level setting 2019-08-20 01:18:26 +02:00
twinaphex eff7cb467e Don't hide 'Show Quit RetroArch' for regular RetroArch 2019-08-20 01:07:16 +02:00
Francisco Javier Trujillo Mata c987945b5e Apply some improvement preparing for new toolchain (#9330) 2019-08-19 20:36:15 +02:00
Ömercan Kömür 0420d7f06c Update index.html (#9329) 2019-08-19 16:28:22 +02:00
CatGreen90 1f45a9d71e (RetroArch_Metal.xcodeproj) Add glslang_utils.c and glslang_utils_cxx.cpp/.h to project.pbxproj (#9328)
* Update android_ctx.c

* Add glslang_util_cxx.c/.h and glslang_util.c

* Update
2019-08-19 01:53:12 +02:00
Twinaphex cc85bfb40b Merge pull request #9327 from fpscan/master
Update index.html
2019-08-19 01:12:20 +02:00
Ömercan Kömür b314ea8632 Update index.html 2019-08-19 01:23:59 +03:00
Twinaphex 7f6a7d31c0 Merge pull request #9326 from fpscan/revert-9319-master
Revert "Steps for web.libretro"
2019-08-18 22:47:42 +02:00
Ömercan Kömür d487dd8d08 Revert "Steps for web.libretro" 2019-08-18 22:53:55 +03:00
Twinaphex 7c16b9e836 Get rid of unused variables 2019-08-18 20:51:43 +02:00
twinaphex d52c573e13 Merge slang_preprocess.cpp into slang_process.cpp 2019-08-18 18:55:22 +02:00
twinaphex 0905c8d2ed (shader_gl_core.cpp) Simplify some code 2019-08-18 18:32:01 +02:00
twinaphex d48b5b78f8 Cleanups 2019-08-18 18:05:26 +02:00
twinaphex aaeff6c888 Move C code over to glslang_util.c 2019-08-18 18:01:21 +02:00
twinaphex db043a7fd7 Less references to internal pointer 2019-08-18 17:04:14 +02:00
twinaphex b13ee8485f Start passing shader pointer to menu_shader.c functions 2019-08-18 16:59:09 +02:00
twinaphex c963b3be6a menu_display_toggle_reason was never used, get rid of it 2019-08-18 16:41:01 +02:00
twinaphex 9c81253226 (menu_shader.c) Style nits/cleanups 2019-08-18 16:33:36 +02:00
Twinaphex c55c86341b Merge pull request #9319 from fpscan/master
Steps for web.libretro
2019-08-18 16:28:36 +02:00
Twinaphex 41af78b432 Merge pull request #9324 from LazyBumHorse/fix_9141
fixes "Save Shader Preset As" dialog immediately popping up again on …
2019-08-18 15:34:45 +02:00
LazyBumHorse 39c02664a8 fixes "Save Shader Preset As" dialog immediately popping up again on linux 2019-08-18 15:15:47 +02:00
twinaphex 3aa1a03a08 glslang_util cleanups 2019-08-18 14:40:26 +02:00
Twinaphex 7f04ecb033 Merge pull request #9323 from LazyBumHorse/fix_apply_shader
fix not being able to apply shader if none was loaded before
2019-08-18 13:08:29 +02:00
LazyBumHorse 288c673c61 fix not being able to apply shader if none was loaded before 2019-08-18 10:11:01 +02:00
twinaphex 52f8bef386 Buildfix for non-shader builds 2019-08-18 00:48:56 +02:00
Twinaphex 40bc604e9b Merge pull request #9320 from LazyBumHorse/global_shaders
implement global shader presets
2019-08-17 23:33:21 +02:00
LazyBumHorse be20b9c283 implement global shader presets 2019-08-17 22:11:17 +02:00
Twinaphex b26c8fe6f7 Merge pull request #9318 from ToKe79/lakka-nightly-updater-url
Change URL for Lakka online updater - nightlies
2019-08-17 19:16:46 +02:00
twinaphex dec409bf17 Revert "Cleanups"
This reverts commit cb9a9e9525.
2019-08-17 18:51:09 +02:00
Ömercan Kömür 1bde4043a5 Steps for web.libretro 2019-08-17 19:25:18 +03:00
Tomas Kelemen (vudiq) 2792783bbd Change URL for Lakka online updater - nightlies
currently, if users try to update a nightly build, they are offered
latest stable release, which in fact is a downgrade.
with correct URL the users will be pointed to the latest nightly build
in case they are running a nightly build - it does not affect users
running a stable/rc release of Lakka.

originally we wanted to patch RA locally
(https://github.com/libretro/Lakka-LibreELEC/pull/752), but it seems
patching upstream and just adding a make flag is more sane.
2019-08-17 18:09:40 +02:00
twinaphex cb9a9e9525 Cleanups 2019-08-17 16:59:18 +02:00
Twinaphex 5e2e1c82c5 Merge pull request #9315 from LazyBumHorse/set-shader
add --set-shader and overhaul shader loading logic
2019-08-17 16:32:42 +02:00
LazyBumHorse 719555bae1 Overhaul shader loading logic, add --set-shader CLI option 2019-08-17 15:20:51 +02:00
Brad Parker 77d2ce95f1 Update Japanese translation 2019-08-16 19:47:15 -04:00
Twinaphex 66a8c21ddf Merge pull request #9313 from jdgleaver/playlist-fix
(XMB/Ozone) Fix display of horizontal playlists
2019-08-16 18:46:55 +02:00
jdgleaver 28083c7b54 (XMB/Ozone) Fix display of horizontal playlists 2019-08-16 17:36:13 +01:00
Twinaphex 099c06c3c0 Merge pull request #9312 from jdgleaver/thumb-path-api-cleanup
(menu_thumbnail_path) API clean-up + tiny bug fix
2019-08-16 17:17:32 +02:00
jdgleaver 75ae05d287 (menu_thumbnail_path) API clean-up + tiny bug fix 2019-08-16 15:49:57 +01:00
twinaphex 091c5f6092 Should fix netplay for cores that use the new bitmask code 2019-08-16 16:29:18 +02:00
twinaphex f61602de59 Buildfix 2019-08-16 16:09:15 +02:00
twinaphex bf8edb18b8 Cleanups 2019-08-16 16:04:39 +02:00
twinaphex 8c74de7787 (Menu) cleanups 2019-08-16 15:51:22 +02:00
twinaphex 9d61590540 Merge menu_entries.c into menu_driver.c 2019-08-16 15:40:45 +02:00
twinaphex 9456d88ce4 Cleanups 2019-08-16 15:36:44 +02:00
twinaphex c69c972942 (Menu) Cleanups 2019-08-16 15:17:33 +02:00
Twinaphex 140d0e180d Merge pull request #9311 from p-sam/libnx_audren_paused
(Switch) no audio driver state change outside of thread
2019-08-16 11:46:29 +02:00
Twinaphex d96d80cf5c Merge pull request #9310 from jdgleaver/per-playlist-thumbs
Enable per-playlist thumbnail selection
2019-08-15 19:52:39 +02:00
jdgleaver 3da96deec3 Enable per-playlist thumbnail selection 2019-08-15 18:05:31 +01:00
Twinaphex 3bc5c15526 Merge pull request #9309 from LazyBumHorse/fix_vulkan_gpu_list
fix handling of vulkan_gpu_list
2019-08-15 18:17:56 +02:00
LazyBumHorse 3c6a46d95d fix handling of vulkan_gpu_list (use after free, not always being initialized) 2019-08-15 17:52:24 +02:00
twinaphex a5f6c8f94d Cleanups 2019-08-15 17:44:02 +02:00
p-sam f04bf0e374 (Switch) no audio driver state change outside of thread 2019-08-15 14:51:01 +00:00
twinaphex bc46b1c802 Cleanups 2019-08-15 16:17:49 +02:00
twinaphex 8db00a17af (Menu widgets) Checks were wrong - should be correct now 2019-08-15 16:09:18 +02:00
twinaphex 111a7fea92 (Menu widgets) Should use MAX macro here from retro_miscellaneous.h 2019-08-15 15:56:30 +02:00
twinaphex a5f411ef5c Cleanups 2019-08-15 15:50:26 +02:00
twinaphex 92dec44b0e menu_widgets_push_achievements always returns true 2019-08-15 15:48:08 +02:00
twinaphex edaf8eb702 menu_widgets_volume_update_and_show always returns true 2019-08-15 15:46:16 +02:00
twinaphex 6c775ef170 These functions always return true 2019-08-15 15:42:24 +02:00
twinaphex 17957e0816 (Menu widgets) DO away with == NULL/!= NULL checks 2019-08-15 15:17:01 +02:00
twinaphex 57df6dda82 (Menu widgets) Some architectural cleanups -
* Don't have all these manual setters
* Don't copy over the FPS text, instead make use
of video_info->fps_text
* Boolean checks always returned true anyway, so
avoid unnecessary conditional checks
2019-08-15 15:13:07 +02:00
twinaphex a500219d8c Move menu_widgets_ready to retroarch.c 2019-08-15 14:56:38 +02:00
twinaphex 6c671faed6 Start preparing for menu_widgets_ready to be moved to retroarch.c 2019-08-15 14:20:51 +02:00
twinaphex d5c7ada96d Prevent warning 2019-08-15 13:51:07 +02:00
twinaphex 620f6c4f9f Update MSVC2003 2019-08-15 13:49:16 +02:00
twinaphex 0de1453445 Cleanups 2019-08-15 13:44:26 +02:00
Twinaphex 56eb2d9f82 Merge pull request #9307 from LazyBumHorse/logfix
fix garbled text in logging on Windows
2019-08-15 13:42:37 +02:00
LazyBumHorse f51e50a423 fix logging on Windows sometimes not being null-terminated 2019-08-15 13:39:19 +02:00
twinaphex 20846796cd Cut down on some menu_widgets_ready calls 2019-08-15 13:12:15 +02:00
twinaphex b4676e3591 Cleanups 2019-08-15 12:57:54 +02:00
twinaphex 498c1b8538 (verbosity.c) Cleanups 2019-08-15 12:43:59 +02:00
twinaphex df8a024b82 Cleanups 2019-08-15 12:30:27 +02:00
twinaphex 16ceb54557 Simplifications 2019-08-15 12:13:14 +02:00
twinaphex b4375e3da0 Cleanups 2019-08-15 01:21:25 +02:00
twinaphex 80230a8181 Cleanups 2019-08-15 01:15:39 +02:00
twinaphex e54e8c4a1f Cleanups 2019-08-15 01:14:25 +02:00
twinaphex d30b2ecaca Merge menu_input_dialog.c into retroarch.c 2019-08-15 01:08:34 +02:00
Twinaphex 20b1bf9b12 Merge pull request #9306 from elyosh/midi
Midi: fix MT-32 delay and ALSA off pitch playback
2019-08-14 22:37:53 +02:00
Adrien Moulin 9cecf6623f Midi: correct pitch bend in ALSA driver
MIDI standard pitch bend center position is 0x2000 but ALSA's is 0
2019-08-14 21:47:54 +02:00
Adrien Moulin a545499496 Midi: fix SysEx handling
We need to clear the event status after each message. Otherwise, after a SysEx message the first byte of the next event will incorrectly inherit its delta_time.
This causes a delay of several seconds in nearly every MT-32 games which uses a lot of long SysEx.
2019-08-14 21:34:28 +02:00
twinaphex 0092aa84d3 Fix OSK input regression 2019-08-14 17:55:29 +02:00
Twinaphex 9271f73dd2 Merge pull request #9304 from rsn8887/master
Allow auto save states also in cores that support no content
2019-08-14 17:30:55 +02:00
twinaphex ba3e940cac (menu_driver.c) Cleanups 2019-08-14 17:19:39 +02:00
twinaphex 295e6f8e14 Move menu_input_dialog_keyboard_display to retroarch.c 2019-08-14 16:52:26 +02:00
twinaphex 980be6dba3 (GL2) Cleanups 2019-08-14 16:40:47 +02:00
twinaphex 02eaad8587 Reduce two functions to one 2019-08-14 14:46:17 +02:00
rsn8887 2cc84bb99e Allow auto save states also in cores that support no content
as long as some content is loaded
2019-08-13 21:44:54 -05:00
twinaphex 890008491c Cleanups 2019-08-14 02:49:54 +02:00
Twinaphex accae545b0 Merge pull request #9279 from LazyBumHorse/fix_glhigh
workaround for glcore crash with Mesa
2019-08-13 22:00:28 +02:00
twinaphex 36ed0ca34f menu_display_get_dpi - don't use video_driver_get_size inside function 2019-08-13 17:12:55 +02:00
Twinaphex aaac54783d Merge pull request #9298 from jdgleaver/rgui-check-mark
(RGUI) Add marker for currently selected item in drop down lists
2019-08-13 17:09:01 +02:00
twinaphex 7d10c1a9ff (menu widgets) No longer use video_driver_get_size 2019-08-13 16:47:56 +02:00
jdgleaver 6d95075c6a (RGUI) Add marker for currently selected item in drop down lists 2019-08-13 15:29:25 +01:00
Twinaphex 0254cb91d7 Merge pull request #9297 from Themaister/master
Validate non-causal filter chain for texture inputs.
2019-08-13 13:59:26 +02:00
Themaister f957bf0d16 Validate non-causal filter chain for texture inputs.
We only validated for UBO inputs apparently.
2019-08-13 13:57:20 +02:00
twinaphex 17d2ce5220 (Menu display D3D8/D3D9) We should be able to use
video_info->width and video_info->height instead of
having to use video_driver_get_size
2019-08-13 13:17:56 +02:00
twinaphex 022b22a4cd Pass video_driver_width and video_driver_height
to menu driver render callback function so that
we don't have to call video_driver_get_size anymore
2019-08-13 12:50:24 +02:00
twinaphex 3585d56067 (Vita2D) video_driver_get_size was used for no reason here 2019-08-13 12:34:34 +02:00
twinaphex dc3711b35f (GX2) video_driver_get_size was used for no reason here 2019-08-13 12:33:09 +02:00
twinaphex d43b26348b (Vulkan) Don't use video_driver_get_size 2019-08-13 12:28:16 +02:00
twinaphex e43c55bef3 (GLCore) Don't use video_driver_get_size 2019-08-13 12:23:02 +02:00
twinaphex c0bfbd1ae8 Revert "(XMB) xmb_render - Extra call to video_driver_get_size"
This reverts commit a918bbdc3a.
2019-08-13 12:16:30 +02:00
twinaphex a918bbdc3a (XMB) xmb_render - Extra call to video_driver_get_size 2019-08-13 12:15:59 +02:00
twinaphex c3d624267b (GL) Start avoiding usage of video_driver_get_size
from within video drivers
2019-08-13 12:14:53 +02:00
Twinaphex efd6694ce8 Merge pull request #9294 from fpscan/master
Major Turkish Language Update
2019-08-13 11:51:27 +02:00
twinaphex 558e50b5a0 Get rid of unused code libdbgfont 2019-08-13 11:42:46 +02:00
Twinaphex 82d8f180c9 Merge pull request #9295 from jeffreydvp/master
Bug caused by typo
2019-08-13 11:09:46 +02:00
Jeffrey Davenport 25f35ed67d Bug caused by typo 2019-08-13 02:26:13 -06:00
Twinaphex 116ed81c23 Merge pull request #9291 from mrjschulte/patch-3
Add in more Apple Model numbers for RetroRating
2019-08-13 09:42:13 +02:00
Ömercan Kömür 6d0715a13a Turkish Language Updates 2019-08-13 09:53:27 +03:00
Ömercan Kömür f2f7a43c8c Merge pull request #4 from libretro/master
updates
2019-08-13 08:55:51 +03: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 becfff597b Merge pull request #9286 from jdgleaver/hide-quick-menu
(XMB/Ozone/GLUI) Prevent display of main menu 'Quick Menu' entry when dummy core is loaded
2019-08-13 02:47:18 +02:00
Twinaphex 1772233e9f Merge pull request #9288 from asavah/fix-double-free
fix double free()
2019-08-13 02:47:08 +02:00
Brad Parker 3432f3b852 cdrom: initialize all buffers used for drive paths, make sure to null-terminate filled paths in all cases 2019-08-12 20:42:40 -04:00
root 54978459bf fix double free() 2019-08-13 00:18:30 +03:00
Twinaphex 6065f71bb2 Buildfix for C89_BUILD 2019-08-12 23:07:49 +02:00
LazyBumHorse 907bea6abb destroy leaked context 2019-08-12 23:05:44 +02:00
twinaphex 4a09f66c7b (GL drivers) Cleanups 2019-08-12 22:04:27 +02:00
twinaphex cf812b2e80 Revert "Prevent input_driver_poll from being called more than once per"
This reverts commit 15513c7752.
2019-08-12 21:33:47 +02:00
LazyBumHorse 010df00d74 workaround for Mesa crash when trying unsupported OpenGL versions
also fixes attribs sometimes being garbled
2019-08-12 21:08:22 +02:00
twinaphex ed6f682754 Make code more similar to gl2 video driver 2019-08-12 21:07:12 +02:00
twinaphex fdd45f1f6b (glcore) memset is unnecessary 2019-08-12 20:55:46 +02:00
twinaphex 2a631bd031 (glcore) Turn this into macro 2019-08-12 20:52:33 +02:00
twinaphex 69a195fc5c Cleanups 2019-08-12 19:35:36 +02:00
twinaphex 3ae447420e Cleanups 2019-08-12 19:33:50 +02:00
jdgleaver e75911cee7 (XMB/Ozone/GLUI) Prevent display of main menu 'Quick Menu' entry when dummy core is loaded 2019-08-12 17:50:06 +01:00
twinaphex 7c78e0ad1e menu_event_kb_set no longer needed 2019-08-12 18:14:47 +02:00
twinaphex a9002b444e Have to put this back 2019-08-12 18:09:56 +02:00
twinaphex f7aebf02c8 No longer need input_driver_input_state 2019-08-12 18:00:31 +02:00
twinaphex 39a6dce7da Optimization 2019-08-12 17:51:41 +02:00
twinaphex 95505ae5c5 input_keys_pressed - use bitmasks 2019-08-12 17:48:55 +02:00
twinaphex f117b22a46 Cleanups 2019-08-12 17:37:17 +02:00
twinaphex b2e57db8c2 input_overlay_key_pressed - start getting rid of it 2019-08-12 17:13:29 +02:00
twinaphex 0405cf40d0 Cleanups 2019-08-12 17:09:26 +02:00
Twinaphex e194886b29 Merge pull request #9285 from jdgleaver/slang-vectors
(glslang_util) Remove C++ 'isms' (where possible)
2019-08-12 14:24:22 +02:00
jdgleaver 5ac152a5f3 (glslang_util) Remove C++ 'isms' (where possible) 2019-08-12 13:10:50 +01:00
twinaphex a4947780d9 Potential buildfix 2019-08-12 14:10:09 +02:00
twinaphex 524f202231 Turn two functions static 2019-08-12 13:04:08 +02:00
twinaphex a45c9b6eb4 Duplicate aspect ratio code that was being ran twice 2019-08-12 12:52:40 +02:00
twinaphex 6a4207fe55 (Menu setting) 'Quit Press Twice' - set default value 2019-08-12 12:12:16 +02:00
Twinaphex 73f752bf4c (Apple OSX) Define HAVE_NO_BUILTINZLIB 2019-08-12 12:09:47 +02:00
Twinaphex 39a876a083 (Apple OSX Metal) Define HAVE_NO_BUILTIN_ZLIB 2019-08-12 12:05:52 +02:00
twinaphex f6d0de0ed5 Cleanups 2019-08-12 11:43:43 +02:00
twinaphex 54be49d88e More accurate framerate OSD 2019-08-12 11:36:49 +02:00
twinaphex 302cc16b57 Cleanups 2019-08-12 10:45:16 +02:00
twinaphex 15513c7752 Prevent input_driver_poll from being called more than once per
frame - would only regularly happen when 'pause when menu activated'
was turned off and we went to the menu, and maybe a slight few
times inside specific cores, but nothing major
2019-08-12 10:27:57 +02:00
twinaphex 0bc99c8111 Buildfix 2019-08-12 09:06:58 +02:00
twinaphex 0552c64161 (WiiU) Attempt to fix build 2019-08-11 23:39:26 +02:00
twinaphex 35732f9a8c get_default_shader_dir - go automatically to shaders_slang,
shaders_glsl or shader_cg if the current video driver and context
only supports one of the shader types instead of several
2019-08-11 22:50:19 +02:00
twinaphex 4d45174940 file_path.c - cleanups 2019-08-11 22:37:23 +02:00
twinaphex 1ca3a00b77 Update Makefile.common 2019-08-11 21:28:42 +02:00
Twinaphex f35e4d62d8 Merge pull request #9280 from revvv/master
Added new USB gamepad for Wii: Retrode 2
2019-08-11 21:27:54 +02:00
revvv 22669edfed update coding style for PR 2019-08-11 21:08:16 +02:00
revvv 976e4672b4 add Retrode support 2019-08-11 20:13:38 +02:00
twinaphex 3c9a3de8bc Refactor runloop_check_state 2019-08-11 20:04:41 +02: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
twinaphex e4e86d027e Don't call runloop_get_system_info from within retroarch.c 2019-08-11 19:21:44 +02:00
twinaphex 09675c26a9 Get rid of unused function menu_display_get_tex_coords 2019-08-11 17:49:49 +02:00
Twinaphex cfd229d95c Merge pull request #9269 from Ryunam/ozone-playlistname-truncation
Add toggle to enable / disable playlist name truncation in Ozone Menu driver
2019-08-11 17:35:51 +02:00
Twinaphex 6dfbd74e85 Merge pull request #9278 from DEX357/patch-39
Update msg_hash_pl.h
2019-08-11 17:35:41 +02:00
twinaphex bbbc69886f Simplify menu_display_push_quad 2019-08-11 17:29:22 +02:00
twinaphex 24798d7841 (Menu) Get rid of unused SET_PENDING_QUIT/SET_PENDING_SHUTDOWN 2019-08-11 17:08:59 +02:00
twinaphex d4de1eaf7d (menu_input_dialog) Cleanups 2019-08-11 17:02:42 +02:00
twinaphex 3a7ab9bd40 Pressing Start on 'Load Shader Preset' will reset
all shader passes and apply changes, effectively disabling
the shaders
2019-08-11 16:57:02 +02:00
twinaphex 8647bbc36f Attempt to fix WiiU build 2019-08-11 14:48:32 +02:00
twinaphex ab293b9900 Add HAVE_THREADS ifdefs 2019-08-11 12:53:21 +02:00
twinaphex f5a8a934ac Cleanups 2019-08-11 11:14:45 +02:00
DEX357 e0d58937b2 Update msg_hash_pl.h 2019-08-11 09:34:23 +02:00
twinaphex 2b6613c137 Accidentally removed this 2019-08-10 20:09:33 +02:00
twinaphex a0f9f47e89 Cleanup savestate code 2019-08-10 20:06:38 +02:00
twinaphex 8ac794d4af Simplify fastforwarding code 2019-08-10 19:59:33 +02:00
twinaphex 9b4fe343f3 Fix --disable-menu 2019-08-10 17:47:09 +02:00
twinaphex 8308c41277 (netplay frontend) Cleanup this code - netplay_data should be
properly encapsulated
2019-08-10 17:25:39 +02:00
RyunamandRob Loach 508c699f86 Update intl/msg_hash_us.h
Co-Authored-By: Rob Loach <[email protected]>
2019-08-10 16:49:34 +02:00
Ryunam 559e68d5a8 Attempt at buildfix and optimization 2019-08-10 15:26:02 +02:00
twinaphex 5c30b0803d Fix some typos in comments 2019-08-10 14:24:30 +02:00
twinaphex baf8c71545 Cleanups 2019-08-10 14:23:00 +02:00
twinaphex 41c6345381 Cleanups 2019-08-10 14:14:20 +02:00
twinaphex e3ba467932 Refactor rarch_core_runtime_tick 2019-08-10 14:12:21 +02:00
twinaphex 23456bfc94 Create update_savestate_slot 2019-08-10 13:43:23 +02:00
twinaphex 602fd3b520 Call set_nonblocking state with false argument directly 2019-08-10 13:35:07 +02:00
twinaphex c1b3869db5 Buildfix 2019-08-10 13:21:36 +02:00
twinaphex 7505251b40 Cleanups 2019-08-10 13:16:15 +02:00
twinaphex 562ea77613 menu_event_kb_set else path is being called every frame, so at
least make it fast
2019-08-10 07:13:21 +02:00
twinaphex 1de946a1b7 Optimize fastforwarding runtime check - menu widgets function
was being called every frame unnecessarily
2019-08-10 06:25:50 +02:00
twinaphex 60932b18ad All these functions can be made static 2019-08-10 04:52:33 +02:00
twinaphex 96ba8b6928 Cleanups 2019-08-10 04:34:15 +02:00
Twinaphex 1f6e41755b Merge pull request #9270 from DEX357/patch-38
Update msg_hash_pl.h
2019-08-10 04:20:49 +02:00
twinaphex 5cac6dddfb See if this is what is behind the performance regression 2019-08-10 02:21:30 +02:00
DEX357 b75e3ba65a Update msg_hash_pl.h 2019-08-10 00:01:13 +02:00
DEX357 5b84029a32 Update msg_hash_pl.h 2019-08-09 22:51:26 +02:00
DEX357 aac972fcf6 Update msg_hash_pl.h 2019-08-09 22:07:49 +02:00
twinaphex 7c9de7ec0f Turn rarch_core_runtime_tick into static function 2019-08-09 22:02:29 +02:00
twinaphex 7900faa419 Move menu_display_libretro to retroarch.c 2019-08-09 21:59:58 +02:00
twinaphex e51b93993b Move menu_driver_is_binding_state to retroarch.c 2019-08-09 21:41:10 +02:00
twinaphex b0f088d5fd Move menu_driver_is_alive to retroarch.c 2019-08-09 21:31:51 +02:00
twinaphex 4600195895 Refactor some menu_driver_alive code 2019-08-09 20:45:54 +02:00
DEX357 3d867ad6e2 Update msg_hash_pl.h
Another missing entry I hope the last one please update @twinaphex
2019-08-09 19:22:01 +02:00
Ryunam af42417734 Add toggle to enable / disable playlist name truncation in Ozone 2019-08-09 18:01:47 +02:00
Twinaphex a88b357817 Merge pull request #9250 from bparker06/gl_highest
opengl: loop through highest available versions to find a working one
2019-08-09 17:09:13 +02:00
twinaphex 759591d5a6 Cleanups 2019-08-09 17:05:50 +02:00
twinaphex 3ff237e278 Cleanups 2019-08-09 16:26:58 +02:00
twinaphex a643f9e07e Refactor/reimplement mapper 2019-08-09 16:17:30 +02:00
twinaphex 05187f1a8c Cleanups 2019-08-09 13:28:40 +02:00
twinaphex 4d860c4d16 Move menu_driver_render to retroarch.c 2019-08-09 12:54:08 +02:00
twinaphex 6482a81ef5 Update menu_driver_render 2019-08-09 12:09:01 +02:00
twinaphex 82168c0925 Start preparing to move menu_driver_render 2019-08-09 11:59:46 +02:00
twinaphex 881ef63b63 Cleanups 2019-08-09 11:43:35 +02:00
Twinaphex da1ff54ddd Merge pull request #9244 from DEX357/patch-37
Update msg_hash_pl.h
2019-08-08 20:15:14 +02:00
Twinaphex 249621fa75 Merge pull request #9265 from jdgleaver/shader-menu-fix
(Menu) Prevent undefined behaviour when failing to load shaders
2019-08-08 18:53:23 +02:00
jdgleaver 6ead35b37c (Menu) Prevent undefined behaviour when failing to load shaders 2019-08-08 17:02:32 +01:00
twinaphex ecbd58d3af Small cleanup 2019-08-08 17:04:45 +02:00
twinaphex faa55b4dff glslang_read_shader_file - potential leak here 2019-08-08 16:55:39 +02:00
twinaphex b282125107 Revert "Refactor code for glslang shader presets - buffer entire file"
This reverts commit 0fee6a9ef4.
2019-08-08 16:36:34 +02:00
twinaphex 83c113cb59 Cleanups 2019-08-08 14:57:28 +02:00
twinaphex 211e664e5d (GX2) Cleanups 2019-08-08 14:54:21 +02:00
twinaphex 7977570bc8 Cleanup 2019-08-08 14:32:14 +02:00
Twinaphex 3c2df78caf Merge pull request #9264 from ToadKing/errno_codes
emscripten: add hack to prevent ERRNO_CODES from being optimized away
2019-08-08 05:08:43 +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 0fee6a9ef4 Refactor code for glslang shader presets - buffer entire file
into memory before passing it on
2019-08-08 04:55:22 +02:00
Twinaphex 05fecc4e15 Merge pull request #9263 from RobLoach/ozone-tic80-sidebar
ozone: Fix TIC-80 becoming '0' in playlist
2019-08-08 01:56:45 +02:00
Rob Loach 1a34ec14ac ozone: Fix TIC-80 becoming '0' in playlist
Fixes #9234
2019-08-07 17:34:33 -04:00
Brad Parker db53e54b15 cleanup 2019-08-07 14:46:47 -04:00
Twinaphex 265974e4c7 Merge pull request #9261 from jdgleaver/video-shader-parse
(video_shader_parse) Optimise parsing of (non-slang) shader parameters
2019-08-07 20:39:44 +02:00
Brad Parker b97069aa6d opengl: remove unnecessary second check for requested version at the end, add ES1/2 version checks when built with ES3, add 3.1/3.0 version checks 2019-08-07 12:24:24 -04:00
jdgleaver bcfc5db7d8 (video_shader_parse) Optimise parsing of (non-slang) shader parameters 2019-08-07 17:19:18 +01:00
Twinaphex 708a87247d Merge pull request #9258 from ToadKing/emscripten-fix
emscripten: Fix GLSL not being built in
2019-08-07 04:07:30 +02:00
twinaphex 99e0d7c54a Cleanups 2019-08-07 04:05:12 +02:00
Brad Parker 7b96ee1a31 windows buildfix 2019-08-06 22:01:49 -04:00
Toad King 2874c5ee6e emscripten: Fix GLSL not being built in
fix gamepad builds to work with newer emscripten
2019-08-06 20:51:18 -05:00
Brad Parker 1c1db0a7de opengl: add missing 4.x versions to try, fail early if requestion version does not work 2019-08-06 17:53:15 -04:00
Twinaphex b322acd935 Merge pull request #9255 from jdgleaver/manage-history-favourites
Add history/favourites to 'Playlist Management' menu
2019-08-06 23:11:17 +02:00
jdgleaver ad11e7cc63 Add history/favourites to 'Playlist Management' menu 2019-08-06 16:53:52 +01:00
DEX357 9b24434ea0 Update msg_hash_pl.h 2019-08-05 19:06:00 +02:00
Brad Parker 7479245875 opengl: loop through highest available versions to find a working one, only do hwapi check on glx/wgl for now 2019-08-05 10:46:17 -04:00
Twinaphex 22a62363b3 Merge pull request #9249 from Tatsuya79/patch-1
typo
2019-08-05 02:22:12 +02:00
Tatsuya79 924a898e1d typo 2019-08-05 01:24:50 +02:00
Twinaphex 53ee8e0b61 Merge pull request #9247 from jdgleaver/ozone-transparent-thumbs
(Ozone) Fix display of (semi-)transparent thumbnails
2019-08-04 23:12:32 +02:00
jdgleaver c341a8a019 (Ozone) Fix display of (semi-)transparent thumbnails 2019-08-04 12:11:09 +01:00
twinaphex 1cd281fb37 Cleanups when compiling with --disable-networking 2019-08-04 08:32:18 +02:00
DEX357 56fca34066 Update msg_hash_pl.h 2019-08-03 23:05:21 +02:00
DEX357 7c60563c8c Update msg_hash_pl.h 2019-08-03 22:40:40 +02:00
twinaphex 7f59161156 Cleanup 2019-08-03 09:49:48 +02:00
twinaphex 7508cd5a73 Cleanups 2019-08-03 09:37:22 +02:00
twinaphex f111ad893b Cleanup 2019-08-03 08:45:50 +02:00
Brad Parker 5247c214ff Qt: word-wrap core option tooltips 2019-08-02 18:43:04 -04:00
Brad Parker 1580a611d6 Qt: add core option sublabels as tooltips, add buttons to reset one/all core options 2019-08-02 17:48:31 -04:00
twinaphex c82693037f Cleanups 2019-08-02 21:15:54 +02:00
twinaphex e04e8948f5 Combine two RARCH_LOGs 2019-08-02 21:09:05 +02:00
Twinaphex 55202294e0 Merge pull request #9108 from p-sam/libnx-audren-driver
(Switch) Libnx audren based audio driver
2019-08-02 19:10:21 +02:00
p-sam badda24c12 (Switch) audren based audio drivers (libnx only) 2019-08-02 17:01:36 +00:00
twinaphex 70e54b2763 Get rid of unnecessary functions 2019-08-02 18:25:21 +02:00
twinaphex 9517f69a0a Cleanup core_option_manager_flush 2019-08-02 18:17:38 +02:00
twinaphex a097ad8a2e Cleanups 2019-08-02 17:44:04 +02:00
twinaphex 7a2d09b4bf Cleanups/rewrites 2019-08-02 17:41:26 +02:00
Twinaphex 090063cc35 Merge pull request #9240 from jdgleaver/options-per-core
Add option to save core options per-core
2019-08-02 17:18:28 +02:00
jdgleaver 2fc8f5b0bf Add option to save core options per-core 2019-08-02 15:44:51 +01:00
bparker06 56ef7eb229 cue tokens are case-insensitive 2019-08-01 19:16:18 -04:00
Brad Parker 9022565efe Makefile: NEED_XX_LINKER might already be set in the environment 2019-08-01 10:51:04 -04:00
Brad Parker 0008b29e4f Update CHANGES.md 2019-08-01 10:46:20 -04:00
Brad Parker cb2be97e7d fix unused warning, add extra info to cdrom print 2019-07-31 17:51:58 -04:00
Brad Parker f3faecdb27 scanner: skip archive files with no CRC instead of looping forever 2019-07-31 12:41:49 -04:00
Ömercan Kömür e86b873c1b Merge pull request #3 from libretro/master
updates
2019-07-31 16:23:51 +03:00
twinaphex de4f3dc6af (PS2 audio) Cleanups 2019-07-31 14:41:50 +02:00
Twinaphex cf71d50424 Get rid of unused variable 2019-07-31 14:30:06 +02:00
Twinaphex c398840e5c Merge pull request #9232 from jdgleaver/changes-update
Update CHANGES.md
2019-07-31 13:37:34 +02:00
jdgleaver a0c6cf5f83 Update CHANGES.md 2019-07-31 12:18:21 +01:00
twinaphex 8c06fa8271 Buildfix 2019-07-31 13:12:04 +02:00
Twinaphex 4c05047ed7 Merge pull request #9215 from DEX357/patch-32
Update msg_hash_pl.h
2019-07-31 13:02:08 +02:00
Twinaphex 29cdf728ff Update CHANGES.md 2019-07-31 12:37:30 +02:00
Twinaphex b0e283e64d Merge pull request #9227 from DEX357/patch-33
Update msg_hash_pl.h
2019-07-31 12:36:59 +02:00
Twinaphex 0297f69e98 Merge pull request #9229 from jdgleaver/favourites-size
Add independent 'favourites' playlist size setting
2019-07-31 12:35:15 +02:00
jdgleaver 9617856c5c Remove favourites init/deinit from command event, and replace with seperate functions in retroarch.h/.c 2019-07-31 11:32:19 +01:00
Twinaphex 58286367d7 Delete rsemaphore.h 2019-07-30 23:57:27 +02:00
Twinaphex 7ebee349ad Merge pull request #9214 from tmtvl/9107-playlist-name-sanitization
9107 playlist name sanitization
2019-07-30 21:48:30 +02:00
bparker06 8ee1e7b39f remove rsemaphore (#8645) 2019-07-30 14:53:03 -04:00
jdgleaver 5220dc9084 Add independent 'favourites' playlist size setting 2019-07-30 17:13:04 +01:00
Twinaphex 3b1ec7d30e Merge pull request #9228 from natinusala/master
menu_animation: don't update deleted tweens
2019-07-30 16:38:01 +02:00
natinusala 863fd55951 menu_animation: don't update deleted tweens 2019-07-30 14:07:06 +02:00
DEX357 276692df48 Update msg_hash_pl.h
Another subsequent corrections to the missing translation
2019-07-30 13:42:00 +02:00
Tim Van den Langenbergh 35e71ad786 Merge branch 'master' into 9107-playlist-name-sanitization 2019-07-30 12:41:19 +02:00
Brad Parker 7935cc80ee media: add function to parse cue and detect system from first data track 2019-07-30 02:37:00 -04:00
Twinaphex 5ec87f344b Merge pull request #8825 from libretro/changes-periodmarks
Remove periods in CHANGES.md
2019-07-30 06:45:11 +02:00
twinaphex 01d0ed5c3e config_load_remap - cleanups 2019-07-30 03:05:12 +02:00
Twinaphex 2314cc65c2 Merge pull request #9225 from altiereslima/master
Update Portuguese Brazilian Translation
2019-07-30 02:45:04 +02:00
twinaphex 21a0bf64da Simplify config_load_remap 2019-07-30 02:44:49 +02:00
Altieres 7bc75db61c Update Portuguese Brazilian Translation 2019-07-29 20:37:24 -03:00
Twinaphex 0ae7560026 Merge pull request #9206 from orbea/sixel
qb: Use check_val for caca and sixel.
2019-07-29 22:48:55 +02:00
Brad Parker 80cb762cdb samples/tasks/database buildfix 2019-07-29 16:30:53 -04:00
Brad Parker a191112634 cdrom: add PC Engine CD detection 2019-07-29 15:11:28 -04:00
Brad Parker 39187f33b1 cdrom: print fix 2019-07-29 14:15:24 -04:00
twinaphex 8e3350130c Cleanups 2019-07-29 20:13:52 +02:00
twinaphex b5c39a6e5e Cleanup input_config_get_device_count 2019-07-29 20:10:42 +02:00
Brad Parker 6cf3b0b769 cdrom: fix prints 2019-07-29 14:08:32 -04:00
Brad Parker 1977bc9d4a add NEED_GOLD_LINKER Makefile option, cdrom: increment count for extra fields to avoid "no entries" if system is not detected 2019-07-29 13:38:51 -04:00
Tim Van den Langenbergh d3a98fea79 Make wording of messages for label display mode clearer.
Use strlcpy for safety in sanitization.
Change label sanitization to use the No-Intro conventions.
Remove integer manipulation of enums for hash strings.
Add handler for start button on label display mode.
2019-07-29 19:08:15 +02:00
Twinaphex d50488b2b9 Merge pull request #9221 from orbea/qb3
qb: Clean up.
2019-07-29 18:48:24 +02:00
orbea 91f486b255 qb: Clean up. 2019-07-29 07:24:10 -07:00
Twinaphex 22942a06bd Merge pull request #9219 from orbea/help
qb: Don't create config.log with ./configure --help.
2019-07-29 10:26:33 +02:00
twinaphex 68a9fe0db9 Optimize GET_VARIABLE 2019-07-29 09:27:16 +02:00
orbea 474f2a83e7 qb: Don't create config.log with ./configure --help. 2019-07-28 22:12:26 -07:00
Twinaphex 72cccf9ca5 Merge pull request #9211 from orbea/opts
qb: Refactor how config.h and config.mk are created.
2019-07-29 04:31:04 +02:00
Twinaphex 77634fab6d Merge pull request #9212 from DEX357/patch-31
Update msg_hash_pl.h
2019-07-29 02:48:25 +02: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
DEX357 fd59b065d3 Update msg_hash_pl.h 2019-07-28 23:41:46 +02:00
DEX357 688e112930 Update msg_hash_pl.h 2019-07-28 23:39:03 +02:00
DEX357 91e6c29e50 Update msg_hash_pl.h 2019-07-28 23:35:07 +02:00
DEX357 1d5fd9f9fc Update msg_hash_pl.h 2019-07-28 23:31:12 +02:00
Tim Van den Langenbergh 73eb9adb09 Add the new labels to the various language files. 2019-07-28 21:52:37 +02:00
orbea 93e3248949 qb: Retain HAVE_NO variables.
Fixes a small oversight, nothing is using this code anyways so
I didn't notice at first.
2019-07-28 08:00:22 -07:00
orbea 59cb198dda qb: Make sure CONFIG_OPTS only contains HAVE_ variables. 2019-07-28 07:59:41 -07:00
orbea 13cf3cdef2 qb: Refactor how config.h and config.mk are created.
This is a potential security issue.

The problem is that config.h and config.mk are populated with
all variables prefixed with 'HAVE_' from the user's environment.

Example:

  $ HAVE_FOO=yes ./configure
  $ grep FOO config.mk
  HAVE_FOO = 1
  $ grep FOO config.h
  #define HAVE_FOO 1

After this commit these files will only use variables set by
qb configure process and not from the user's environment. This
issue could result in hard to diagnose undefined behavior or
maybe worse?

The user should experience no change in behavior, but
developers should be more careful about setting 'HAVE_'
variables manually.

Unless the FOO variable is used by check_enabled ($2 only),
check_platform, check_lib, check_pkgconf, check_header,
check_macro or check_switch functions it should be set at
least once by the new add_opt function. The first argument
should be 'FOO' which matches the HAVE_FOO variable and the
second argument should contain 'auto', 'no' or 'yes'.

Example:

  add_opt FOO yes

When in doubt its safe to use add_opt. This will also fix a
few potential issues where configure arguments used by the
user are ignored.

When the second argument is not set the FOO variable will only
be used to populate config.h and config.mk with its current
value. This should only be done in qb/qb.libs.sh in functions
that set 'HAVE_' variables.
2019-07-28 07:59:41 -07:00
Tim Van den Langenbergh 771134eb52 More C89 compatibility fixes 2019-07-28 15:52:48 +02:00
Tim Van den Langenbergh 6bd79acc5d Fix C89 support. 2019-07-28 14:55:21 +02:00
Tim Van den Langenbergh c69c3f4c47 Fix build for ISO C 90. 2019-07-28 13:42:07 +02:00
Tim Van den Langenbergh 6d5960c166 Fix label_sanitization.c typo 2019-07-28 13:41:20 +02:00
Tim Van den Langenbergh 8bbfd52a5e Implement changes for Android, Xcode, C89 & CXX.
Fix bad match in removal of parens and brackets.
Use libretro string comparison features instead of a long char-wise
comparison.
2019-07-28 12:39:00 +02:00
twinaphex eb3753ee3c (XInput/DirectInput) Show device disconnect messages when unplugging a gamepad 2019-07-28 06:42:30 +02:00
Tim Van den Langenbergh 55f4c04ff2 Add label_display_mode to playlist.
Add label_display_mode to JSON format.
Add label_display_mode to old playlist format.
Add label_display_mode to configuration.
Add label sanitization functions to libretro common.
2019-07-28 01:22:46 +02:00
Tim Van den Langenbergh fcf5d6bcdd Add sanitization settings to playlist.
Add sanitization functions to libretro-common.
Add sanitization functionality to menu display.
2019-07-28 01:14:40 +02:00
DEX357 65b17ab518 Update msg_hash_pl.h 2019-07-28 00:27:08 +02:00
DEX357 6a43f970e7 Update msg_hash_pl.h 2019-07-28 00:09:46 +02:00
DEX357 84116971fb Update msg_hash_pl.h 2019-07-27 23:55:37 +02:00
DEX357 4c7946a217 Update msg_hash_pl.h
Fix PLup
2019-07-27 23:19:21 +02:00
Twinaphex b3915e8d22 Merge pull request #9209 from yoshisuga/ios_fix_resolve_path
iOS: call pathname expand before abbreviating to ensure playlist saves with correct path
2019-07-27 22:49:03 +02:00
Yoshi Sugawara 73ce349682 iOS: call pathname expand before abbreviating to ensure playlist saving works when saving an entry from a playlist to another playlist. 2019-07-27 09:26:36 -10:00
Twinaphex 3677170ca3 Merge pull request #9205 from orbea/osx
Update version number to 1.7.7.
2019-07-27 13:26:50 +02:00
orbea 4c121523aa qb: Use check_val for caca and sixel. 2019-07-27 00:57:06 -07:00
orbea 2a74a7e0d6 Update version number to 1.7.7. 2019-07-27 00:35:51 -07:00
twinaphex 91ef99f9b7 Restore this 2019-07-27 04:28:50 +02:00
twinaphex d28cadef01 Cleanups; turn more functions into static functions 2019-07-27 04:13:33 +02:00
twinaphex bcdc759b3e (SPIRV-Cross) Buildfix 2019-07-27 03:44:32 +02:00
twinaphex b4ec860bb3 (SPIRV-Cross) Temporary buildfix for homebrew WiiU toolchain 2019-07-27 02:50:21 +02:00
Twinaphex 6e14020e2d Merge pull request #9204 from orbea/ps2
Try to fix the ps2 zlib build.
2019-07-27 02:36:04 +02:00
orbea 4418f588ee Try to fix the ps2 zlib build. 2019-07-26 17:30:54 -07:00
Twinaphex c260b19640 Merge pull request #9203 from orbea/ant
travis: Test android builds.
2019-07-27 02:22:32 +02:00
twinaphex 65b4c2595e Update set keyboard mapping code for input driver 2019-07-27 02:21:24 +02:00
twinaphex d80dee882f Remove two RARCH_LOG lines 2019-07-27 00:42:08 +02:00
orbea 0e6ec8a887 travis: Try assembleNormalRelease. 2019-07-26 13:33:11 -07:00
orbea 347f13d05e travis: Test android builds. 2019-07-26 12:22:03 -07:00
twinaphex 4df62acac4 Get rid of this check 2019-07-26 20:50:40 +02:00
twinaphex 8a4d3f7431 (XAudio 2.8) Audio device selection can now be set 2019-07-26 20:46:11 +02:00
twinaphex 1650a03b80 Cleanup 2019-07-26 20:41:11 +02:00
twinaphex 5fa4388a4c Cleanup mmdevice_common.c - use encoding/utf functions 2019-07-26 20:34:41 +02:00
Twinaphex 46a65fb38c Merge pull request #9201 from orbea/android
Try to fix the android zlib build.
2019-07-26 18:43:40 +02:00
orbea 545ce3f483 Try to fix the android zlib build. 2019-07-26 09:23:45 -07:00
Twinaphex bd0cda9be1 Merge pull request #9200 from orbea/vita
Makefile.vita: Try to fix the build.
2019-07-26 18:01:32 +02:00
orbea 1e609a4f84 Makefile.vita: Try to fix the build.
Tries to fix multiple definition warnings.
2019-07-26 08:49:24 -07:00
twinaphex 81d276fa11 (D3D9 HLSL) Fix two warnings with cxx_BUILD 2019-07-26 17:29:53 +02:00
twinaphex 6002c7e790 (Xaudio 2.7) Add missing macros for CXX_BUILD 2019-07-26 17:28:34 +02:00
twinaphex 19bdafc355 (DSound/Wasapi/XAudio2) CXX_BUILD fixes 2019-07-26 17:22:21 +02:00
twinaphex 86728ddbf2 (WASAPI) Cleanup for audio device selection 2019-07-26 17:19:49 +02:00
twinaphex b5d11db53b (XAudio2) Device index selection now works for old
pre-XAudio 2.8 codepath
2019-07-26 17:16:24 +02:00
twinaphex 453cc3dcbd (video context driver) has_Windowed can be degraded to a simple
boolean variable
2019-07-26 06:23:20 +02:00
twinaphex dfc85f5908 Simplify win32_has_process 2019-07-26 06:10:02 +02:00
twinaphex 6b73acee4e (UWP) Buildfix 2019-07-26 04:00:49 +02:00
Twinaphex 213fd3a2e8 Merge pull request #9196 from orbea/zlib2
Clean up the builtin zlib.
2019-07-26 03:40:22 +02:00
twinaphex aa023729d0 (XAudio2) Start adding device list new/free 2019-07-26 03:39:46 +02:00
twinaphex ce37405d29 (DirectSound) Add audio device selection - can set audio_device
either by name or by index
2019-07-26 02:36:41 +02:00
orbea 983172d0c2 deps/libz: Move zutil.h back to deps.
This is an internal zlib header and should not be used by other projects.

See the comment in the file.

/* WARNING: this file should *not* be used by applications. It is
   part of the implementation of the compression library and is
   subject to change. Applications should only use zlib.h.
 */
2019-07-25 11:18:33 -07:00
orbea 0565f80ceb deps/libz: Remove uneeded files. 2019-07-25 11:18:33 -07:00
orbea 63a92a3f78 Update the zlib include directory paths. 2019-07-25 11:18:33 -07:00
orbea 84f4dcba2b Remove WANT_ZLIB. 2019-07-25 11:18:33 -07:00
Brad Parker afc2888116 cdrom: add some debug prints if we cannot find any devices 2019-07-25 14:02:28 -04:00
twinaphex d72ae6bebe (libz) Unused file 2019-07-25 18:57:04 +02:00
Twinaphex 9308b7e426 Merge pull request #9190 from natinusala/master
menu_widgets: fix crash with tasks
2019-07-25 18:02:49 +02:00
Twinaphex 1bee2b70ca Merge pull request #9195 from LazyBumHorse/shader_paths
Simplify glslang_read_shader_file() a bit
2019-07-25 17:04:32 +02:00
Brad Parker d8b99470b3 cdrom: add debug print if no sg devices were found\n 2019-07-25 09:53:53 -04:00
twinaphex d48ad5261e (WASAPI) Prevent potential leak 2019-07-25 15:51:53 +02:00
twinaphex e88f2819ca (WASAPI) Audio device can now be set either by name or by
device index
2019-07-25 15:50:48 +02:00
twinaphex 09be6eb0f4 Change HAVE_MMDEVICE_COMMON to HAVE_MMDEVAPI 2019-07-25 15:19:50 +02:00
twinaphex fab7e7cdcd Buildfix for MSVC 2005 2019-07-25 15:03:58 +02:00
twinaphex 9df36f33d8 Move mmdevice macros out of mmdevice_common.h 2019-07-25 14:57:45 +02:00
twinaphex 5cee3ca945 (MSVC2010/2012/2013/2015) Add WASAPI to MSVC2010/2012/2013/2015 2019-07-25 14:55:12 +02:00
Twinaphex f654a5f692 Merge pull request #9193 from jdgleaver/cheevos-fix
Achievements menu fixes
2019-07-25 14:31:57 +02:00
Twinaphex 68fab95e61 Merge pull request #9194 from jdgleaver/config-file-check-existence
(config_file.c) Only attempt to load config file if it exists
2019-07-25 14:31:45 +02:00
LazyBumHorse 5e0aba0589 Revert "(UWP) UWP cannot deal with relative paths, turn them into absolute"
This reverts commit 8b0f083a4e.
2019-07-25 14:31:18 +02:00
twinaphex 4f419e6b92 (Vita) Update INCLUDE_DIRS 2019-07-25 14:31:01 +02:00
jdgleaver 35cdff8704 (config_file.c) Only attempt to load config file if it exists 2019-07-25 12:25:52 +01:00
jdgleaver 14767265ba Achievements menu fixes 2019-07-25 11:49:49 +01:00
natinusala 73ff5334c5 menu_widgets: fix crash with tasks 2019-07-25 10:00:44 +02:00
twinaphex 5047d6e709 Cleanups 2019-07-25 05:47:09 +02:00
twinaphex 95c5d22c5a Split up mmdevice enumeration string list to separate
file
2019-07-25 05:42:23 +02:00
twinaphex 89657914cd Update xaudio29.h 2019-07-25 05:18:39 +02:00
twinaphex 6c10a198e9 (WASAPI) Cleanups(WASAPI) Cleanups(WASAPI) Cleanups(WASAPI)
Cleanups(WASAPI) Cleanups(WASAPI) Cleanups(WASAPI) Cleanups(WASAPI)
Cleanups(WASAPI) Cleanups
2019-07-25 03:45:33 +02:00
twinaphex b8875af0d1 (WASAPI) Cleanup all the runtime checks 2019-07-25 03:03:37 +02:00
Brad Parker 070bc8dc0a only show Disc Information if there is a cdrom drive in the system 2019-07-24 20:27:35 -04:00
Twinaphex 3f366ae4ab Cleanup unused variables 2019-07-25 00:49:44 +02:00
Twinaphex bb162fd044 Merge pull request #9191 from yoshisuga/mfi_fix_detect
iOS/tvOS/macOS: Fix autodetect for game controllers
2019-07-25 00:47:40 +02:00
Yoshi Sugawara 102f27ee80 iOS/tvOS/macOS: Fix autodetect for mFi controllers: properly call autodetect add on the connect notification, and add call to disconnect on GameController disconnect notification. 2019-07-24 11:45:42 -10:00
twinaphex 78915aedd1 (vita2d) Update header includes 2019-07-24 22:58:57 +02:00
Twinaphex f3f17771ee Merge pull request #9189 from orbea/discord
Silence discord warnings without visual studio.
2019-07-24 22:20:58 +02:00
Twinaphex 52ef1af14e Merge pull request #9137 from LazyBumHorse/realpath
replace realpath() by custom code which does not resolve symlinks
2019-07-24 22:20:38 +02:00
twinaphex aa8246bca1 Cleanup 2019-07-24 20:06:29 +02:00
twinaphex f00e92aa0a Update Makefile.common 2019-07-24 20:04:27 +02:00
twinaphex b556de9ddf Add orbis to makefile.common 2019-07-24 19:56:44 +02:00
orbea de3f80dba0 Silence discord warnings without visual studio. 2019-07-24 10:48:19 -07:00
Twinaphex 3de2e9a4b4 Merge pull request #9184 from frangarcj/new_gxm
[WIP][VITA] Improving gfx driver
2019-07-24 19:27:52 +02:00
Twinaphex eeeb920a9d Merge pull request #9188 from jdgleaver/core-option-save
When saving core option overrides, only include settings for the current core
2019-07-24 18:57:00 +02:00
twinaphex a73a1585f7 Add relative path includes 2019-07-24 18:55:54 +02:00
jdgleaver 92ae369045 When saving core option overrides, only include settings for the current core 2019-07-24 17:07:58 +01:00
twinaphex 69104602e9 Fix --disable-overlay 2019-07-24 17:58:47 +02:00
Rob Loach 831543c42a Merge branch 'master' into changes-periodmarks 2019-07-24 11:44:22 -04:00
twinaphex c03f8bfcbe Cleanups 2019-07-24 17:01:26 +02:00
twinaphex d4f7a4a17a Cleanups 2019-07-24 16:51:23 +02:00
twinaphex 741a119574 Cleanups 2019-07-24 16:41:45 +02:00
twinaphex d36f6d8a1d Turn more functions static 2019-07-24 15:02:40 +02:00
Twinaphex 021c974852 Merge pull request #9186 from OsirizX/remote_input
Fix for Remote RetroPad input
2019-07-24 14:53:25 +02:00
OsirizX 37595a9ef1 Fix for Remote RetroPad input
This commit fixes processing of Remote RetroPad input. None of the remote inputs are being executed both in menu and in game. This is due to the way current key binds are being detected which block processing of any remote input.

It's been tested using Remote RetroPad core on Android including digital dpad and analog control input.
2019-07-24 01:15:13 -07:00
Francisco José García García c9f3446a90 [VITA] Initialize vita2d_texture to 0 2019-07-24 09:27:02 +02:00
Francisco José García García 98ecdd9510 [VITA] Update Vita2D 2019-07-24 09:11:20 +02:00
twinaphex 6da7a0c19a Revert "(Xaudio2) Fix audio device index - since Windows 8, device index"
This reverts commit aeb10505c4.
2019-07-24 05:34:58 +02:00
Twinaphex 04772fd8bf Merge pull request #9181 from bparker06/hwapi
Add "required hw api" to core info files, block content loading if core is incompatible
2019-07-24 05:33:47 +02:00
Brad Parker 2db48d39f4 fix comparison 2019-07-23 23:05:09 -04:00
Brad Parker 61ab9249fc add "required hw api" to core info files, block content loading if core is incompatible with current graphics API/version 2019-07-23 22:44:45 -04:00
Brad Parker a5f5d2b328 Update Japanese translation, cdrom cleanups 2019-07-23 22:36:29 -04:00
Twinaphex 2a943ece84 Merge pull request #9179 from QuarkTheAwesome/master
(wiiu) spirv-cross requires C++ exceptions, glslang can't work
2019-07-24 04:31:35 +02:00
twinaphex aeb10505c4 (Xaudio2) Fix audio device index - since Windows 8, device index
for CreateMasteringVoice is of type LPCWSTR instead of UINT32
2019-07-24 04:10:06 +02:00
Ash Logan f5e6cddce6 (wiiu) spirv-cross requires C++ exceptions, glslang can't work
glslang has an OSDependent/Unix folder that uses a bunch of pthread 
features that aren't available here.
Bonus: tabs/spaces formatting fixes
2019-07-24 11:42:41 +10:00
twinaphex 16b65c6d61 (DirectSound) Simplify dsound_thread 2019-07-24 03:30:18 +02:00
Twinaphex a0dd3e92af Merge pull request #9178 from fpscan/master
Turkish Language Updates
2019-07-24 02:04:49 +02:00
twinaphex e6816163d1 Fix more header includes 2019-07-24 02:02:57 +02:00
twinaphex 879debb60f (retroarch.c) Rearrange variables 2019-07-23 23:50:13 +02:00
twinaphex bb9aa275b8 (DirectSound) Fix regression 2019-07-23 23:04:24 +02:00
Ömercan Kömür ef83af1d67 Turkish Language updates 2019-07-23 23:09:12 +03:00
Twinaphex 415ee50c72 Merge pull request #9177 from Datamats/remove_unneeded_includes
remove unneeded includes and small cleanup
2019-07-23 21:52:08 +02:00
Mats A da6cdf8594 remove unneeded includes and small cleanup 2019-07-23 20:38:11 +02:00
Twinaphex 5aaa51d2e4 Merge pull request #9176 from Datamats/add_defs_and_includes_from_common
add defs and includes from Makefile.common to the Makefile.libnx build params
2019-07-23 20:27:37 +02:00
Mats A 9dadb313b5 add defs and includes from Makefile.common to the build params 2019-07-23 20:23:54 +02:00
twinaphex 2750997724 (dinput) POV defines need mmsystem.h header include 2019-07-23 19:40:22 +02:00
twinaphex 5d8d6e18b2 (Dinput joypad) Prevent input going haywire once pad is disconnected 2019-07-23 18:46:40 +02:00
twinaphex f06607141d dinput_joypad_button - further cleanups 2019-07-23 18:37:28 +02:00
twinaphex 051fb92e83 (Dinput joypad) Cleanup magic numbers mess surrounding
hat code
2019-07-23 18:27:16 +02:00
twinaphex 0893d6b7b1 More header include fixes 2019-07-23 16:15:11 +02:00
twinaphex 783027ab96 (Dinput) Lots of pointless ARRAY_SIZE checks when the element size
never changes
2019-07-23 16:07:34 +02:00
twinaphex 642298c8b0 (ps4_joypad.c) C89_BUILD fixes 2019-07-23 15:47:13 +02:00
twinaphex ea4f9b4899 dinput_joypad_button - cleanups 2019-07-23 15:34:24 +02:00
twinaphex e0672e46a5 (Xinput) This variable doesn't need to be set at every button call 2019-07-23 14:32:46 +02:00
twinaphex 02876aecae Cleanups 2019-07-23 14:07:49 +02:00
twinaphex d4255b0e55 Cleanups 2019-07-23 13:59:51 +02:00
Twinaphex 1db736b13f Merge pull request #9174 from rsn8887/master
[SWITCH] Fix splitting and joining of joycon controllers
2019-07-23 12:18:52 +02:00
rsn8887 c226f0a683 [SWITCH] Fix splitting and joining of joycon controllers
Before this fix, splitting and joining of joycons only ever worked
sporadically.
2019-07-22 23:30:34 -05:00
twinaphex f80c3f4218 (WiiU) Try to define SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS 2019-07-23 05:37:45 +02:00
twinaphex fc22973587 Fix another header include 2019-07-23 05:34:14 +02:00
Twinaphex 0eb94abfba Merge pull request #9173 from orbea/sixel
Fix CXX_BUILD=1 with libsixel.
2019-07-23 05:32:37 +02:00
orbea 779fbabc79 Fix CXX_BUILD=1 with libsixel. 2019-07-22 14:24:40 -07:00
twinaphex ba79947e51 This should prevent flushing of stack issues 2019-07-22 22:40:34 +02:00
twinaphex e30a0631d9 Change to C comment 2019-07-22 22:07:22 +02:00
Twinaphex 286217394f Merge pull request #9171 from orbea/clang
Silence -Wstring-plus-int with clang.
2019-07-22 22:02:18 +02:00
orbea 043977474e Silence -Wstring-plus-int with clang.
cores/libretro-imageviewer/image_core.c:75:59: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
static const char* IMAGE_CORE_PREFIX(valid_extensions) = 1+ /* to remove the first |, the alternative is 25 extra lines of ifdef/etc */
                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cores/libretro-imageviewer/image_core.c:75:59: note: use array indexing to silence this warning
1 warning generated.
2019-07-22 12:41:14 -07:00
twinaphex fb91df562c Cleanups 2019-07-22 21:25:43 +02:00
twinaphex 45d94efdf4 Cleanups 2019-07-22 21:22:52 +02:00
Twinaphex 532a5bb571 Update CHANGES.md 2019-07-22 21:12:55 +02:00
Twinaphex cce78518ca Merge pull request #9170 from rfomin/master
D3D10/D3D11: Fix maintaining aspect ratio when resizing window
2019-07-22 21:12:29 +02:00
twinaphex 12823821ff CMD_EVENT_AUDIO_SET_NONBLOCKING_STATE - no longer necessary 2019-07-22 21:10:42 +02:00
Brad Parker 99dbc4d13e griffin: increase warning level for vc2010, fix signed/unsigned mismatch 2019-07-22 14:51:00 -04:00
Roman Fomin e01095a51b Fix maintaining aspect ratio 2019-07-23 01:33:43 +07:00
twinaphex 5eb5930838 Cleanups 2019-07-22 20:31:53 +02:00
twinaphex f3eb48d1f5 Fix MSVC warnings 2019-07-22 20:16:27 +02:00
Twinaphex 847a92c2a7 Merge pull request #9169 from orbea/clang
Silence -Wmissing-field-initializers warnings with clang.
2019-07-22 20:08:29 +02:00
Twinaphex 3f61fa3490 Merge pull request #9168 from LazyBumHorse/silence
Silence gcc compiler warnings
2019-07-22 20:08:04 +02:00
orbea 2a3695917b Silence -Wmissing-field-initializers warnings with clang.
Silences many similar warnings with -Wextra and clang.

In file included from menu/cbs/menu_cbs_ok.c:39:
menu/cbs/../../config.def.keybinds.h:109:139: warning: missing field 'def_joyaxis' initializer [-Wmissing-field-initializers]
   { true, RETRO_DEVICE_ID_JOYPAD_B,      MENU_ENUM_LABEL_VALUE_INPUT_JOYPAD_B,              RETROK_z,       NO_BTN, NO_BTN, 0, AXIS_NONE },
                                                                                                                                          ^
2019-07-22 11:03:24 -07:00
twinaphex 2e76deb3a0 Cleanups 2019-07-22 19:58:48 +02:00
twinaphex 36a48cd7f9 Turn rarch_environment_cb into static function 2019-07-22 19:44:42 +02:00
LazyBumHorse 2de6e9b43a silence compiler warnings 2019-07-22 19:27:31 +02:00
twinaphex 12cc7b3213 Turn function static 2019-07-22 19:10:27 +02:00
twinaphex cedf3dfe8e Cleanups 2019-07-22 19:06:31 +02:00
twinaphex 17c399eca0 Cleanups 2019-07-22 18:30:43 +02:00
twinaphex d27cdf90e2 The intent of command_event became muddied over time - it
should only be used for user-facing operations, not anything internal
to RetroArch that we don't want exposed to the outside through
bindable commands
2019-07-22 18:10:16 +02:00
Twinaphex 703437d984 Merge pull request #9167 from orbea/brace
Silence clang warning.
2019-07-22 16:55:39 +02:00
twinaphex ee4bee2e7f Don't go through config_get_ptr 2019-07-22 16:54:45 +02:00
orbea 371087971d Silence clang warning.
menu/menu_displaylist.c:4974:44: warning: suggest braces around initialization of subobject [-Wmissing-braces]
         media_detect_cd_info_t cd_info = {0};
                                           ^
                                           {}
1 warning generated.
2019-07-22 07:48:19 -07:00
twinaphex 8438c9650a Last file to merge into retroarch.c - from here, we
can start refactoring things to split things off into tasks
that are not crucial to the main runloop
2019-07-22 16:46:33 +02:00
Twinaphex 25f4aa9c30 Merge pull request #9165 from jdgleaver/playlist-mem-leak
Fix memory leak when JSON playlist fails to load
2019-07-22 16:14:25 +02:00
jdgleaver 1a2eeea2bd Fix memory leak when JSON playlist fails to load 2019-07-22 14:44:35 +01:00
twinaphex 7d3fa9a84d Fix some includes 2019-07-22 15:42:35 +02:00
twinaphex 8343e121be Add rule to travis.yml 2019-07-22 15:33:38 +02:00
Twinaphex 0ece9063e8 Add Travis check to build without HAVE_CDROM 2019-07-22 14:52:07 +02:00
twinaphex 0f18df5d66 (PS2) Buildfix 2019-07-22 14:45:55 +02:00
twinaphex 246fcf36d8 (WiiU) Add HAVE_SPIRV_CROSS/HAVE_GLSLANG/HAVE_SLANG 2019-07-22 14:44:59 +02:00
twinaphex 28c2082093 (libnx) Add INCLUDE_DIRS 2019-07-22 14:40:30 +02:00
LazyBumHorse 6285c05948 add resolve_symlinks parameter to path_resolve_realpath() and cleanup playlist_resolve_path() 2019-07-22 13:44:35 +02:00
LazyBumHorse 7006764c12 replace realpath() by custom code which does not resolve symlinks 2019-07-22 12:10:28 +02:00
Twinaphex 25a7f9f535 Merge pull request #9162 from orbea/defines
Makefile.common: Clean up
2019-07-22 11:48:06 +02:00
orbea 171cdd7f77 Makefile.common: Clean up
This makes usage of DEFINES, DEF_FLAGS and INCLUDE_DIRS more consistent.

* DEFINES are used for -DHAVE_FOO
* INCLUDE_DIRS are used for -Ipath/to/foo
* DEF_FLAGS are used for compiler $(FOO_CFLAGS) and other compiler arguments
2019-07-21 17:00:51 -07:00
Twinaphex 93d2a648f0 Merge pull request #9157 from orbea/egl
Makefile.common: Cleanup HAVE_EGL variables.
2019-07-22 01:23:13 +02:00
Twinaphex 1661f86ec0 Merge pull request #9154 from LazyBumHorse/shader_paths
simplify video_shader_read_conf_preset() calls
2019-07-22 01:21:47 +02:00
Twinaphex bbfe2872f5 Merge pull request #9161 from orbea/slang
qb: Enable HAVE_SLANG, HAVE_GLSLANG and HAVE_SPRIV_CROSS dynamically.
2019-07-22 01:21:13 +02:00
twinaphex bee9984745 Update all other input drivers 2019-07-22 01:20:00 +02:00
twinaphex f9f2e2f48d (Android) This should fix the hotkey binding problems 2019-07-22 00:19:05 +02:00
orbea de7bf62f86 qb: Enable HAVE_SLANG, HAVE_GLSLANG and HAVE_SPRIV_CROSS dynamically.
May help issue https://github.com/libretro/RetroArch/issues/9160.
2019-07-21 15:10:02 -07:00
orbea fb5e007e35 Makefile.common: Cleanup HAVE_EGL variables. 2019-07-21 14:10:35 -07:00
Twinaphex ccfea4007a Merge pull request #9159 from orbea/moc
Correct fix for xcode10.1.
2019-07-21 23:08:42 +02:00
orbea 7d3c616790 Correct fix for xcode10.1. 2019-07-21 14:04:27 -07:00
Twinaphex ec74fc3b84 Merge pull request #9158 from orbea/moc
Fix xcode10.1.
2019-07-21 22:57:06 +02:00
orbea c3093aff76 Fix the xcode10.1 build. 2019-07-21 13:54:23 -07:00
Twinaphex 4da54fd9e9 Merge pull request #9152 from orbea/overlay
Fix --disable-overlay.
2019-07-21 21:36:50 +02:00
orbea e13ec54dc6 Fix --disable-overlay. 2019-07-21 10:26:42 -07:00
Twinaphex 9d287a4311 Merge pull request #9153 from orbea/hid
Fix --disable-hid.
2019-07-21 18:49:14 +02:00
orbea d896acb0c2 Fix --disable-hid. 2019-07-21 09:17:09 -07:00
LazyBumHorse f8b92770d4 simplify video_shader_read_conf_preset() calls 2019-07-21 18:15:28 +02:00
Brad Parker 41b3adc8a4 cdrom: always request one sector at a time 2019-07-21 12:06:10 -04:00
twinaphex cba3eb3968 (Dinput) Refactor dinput_is_pressed 2019-07-21 17:53:51 +02:00
twinaphex f4104f5c9a Regression in
https://github.com/libretro/RetroArch/commit/9c73d3305dbb0a81e14d21e13aac65444fb3bf2d
- joykey needs to be uint64_t and then is later cast to uint16_t -
is apparently important for hotkeys
2019-07-21 16:22:41 +02:00
twinaphex 66b88b60f2 Simplify this 2019-07-21 16:06:12 +02:00
twinaphex 727d0a1683 (Xaudio2) Optimize xa_write 2019-07-21 15:49:59 +02:00
twinaphex 9b4c50a017 Cleanups 2019-07-21 14:47:24 +02:00
twinaphex 9bde8ca3e5 Remove unused functions 2019-07-21 14:34:33 +02:00
Twinaphex bc47daba5e Merge pull request #9151 from Tatsuya79/master
Show/Hide disc options.
2019-07-21 14:16:12 +02:00
twinaphex 1fe213de8c (Qt/companion UI) Driver check for ui_companion_driver comes too early inside
of menu_setting.c - have to move the check to menu_displaylist.c
instead - this fixes 'User Interface' in Qt desktop menu - was
crashing
2019-07-21 14:10:51 +02:00
twinaphex 35aa4191ac (WiiU) Add HAVE_SLANG=1 2019-07-21 13:46:51 +02:00
twinaphex c0fcf4ab17 (Dsound) Get rid of two inline functions 2019-07-21 13:31:33 +02:00
twinaphex 8919078f48 (Qt) Add HAVE_CONFIG_H to shaderparamsdialog.cpp 2019-07-21 12:32:24 +02:00
Tatsuya79 ab3ea0f3f3 Show/Hide disc options. 2019-07-21 12:16:16 +02:00
twinaphex b33eb9bacf Cleanups 2019-07-21 12:13:04 +02:00
Twinaphex af2b2b07f2 Merge pull request #9150 from orbea/glsl
qb: Improve the glsl check.
2019-07-21 11:49:09 +02:00
Twinaphex 013eb8d619 Merge pull request #9146 from orbea/win32
qb: Improve win32 checks.
2019-07-21 11:48:50 +02:00
Twinaphex e3faaa575a Merge pull request #9147 from orbea/slang
qb: Improve the slang, glslang and SPIRV-Cross checks.
2019-07-21 11:48:31 +02:00
Twinaphex 72a47797bb Merge pull request #9148 from orbea/menu
Correctly fixes --disable-menu.
2019-07-21 11:48:13 +02:00
Twinaphex 6dbc34b249 Merge pull request #9149 from orbea/metal
qb: Allow --enable-metal for osx only.
2019-07-21 11:47:45 +02:00
orbea 19774f820f qb: Improve the glsl check. 2019-07-21 00:46:14 -07:00
orbea ba1ed7aa13 qb: Allow --enable-metal for osx only. 2019-07-21 00:18:41 -07:00
orbea 2aa9c3e72e Correctly fixes --disable-menu.
Broken in d2893d991c
2019-07-21 00:05:59 -07:00
orbea a7c03df014 qb: Improve the slang, glslang and SPIRV-Cross checks. 2019-07-20 23:30:40 -07:00
orbea b893f58868 qb: Improve win32 checks. 2019-07-20 22:39:55 -07:00
twinaphex cd90760b7b Buildfix for non-HAVE_MENU targets 2019-07-21 01:13:24 +02:00
Twinaphex 6704a66a57 Merge pull request #9144 from yoshisuga/macos_fix_shader_ref
macos: fix call to video_shader_read_conf_preset
2019-07-21 00:36:14 +02:00
Twinaphex e7ba08a432 Merge pull request #9145 from yoshisuga/playlist_clean_ios_ifdefs
iOS: Clean up #ifdef HAVE_COCOATOUCH blocks related to playlist
2019-07-21 00:35:41 +02:00
twinaphex b6b22a9a32 More shader refactors - make sure we can compile entirely
without shader support if HAVE_CG, HAVE_GLSL, HAVE_SLANG
and HAVE_HLSL are all not defined
2019-07-21 00:34:07 +02:00
Yoshi Sugawara 81c8aad119 clean up #ifdef HAVE_COCOATOUCH blocks related to playlist and replace with appropriate call to playlist_resolve_path() 2019-07-20 12:16:04 -10:00
Yoshi Sugawara f292a5b9cb macos: fix call to video_shader_read_conf_preset 2019-07-20 12:08:37 -10:00
Twinaphex 388c4857d3 Merge pull request #9140 from LazyBumHorse/shader_paths
much improved handling of relative shader paths
2019-07-20 21:54:58 +02:00
twinaphex 14dfb91a60 Buildfix for C89 2019-07-20 21:33:09 +02:00
twinaphex 260b06750d It's possible to build and run D3D10/11/12 without glslang/spirv-cross -
just no frontend shaders
2019-07-20 21:23:37 +02:00
twinaphex c6c8d03f29 Take out HAVE_D3D10 rule 2019-07-20 21:07:03 +02:00
twinaphex e2e9823eb7 Revert "D3D10/11/12 can work without SPIRV-Cross/glslang - you just won't"
This reverts commit 4fcf2c42ef.
2019-07-20 21:03:09 +02:00
twinaphex 7470be6982 Revert "(MSVC 2010) Add D3D10/11/12 - they work with menu shaders, but"
This reverts commit d5d5a7d858.
2019-07-20 21:02:25 +02:00
twinaphex d5d5a7d858 (MSVC 2010) Add D3D10/11/12 - they work with menu shaders, but
no SPIRV-Cross/glslang support because those need C++11
2019-07-20 20:55:29 +02:00
twinaphex 4fcf2c42ef D3D10/11/12 can work without SPIRV-Cross/glslang - you just won't
be able to load frontend shaders
2019-07-20 20:53:28 +02:00
twinaphex 1e08b2a5de Fixes keyboard processing regression 2019-07-20 20:12:41 +02:00
twinaphex fdc204a130 Another buildfix 2019-07-20 20:01:22 +02:00
twinaphex d2893d991c Buildfixes 2019-07-20 19:59:27 +02:00
twinaphex ba40af1dde (Android) android_app_entry - cleanup 2019-07-20 18:55:23 +02:00
twinaphex 34938a33fa (Orbis) Add HAVE_GLSL 2019-07-20 18:35:32 +02:00
twinaphex 0134fdbe9a (Libnx) Set HAVE_GLSL if HAVE_OPENGL is defined 2019-07-20 18:33:59 +02:00
twinaphex 691dbb40a8 driver_update_system_av_info - refactor 2019-07-20 18:32:35 +02:00
LazyBumHorse 2245af23e9 much improved handling of relative shader paths
- save texture paths in relative format as well
 - always write portable relative paths on Windows using '/' instead of '\'
 - remove an ancient piece of code that could sometimes fail loading relative paths
 - fix absolute path handling between different drives for Windows
 - integrate video_shader_resolve_relative() into video_shader_parse_* functions
2019-07-20 18:29:46 +02:00
twinaphex 7be9aef768 (PSP) Buildfix 2019-07-20 16:56:01 +02:00
twinaphex d91905dd75 Only build video_shader_parse.c if HAVE_GLSL, HAVE_CG, HAVE_SLANG,
and/or HAVE_HLSL is defined
2019-07-20 16:50:46 +02:00
twinaphex 8fe7e3f730 (Qb) Add HAVE_DR_MP3 2019-07-20 16:42:46 +02:00
twinaphex cd9cbc0881 (qb) Add HAVE_METAL, set it to 'no' for now 2019-07-20 16:34:49 +02:00
twinaphex a0060182e3 Add more ifdefs covering HAVE_THREADS and HAVE_AUDIOMIXER 2019-07-20 16:09:39 +02:00
twinaphex efb98a8a01 Cleanup file_archive_get_file_backend 2019-07-20 16:01:56 +02:00
twinaphex 9868b4acdb Style nits 2019-07-20 15:43:12 +02:00
twinaphex 39120e8ffc Fix C89_BUILD 2019-07-20 15:17:04 +02:00
twinaphex 7b7ac06653 (playlist.c) Cleanups 2019-07-20 15:07:09 +02:00
twinaphex a4573f1dd5 (Qb) Update config.libs.sh - there are more hardware renderers now 2019-07-20 15:05:28 +02:00
Twinaphex 1e38504bf3 Merge pull request #9132 from yoshisuga/ios_fix_path_after_detect_core
[iOS]: more fixes for abbreviated paths when scanning files
2019-07-20 14:48:07 +02:00
twinaphex 13fa504919 Set these to enable by default 2019-07-20 14:06:19 +02:00
twinaphex bcb9762ec8 (qb) Add HAVE_SLANG, HAVE_SPIRV_CROSS, HAVE_GLSLANG 2019-07-20 13:52:18 +02:00
twinaphex 7fe0662918 Cleanups 2019-07-20 12:51:52 +02:00
twinaphex d905986a52 Rename functions - change rarch_ prefix to retroarch_ 2019-07-20 12:43:43 +02:00
twinaphex 16dde76a68 Cleanups 2019-07-20 12:34:49 +02:00
twinaphex 430fc16f61 Cleanups 2019-07-20 12:28:50 +02:00
twinaphex 66a44aae98 Cleanup 2019-07-20 12:04:50 +02:00
twinaphex ac47f54a8e (Win32) Not sure why menubar was disabled when threaded video is
enabled, going to assume enabling it is thread-safe
2019-07-20 11:45:28 +02:00
Yoshi Sugawara 88a4c3e21b Created method playlist_resolve_path() to keep the platform specific ifdef in one location to resolve the path for the playlist. Also fix setting the core path from the default core path. 2019-07-19 16:00:10 -10:00
Twinaphex da12d1c861 Merge pull request #9136 from MrHuu/patch-2
(CTR) Add / Update core ID's
2019-07-20 01:03:22 +02:00
twinaphex c2c7c106a1 Add conf->path for config_file_new_from_path_to_string 2019-07-20 00:39:55 +02:00
twinaphex 65a777855f Cleanups 2019-07-20 00:34:47 +02:00
twinaphex a60463fd76 (qb) Add HAVE_XAUDIO 2019-07-20 00:12:55 +02:00
MrHuu 4b8a5fb0f9 (CTR) Add / Update core ID's
Add more missing id's
2019-07-19 23:12:16 +02:00
Twinaphex f9d963b258 Merge pull request #9135 from MrHuu/patch-1
(CTR) Add ID for 4DO
2019-07-19 21:13:50 +02:00
twinaphex c4c7a1b8cc (Vulkan) Dehardcode application name 2019-07-19 20:12:12 +02:00
twinaphex b747bb22f4 Properly dehardcode program name now 2019-07-19 20:08:45 +02:00
twinaphex eebfa11528 Show UI menubar setting 2019-07-19 20:00:31 +02:00
MrHuu 70581a70b2 (CTR) Add ID for 4DO 2019-07-19 19:56:35 +02:00
twinaphex f787e77c25 Revert "Dehardcode program name string"
This reverts commit 11291cc703.
2019-07-19 19:39:51 +02:00
twinaphex b04e057b5d Revert "(Win32/Vulkan) Dehardcode more program name strings"
This reverts commit 5cefcb8327.
2019-07-19 19:39:43 +02:00
twinaphex 5cefcb8327 (Win32/Vulkan) Dehardcode more program name strings 2019-07-19 19:27:24 +02:00
twinaphex 11291cc703 Dehardcode program name string 2019-07-19 19:24:27 +02:00
twinaphex 2f2c53586c (qb) Add HAVE_CC_RESAMPLER 2019-07-19 19:03:48 +02:00
twinaphex 0b6e66f109 Update Makefile.common 2019-07-19 18:55:16 +02:00
twinaphex 78f62806f9 Only compile menu_networking.c when HAVE_NETWORKING is defined 2019-07-19 18:52:19 +02:00
twinaphex 836ce3bfbb Add HAVE_COMPRESSION ifdef 2019-07-19 18:42:20 +02:00
Twinaphex 2def1814cf Merge pull request #9134 from jdgleaver/sublabel-buf-size
Increase menu sublabel buffer size + fix Ozone sublabel spacing
2019-07-19 18:35:24 +02:00
twinaphex c5be03c209 (Qb) Add winmm switch 2019-07-19 17:53:19 +02:00
twinaphex 0ad02dc72d (Qb) Add way to exclude WASAPI 2019-07-19 17:31:08 +02:00
twinaphex 0cd4f6623f (qb) Add HAVE_DSOUND option 2019-07-19 17:18:51 +02:00
jdgleaver 0b6ced74ac Increase menu sublabel buffer size + fix Ozone sublabel spacing 2019-07-19 16:04:16 +01:00
twinaphex 42783fb225 (Qt) Combine some files into one 2019-07-19 16:02:00 +02:00
Twinaphex db6a4f8368 (UI Companion) Get rid of unused iterate function callback 2019-07-19 13:59:07 +02:00
twinaphex a92bac4cea Fix last warning 2019-07-19 13:42:35 +02:00
twinaphex 10d40cc2e8 Fix some dangerous warnings 2019-07-19 13:41:32 +02:00
twinaphex f9a2a79f5d Rename const variables to macros 2019-07-19 13:30:11 +02:00
twinaphex 433a27b76a (config.def.h) Turn more into macros 2019-07-19 13:20:13 +02:00
twinaphex fdf28e5259 Turn more default values into macros 2019-07-19 13:14:29 +02:00
twinaphex d7e1099a97 Set default refresh rate to 60Hz 2019-07-19 13:06:07 +02:00
twinaphex 5de9f85533 Cleanups 2019-07-19 13:01:45 +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 04bcef01b8 (MSVC 2005) Fix NoAccel targets 2019-07-19 12:06:58 +02:00
Twinaphex 88a668f8a9 Merge pull request #9130 from ZornTaov/patch-1
Update libretro-db/README.md
2019-07-19 00:17:52 +02:00
twinaphex e1ab933bf2 (Android) These arrays should be at least as big as MAX_USERS 2019-07-18 23:40:32 +02:00
ZornTaov 450feb46cc Update libretro-db/README.md
Looking through libretro-db/query.c I discovered the b prefix to strings that turns the string into binary, this is useful for searching up hexadecimal hashes.  This information was not described in the documentation, so I've added it before the Names only search to group with the other find commands, though it will work with get-names as well.
2019-07-18 14:02:17 -07:00
Ömercan Kömür 797063cc78 Merge pull request #2 from libretro/master
updates
2019-07-18 23:51:36 +03:00
twinaphex 44efbd47c2 Prevent null pointer dereference 2019-07-18 21:00:35 +02:00
twinaphex 61746c8179 (Android) Refactor android_input_set_rumble to be safer 2019-07-18 20:47:51 +02:00
Twinaphex f9f118271a Merge pull request #9127 from fpscan/master
Turkish Language Updates
2019-07-18 19:27:44 +02:00
Twinaphex 2cb501930d Merge pull request #9126 from LazyBumHorse/playlist
fix use of filestream_getc in playlist format detection
2019-07-18 19:27:34 +02:00
twinaphex da29fd61bb (shader_vulkan.cpp) Fix another 'declaration hides parameter' warning 2019-07-18 19:25:25 +02:00
twinaphex c85707336b Fix LGTM warning - declaration hides parameter 2019-07-18 19:07:27 +02:00
twinaphex b2946f4f1e egl_swap_buffers - be safer 2019-07-18 18:54:26 +02:00
Twinaphex 68872f7f55 Merge pull request #9128 from jdgleaver/xmb-sublabel-ticker
(XMB) Fix display of long sublabels
2019-07-18 18:52:16 +02:00
twinaphex 18e67c12c7 (GLSL) Set prg ID to 0 after running glDeleteProgram 2019-07-18 18:31:37 +02:00
twinaphex 09c727c0ee (Android) Fix one potential crash on older Android 2019-07-18 18:16:52 +02:00
jdgleaver 7822a2d611 (XMB) Fix display of long sublabels 2019-07-18 16:58:43 +01:00
twinaphex 9e39220390 Turn function static 2019-07-18 17:35:41 +02:00
twinaphex 0cdfd4c542 Use config_file_new_from_path_to_string entirely 2019-07-18 16:15:02 +02:00
Ömercan Kömür eca9a3d883 typo 2019-07-18 14:12:36 +03:00
Ömercan Kömür dc4454c941 Turkish Language Updates 2019-07-18 14:11:04 +03:00
twinaphex 4ba98f2af5 Remove unused variables 2019-07-18 12:16:28 +02:00
twinaphex c0787accc3 Use config_file_new_from_path_to_string 2019-07-18 12:13:09 +02:00
twinaphex 41a2fabb4e Create config_file_new_from_path_to_string 2019-07-18 12:03:50 +02:00
LazyBumHorse 43a1e2b6d8 fix use of filestream_getc in playlist_read_file 2019-07-18 11:00:59 +02:00
Twinaphex d77488cd89 Merge pull request #9125 from LazyBumHorse/win7
fix hanging window under Windows 7 in threaded video mode
2019-07-18 10:46:45 +02:00
Twinaphex d201caa64c Merge pull request #9123 from yoshisuga/ios_fix_menu_for_load_playlist
[iOS] show quickmenu after loading content from playlist (#9118)
2019-07-18 07:14:50 +02:00
Yoshi Sugawara 8862e8de9f [iOS] show quickmenu after loading content from playlist (#9118) 2019-07-17 17:08:23 -10:00
Ömercan Kömür 06d8bbdada Merge pull request #1 from libretro/master
updates
2019-07-18 02:02:04 +03:00
twinaphex a465971556 core_info_get_display_name - use config_file_new_from_string 2019-07-18 00:43:03 +02:00
twinaphex 41481dfc73 Add media_detect_cd.c 2019-07-17 23:34:26 +02:00
LazyBumHorse 208d23b39d fix hanging window under Windows 7 with threaded video 2019-07-17 23:27:43 +02:00
twinaphex 4c276feb4a Update 2019-07-17 23:16:25 +02:00
twinaphex ff2f2222e5 Revert "Revert "Simplify win32_process_events""
This reverts commit 0b46e685f1.
2019-07-17 23:11:09 +02:00
twinaphex 0b46e685f1 Revert "Simplify win32_process_events"
This reverts commit 13bfb9710b.
2019-07-17 23:08:18 +02:00
twinaphex 801b0742d8 (UI application) We don't use pending_events - get rid of it 2019-07-17 22:08:11 +02:00
twinaphex 13bfb9710b Simplify win32_process_events 2019-07-17 21:53:44 +02:00
twinaphex 876aca8817 (fopen_utf8.c) Cleanup 2019-07-17 21:03:38 +02:00
twinaphex cb06405293 open_default_config - small cleanups 2019-07-17 20:20:39 +02:00
twinaphex 0f574c0b9a Cleanups - turn some function callbacks static 2019-07-17 20:04:08 +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 9eb61f0370 Merge pull request #9122 from orbea/ios
Fix the iOS 11 build.
2019-07-17 15:40:43 +02:00
orbea ae6ea28220 Fix the iOS 11 build.
Fixes https://github.com/libretro/RetroArch/issues/9120.
2019-07-17 06:32:00 -07:00
twinaphex 751c2a1069 Fix issue with load_content_info 2019-07-17 06:00:24 +02:00
twinaphex 22c5cafe6a menu_shader_manager_init - cleanups 2019-07-16 20:29:15 +02:00
twinaphex 5682eee276 core options manager - use config_file_from_string 2019-07-16 19:45:59 +02:00
twinaphex 35a3d4ba73 (task_overlay) Use config_file_from_string 2019-07-16 19:32:27 +02:00
twinaphex 85fdd5fbd1 (menu_shader) use config_file_from_string 2019-07-16 19:24:42 +02:00
twinaphex 319e708738 core_info_list_iterate - use config_file_from_string 2019-07-16 19:01:43 +02:00
twinaphex f73e4e9af8 (Autoconfig) Try to avoid implicit fgets calls which are slow (inside
config_file_new and filestream_getline) - instead, read the entire
file into a memory buffer once and then pass it to
config_file_new_from_string - went from 14000 ticks to 9000 ticks
on an NVME M2 SSD, so big gains
2019-07-16 18:35:44 +02:00
twinaphex 26788850ae (linuxraw) linuxraw_analog_pressed - reimplement to avoid LGTM warnings 2019-07-16 16:54:18 +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
twinaphex 0257e01bee Refactor input_autoconfigure_connect - don't return
value - set input device name upon failure implicitly
2019-07-16 15:28:22 +02:00
twinaphex 67c70de8f3 (Drivers joypad) Cleanups 2019-07-16 14:41:09 +02:00
twinaphex f1ea1f1845 (Drivers joypad) Cleanups 2019-07-16 14:39:31 +02:00
twinaphex bf80376d27 Style nits 2019-07-16 14:34:37 +02:00
twinaphex de8baf7bec Cleanups 2019-07-16 14:00:46 +02:00
twinaphex 31766b7245 Buildfix for targets that only define HAVE_RUNAHEAD and not
HAVE_DYNAMIC at the same time
2019-07-16 13:50:19 +02:00
twinaphex 61c49a025e input_state - cleanup 2019-07-16 12:47:55 +02:00
twinaphex 31426b00b9 Cleanup input_state 2019-07-16 11:43:35 +02:00
twinaphex 724f623c8a Refactor input_state_device - overlay code is not implemented
for every device - like MOUSE/POINTER
2019-07-16 11:22:47 +02:00
twinaphex 32add9c3c2 Refactor this 2019-07-16 10:52:33 +02:00
twinaphex 0862700577 Split up core_input_state_poll into two - one for late polling,
one for early/normal
2019-07-16 10:51:13 +02:00
twinaphex 60f77cd903 Change core_set_poll_type 2019-07-16 10:10:49 +02:00
twinaphex 195b016293 (Autoconfig task) Store 'best config' so that we don't have to
call config_file_new again once we have queried all the autoconfig
profiles
2019-07-16 09:55:35 +02:00
Brad Parker 84ac0dbc5b cdrom: skip retries for MODE SENSE command 2019-07-16 00:46:02 -07: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 e53d4987b4 Combine copy_load_info.c into retroarch.c 2019-07-16 01:56:09 +02:00
Brad Parker cc3b44f7ba cdrom: fix warnings, use dot for frame notation in disc info 2019-07-15 17:16:30 -04:00
twinaphex 0a674a9a04 Move frontend.c into retroarch.c 2019-07-15 22:13:55 +02:00
twinaphex 2f7050edef Remove ui companion null 2019-07-15 21:06:48 +02:00
twinaphex 486f1b5574 Update CHANGES.md 2019-07-15 20:27:57 +02:00
twinaphex 45abbc6ac5 Cleanups 2019-07-15 20:18:37 +02:00
Brad Parker cfc56bbad3 media: add Dreamcast detection, add version/release date to disc info for saturn and dreamcast 2019-07-15 12:24:31 -04:00
Brad Parker e843354b14 cdrom: use sys/ioctl header instead of stropts 2019-07-15 10:38:54 -04:00
Twinaphex 2a89ca332f Merge pull request #9114 from barbudreadmon/patch-4
fix return value of rfread when elem_size isn't 1
2019-07-15 14:32:16 +02:00
barbudreadmon 674da847ef fix return value of rfread when elem_size isn't 1 2019-07-15 09:47:31 +02:00
twinaphex f5dc1b653d More CXX_BUILD buildfixes 2019-07-15 08:24:43 +02:00
twinaphex 8660994765 CXX_BUILD buildfix 2019-07-15 08:03:33 +02:00
Brad Parker 534b9125a9 cdrom: C89 fix, timeout calculation fix 2019-07-15 00:55:06 -04:00
twinaphex 28c40ffab6 Revert "Revert "Improve vfs_implementation""
This reverts commit 1d5049294a.
2019-07-15 06:49:33 +02:00
twinaphex dca848df52 Revert "Revert "(VFS) Add codepath for MSVC CDROM code""
This reverts commit 651774daf1.
2019-07-15 06:49:20 +02:00
twinaphex 651774daf1 Revert "(VFS) Add codepath for MSVC CDROM code"
This reverts commit 7fb8965416.
2019-07-15 06:48:25 +02:00
twinaphex 1d5049294a Revert "Improve vfs_implementation"
This reverts commit bb29b87ac3.
2019-07-15 06:48:06 +02:00
twinaphex bb29b87ac3 Improve vfs_implementation 2019-07-15 06:43:37 +02:00
twinaphex 7fb8965416 (VFS) Add codepath for MSVC CDROM code 2019-07-15 06:30:57 +02:00
Brad Parker 30c3b1ea9d cdrom: add Disc Information details 2019-07-15 00:23:20 -04:00
twinaphex ad5773a031 Propagate 'label' as path for CDROM info detail list 2019-07-15 02:41:58 +02:00
twinaphex df55abc65b Turn these two off for modets size improvements 2019-07-14 19:06:57 +02:00
twinaphex 175af12a53 (mbedtls) undefine MBEDTLS_SELF_TEST 2019-07-14 19:03:13 +02:00
twinaphex 8914e289e1 Add missing forward declarations 2019-07-14 19:00:21 +02:00
twinaphex cd244371b9 Cleanups 2019-07-14 18:56:18 +02:00
twinaphex d80b85b158 Cleanups 2019-07-14 18:52:51 +02:00
twinaphex 9cc055bf93 Not necessary for content_ctx to be passed either 2019-07-14 18:26:18 +02:00
twinaphex 58417e56b7 Update task_push_to_history_list 2019-07-14 18:23:46 +02:00
twinaphex 484b2bc944 Split up task_load_content into two - one does the actual file
loading, the other simply pushes an entry to the history playlist
2019-07-14 18:21:46 +02:00
twinaphex cfc4183961 menu_displaylist_parse_information now properly returns count 2019-07-14 16:40:12 +02:00
twinaphex 1210ab9383 Add HAVE_CDROM ifdef 2019-07-14 16:36:28 +02:00
twinaphex 162695956f Cleanups 2019-07-14 16:00:54 +02:00
twinaphex fdd8dd65ce Cleanups 2019-07-14 15:48:44 +02:00
twinaphex 8a70f3f4cb Cleanup 2019-07-14 15:35:49 +02:00
Twinaphex 68c8a83cde Merge pull request #9110 from theheroGAC/patch-44
Update italian language
2019-07-14 13:31:50 +02:00
twinaphex 288523765a Fix LTGM errors - 'wrong type of arguments to formatting function' 2019-07-14 13:22:59 +02:00
twinaphex 594dd84e6e Fix 'declaration hides parameter' 2019-07-14 13:21:14 +02:00
twinaphex bcc72aca7c Fix 'declaration hides parameter' 2019-07-14 13:19:24 +02:00
twinaphex 339e043ff2 Fix 'declaration hides parameter' 2019-07-14 13:17:51 +02:00
twinaphex 2e3162cdca Fix 'declaration hides parameter' 2019-07-14 13:15:55 +02:00
twinaphex 31f142ef9c (task_powerstate.c) Fix 'local variable state hides a global variable
with the same name'
2019-07-14 13:11:11 +02:00
twinaphex 8ef251acbf Get rid of (unused) global variables that were shadowing local variables 2019-07-14 13:06:47 +02:00
theheroGAC b089889188 Update msg_hash_it.h 2019-07-14 11:42:38 +02:00
theheroGAC d7f108795d Update msg_hash_it.h 2019-07-14 08:29:55 +02:00
twinaphex e8e4a141de Add HAVE_AUDIOMIXER for Gamecube/Wii 2019-07-13 18:38:15 +02:00
bparker06 a6accec402 Merge pull request #9102 from orbea/cdrom
qb: Improve the CDROM check.
2019-07-13 10:40:27 -04:00
twinaphex 6bc0f0fcbd (config_file) Be more safe with free 2019-07-13 15:23:28 +02:00
Twinaphex 5dca2234cd Merge pull request #9094 from alphanu1/master
Updates Porches and Super width
2019-07-13 07:47:14 +02:00
Twinaphex bd13c48a6b Merge pull request #9104 from jdgleaver/3ds-assets-update-2
(3DS) Update assets (round 2)
2019-07-13 07:46:38 +02:00
Twinaphex fda7218274 Merge pull request #9105 from DiscoStarslayer/vita-enable-runahead
vita: Enable runahead on vita builds
2019-07-13 06:30:08 +02:00
Darren Thompson 5d7806632c vita: Enable runahead on vita builds 2019-07-12 20:11:07 -04:00
jdgleaver 87f01a9170 (3DS) Update assets (round 2) 2019-07-12 23:15:38 +01:00
orbea 76e130a988 qb: Fix the CDROM check.
This improves the CDROM check.

Fixes https://github.com/libretro/RetroArch/issues/9096
2019-07-12 11:35:22 -07:00
orbea 89a8202dc5 qb: Extend check_platform.
This extends the check_platform function to support checking more
than one OS for each feature.

This also adds the match helper function to qb.init.sh to compare
one variable against a list of variables.
2019-07-12 11:35:22 -07:00
Twinaphex 0947e27a32 Merge pull request #9101 from jdgleaver/core-options-default
Add ability to manually set default core option values when using the new v1 core options interface
2019-07-12 19:41:58 +02:00
Twinaphex 91558822e1 Merge pull request #9100 from jdgleaver/hide-core-options
An environment callback for selectively hiding core options
2019-07-12 19:28:48 +02:00
jdgleaver 0476901ca5 Add ability to manually set default core option values when using the new v1 core options interface 2019-07-12 18:20:19 +01:00
Twinaphex cac7e25167 Merge pull request #9099 from Wiimpathy/WiiHID
Wii: Fix HID driver
2019-07-12 18:19:13 +02:00
jdgleaver 4f3adb8d2c An environment callback for selectively hiding core options 2019-07-12 17:12:03 +01:00
benoa dacf25c1a1 Wii: Fix HID driver 2019-07-12 17:05:24 +02:00
twinaphex b7a85d392f Silence warnings 2019-07-12 16:31:16 +02:00
twinaphex e1613bba6d Cleanups 2019-07-12 16:24:09 +02:00
Twinaphex 63fc8e4583 Update CHANGES.md 2019-07-12 16:21:34 +02:00
Twinaphex a3ead56d35 Update CHANGES.md 2019-07-12 16:20:44 +02:00
Twinaphex 28b77e83ab Merge pull request #9090 from arstn/master
Making mouse pointer working in X11 environment with no Display
2019-07-12 16:19:14 +02:00
Twinaphex e8501203fb Merge pull request #9092 from jdgleaver/core-option-sublabels-v2
Core Options: Add sublabels + localisation support
2019-07-12 14:23:00 +02:00
jdgleaver bb8636862f Fix CXX_BUILD 2019-07-12 09:52:34 +01:00
Twinaphex 1bda171bc6 Merge pull request #9097 from fpscan/master
Update msg_hash_tr.h
2019-07-12 09:44:25 +02:00
Ömercan Kömür abfd29516d Update msg_hash_tr.h 2019-07-12 06:05:31 +03:00
twinaphex 31992c221d Cleanup 2019-07-12 01:15:02 +02:00
twinaphex f739a018de file_list in image_core.c should no longer be a public scoped variable 2019-07-12 00:50:34 +02:00
twinaphex 27a65714f2 Remove some globals 2019-07-12 00:21:31 +02:00
Twinaphex 91c6bb4e78 Merge pull request #9093 from Wiimpathy/WiiFix
WII: Fix compilation
2019-07-11 22:37:39 +02:00
alphanu1 df301bcbe7 Updates Porches and Super width
Updates Porches and Super width Calculation
2019-07-11 20:50:33 +01:00
twinaphex a391f30d8b Merge commit '420b7913d45e6c69a6d24cecb6c05e7c2836cba0' 2019-07-11 20:37:45 +02:00
twinaphex 420b7913d4 Squashed 'deps/SPIRV-Cross/' changes from 8aa6731925..2820ab0b51
2820ab0b51 Merge pull request #1076 from KhronosGroup/bitcast-pre-330-glsl
63bcbd511e GLSL: Need extension to use bitcast on GLSL < 330.
9f3bebe3d0 Merge pull request #1075 from lifpan/master
b11c20fc1d Remove unreasonable assertion for OpTypeImage Sampled parameter.
1a592b7c0f Merge pull request #1067 from cdavis5e/msl-scalar-block-layout
28454facbb MSL: Handle packed matrices.
ea5c0ed82f MSL: Fix alignment of packed types.
44f688bf0b Merge pull request #1070 from KhronosGroup/fix-1066
25c74b324e Forget loop variable enables after emitting block chain.
6b010e0cbc Merge pull request #1069 from KhronosGroup/fix-1053
f6f849397e MSL: Re-roll array expressions in initializers.
e5fa7edfd6 MSL: Support scalar block layout.

git-subtree-dir: deps/SPIRV-Cross
git-subtree-split: 2820ab0b51bf5e4187435d904b34e762b988f48b
2019-07-11 20:37:45 +02:00
benoa 61dee5f015 WII: Fix compilation 2019-07-11 20:30:58 +02:00
arstnandRob Loach 63494f88cd Update input/drivers/udev_input.c
sure. commited already.

Co-Authored-By: Rob Loach <[email protected]>
2019-07-11 17:25:57 +02:00
jdgleaver 380812f83e Core Options: Add sublabels + localisation support 2019-07-11 16:10:43 +01:00
Twinaphex 0c0b0ef8d2 Merge pull request #9091 from orbea/zlib
Makefile.common: Fix the system zlib check.
2019-07-11 15:48:46 +02:00
orbea 30880df55e Makefile.common: Fix the system zlib check. 2019-07-11 06:40:04 -07:00
twinaphex 4eaf987ede Cleanups 2019-07-11 13:46:34 +02:00
twinaphex bddfca940e Add HAVE_GDI switch 2019-07-11 13:18:38 +02:00
twinaphex f0e7088219 Ability to build without zlib 2019-07-11 13:00:03 +02:00
twinaphex 1d43384213 Small cleanups 2019-07-11 12:32:37 +02:00
twinaphex c54ebd8b87 Conditionally compile in some files 2019-07-11 12:22:18 +02:00
twinaphex b2bf822f13 Add HAVE_AUDIOMIXER switch 2019-07-11 11:51:06 +02:00
twinaphex cd2b835f8c Fix for getting rid of warnings when compiling without libretrodb 2019-07-11 10:27:50 +02:00
arstn c222e6674a Making mouse pointer working in X11 environment with no Display 2019-07-11 09:24:01 +02:00
twinaphex 663c82f97a Turn some functions static 2019-07-11 08:22:58 +02:00
twinaphex 5472f0bcf8 Add detail list for CDROM 2019-07-11 06:34:27 +02:00
twinaphex cb467c8656 Add titles and sublabels 2019-07-11 06:04:42 +02:00
twinaphex d9091a7b9e Add listing for disc info 2019-07-11 05:58:33 +02:00
twinaphex 21887aded5 Cut down on some code duplication 2019-07-11 05:53:55 +02:00
twinaphex 25e4af4a24 Start adding Disc Information 2019-07-11 05:45:49 +02:00
Twinaphex 6abca4c323 Cleanups 2019-07-11 04:31:10 +02:00
twinaphex 69fb32cd68 Get rid of these two pointer functions 2019-07-11 04:28:49 +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
Brad Parker cf12a10ba0 cdrom: add CDROM tag to log prints 2019-07-10 20:56:23 -04: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 c8ea62fe54 (Cocoa/CocoaTouch) Comment this check out for Cocoa and CocoaTouch 2019-07-11 01:34:44 +02:00
twinaphex 4b7dcdc0a4 (Qt) If pointer is available, callback should work as well 2019-07-11 01:25:43 +02:00
twinaphex 0be476508f (Discord) Unused if HAVE_MENU not defined 2019-07-11 01:14:19 +02:00
twinaphex a867e3916e (D3D9) Silence warning when neither HAVE_MENU or HAVE_OVERLAY
is defined
2019-07-11 01:10:00 +02:00
twinaphex 78ac8918a8 Cleanup rarch_main 2019-07-11 01:06:24 +02:00
twinaphex dc40a2ab66 (Travis) Another Travis buildfix 2019-07-11 01:03:35 +02:00
twinaphex 1bfd4b8ae2 (Qt) Process events is already called in runloop_iterate - we
will take it out of Qt application run function and rely on
runloop_iterate's 'runloop_check_state' leaf function to call
Qt's event processing instead
2019-07-11 01:02:00 +02:00
twinaphex d06ce4df13 Buildfix for Travis 2019-07-10 23:56:47 +02:00
twinaphex 3639614eba (VFS) Should fix CXX_BUILD 2019-07-10 23:10:20 +02:00
twinaphex 84bf51acee Take out HAVE_CDROM include ut of vfs/vfs_implementation.h 2019-07-10 22:53:38 +02:00
Brad Parker 980de11974 cdrom: check if disc is inserted before trying to load or dump 2019-07-10 11:17:28 -04:00
twinaphex 75e512e22e Turn some functions static 2019-07-10 14:23:56 +02:00
twinaphex 92b0686a32 Turn this function static 2019-07-10 13:47:53 +02:00
Twinaphex d9c2c91879 Merge pull request #9087 from jdgleaver/3ds-assets-update-1
(3DS) Update assets (round 1)
2019-07-10 12:57:46 +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
jdgleaver 6b40591248 (3DS) Update assets (round 1) 2019-07-10 11:19:34 +01:00
twinaphex 8f19dd8b12 (Discord/runloop) Cleanup 2019-07-10 11:13:21 +02:00
Twinaphex ef22057087 Merge pull request #9086 from natinusala/phoenix-gradle-release-cert
phoenix: allow debug cert to be used for release on local builds
2019-07-10 10:54:12 +02:00
twinaphex 8f77962896 (VRR Runloop) Optimize audio driver set blocking/nonblocking state calls 2019-07-10 10:43:51 +02:00
twinaphex 6b26808e25 Get rid of more unnecessary functions 2019-07-10 10:40:11 +02:00
twinaphex abcfcca1d2 Merge dynamic.c into retroarch.c 2019-07-10 09:54:25 +02:00
natinusala cbafc7ec5b phoenix: allow debug cert to be used for release on local builds 2019-07-10 09:48:55 +02:00
twinaphex fa990849ba (Overlay) Cleanups 2019-07-10 07:07:28 +02:00
twinaphex fa2e1fb0c1 overlay_ptr is now a static global variable inside retroarch.c 2019-07-10 06:53:47 +02:00
Twinaphex e6e4d09c33 (OSX) Silence warning 2019-07-10 05:50:26 +02:00
twinaphex 278063d157 (CocoaGL) Silence warning when building without HAVE_VULKAN 2019-07-10 05:48:26 +02:00
twinaphex 9394a31277 (Travis) Add --disable-overlay target 2019-07-10 05:43:58 +02:00
twinaphex 1d6bae7b35 (Linux) fix --disable-overlay 2019-07-10 05:43:05 +02:00
twinaphex 09f5d2c95d Fix compilation when configuring with --disable-overlay 2019-07-10 05:39:50 +02:00
twinaphex d3f27c3a81 Turn some global variables static 2019-07-10 05:04:55 +02:00
twinaphex 94af95e1b9 Start refactoring this - overlay_ptr needs to become a static
global variable confined inside retroarch.c
2019-07-10 04:43:50 +02:00
Brad Parker b564441097 fix some warnings 2019-07-09 22:34:28 -04:00
Brad Parker 60e7e5be8d fix some warnings 2019-07-09 22:32:11 -04:00
twinaphex c5dedb8148 (deps/libz) Clean this up 2019-07-10 03:57:35 +02:00
twinaphex ec1aef2e2c (menu_displaylist) Silence two CXX_BUILD warnings 2019-07-10 03:14:49 +02:00
twinaphex ca6d35585f Cleanups 2019-07-10 02:01:46 +02:00
twinaphex d734b98b20 Fix warning 2019-07-10 00:26:37 +02:00
Brad Parker ac88acc851 Update CHANGES.md 2019-07-09 17:57:11 -04:00
Brad Parker be032380ae Makefile.griffin: add runahead to vc2010 and up 2019-07-09 17:52:57 -04:00
Brad Parker 1a45f85406 fix BOM markers, add CDROM read support to msvc versions in Makefile.griffin 2019-07-09 17:46:16 -04:00
twinaphex da54b9c3d9 Buildfix for systems without runahead 2019-07-09 23:45:30 +02:00
Brad Parker ae87f87ee3 C89 buildfix 2019-07-09 16:46:53 -04:00
twinaphex 9158ad86a0 Cleanups;buildfix 2019-07-09 21:43:22 +02:00
twinaphex f71503a0d0 Move structs around 2019-07-09 21:17:29 +02:00
twinaphex 5cbcf25e8a (retroarch.c) Rearrange global variables top of file 2019-07-09 21:02:12 +02:00
Brad Parker 79aa9afc8c enable CDROM read support by default for Windows (mingw) and Linux 2019-07-09 14:10:09 -04:00
twinaphex 695837ef77 Squashed 'deps/SPIRV-Cross/' changes from 9c57364f18..8aa6731925
8aa6731925 Merge pull request #1065 from KhronosGroup/msvc-2013-workaround
909040e2eb MSVC 2013: Work around another compiler bug with array init.
53ab2144b9 Merge pull request #1064 from KhronosGroup/fix-1062
e0cd8595a4 Merge pull request #1063 from KhronosGroup/fix-1061
50342966c0 Fall back to complex loop if non-trivial continue block is found.
fa9af7223a Add test shaders for NonUniformEXT propagation.
d12b54bbb4 Propagate NonUniformEXT to dependent expressions.
13378ad1ac Add simple test for extended debug operations.
6d9c502a3a Merge branch 'master' of git://github.com/lifpan/SPIRV-Cross
5ca8779044 Parse SPIR-V debug information extended instructions, as well as OpNoLine.
c5904dd245 Merge pull request #1059 from KhronosGroup/fix-1056
4056d0b74e Don't use scalar dot().
041f103d44 MSL/HLSL: Support scalar reflect and refract.
9a6e2534e9 Merge pull request #1058 from KhronosGroup/fix-1054
fc9fe4e480 Fix variable scope when an if or else block dominates a variable.
3af18e741f Merge pull request #1055 from cdavis5e/msl21-frag-subgroup-builtins
31b6c93516 MSL: Support SubgroupLocalInvocationId and SubgroupSize in all stages.
41399fc899 Merge pull request #1051 from KhronosGroup/fix-1049
f8b084de61 MSL/HLSL: Support OpOuterProduct.
04e29895a3 Merge pull request #1001 from cdavis5e/msl-multiview
7eecf5a46b MSL: Support SPV_KHR_multiview.
8ee8e60f70 Merge pull request #1048 from KhronosGroup/fix-1047
ff87419607 Deal with scalar input values for distance/length/normalize.
d1bdb6d491 Merge pull request #1046 from KhronosGroup/texture-fp16-coord
964ec44822 Merge pull request #1045 from KhronosGroup/c-api-get-declared-struct-member-size
1543bdaf7b Run format_all.sh.
581ed0fd59 HLSL: Does not support case-fallthrough.
c76b99b711 Handle more cases with FP16 and texture sampling.
656d129c00 Add C API for get_declared_struct_member_size.
45805857e5 MSL: De-virtualize get_declared_struct_member_size.
02b2a1015d MSL: Fix minor XCode /analyze warning.
8f6939cb0d Merge pull request #1041 from KhronosGroup/fix-1011
4bbf343a7f Merge pull request #1043 from KhronosGroup/fix-1042
bcef66fbf3 Fix declaration of loop variables with a Phi helper copy.
845628cd4e Merge pull request #1040 from KhronosGroup/fix-1037
ab3798fd91 MSL: Add support for SubgroupSize / SubgroupInvocationID in fragment.
048f2380f3 MSL: Support custom bindings for argument buffer itself.

git-subtree-dir: deps/SPIRV-Cross
git-subtree-split: 8aa67319253b55f874d1fc7eb85d201299a8f488
2019-07-09 18:49:50 +02:00
Brad Parker 7016d8b51f cdrom: only show load/dump menu options if a drive is present on the system 2019-07-09 12:43:33 -04:00
Twinaphex a808262108 Merge pull request #9083 from webgeek1234/master
android: remove location support
2019-07-09 18:32:22 +02:00
Aaron Kling d00fbf4cce android: remove location support 2019-07-09 11:29:31 -05:00
Twinaphex 283ff769a6 Merge pull request #9081 from Zer0xFF/patch-1
explicit use flag `RTLD_LOCAL` with dlopen()
2019-07-09 18:27:05 +02:00
twinaphex b5c4b2d618 Fix --disable-menu 2019-07-09 18:16:11 +02:00
twinaphex 8dd0680cbc Merge input_overlay.c into retroarch.c 2019-07-09 18:13:41 +02:00
Brad Parker 307cdad450 fix regression with slashes appearing in some strings 2019-07-09 11:28:27 -04:00
Brad Parker 119245e88b cdrom: add load disc callback 2019-07-09 11:17:17 -04:00
twinaphex cfbeed0c29 Cleanups 2019-07-09 17:07:28 +02:00
twinaphex 0249661acc Rename camel case named variables 2019-07-09 17:02:10 +02:00
twinaphex cfd2f8e2af Rename camel case named variables 2019-07-09 16:52:34 +02:00
twinaphex 6ff25fea2b Move macros 2019-07-09 16:36:29 +02:00
Zer0xFF 04e9cef462 explicit use flag RTLD_LOCAL with dlopen()
On OSX, `dlopen()` default to`RTLD_GLOBAL` while linux defaults to `RTLD_LOCAL`.
so on OSX, it can cause issue with false positively detecting shared library as statically linked, as was the case with `Play!`.
2019-07-09 14:42:23 +01:00
twinaphex e9b1a49c42 Silence warnings 2019-07-09 09:36:46 +02:00
twinaphex 419e8b1a35 (MSVC2012/2013/2015/2017) Add HAVE_CDROM 2019-07-09 09:32:40 +02:00
twinaphex 124283a934 (MSVC 2010) Add HAVE_CDROM
(CDROM) Ensure code compiles with MSVC
2019-07-09 09:23:47 +02:00
twinaphex f71e6cfd01 (civetweb) This can go 2019-07-09 09:14:40 +02:00
twinaphex 7ee547db0f Remove unused http server 2019-07-09 09:06:40 +02:00
twinaphex 24a859fa16 Move secondary_core to retroarch.c 2019-07-09 08:09:40 +02:00
twinaphex f0f5c32b51 Remove state tracker - legacy code - we can revisit this later
and integrate it in a way so that it scales across all drivers
2019-07-09 07:39:38 +02:00
Twinaphex e1d8cdffe9 Merge pull request #9074 from DSkywalk/master
fix wrong udev devices order, fixes #9071
2019-07-09 07:21:35 +02:00
twinaphex 5aebbdfddb input_state_internal - small cleanup for RETRO_DEVICE_JOYPAD 2019-07-09 07:02:48 +02:00
Brad Parker f94a924be9 cdrom: skip retries for ATIP read if command fails 2019-07-08 23:46:42 -04:00
twinaphex 6e8797d2ef (core options) Simplifications 2019-07-09 03:53:32 +02:00
twinaphex 9f4e8688f3 Move core option manager into retroarch.c 2019-07-09 03:25:56 +02:00
twinaphex 11ad4eb227 Change size of char tmp to 8192 2019-07-09 02:26:18 +02:00
twinaphex 606d3b465f Remove unused action_ok_push_load_disc 2019-07-09 02:22:32 +02:00
Twinaphex 17d72a50e4 Update AndroidManifest.xml 2019-07-09 02:07:36 +02:00
twinaphex 37a6a205e3 Buildfix 2019-07-09 02:03:20 +02:00
Twinaphex 77f9de47a5 (Apple) Fix some unused variable warnings 2019-07-09 02:01:37 +02:00
twinaphex 001e4d9073 Simplify input_state_internal 2019-07-09 01:41:13 +02:00
Twinaphex 0cbfb33be7 Update AndroidManifest.xml 2019-07-09 01:30:21 +02:00
twinaphex e4a8d2d0b6 bitmask won't be possible for keyboard or analog, so get rid
of it for those switch cases
2019-07-09 00:48:08 +02:00
twinaphex 85b82a8ecf Reimplement input_state_internal 2019-07-09 00:48:08 +02:00
Twinaphex 9b90952b22 Update MainMenuActivity.java 2019-07-09 00:44:55 +02:00
Brad Parker cd98fa2745 cdrom: fix drive model string corruption 2019-07-08 16:06:35 -04:00
Brad Parker 15d97dbaf3 cdrom: add disc dump option 2019-07-08 16:06:35 -04:00
Brad Parker 2ef16de941 cdrom: add atip check function, show relative and absolute MSF for read command 2019-07-08 16:06:35 -04:00
twinaphex c4d443b5c5 Move bsv_movie_is_playback_off code outside of input_state_internal 2019-07-08 21:58:31 +02:00
twinaphex 7e6d8eb19a (input_state_internal) Refactor this code 2019-07-08 21:47:24 +02:00
twinaphex 0f9890c38e Move BSV playback code outside of input_state_internal 2019-07-08 21:28:48 +02:00
twinaphex 91babc2160 Rewrite bsv_movie_get_input 2019-07-08 21:05:55 +02:00
twinaphex bf3b46be77 (BSV) Cleanups 2019-07-08 20:52:55 +02:00
Twinaphex 62c787d195 Merge pull request #9079 from jdgleaver/thread-fix
(task_image) Fix TSAN reported data race condition
2019-07-08 18:32:23 +02:00
twinaphex b567bc7ead Revert "Remove BSV code - was obsolete and no longer working - input recording"
This reverts commit 7f731e390a.
2019-07-08 18:21:46 +02:00
twinaphex 7f731e390a Remove BSV code - was obsolete and no longer working - input recording
can be done in other ways instead of being held back by this old input
recording format - was decided along with Themaister that we want to
arrive at a codebase more easily maintained by all
2019-07-08 18:19:49 +02:00
jdgleaver 9093c9feb8 (task_image) Fix TSAN reported data race condition 2019-07-08 17:16:14 +01:00
twinaphex 7e6cb03f6b Revert "Remove RARCH_CTL_IS_DUMMY_CORE"
This reverts commit e032ef6b2e.
2019-07-08 17:57:28 +02:00
twinaphex e032ef6b2e Remove RARCH_CTL_IS_DUMMY_CORE 2019-07-08 17:53:10 +02:00
Twinaphex 2c4eb13a66 Merge pull request #9078 from natinusala/phoenix-gradle-android-studio
phoenix: android studio fixes
2019-07-08 17:31:53 +02:00
natinusala 37de980f4d phoenix: add Android Studio project to .gitignore 2019-07-08 17:25:06 +02:00
natinusala 8fdc0335b6 phoenix: move target and min SDK to gradle, fix missing signing config 2019-07-08 17:24:09 +02:00
Twinaphex e5e7f138f5 Merge pull request #9076 from jdgleaver/playlists-title-fix
Fix 'Playlists' menu title
2019-07-08 17:04:35 +02:00
jdgleaver 1c4769d96f Fix 'Playlists' menu title 2019-07-08 15:20:48 +01:00
Twinaphex 12bf049fbb Merge pull request #9075 from webgeek1234/master
Set minimum api level in build.gradle
2019-07-08 04:07:41 +02:00
twinaphex 0f9abe5b26 (retroarch.c) Cleanups - rename variables using camel case naming,
other general cleanups etc.
2019-07-08 04:06:42 +02:00
Aaron Kling 848adbf2ab android: phoenix: set minimum api level in build.gradle
Gradle does not pass the min api level set in the manifest to
ndk-build
2019-07-07 21:03:29 -05:00
twinaphex a200d9683c (dinput.c) Cleanups 2019-07-08 02:40:09 +02:00
twinaphex a33913c984 (retroarch.c) Cleanup 2019-07-08 02:29:52 +02:00
David Skywalker 89645ac296 fix wrong udev devices order, fixes #9071 2019-07-08 01:27:41 +02:00
twinaphex 614674f436 Go through function pointer again 2019-07-08 00:28:15 +02:00
Brad Parker 9e4ce6c7e3 cdrom: fix group1 timeout error 2019-07-06 21:54:10 -04:00
Brad Parker 59d8b918a1 cdrom: store group timeouts 2019-07-06 20:16:47 -04:00
Brad Parker 44245cc942 cdrom: windows cue fix 2019-07-06 17:23:10 -04:00
Brad Parker 0b1ee7d00a windows buildfix 2019-07-06 09:58:33 -04:00
twinaphex 3ffc5fc343 (MSVC2017 UWP) Buildfix 2019-07-06 07:29:51 +02:00
twinaphex 538cca8bcd Fix issue in file_stream.c - it would corrupt memory if
maxlen is negative
2019-07-06 06:20:01 +02:00
Brad Parker 46ed5c3fcb vfs: fix circular dependency issues by moving main structs to separate header 2019-07-05 23:45:48 -04:00
twinaphex a115b6bd84 Implement deferred list for Load CD 2019-07-05 19:55:04 +02:00
Brad Parker d116784249 cdrom: go back to MSF read command, still having issues with LBA calculation 2019-07-05 11:09:11 -04:00
hizzlekizzle 737d129c61 Merge pull request #9062 from jdgleaver/filter-strict-aliasing
Normal2x/Scanline2x video filters: Fix misaligned address error
2019-07-05 09:00:26 -05:00
Twinaphex 73b3fb49eb Merge pull request #9064 from jdgleaver/save-state-resume
Add option to remain in menu after saving/loading states
2019-07-05 15:54:07 +02:00
jdgleaver 248432ebcf Add option to remain in menu after saving/loading states 2019-07-05 13:27:16 +01:00
Twinaphex 46c80632f3 Merge pull request #9061 from jdgleaver/rsound-c89-fix
(rsound) C89 build fix
2019-07-05 13:24:26 +02:00
jdgleaver 22e7252823 Normal2x/Scanline2x video filters: Fix misaligned address error 2019-07-05 10:52:56 +01:00
jdgleaver dbe6429508 (rsound) C89 build fix 2019-07-05 09:51:12 +01:00
Brad Parker f0d42a125e C89 buildfix 2019-07-04 23:42:00 -04:00
Brad Parker e8d488ba67 cdrom: fix conflict with libchdr function names 2019-07-04 23:05:28 -04:00
Brad Parker d0695fc428 cdrom: add LBA offset 2019-07-04 22:42:42 -04:00
Brad Parker 38d49136ce cdrom: add function for reading via LBA numbers 2019-07-04 18:20:05 -04:00
Brad Parker 788b6cd39c remove unimplemented command 2019-07-04 17:50:38 -04:00
Brad Parker 9d163493da cdrom: print sense data on each failure 2019-07-04 17:47:39 -04:00
Brad Parker 0ecac5c8ff http: fix memory leak and potential null pointer argument to strlen 2019-07-04 16:27:51 -04:00
twinaphex 2c7e7ac083 (Android) Buildfix 2019-07-04 22:26:19 +02:00
Brad Parker 7db030f98e cdrom: add command to retrieve/print sense data 2019-07-04 16:15:21 -04:00
twinaphex 3cfa3ff1d8 Cleanups 2019-07-04 22:05:38 +02:00
twinaphex 6c2f65c585 Fix code analysis warnings 2019-07-04 21:54:51 +02:00
Twinaphex 3a56ea4259 Merge pull request #9060 from LazyBumHorse/static_analysis
fix some bugs found through Clang Static Analyzer
2019-07-04 21:44:08 +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 35c2810d6e (Xbox) Skip warnings 2019-07-04 20:18:33 +02:00
Brad Parker ef669533c8 cdrom: windows buildfix 2019-07-04 14:04:25 -04:00
twinaphex 3cbb495bd2 Update 2019-07-04 18:42:38 +02:00
Twinaphex 7afa9e3663 Merge pull request #9059 from jdgleaver/playlist-fix
Fix playlist format detection
2019-07-04 18:06:11 +02:00
jdgleaver 678636934d Fix playlist format detection 2019-07-04 16:46:00 +01:00
twinaphex 1f17dea0d8 (configuration.c) Cleanups 2019-07-04 17:29:29 +02:00
twinaphex 3067ce6285 Small cleanup 2019-07-04 17:21:58 +02:00
twinaphex b342c6c953 Take out Bundle.Mapping.txt 2019-07-04 17:09:11 +02:00
Twinaphex 57168edd80 Merge pull request #9058 from jdgleaver/rgui-strict-aliasing
RGUI: Fix strict aliasing violations + improve rendering performance
2019-07-04 15:21:50 +02:00
twinaphex 13aab06d2d (Android) Should hopefully fix hotkey binds being mappable for
gamepad
2019-07-04 15:20:10 +02:00
jdgleaver 913472ed97 RGUI: Fix strict aliasing violations + improve rendering performance 2019-07-04 14:10:24 +01:00
twinaphex 47b17e8d65 (dinput) Update 2019-07-04 14:05:20 +02:00
twinaphex ff0ea2921f (dinput) Buildfix 2019-07-04 14:02:43 +02:00
Twinaphex 650c0e7e0a Merge pull request #9057 from jdgleaver/rgui-alignment
RGUI: Fix ASAN misaligned address runtime error
2019-07-04 13:36:52 +02:00
jdgleaver fc4b3f4d96 RGUI: Fix ASAN misaligned address runtime error 2019-07-04 11:16:58 +01:00
Brad Parker 6f0268ca30 cdrom: need const to call these from outside of internal functions 2019-07-04 01:06:47 -04:00
Brad Parker 052a8e48cf cdrom: add extra debug functions, add function to check if media is inserted/ready 2019-07-04 00:22:16 -04:00
twinaphex cec67e412e Revert "(dinput/xinput) Simplifications"
This reverts commit 20e8dfcba5.
2019-07-04 05:20:19 +02:00
twinaphex 44eee1cf42 (VFS UWP) Real fix 2019-07-04 04:43:34 +02:00
twinaphex b14dfc2585 Revert "(UWP) Fix VFS"
This reverts commit 163ec0f979.
2019-07-04 04:40:13 +02:00
twinaphex 163ec0f979 (UWP) Fix VFS 2019-07-04 04:21:51 +02:00
Twinaphex b39f3038fd Merge pull request #9053 from Dwedit/d3d12_refcount_fix
Fix crash at close for D3D12 (do not release an already deleted D3D12 adapter)
2019-07-03 23:43:41 +02:00
Brad Parker 112a88688d cdrom: add windows implementation for list of available drives 2019-07-03 17:18:57 -04:00
Dwedit 81b6703912 Fix wrong reference count for D3D12 adapters (crash at close due to a destroyed adapter being released again) 2019-07-03 15:35:06 -05:00
twinaphex 65bff18cb0 Add callback for dump disc entries 2019-07-03 22:28:12 +02:00
Brad Parker 03d48ab2fd cdrom: windows buildfix 2019-07-03 16:05:15 -04:00
Brad Parker 9a52595ce3 cdrom: add function to get list of available drives (initial linux implementation), show list in "Dump Drive" menu entry 2019-07-03 14:19:32 -04:00
twinaphex 36c2fc847d Get rid of nonfree per request 2019-07-03 18:59:39 +02:00
Twinaphex c3418793cf Merge pull request #9051 from jdgleaver/set-core-association
Quick Menu: Add 'Set Core Association' option
2019-07-03 18:03:48 +02:00
jdgleaver 027324815e Quick Menu: Add 'Set Core Association' option 2019-07-03 16:33:23 +01:00
twinaphex 72eed727d0 Start implementing 'Dump Disc' as deferred list 2019-07-03 03:51:00 +02:00
Brad Parker 4cedaaefe1 cdrom: add open/close tray commands 2019-07-02 21:35:20 -04:00
Twinaphex 31a68fce1b Merge pull request #9049 from Dwedit/d3d12_small_fix
Small fixes for D3D12
2019-07-03 02:59:09 +02:00
Dwedit 10343d51b9 Small fixes for D3D12: Do not return false when enumerating, and add a null check for the Fence object 2019-07-02 19:46:02 -05:00
twinaphex 4fdf33e5f8 (CDROM) Add Load Disc/Dump Disc 2019-07-03 01:08:20 +02:00
twinaphex 22d82f9e6d Enable 'quit press twice' by default from now 2019-07-03 00:40:53 +02:00
Twinaphex 719f7535ae Merge pull request #9047 from rsn8887/master
[SWITCH] Proper x/y scaling for pointer devices, fixes touch lightgun
2019-07-02 23:52:35 +02:00
rsn8887 7e348f132e [SWITCH] Proper x/y scaling for pointer devices, fixes touch lightgun 2019-07-02 16:42:17 -05:00
Twinaphex 024d75d568 Merge pull request #9045 from jdgleaver/playlist-reset-cores
Playlist Management: Add 'Reset Core Associations' option
2019-07-02 13:53:41 +02:00
jdgleaver 1e17cca64d Playlist Management: Add 'Reset Core Associations' option 2019-07-02 12:00:38 +01:00
Twinaphex 143b45eca7 Merge pull request #9026 from jdgleaver/playlist-default-core
Overhaul default playlist core association
2019-07-02 12:22:30 +02:00
Brad Parker 3817395803 cdrom: fix rounding 2019-07-02 03:31:28 -04:00
Brad Parker 1eba59a20c cdrom: fix calculation of track length, add pregap to cuesheet 2019-07-02 00:12:00 -04:00
Brad Parker 91e3d9ae13 griffin: add CD reading 2019-07-01 13:22:30 -04:00
Twinaphex b85ef9136b Merge pull request #9041 from fpscan/revert-9039-master
Revert "native steamlink"
2019-07-01 17:53:45 +02:00
Ömercan Kömür 955a69180a Revert "native steamlink" 2019-07-01 18:52:05 +03:00
Brad Parker 937081402b remove tab 2019-07-01 11:27:03 -04:00
Brad Parker 8d55c203c2 griffin: enable unix support 2019-07-01 11:26:12 -04:00
Brad Parker d3c34f0b06 griffin: define VFS_FRONTEND 2019-07-01 11:24:57 -04:00
Twinaphex 0493ff794e Merge pull request #9039 from fpscan/master
native steamlink
2019-07-01 14:11:48 +02:00
Ömercan KömürandSam Lantinga e93da89a9f Native SteamLink support
Co-Authored-By: Sam Lantinga <[email protected]>
2019-07-01 15:00:23 +03:00
twinaphex ef5f448f41 (translate) C89 build error fixes 2019-07-01 12:46:47 +02:00
Twinaphex e930221169 Merge pull request #9038 from bparker06/cdrom
initial CD reading support
2019-07-01 02:27:52 +02:00
Brad Parker 5aa2ebe6d5 cdrom: I/O always starts at the beginning of the file, and we translate those byte positions to start from the beginning MSF of the track anyway, so index should always be zero, fixes some audio playback issues 2019-06-30 19:50:58 -04:00
Brad Parker 9d5e91a6e5 cdrom: set default track to 1 2019-06-30 18:34:00 -04:00
Brad Parker 24bd43a53f cdrom: improve position setting 2019-06-30 18:34:00 -04:00
Brad Parker 9617605371 cdrom: set optimal read speed 2019-06-30 18:34:00 -04:00
Brad Parker e901f3d523 cdrom: only use cdrom function if it was compiled in 2019-06-30 18:34:00 -04:00
Brad Parker 8d2392e36c cdrom: use correct seek function 2019-06-30 18:34:00 -04:00
Brad Parker 11f8361d15 unused variable 2019-06-30 18:34:00 -04:00
Brad Parker 02575ddf67 cdrom: fix printf warnings 2019-06-30 18:34:00 -04:00
Brad Parker fa041e4040 cdrom: fix unused variable warnings if debug is off 2019-06-30 18:34:00 -04:00
Brad Parker 8f1b150806 cdrom: windows fixes, use starting address of current track for read/seeks 2019-06-30 18:34:00 -04:00
Brad Parker 12388e038a cdrom: add flush for debug prints because they were never appearing, remove unused variables 2019-06-30 18:34:00 -04:00
Brad Parker 11106cc2a7 cdrom: linux buildfix 2019-06-30 18:34:00 -04:00
Brad Parker 07c0451b93 cdrom: add windows support 2019-06-30 18:34:00 -04:00
Brad Parker 999f4fa2e8 cdrom: retry on unit attention code 2019-06-30 18:34:00 -04:00
Brad Parker 93b81198c2 cdrom: increase retry time, use alternate method for reading sub-channel data (not all drives can read Q data from READ CD) 2019-06-30 18:34:00 -04:00
Brad Parker 8af3078966 track1 playback is working, redbook might have issues currently 2019-06-30 18:34:00 -04:00
Brad Parker 0ad77800d9 use memcpy instead of strlcpy, some cores request 1 byte at a time from the cuesheet 2019-06-30 18:34:00 -04:00
Brad Parker 08cd3a90f2 initial cdrom reading work 2019-06-30 18:33:59 -04:00
twinaphex fe958b46d7 Revert const ptr commit 2019-06-30 11:40:30 +02:00
twinaphex b64f9bd64b Revert "Start using const more"
This reverts commit c0789538d7.
2019-06-30 11:23:36 +02:00
twinaphex f4bf218f35 (Menu) We need to tell rarch_menu_running_finished whether we want
to exit RetroArch or not - to avoid certain crashes when trying to
access the settings pointer - which should already be freed at this
point
2019-06-30 11:23:18 +02:00
hizzlekizzle c23a61eb6e Merge pull request #9035 from XerTheSquirrel/web-squirreljme
Add SquirrelJME to the live web core list.
2019-06-29 16:36:36 -05:00
Stephanie Gawroriski ca4fa56929 Add SquirrelJME to the live web core list. 2019-06-29 12:25:41 -04:00
Twinaphex 5f29660fdd (gong) Silence Unix warning on macOS 2019-06-29 17:34:48 +02:00
twinaphex d617f6ffbf (iOS) Take out PauseIndicatorView/ic_pause 2019-06-29 17:31:08 +02:00
Twinaphex dac33fca83 Merge pull request #9031 from stoofin/libvulkan1
Fall back to libvulkan.so.1 if libvulkan.so isn't present
2019-06-29 14:39:04 +02:00
Twinaphex d1afc8c49b Merge pull request #9034 from OsirizX/uwp
UWP: CoreWindow NULL check
2019-06-29 12:14:38 +02:00
Twinaphex 5d56302a31 Merge pull request #9033 from yoshisuga/ios_remove_pause_indicator
iOS: remove pause indicator
2019-06-29 12:12:32 +02:00
OsirizX ba69056361 UWP: CoreWindow NULL check
We need to make sure CoreWindow isn't NULL before checking key states otherwise access violation will occur and cause the app to crash. This commit fixes running Dolphin core in particular and tested on both desktop UWP and Xbox One.
2019-06-29 00:21:59 -07:00
CatGreen90 550ea0f143 Update android_ctx.c (#9032) 2019-06-27 19:37:21 -05:00
stoofin 1b57cf6112 Fall back to libvulkan.so.1 if libvulkan.so isn't present 2019-06-27 14:08:14 -07:00
twinaphex c1fbf1d43b (menu_animation.c) Try to prevent null pointer dereferences 2019-06-27 20:45:53 +02:00
twinaphex 2ee9b1d98e Revert "Revert "Gradle""
This reverts commit e8cf66f0a9.
2019-06-27 17:55:38 +02:00
twinaphex 8037cbe3dc Revert "(Android) Backport https://github.com/libretro/RetroArch/pull/9021/commits/c9218bbd2398512d25617993e491fb8a0b676771"
This reverts commit 6e4c8ec6a6.
2019-06-27 17:55:19 +02:00
twinaphex 01c489eee0 Revert "(Android) Backport"
This reverts commit adf4bd753b.
2019-06-27 17:55:12 +02:00
twinaphex a7e2c84939 Revert "(Android) Backport https://github.com/libretro/RetroArch/pull/9021/commits/1991e4f6c1c9064e813679c6a5970bb6c13b413e"
This reverts commit 630b7c9122.
2019-06-27 17:54:59 +02:00
jdgleaver ab7d5cbeb8 Fix build error 2019-06-27 13:05:46 +01:00
jdgleaver 5b097cfc7d Fix default core association for old format playlists 2019-06-27 12:36:58 +01:00
twinaphex 630b7c9122 (Android) Backport https://github.com/libretro/RetroArch/pull/9021/commits/1991e4f6c1c9064e813679c6a5970bb6c13b413e 2019-06-27 11:02:04 +02:00
twinaphex adf4bd753b (Android) Backport
https://github.com/libretro/RetroArch/pull/9021/commits/dd1fc5f3da7f7ee7b98427d5adaa2b3849c0f164
- not sure if we should include the location permission - some users
would question why they would need to grant this permission for just one
test core
2019-06-27 11:00:06 +02:00
twinaphex 6e4c8ec6a6 (Android) Backport https://github.com/libretro/RetroArch/pull/9021/commits/c9218bbd2398512d25617993e491fb8a0b676771 2019-06-27 10:57:37 +02:00
Twinaphex d90336883c Merge pull request #9029 from libretro/revert-9021-gradle
Revert "Gradle"
2019-06-27 08:00:46 +02:00
Twinaphex e8cf66f0a9 Revert "Gradle" 2019-06-27 08:00:12 +02:00
Twinaphex ec4d6c32f6 Merge pull request #9021 from webgeek1234/gradle
Gradle
2019-06-27 00:37:36 +02:00
jdgleaver 0be44e57ad Overhaul default playlist core association 2019-06-26 17:42:26 +01:00
Aaron Kling 1991e4f6c1 android jni: don't link against system libraries 2019-06-26 10:17:29 -05:00
Aaron Kling d9097f1aa7 android lint: it's safe to ignore unused atv attributes on old apis 2019-06-26 10:17:28 -05:00
Aaron Kling 7677ffbbeb Clang doesn't like the x86 cpuid asm, skip for android 2019-06-26 10:17:28 -05:00
Aaron Kling c9218bbd23 Wrap some android code in api version checks 2019-06-26 10:17:28 -05:00
Aaron Kling dd1fc5f3da Use new android location api 2019-06-26 10:17:28 -05:00
Aaron Kling 7fd49bbb2c Add variant builds
aarch64 is a 64-bit only build that was used for some time so users
on the main builds could use armv7 dynarecs. Keeping for now so
users of this variant won't lose updates.

ra32 is 32-bit only. Google is mandating 64-bit support in all
apps on the play store. So users of the main builds on 64-bit
devices will no longer have access to 32-bit cores. This build will
be available on alternate stores and via sideloading so cores with
only 32-bit dynarecs can be used on 64-bit devices.
2019-06-26 10:17:28 -05:00
Aaron Kling 740793fc9e Add gradle build script for android 2019-06-26 10:17:28 -05:00
Aaron Kling 2b659d0c21 Add gradle wrapper 2019-06-26 10:17:28 -05:00
Aaron Kling f897af830e Move legacy android support to a separate project
Newer android sdks no longer support android apis before 14. Split
the legacy support into a new project.
2019-06-26 10:17:28 -05:00
Aaron Kling 75ddfbd0ec Split bulk of android project into a common folder 2019-06-26 10:17:28 -05:00
Aaron Kling ba6766ff28 Remove now duplicated android package phoenix-gradle
Since the main build is switching to gradle, no need for a debug
only copy. Move the sideload instructions to a subfolder of the
main project.

TODO: Clean up sideload instructions to make sense as part of the
main project.
2019-06-26 10:17:28 -05:00
Aaron Kling ffe8c1e5fe Remove unnecessary duplicated android resources 2019-06-26 10:17:28 -05:00
Aaron Kling 540934b715 Remove duplicated 64-bit android pkg directory
Move banner, the only real difference from the main folder, into
a secondary resource folder in the main project.
2019-06-26 10:17:28 -05:00
Twinaphex 7ea91b4808 Cleanup another unused variable warning 2019-06-26 14:37:42 +02:00
twinaphex 0b92573fd1 Avoid some warnings 2019-06-26 14:35:25 +02:00
twinaphex c0789538d7 Start using const more 2019-06-26 14:31:05 +02:00
Twinaphex e5c4c1dfea Merge pull request #9024 from natinusala/master
menu_widgets: have the progression widget always resize
2019-06-26 13:19:12 +02:00
Twinaphex 04a39ecc1c Merge pull request #9023 from rsn8887/master
[SWITCH] Allow touch mouse gestures such as tap to click
2019-06-26 13:18:58 +02:00
natinusala 8873b3b787 menu_widgets: have the progression widget always resize 2019-06-26 09:46:04 +02:00
twinaphex 7fea26db4b (retroarch.c) Pointer cleanups 2019-06-26 08:24:33 +02:00
twinaphex faa52fb0df Use const for config_get_ptr global pointer to signify this pointer
isn't being written to, only read from
2019-06-26 07:40:47 +02:00
rsn8887 1caaea4bdf [SWITCH] Allow touch mouse gestures such as tap to click
This adds touch gestures to the touchpad-style mouse
controls. Before this, there was only pointer motion
via dragging a finger somewhere on the screen. Now,
there's tap to click and more.

Supported touch gestures:

- pointer motion = single finger drag
- left mouse click = single finger short tap
- right mouse click = second finger short tap
  while first finger is still down
- left click drag and drop = dual finger drag
- right click drag and drop = triple finger drag
2019-06-26 00:35:05 -05:00
twinaphex 3b634b64fa Merge dirs.c into paths.c 2019-06-26 07:23:32 +02:00
twinaphex 5f2e3c283d (netplay)/network) Style nits/cleanups 2019-06-26 07:13:50 +02:00
Twinaphex e97c35ec2d Merge pull request #9017 from LazyBumHorse/d3d9_shaders
enable Cg/HLSL shaders for d3d9 depending on renderchain
2019-06-25 13:11:34 +02:00
LazyBumHorse c4530eb3f4 d3d9: add Cg/HLSL shader runtime check depending on the used renderchain 2019-06-25 10:57:46 +02:00
Twinaphex e44c75e5ab Merge pull request #9019 from RobLoach/libretro-database--whitespace
libretrodb: Update the whitespace
2019-06-25 09:20:34 +02:00
Rob Loach 03d0462fa4 libretrodb: Update the whitespace 2019-06-25 01:24:46 -04:00
Twinaphex e1125d673d Merge pull request #9018 from rsn8887/master
[SWITCH] Allow finger drag to act as mouse movement
2019-06-25 04:50:14 +02:00
rsn8887 d0c8809df4 [SWITCH] Allow finger drag to act as mouse movement 2019-06-24 20:02:24 -05:00
LazyBumHorse 17ec59ff21 enable Cg shader flag for d3d9 2019-06-24 23:41:05 +02:00
twinaphex ca2fc9b8d8 Cleanups 2019-06-24 20:51:06 +02:00
twinaphex fd98496fec Turn these into static functions 2019-06-24 20:45:08 +02:00
Twinaphex f23497fd80 Merge pull request #9014 from LazyBumHorse/fix_d3d9
fix d3d9 not rendering xmb and temporarily disable widgets due to segfault
2019-06-24 16:07:03 +02:00
LazyBumHorse 1f69f3960a fix d3d9 not rendering xmb and temporarily disable widgets due to segfault 2019-06-24 15:42:55 +02:00
twinaphex 405d3fec67 (CXX_BUILD) Silence warning 2019-06-24 15:09:56 +02:00
Twinaphex d2fd4d48ae (macOS) Less warnings with static code analysis 2019-06-24 15:03:58 +02:00
Twinaphex c8486a5081 (Cocoa/Metal) Silence bunch of warnings 2019-06-24 14:58:32 +02:00
twinaphex d4ea084f3d Add cocoa_defines.h 2019-06-24 14:49:18 +02:00
Twinaphex 12ced5ee6b Merge pull request #9013 from Themaister/master
Update to latest SPIRV-Cross
2019-06-24 14:40:19 +02:00
Hans-Kristian Arntzen 135ff5e7a5 Fixup resource remapping in MSL/HLSL.
Seemed rather sketchy, but this must be tested a bit.
2019-06-24 14:25:04 +02:00
Hans-Kristian Arntzen df0570ddd5 Add new SPIRV-Cross files to griffin_cpp. 2019-06-24 14:24:47 +02:00
Hans-Kristian Arntzen 50ea084385 Update SPIRV-Cross. 2019-06-24 13:42:46 +02:00
Hans-Kristian Arntzen 90fd5657b5 Merge commit 'ac9fa8a82eb313351a64a0de3afaf28e2b0ed422' as 'deps/SPIRV-Cross' 2019-06-24 13:42:34 +02:00
Hans-Kristian Arntzen ac9fa8a82e Squashed 'deps/SPIRV-Cross/' content from commit 9c57364f18
git-subtree-dir: deps/SPIRV-Cross
git-subtree-split: 9c57364f18ef6b554c61f5f49448baf903539708
2019-06-24 13:42:34 +02:00
Hans-Kristian Arntzen 6e5a7dd64a Remove SPIRV-Cross subtree. 2019-06-24 13:42:24 +02:00
Twinaphex 048980e051 Update platform_unix.c 2019-06-24 05:18:28 +02:00
twinaphex 2f16fb1345 (libnx) Buildfix 2019-06-24 05:09:21 +02:00
twinaphex c55aefef1e (dinput_joypad.c) Cleanups 2019-06-24 05:07:37 +02:00
twinaphex 0dcbb985be Move device masking to upper function 2019-06-24 02:20:42 +02:00
Twinaphex 6f1f17cda4 Merge pull request #9010 from libretro/docs/RobLoach/libretro-db
docs: Fix libretro-db docs
2019-06-24 01:45:43 +02:00
twinaphex 584c0f5de5 (Android) Buildfix 2019-06-24 01:11:20 +02:00
Rob Loach 1015c0cd08 docs: Fix libretro-db docs
The correct git URL is https://github.com/libretro/libretro-super.git
2019-06-23 16:57:47 -04:00
twinaphex a739003ad4 Buildfix 2019-06-23 19:08:03 +02:00
twinaphex 9c73d3305d Insert input_joypad_pressed into drivers themselves 2019-06-23 18:20:48 +02:00
twinaphex 7a2fa44c4b (Cocoa) Add bitmask code 2019-06-23 17:05:01 +02:00
twinaphex 9e20871c3c (Wayland) Buildfix 2019-06-23 16:37:23 +02:00
twinaphex 439a07eecd (Android) Put extra parentheses around this 2019-06-23 15:56:34 +02:00
twinaphex 334c64d159 (Android) Simplify input code 2019-06-23 15:55:40 +02:00
twinaphex 1e863b0f4d Optimal way of grabbing all button states in a bitmasked value -
should allow us to do only one function call to the RA input
driver's input state callback
2019-06-23 06:09:45 +02:00
twinaphex eaf221125a (xinput_joypad.c) Small cleanups 2019-06-23 03:23:16 +02:00
twinaphex d4ed0358a7 (dinput.c) Cleanups 2019-06-23 03:14:21 +02:00
twinaphex 51365ed387 (input drivers) More simplifications 2019-06-23 02:34:35 +02:00
twinaphex ceecf4751a Simplify DOS keyboard code 2019-06-23 02:22:54 +02:00
twinaphex e51a98a295 Simplify android input code 2019-06-23 01:57:12 +02:00
twinaphex b0382d8f73 (Emscripten) Some buildfixes for platforms with no HAVE_NETWORKING support 2019-06-23 01:28:43 +02:00
twinaphex 4f7f5d2523 (Netplay) Netplay needs to call into video_frame_net 2019-06-22 21:05:35 +02:00
twinaphex a6a6597f2d video_driver_cached_frame - don't go through function pointer for
frame_cb - call video_driver_frame directly
2019-06-22 20:44:20 +02:00
twinaphex 74e4b05f5a Cleanups 2019-06-22 19:57:47 +02:00
twinaphex 4664e56ca3 Simplify core_run 2019-06-22 19:52:06 +02:00
Twinaphex 5df3b1e221 Merge pull request #9004 from BarryJRowe/master
Fixed indenting.
2019-06-22 18:03:29 +02:00
Barry Rowe 348dac0797 Fixed indenting. 2019-06-22 08:56:46 -07:00
Twinaphex 29e4b8e2c1 Get rid of warning 2019-06-22 15:48:42 +02:00
Twinaphex 84974c7e5c Silence more warnings 2019-06-22 15:09:59 +02:00
Twinaphex c795d2ade3 Silence more warnings 2019-06-22 14:57:11 +02:00
Twinaphex 596b375da5 Merge pull request #9001 from LazyBumHorse/metal_cocoa_flags
fix shader flags for metal
2019-06-22 14:53:18 +02:00
Twinaphex bf1951ae37 Fix plethora of warnings on OSX 2019-06-22 14:52:29 +02:00
Twinaphex 8a8b690f85 Possible misuse of comma operator here 2019-06-22 14:25:32 +02:00
LazyBumHorse b8258a711a workaround for metal not being able to poll shader flags during init 2019-06-22 14:22:34 +02:00
Twinaphex 9180cc5ba2 Cleanup some warnings 2019-06-22 13:44:10 +02:00
Twinaphex 98c1f04635 Merge pull request #8998 from LazyBumHorse/fix_gl_set_shader
fix black screen in gl if video shaders were switched from on to off in the shader menu
2019-06-22 13:18:25 +02:00
Twinaphex ed2837ff59 Merge pull request #9000 from LazyBumHorse/fix_metal
fix black screen in Metal
2019-06-22 13:17:50 +02:00
Twinaphex 59471efcde Create FUNDING.yml 2019-06-22 11:20:41 +02:00
LazyBumHorse b5199d7921 fix black screen in Metal 2019-06-22 11:07:08 +02:00
twinaphex b225bb08ce Turn DEFAULT_VSYNC on 2019-06-22 03:30:46 +02:00
Twinaphex 4f191850aa Merge pull request #8999 from BarryJRowe/master
AI Service feature.
2019-06-22 03:27:16 +02:00
Barry Rowe e9625b3ed9 AI Service feature. 2019-06-21 17:48:35 -07:00
twinaphex 6a72b19907 These files are no longer needed - they are inside retroarch.c 2019-06-22 00:27:51 +02:00
Rob Loach 2a3a854935 Merge branch 'master' of https://github.com/libretro/RetroArch into changes-periodmarks 2019-06-21 10:08:20 -04:00
LazyBumHorse e5421940be fix gl's and d3d9's set_shader not returning to stock if path is NULL 2019-06-21 14:10:55 +02:00
twinaphex faef9413e3 (retroarch.c) Cleanups - remove static inline function and reduce
it in size
2019-06-21 13:27:12 +02:00
twinaphex a23928fb89 Split up input_state into input_state_internal - no longer
rely on recursion of function
2019-06-21 12:49:33 +02:00
twinaphex 6de62dc4b0 Buildfix --disable-menu 2019-06-21 12:21:43 +02:00
twinaphex 023d2cb9a9 (Libretro) implement new environment callback RETRO_ENVIRONMENT_GET_INPUT_BITMASKS 2019-06-21 11:21:07 +02:00
twinaphex 20e8dfcba5 (dinput/xinput) Simplifications 2019-06-21 09:00:59 +02:00
twinaphex 2626282757 Revert "Raise menu key repeat delay to account for slow input devices"
This reverts commit d0cde96bd4.
2019-06-21 07:19:44 +02:00
twinaphex 569dfdfbb4 Move this outside of keys_pressed functions 2019-06-21 07:09:07 +02:00
twinaphex 088a688402 Rename current_input to current_bits 2019-06-21 07:05:20 +02:00
twinaphex 98987239bb Cleanups 2019-06-21 07:01:21 +02:00
Twinaphex 17d49b3167 Merge pull request #8997 from Alexander-TX/double-keypress-fux
Raise menu key repeat delay to account for slow input devices
2019-06-21 06:51:07 +02:00
AlexanderR d0cde96bd4 Raise menu key repeat delay to account for slow input devices
Fixes duplicated key presses on NEC IR remotes.
2019-06-21 11:35:16 +07:00
Twinaphex 5ad29318a7 Update CHANGES.md 2019-06-21 06:29:17 +02:00
twinaphex 644888ee1a Fix manual bind of menu toggle 2019-06-21 06:28:19 +02:00
twinaphex affa93bd98 Refactor menu_input_keys_pressed 2019-06-21 05:27:21 +02:00
twinaphex 6b9238198b Cleanups 2019-06-21 04:47:51 +02:00
twinaphex bc7ba4f5d2 Move menu_input.c into retroarch.c - now all of the input code
should be inside one place - giving us the opportunity to cleanup this
mess
2019-06-21 03:40:48 +02:00
twinaphex 761636a540 (Wiiu) add forward declaration 2019-06-20 21:10:07 +02:00
twinaphex ef0cedd798 Create macro for input_menu_keys_pressed 2019-06-20 14:12:24 +02:00
Twinaphex 86065e80ff Merge pull request #8993 from LazyBumHorse/shader_browser_filter
always filter by extensions in shader (preset) file browser
2019-06-20 13:56:18 +02:00
twinaphex b07e2d0585 Simplify input_keys_pressed 2019-06-20 13:49:05 +02:00
twinaphex 3a8df35d4d (Input) Split for loops up into two - first check button keys,
then check the meta keys
2019-06-20 13:31:00 +02:00
LazyBumHorse 2f96bdfc63 always filter by extensions in shader (preset) file browser 2019-06-20 13:18:55 +02:00
twinaphex ce3f46adbd Get rid of RARCH_CTL_UNSET_KEY_EVENT and other cleanups 2019-06-20 12:51:29 +02:00
twinaphex 37c04932bf Revert bind/hold behavior for now 2019-06-20 11:45:51 +02:00
twinaphex c064d30250 Fix --disable-runahead switch 2019-06-20 10:20:48 +02:00
twinaphex 10c5331cc0 Move runahead dirty_input to retroarch.c - allows us
to make retro_ctx and current_core static
2019-06-20 10:08:32 +02:00
twinaphex d12e857644 video_driver_get_status is no longer necessary 2019-06-20 09:55:06 +02:00
twinaphex 6bc1802914 Move run_ahead.c to retroarch.c - most of the runloop
should now be self-contained in one file. Allows us to
turn more functions static, remove more extraneous functions
that just consisted of a single line (mostly getters/setters), etc.
2019-06-20 09:30:44 +02:00
twinaphex 2cad59092c (menu_displaylist.c) Fix warning 2019-06-20 08:43:22 +02:00
twinaphex 3a9a8d8d70 (WiiU) Buildfix 2019-06-20 08:38:40 +02:00
Twinaphex 10014f03a6 Merge pull request #8992 from orbea/rpng
qb: Extend the check_enabled function.
2019-06-20 08:07:55 +02:00
orbea 4c7aa40a17 qb: Extend the check_enabled function.
This extends the check_enabled function to be able to check more than
one feature. In the case of RPNG it depends on either the builtin or
system zlib, but if the system zlib was not available while the builtin
zlib was it would still be disabled erroneously.

Now it will only be disabled if both the system and builtin zlib are
disabled.
2019-06-19 22:49:16 -07:00
twinaphex d50a6b6bd2 Add video_driver_has_focus 2019-06-20 06:26:29 +02:00
radius d865c5e4a6 add some copyright on files I contributed considerably just in case 2019-06-20 05:45:17 +02:00
twinaphex c46ba7f63b Turn more functions static 2019-06-20 04:58:52 +02:00
twinaphex 720424777b Turn function static 2019-06-20 04:50:55 +02:00
twinaphex 337e2110a1 Get rid of video_driver_cb_has_focus function pointer 2019-06-20 04:43:23 +02:00
twinaphex 129e73c588 turn lots of audio functions static 2019-06-20 04:29:08 +02:00
twinaphex f5832b17ab (MSVC2015) Buildfix 2019-06-20 03:20:54 +02:00
twinaphex ac8e80a9e2 (MSVC2017) Fix build 2019-06-20 02:48:07 +02:00
twinaphex 85fad52104 (MSVC2012/2013) Fix build 2019-06-20 02:34:52 +02:00
twinaphex 0611868762 (libretro-common) pixconv.c - Add conditional to prevent SIMD from being compiled in for MSVC 2012 and earlier - won't work 2019-06-20 02:24:28 +02:00
twinaphex 48eeb15d2c Silence warnings 2019-06-20 01:16:05 +02:00
Twinaphex c523acbfe7 Merge pull request #8989 from LazyBumHorse/fake_context
temporary workaround for d3d10-12, gx2 not being able to poll flags during init
2019-06-20 00:37:53 +02:00
twinaphex 71e86bcc9c (GLSL) Put this around HAVE_GLSL ifdefs 2019-06-19 22:34:05 +02:00
twinaphex 95b96a5faa (MSVC2005) Fix build issues 2019-06-19 21:43:39 +02:00
twinaphex 897a9a7c1a (MSVC 2017 UWP) Silence warnings 2019-06-19 21:20:31 +02:00
twinaphex c57aa566e5 (CGL) Add missing header 2019-06-19 20:53:24 +02:00
hizzlekizzle 91190a458d Merge pull request #8990 from jdgleaver/3ds-c-stick
(3DS) Fix C-Stick y-axis inversion
2019-06-19 12:45:38 -05:00
bparker06 4e77a78942 Update CHANGES.md 2019-06-19 13:15:15 -04:00
toshixm bd0fdf7322 Update Japanese translation messages (#8978)
* Updated Japanese translation messages.

* Modified translation of MENU_ENUM_LABEL_VALUE_MENU_ENUM_CONTROLS_PROLOG
2019-06-19 13:14:51 -04:00
LazyBumHorse 7b6444d911 temporary workaround for d3d10-12, gx2 not being able to poll flags during init 2019-06-19 19:10:40 +02:00
jdgleaver fc2c79b488 (3DS) Fix C-Stick y-axis inversion 2019-06-19 18:09:35 +01:00
Twinaphex 579854f314 Update CHANGES.md 2019-06-19 12:11:30 +02:00
twinaphex 0c2c6781bf (Cocoa GL) ui_companion_cocoa_event_command was in an infinite loop 2019-06-19 12:07:25 +02:00
Twinaphex 47910871a2 OSX hits rarch_menu_running_finished while quitting at a point
in time where configuration_settings is NULL. For now, check first
if the settings pointer is NULL
2019-06-19 10:40:42 +02:00
twinaphex 4d8f5f4dde Merge core_impl.c into retroarch.c 2019-06-19 09:51:56 +02:00
twinaphex f7d24b7c10 Cleanup 2019-06-19 06:08:35 +02:00
twinaphex f461f32264 Buildfix 2019-06-19 05:52:16 +02:00
twinaphex 6d4ebfe9c5 Cleanups 2019-06-19 05:35:03 +02:00
twinaphex db4f0eff24 Cleanup 2019-06-19 05:28:20 +02:00
twinaphex 3a984fc2e5 (GDI) Use video_info->userdata instead of querying video_driver_get_ptr
(retroarch.c) Simplify video_driver_get_ptr
2019-06-19 05:25:26 +02:00
twinaphex 68cbd5048c Convert input_conv_analog_id_to_bind into macro 2019-06-19 05:16:24 +02:00
twinaphex 84d246ad0b Cleanup unused functions 2019-06-19 04:15:30 +02:00
twinaphex 5d91af629e Set SHADERS_SLANG flag for D3D10/11/12 and query the video driver poke
interface's 'get flags' function before querying the video context
driver's 'get flags' function (D3D10/11/12/WiiU don't have a context
driver at all)
2019-06-19 03:18:28 +02:00
Twinaphex a094d09802 Remove shader_ext variable 2019-06-19 01:54:42 +02:00
twinaphex a6b3d6e8db Silence some warnings 2019-06-19 00:34:28 +02:00
bparker06 09ecea23d1 Update CHANGES.md 2019-06-18 18:20:45 -04:00
Twinaphex dd315ba7bc Merge pull request #8985 from bparker06/d3d_gpu_select
d3d10/11/12: add GPU selection
2019-06-19 00:19:51 +02:00
twinaphex eee7430ffa Fix CXX_BUILD 2019-06-19 00:10:03 +02:00
Brad Parker 47d5da560b Update CHANGES.md 2019-06-18 18:02:20 -04:00
twinaphex d63f4afc57 Add missing header include 2019-06-18 22:46:37 +02:00
Brad Parker d01f04c146 d3d10/11/12: add GPU selection 2019-06-18 16:35:50 -04:00
Twinaphex 6753bfcf9c Merge pull request #8984 from asavah/fixinclude
fix missing include
2019-06-18 22:30:03 +02:00
root e8b07e93a4 fix missing include 2019-06-18 23:19:09 +03:00
twinaphex b62476da77 Revert "Turn wifi_driver_ctl into a static function"
This reverts commit 8a5ae0b6cf.
2019-06-18 22:18:11 +02:00
twinaphex 8a5ae0b6cf Turn wifi_driver_ctl into a static function 2019-06-18 22:14:34 +02:00
twinaphex de9f7e521b Make this function static 2019-06-18 22:01:11 +02:00
twinaphex df8d7bb5aa runloop_msg_queue now local to retroarch.c - remove
functions runloop_msg_queue_lock and runloop_msg_queue_unlock,
turn them into macros instead and only use them inside retroarch.c
2019-06-18 21:33:01 +02:00
twinaphex 10b28e5d60 runloop_msg_queue_{lock|unlock} are only referenced from retroarch.c now 2019-06-18 21:24:42 +02:00
Twinaphex a9a1ff0047 Merge pull request #8979 from LazyBumHorse/fix_dolphin_crash
workaround for crash due to glcore not always using at least OpenGL 3.2
2019-06-18 20:18:14 +02:00
Twinaphex 579ff877e4 Merge pull request #8910 from LazyBumHorse/video_shader_parse_refactor
(Discussion) about video driver shader compatibility (+ proper fix for #8834)
2019-06-18 14:35:16 +02:00
LazyBumHorse c20c67bd3a proper shader compatibility checks
- move shader flags from the video drivers to the context drivers
 - rework config_load_shader_preset() from configuration.c into retroarch_load_shader_preset() in retroarch.c with proper compatibility check
 - implicitly call retroarch_load_shader_preset() in retroarch_get_shader_preset() once per core/content life cycle
 - use video_shader_is_supported() instead of video_driver_test_all_flags() where appropriate
 - remove GFX_CTX_FLAGS_NONE because it is meaningless
2019-06-18 13:46:41 +02:00
LazyBumHorse 692dc9f6a9 refactor shader checks affected by last commit and more:
- gl.c: refactor backend fallback into more general gl2_get_fallback_shader_type
 - d3d9-12, gl_core, gx2_gfx, gl, vulkan: more consistent shader init and `set_shader` behavior
 - configuration.c: remove check_shader_compatibility
 - shader_glsl.c, shader_gl_cg.c: use `video_shader_get_type_from_ext`
 - shader_gl_cg.c: add shader type check with fallback to stock like in shader_glsl.c
 - menu_shader.c: use `enum rarch_shader_type` instead of `unsigned`
 - video_shader_parse.c: add `video_shader_to_str` for easier logging
 - remove `type` from `struct video_shader`, which was always set to CG and wrongly used in lang_process.cpp's `slang_process()` (has no further consequences because the code is unused)
2019-06-18 13:44:19 +02:00
LazyBumHorse 42e35c825f refactor some video_shader_parse functions
- video_shader_parse_type()'s fallback only worked for NULL paths and was wrongly used, now returns RARCH_SHADER_NONE like video_shader_get_type_from_ext().
 - video_shader_get_type_from_ext() should not be checking video driver flags, this is instead done by video_shader_is_supported()
 - video_driver_get_all_flags() did not actually 'get' flags, changed to video_driver_test_all_flags()

workaround for crash due to glcore not always using at least OpenGL 3.2
2019-06-18 13:12:56 +02:00
Twinaphex da1d03bcb0 Update retroarch.c 2019-06-18 02:34:14 +02:00
twinaphex 3af449a445 Cleanups 2019-06-18 01:23:23 +02:00
twinaphex b08328897a Cleanup 2019-06-18 01:05:29 +02:00
twinaphex fd17e04bb1 Merg input_remote into retroarch.c 2019-06-18 01:03:33 +02:00
twinaphex 0bb4d0f24f (dispserv_x11.c) Add math.h 2019-06-17 21:07:16 +02:00
twinaphex c827e1b67f Turn into static function 2019-06-17 21:05:39 +02:00
twinaphex e011a07901 Cleanup 2019-06-17 20:16:12 +02:00
twinaphex ee37dd1953 Cleanup 2019-06-17 20:10:48 +02:00
twinaphex 04d4ddc2d7 Buildfix 2019-06-17 20:09:48 +02:00
twinaphex 7bbd927946 Merge wifi_driver.c and retroarch.c 2019-06-17 19:28:28 +02:00
twinaphex f90665526a Cleanups 2019-06-17 19:17:02 +02:00
twinaphex 491283cea1 UI Companion drivre and MIDI driver integrated into retroarch.c too 2019-06-17 19:15:35 +02:00
twinaphex b9c33713b4 Merge input_driver.c with retroarch.c 2019-06-17 18:59:56 +02:00
LazyBumHorse 76438fa098 workaround for crash due to glcore not always using at least OpenGL 3.2 2019-06-17 18:28:04 +02:00
Rob Loach f2d1a91ee2 Merge branch 'master' of https://github.com/libretro/RetroArch into changes-periodmarks 2019-06-17 12:06:04 -04:00
twinaphex 79cadc9eaf Move configuration global state to retroarch.c 2019-06-17 16:58:43 +02:00
twinaphex f061941456 Integrate record_driver.c into retroarch.c 2019-06-17 16:23:46 +02:00
twinaphex ee2745d1bd Don't directly call global_get_ptr from inside retroarch.c 2019-06-17 15:37:34 +02:00
Twinaphex 2d6e56d049 Remove some unused variables 2019-06-17 15:30:31 +02:00
twinaphex 5db8da3fc8 (Cocoa) Buildfix 2019-06-17 15:19:00 +02:00
twinaphex 2d7164b54f Should fix C89_BUILD 2019-06-17 15:13:01 +02:00
twinaphex ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex 61879bc8e0 audio_driver_dsp_filter_init - cleanup 2019-06-17 13:06:56 +02:00
twinaphex 127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
twinaphex eedc6a6092 Integrate location_driver.c into retroarch.c, get rid of
location_driver_ctl
2019-06-17 11:57:46 +02:00
twinaphex 66022c1b13 Get rid of camera_driver_ctl and bsv_movie_ctl 2019-06-17 11:38:28 +02:00
twinaphex c87344dca8 Cleanup camera_driver_ctl 2019-06-17 11:29:05 +02:00
twinaphex 3581786708 Merge camera_driver.c with retroarch.c 2019-06-17 11:18:27 +02:00
twinaphex f88e6c75d5 Cleanup 2019-06-17 10:14:41 +02:00
twinaphex ce51cf6b33 Simplify BSV code 2019-06-17 02:23:06 +02:00
Twinaphex aec3bf41ae Merge pull request #8977 from LazyBumHorse/fix_8974
Revert "allow saving and properly loading 0 pass shader presets"
2019-06-17 02:22:30 +02:00
LazyBumHorse 6514b80ff2 Revert "allow saving and properly loading 0 pass shader presets"
This reverts commit b54a360ab8.
2019-06-16 23:05:41 +02:00
twinaphex 184dc79011 Cleanups 2019-06-16 20:04:43 +02:00
twinaphex 5b6ba1acf9 Cleanups 2019-06-16 17:05:06 +02:00
twinaphex db87e050d5 Merge movie.c into retroarch.c 2019-06-16 16:52:48 +02:00
twinaphex e4b01642b9 Reimplement fullscreen toggle key 2019-06-16 16:20:43 +02:00
twinaphex 6581f4d968 Move some variables around 2019-06-16 16:06:37 +02:00
twinaphex 72a35481ea (XMB) Cleanups 2019-06-15 10:07:55 +02:00
twinaphex b26a5badfd Fix typo 2019-06-15 10:00:20 +02:00
twinaphex fc62f7afaa Update 2019-06-15 09:58:34 +02:00
twinaphex f60306b232 Rename read_conf_cgp/write_conf_cgp to
read_conf_preset/write_conf_preset
2019-06-15 09:00:35 +02:00
Yoshi Sugawara 45b36d7d47 iOS: remove pause indicator; show the native UI menu using 4-finger swipe down gesture 2019-06-14 08:35:33 -10:00
hizzlekizzle b38994461c Merge pull request #8971 from jdgleaver/scanline-filter
Add 'Scanline2x' CPU video filter
2019-06-14 12:22:14 -05:00
Brad Parker d397f9bd94 caca: xmb is allowed (rgui is not supported yet anyway) 2019-06-14 11:09:39 -04:00
jdgleaver 973a783b9c Add 'Scanline2x' CPU video filter 2019-06-14 15:16:24 +01:00
twinaphex 33d4d8b7c9 Update libretro-common 2019-06-14 13:13:49 +02:00
twinaphex d422638c45 Turn more static const variables into macros 2019-06-14 13:01:22 +02:00
twinaphex 408d41b629 Turn a bunch of variables into macros 2019-06-14 11:13:02 +02:00
twinaphex 523b516195 Cleanup 2019-06-14 06:47:46 +02:00
twinaphex 99240fe7c1 Cleanups 2019-06-14 05:08:04 +02:00
twinaphex 133c38c601 (file_path.c) Cleanups 2019-06-14 04:57:17 +02:00
twinaphex 118d8bde98 (task_netplay_find_content) Cleanups 2019-06-14 04:46:25 +02:00
twinaphex 0d9c11e69c Move macro to top of file 2019-06-14 02:12:29 +02:00
twinaphex 92108aa35f Revert "Merge pull request #8350 from huwpascoe/core_updater"
This reverts commit 57c373e1d7, reversing
changes made to 0317b59da3.
2019-06-14 02:08:14 +02:00
twinaphex fa55047e2e (config.features.h) Turn static const variables into macros 2019-06-13 22:34:24 +02:00
Twinaphex 6568152309 Merge pull request #8968 from bparker06/vk_gpu_index
Add video setting to select GPU (Vulkan)
2019-06-13 19:49:08 +02:00
Brad Parker 77b720829c skip displaying GPU name if it's blank 2019-06-13 13:07:40 -04:00
Brad Parker c962da0ddb add video setting to select gpu (currently implemented for vulkan) 2019-06-13 12:47:08 -04:00
Twinaphex 794f0ee153 Merge pull request #8967 from libretro/bparker06-patch-1
Auto-detect libcaca and libsixel at compile time
2019-06-13 18:01:17 +02:00
bparker06 b945cfbbf9 Update config.params.sh 2019-06-13 11:56:19 -04:00
twinaphex 17cbd134d5 Reimplement take screenshot 2019-06-13 09:30:07 +02:00
Twinaphex 57c373e1d7 Merge pull request #8350 from huwpascoe/core_updater
Flag existing cores in the updater
2019-06-13 04:42:57 +02:00
Twinaphex 0317b59da3 Merge pull request #8946 from LazyBumHorse/master
allow saving and properly loading 0 pass shader presets
2019-06-13 00:54:37 +02:00
Twinaphex f4554ef547 Merge pull request #8959 from yoshisuga/touchscreen_input_touch_count
iOS/Android: Support detecting multi-touch input
2019-06-13 00:54:20 +02:00
Twinaphex e9dd9a882c Merge pull request #8960 from jdgleaver/wii-default-paths
(GEKKO) Update default paths
2019-06-12 23:21:30 +02:00
Twinaphex 5fbdda6d38 Merge pull request #8961 from jdgleaver/core-association-array-length
Increase size of playlist core association arrays
2019-06-12 22:03:47 +02:00
Twinaphex d548f62dd0 Merge pull request #8621 from orbea/travis
travis: Update to xenial.
2019-06-12 22:03:31 +02:00
orbea dd1182e32e travis: Update to xenial.
The normal LTS period for trusty is expired on April 25, 2019.
2019-06-12 06:30:00 -07:00
jdgleaver e2a79daa44 Increase size of playlist core association arrays 2019-06-12 12:01:31 +01:00
jdgleaver 05befb7175 (GEKKO) Update default paths 2019-06-12 10:41:11 +01:00
Ömercan Kömür c91b8e6295 Merge pull request #1 from libretro/master
updates
2019-06-12 12:13:31 +03:00
Twinaphex 9634639842 Merge pull request #8958 from fpscan/master
Turkish language updates
2019-06-12 05:23:21 +02:00
Twinaphex 7ea8dbb6ac Merge pull request #8956 from toshixm/master
Update Japanese translation
2019-06-12 00:36:24 +02:00
Ömercan Kömür 56ba6e5a4d Update msg_hash_tr.c 2019-06-12 01:14:20 +03:00
Yoshi Sugawara 2dde223d23 Support returning the number of touches in the current input to support multi-touch inputs, like using a 2 finger touch to reload or secondary fire in lightgun games 2019-06-11 11:49:27 -10:00
Toshiyuki Maezawa 6bc2395e52 Added workaround C89 limitations. 2019-06-12 00:58:02 +09:00
Twinaphex b69ab4b178 Merge pull request #8957 from jdgleaver/wii-rgui-aspect
(Wii) Add widescreen RGUI support
2019-06-11 17:21:06 +02:00
jdgleaver e6c236d275 (Wii) Add widescreen RGUI support 2019-06-11 15:57:50 +01:00
Toshiyuki Maezawa 5b0c8ab2ab Added BOM 2019-06-11 23:37:13 +09:00
Toshiyuki Maezawa 9a003e03d0 Updated japanese translation. 2019-06-11 23:23:02 +09:00
Twinaphex 5742bf3e45 Merge pull request #8955 from natinusala/master
menu display: use video_info for scissoring rect clipping
2019-06-11 16:07:53 +02:00
natinusala 7c17cd9213 menu display: use video_info for scissoring rect clipping 2019-06-11 10:08:00 +02:00
Twinaphex cdc165f340 Merge pull request #8954 from driver1998/win-arm64
Windows ARM64 support
2019-06-11 08:06:04 +02:00
driver1998 c2f2219a62 UWP: recover AppxBundlePlatforms 2019-06-11 04:10:44 +08:00
driver1998 d630213d36 Windows ARM64 support 2019-06-11 02:40:46 +08:00
Joohan Lee 99a466fd7d Update Korean translation (#8952)
add more translation & correct mistypo
2019-06-10 13:26:53 -04:00
Toshiyuki Maezawa 63eb7930d1 Merged updates from msg_hash_us.c 2019-06-11 01:34:47 +09:00
Toshiyuki Maezawa 06a26fbe6b Applied coding style using editorconfig 2019-06-11 00:45:36 +09:00
Twinaphex 1fea954e5b Merge pull request #8951 from jdgleaver/wii-mkdir-fix
(Wii) Fix recursive path_mkdir() operations
2019-06-10 17:40:37 +02:00
Toshiyuki Maezawa 9840e9a9a1 Merged updates from msg_hash_en.h 2019-06-10 23:48:11 +09:00
Twinaphex 46451b43b9 Merge pull request #8949 from jdgleaver/thumb-config-save-fix
Ensure 'menu_left_thumbnails' config value is saved on all platforms
2019-06-10 16:25:05 +02:00
Twinaphex 6cdc965bf8 Merge pull request #8950 from jdgleaver/rgui-playlist-no-db
(RGUI) Enable playlist display on platforms without database support
2019-06-10 16:23:42 +02:00
jdgleaver feae08e5e7 (Wii) Fix recursive path_mkdir() operations 2019-06-10 14:26:41 +01:00
jdgleaver 60f5721656 (RGUI) Enable playlist display on platforms without database support 2019-06-10 12:00:04 +01:00
jdgleaver d316827f5c Ensure 'menu_left_thumbnails' config value is saved on all platforms 2019-06-10 10:53:45 +01:00
Twinaphex 030a171918 Merge pull request #8945 from orbea/osx_qb
travis: Test darwin builds with qb.
2019-06-10 00:45:30 +02:00
LazyBumHorse b54a360ab8 allow saving and properly loading 0 pass shader presets 2019-06-09 21:34:00 +02:00
orbea e794c8d287 travis: Test darwin builds with qb.
There is a Darwin code path in the qb configure scripts and as far as I
can tell it has not been tested heavily in a long time.

This will expose this code path for travis builds with only clang which
will make it easier to test qb changes without breaking Darwin support.
I am surprised that this hasn't already happened...

Some things to note are.

* It appears gcc is really clang on macOS.
* Both C89_BUILD and CXX_BUILD were ommitted because they are broken in
  ways I can not fix. In the event any interested parties wish to fix
  these issues they can be easily added.
* This will use the default macOS version available with travis which is
  currently 10.13. Other version(s) can be specified if desired, I am
  not sure which versions are best to test. See the following link for
  more details.

https://docs.travis-ci.com/user/reference/osx#macos-version
2019-06-09 07:38:47 -07:00
twinaphex 53c91d6e56 More runloop cleanups - create HOTKEY_CHECK3 2019-06-09 08:48:59 +02:00
twinaphex 640fb3a5cb command.c / retroarch.c cleanups 2019-06-09 08:35:16 +02:00
twinaphex 3defce596b dir_is_empty - fix case for RARCH_DIR_SYSTEM 2019-06-09 08:19:34 +02:00
twinaphex dc6de293ef (runloop) Cleanups 2019-06-09 06:34:01 +02:00
twinaphex a2919ca4b4 (Runahead) Cleanups 2019-06-09 06:15:16 +02:00
twinaphex 77e7bc7a1c Move stirng_list_clone to libretro-common 2019-06-09 06:10:28 +02:00
twinaphex aea55f9c2d (RJPEG) Cleanup 2019-06-09 05:55:03 +02:00
Twinaphex 3917d0c6c9 Merge pull request #8943 from orbea/networking
qb: Improve various tests.
2019-06-09 05:20:25 +02:00
twinaphex 9aa61a010f Fix build error 2019-06-09 04:25:22 +02:00
orbea c450b7d2f2 qb: Improve various tests.
Also fixes a compile failure with --disable-networking
2019-06-08 17:22:05 -07:00
Twinaphex 727033f0fc Merge pull request #8940 from orbea/egl
qb: Clean up EGL check
2019-06-08 21:55:26 +02:00
Twinaphex 362750b84a Merge pull request #8941 from LazyBumHorse/master
path_relative_to: fix my stupid return in void function
2019-06-08 21:54:43 +02:00
LazyBumHorse d67a118ad4 path_relative_to: fix return in void function 2019-06-08 19:15:52 +02:00
orbea 0af5352f56 qb: Clean up EGL check 2019-06-08 09:12:06 -07:00
Twinaphex e57f2bdd63 Merge pull request #8938 from orbea/egl
qb: Add missing checks for EGL support.
2019-06-08 17:41:02 +02:00
orbea 9794e4af07 qb: Add missing checks for EGL support.
Some systems may have egl libraries, but not egl headers which
will result in failing to build EGL support.

Also OpenGLES2 also required EGL support so lets make that clear.
2019-06-08 07:26:31 -07:00
twinaphex 36575e5d69 Update emscripten 2019-06-08 16:01:39 +02:00
twinaphex 5d301f321d Refactor hotkey checks 2019-06-08 15:19:15 +02:00
twinaphex 548e1380d7 Cleanup - use HOTKEY_CHECK 2019-06-08 05:19:50 +02:00
twinaphex bb828b7396 (retroarch.c) Create HOTKEY_CHECK 2019-06-08 05:17:14 +02:00
Twinaphex 81f1b3df7c Merge pull request #8933 from LazyBumHorse/master
make shader presets use relative paths
2019-06-08 03:52:20 +02:00
Twinaphex 3ec1a4d73e Merge pull request #8935 from jdgleaver/xmb-thumb-size
(XMB) Add optional thumbnail scaling
2019-06-07 20:00:30 +02:00
Twinaphex 06f16beded Merge pull request #8928 from jdgleaver/info-metadata
Overhaul content 'Information' menu display
2019-06-07 19:00:46 +02:00
jdgleaver cfaaa5eeff (XMB) Add optional thumbnail scaling 2019-06-07 16:38:17 +01:00
LazyBumHorse 2816730b2f make shader presets use relative paths
Also change fill_pathname_resolve_relative() to apply path_resolve_realpath() as well
2019-06-07 16:11:06 +02:00
jdgleaver c03b20db55 - Hide content information 'Database Entry' item if content has no label
- Correctly handle error conditions in menu_displaylist 'DISPLAYLIST_DATABASE_ENTRY' case (i.e. prevent segfaults/menu lockups when content
has no label)
2019-06-07 11:23:06 +01:00
Twinaphex 03c45f2ec8 Merge pull request #8929 from Tatsuya79/patch-2
glcore rotation fix for desmume
2019-06-06 20:13:34 +02:00
Tatsuya79 3b31dafa7e glcore rotation fix for desmume 2019-06-06 20:11:08 +02:00
Twinaphex 7b16a1b275 Merge pull request #8926 from Tatsuya79/patch-1
glcore fix wrong rotation with HW cores
2019-06-06 19:45:23 +02:00
jdgleaver 97aaf42446 Overhaul content 'Information' menu display 2019-06-06 17:37:32 +01:00
Tatsuya79 1cc307a879 glcore fix wrong rotation with HW cores 2019-06-06 17:05:07 +02:00
twinaphex fdd09a8b06 Refactor task screenshot 2019-06-06 15:48:50 +02:00
twinaphex 280cec702b video_driver_supports_viewport_read should only check if
taking screenshots with the GPU backbuffer is supported,
move outside settings check to callee
2019-06-06 15:06:27 +02:00
twinaphex 43d27006ce Rewrite '== true' in our own code 2019-06-06 13:51:56 +02:00
twinaphex 6d17d11132 Rewrite '== false' to '!' for our own code 2019-06-06 13:50:39 +02:00
twinaphex 58056a409d event_init_content - cleanup 2019-06-06 13:41:20 +02:00
twinaphex b87c9fd495 command_read_ram - small cleanups 2019-06-06 13:19:57 +02:00
twinaphex b4d2281f7d command_write_ram - cleanup 2019-06-06 13:12:38 +02:00
twinaphex 8bb74d0776 Added new hotkey AI Service and added requested
variables for OCR
2019-06-06 03:41:40 +02:00
twinaphex aa03ff9aa1 Start adding ai_service_mode, ai_service_url, and ai_service_enabled 2019-06-06 03:29:34 +02:00
Twinaphex c66855e25e Merge pull request #8923 from Tatsuya79/master
add some missing settings in QT
2019-06-06 01:18:54 +02:00
Tatsuya79 ed0df2fcd7 add some missing settings in QT 2019-06-06 01:10:45 +02:00
Huw Pascoe 7d926e9cf6 Flag existing cores in the updater
Cores that the user already has are flagged.
2019-06-05 22:19:52 +01:00
Twinaphex 27e5c7e63c Merge pull request #8921 from yoshisuga/ios13-controllers
iOS: Improved controller support (L3/R3, PS4/Xbox One Controllers in iOS 13 beta)
2019-06-05 20:39:35 +02:00
Twinaphex 7dffec90ca Merge pull request #8920 from jdgleaver/hq-thumb-scaling
(XMB/Ozone) Add optional thumbnail upscaling
2019-06-05 20:37:51 +02:00
Yoshi Sugawara 222d3297d2 use preprocessor macros to support compiling using Xcode 11/iOS 13 and older versions of Xcode 2019-06-05 06:50:02 -10:00
Yoshi Sugawara 22d84eaef2 Merge branch 'master' into ios13-controllers 2019-06-05 06:22:51 -10:00
Yoshi Sugawara 9e1fcf4031 iOS: Support L3/R3 in iOS 12.1, Options buttons in mfi/PS4/XBox One controllers in iOS 13 2019-06-05 06:21:06 -10:00
jdgleaver c4bb2f5ad7 (XMB/Ozone) Add optional thumbnail upscaling 2019-06-05 17:05:30 +01:00
Twinaphex 146f974274 Merge pull request #8918 from orbea/cheevos
Add missing rcheevos include.
2019-06-05 16:14:09 +02:00
orbea be35b0ee15 Add missing rcheevos include.
Fixes https://github.com/libretro/RetroArch/issues/8899
2019-06-05 07:09:42 -07:00
Twinaphex dda6108840 Merge pull request #8917 from QuarkTheAwesome/master
(WiiU) Colour and transparency fixes for texture menus (RGUI)
2019-06-05 16:04:29 +02:00
Ash Logan 24fba02a9f (GX2) Display menu texture at full opacity
rgui does its own transparency effects in the texture, so we don't have 
to add another 50% on that
2019-06-05 23:19:35 +10:00
Ash Logan 87be0d366f (GX2) Use correct pixelformat ordering for menu texture
This fixes up some backwards colours on wiiu, resulting in all the
themes looking lovely.
2019-06-05 23:18:09 +10:00
Twinaphex faf612098f Merge pull request #8912 from jdgleaver/remove-history-favourites
Add option to show 'remove playlist entry' only on history/favourites
2019-06-04 19:35:27 +02:00
Twinaphex d02d935496 Merge pull request #8913 from jdgleaver/wii-overscan
(GEKKO) Add optional overscan correction
2019-06-04 19:34:51 +02:00
Twinaphex 5cff3ce9a4 Merge pull request #8914 from orbea/qt
qb: Improve the Qt check.
2019-06-04 19:32:07 +02:00
orbea 1489a66ea5 qb: Improve the Qt check. 2019-06-04 08:26:15 -07:00
jdgleaver 736ff13e35 (GEKKO) Add optional overscan correction 2019-06-04 15:50:47 +01:00
jdgleaver 80c9475fa4 Add option to show 'remove playlist entry' only on history/favourites 2019-06-04 11:29:51 +01:00
Brad Parker 1120a7e490 Bliss-Box: add additional pad types from firmware 3.0 2019-06-03 23:40:31 -04:00
Twinaphex a6895360b4 Merge pull request #8909 from plaidman/master
fixing duplicate "restart retroarch" entries in lakka
2019-06-04 02:52:46 +02:00
hizzlekizzle de3c1b82b7 Merge pull request #8903 from Ryunam/toggle-showmouse-overlay
Add toggle to show/hide mouse cursor with overlays
2019-06-03 13:43:54 -05:00
Tomsic, Jason 1c9e78187f fixing duplicate "restart retroarch" entries in lakka 2019-06-03 14:16:02 -04:00
twinaphex 717c5c1e2f Delayed CRC calculation for need_fullpath ROM loading (unpatched) -
we can get rid of the GEKKO ifdef for Gamecube/Wii since CRC
calculation for these kind of games will now be delayed until
content_get_rom_crc is called the first time, which typically only
happens during netplay
2019-06-03 18:51:04 +02:00
Twinaphex 240f0a578c Merge pull request #8792 from orbea/enabled
qb: Improve X11 checks.
2019-06-03 17:00:58 +02:00
Twinaphex c5aa675cac Merge pull request #8905 from orbea/unix
Remove duplicate code.
2019-06-03 14:26:16 +02:00
Twinaphex 1ee6d7b34b Merge pull request #8904 from orbea/menu
Fix --disable-menu.
2019-06-03 14:26:03 +02:00
twinaphex 6ffb675c0b (GX) Buildfix 2019-06-03 14:18:25 +02:00
Twinaphex f5df996be4 Merge pull request #8907 from jdgleaver/rgui-cleanup
(RGUI) Minor clean-ups
2019-06-03 14:10:51 +02:00
Twinaphex bad318f540 Merge pull request #8908 from QuarkTheAwesome/master
WiiU: Fixes for RGUI under GX2
2019-06-03 14:09:47 +02:00
Ash Logan 3d40a3bcaf (GX2) Respect filtering settings for menu 2019-06-03 21:41:03 +10:00
Ash Logan 3461955dae (GX2) Scale menu to viewport size 2019-06-03 21:38:40 +10:00
jdgleaver e5be7931fd (RGUI) Minor clean-ups 2019-06-03 12:08:47 +01:00
Ash Logan ab4ca8cf1b (GX2) Use correct menu coordinates to render menu 2019-06-03 20:35:46 +10:00
orbea cafc45d705 Remove duplicate code. 2019-06-02 22:25:20 -07:00
orbea fb64183fde Fix --disable-menu. 2019-06-02 21:37:09 -07:00
Brad Parker 2e9df1be11 typo 2019-06-02 20:25:11 -04:00
Ryunam ed1d98d2a2 Add toggle to show/hide mouse cursor with overlays 2019-06-02 23:48:01 +02:00
twinaphex 7ea2034922 Cleanups 2019-06-02 21:02:59 +02:00
Twinaphex b3d3f2db58 Merge pull request #8781 from orbea/haiku
qb: Add check_platform.
2019-06-02 18:10:19 +02:00
Twinaphex 3a338add02 Merge pull request #8898 from orbea/tests
qb: Log the configure arguments in config.log.
2019-06-02 18:09:47 +02:00
twinaphex f5106afc0f (config.def.h) Turn more const variables into macros 2019-06-02 18:09:33 +02:00
orbea 8922e96869 qb: Add check_platform.
This allows enabling and disabling features for platforms
more robustly.

Fixes https://github.com/libretro/RetroArch/issues/8777

v2: Fix D3D configure checks.
v3: Cleanup.
v4: Update Makefile.msvc and Makefile.win
2019-06-02 08:48:05 -07:00
orbea 04c184252d qb: Improve X11 checks. 2019-06-02 08:45:24 -07:00
twinaphex 5a4294359a (config.def.h) Turn const variables into macros 2019-06-02 17:19:58 +02:00
orbea fbe6639ee1 qb: Log the configure arguments in config.log. 2019-06-02 07:04:56 -07:00
Twinaphex cc22680480 Merge pull request #8897 from orbea/khr
Try using the udev or linuxraw input drivers for khr_display.
2019-06-02 09:07:35 +02:00
Twinaphex fc149726c7 Merge pull request #8895 from orbea/glcore
Fix shaders init with glcore + kms.
2019-06-02 07:53:12 +02:00
orbea a9c9d0efc3 Try using the udev or linuxraw input drivers for khr_display.
When using vulkan with a khr_display context while the x input
driver is set RA will fail to start. This changes it to try setting
the udev and then linuxraw input drivers in such cases.

This code is copied from gfx/drivers_context/drm_ctx.c
2019-06-01 19:16:27 -07:00
hizzlekizzle 66ba0db249 Merge pull request #8896 from orbea/gles3
Fix the OpenGLES3 build.
2019-06-01 19:01:27 -05:00
orbea 0d167afc4f Fix the OpenGLES3 build.
This depends on HAVE_EGL.

Revert "Remove this Travis test for now"

This reverts commit 678089c2de.
2019-06-01 13:37:48 -07:00
twinaphex 580bb2cf54 (dynamic.c) Cleanup 2019-06-01 22:36:27 +02:00
orbea 44c62c8a37 Fix shaders init with glcore + kms.
See https://github.com/libretro/RetroArch/issues/8834
2019-06-01 13:32:06 -07:00
Twinaphex 8610a77dac Merge pull request #8892 from orbea/egl
Revert "(EGL) Turn EGL off by default for now until we figure out how"
2019-06-01 21:36:37 +02:00
Twinaphex 5183160142 Merge pull request #8894 from LazyBumHorse/master
(wgl_ctx) set GFX_CTX_FLAGS_SHADERS_SLANG for glcore
2019-06-01 21:35:38 +02:00
LazyBumHorse a6f042b320 wgl_ctx: set GFX_CTX_FLAGS_SHADERS_SLANG for glcore 2019-06-01 21:21:45 +02:00
Twinaphex f3ebc40e7a Merge pull request #8891 from orbea/zlib
qb: Fix the zlib check.
2019-06-01 17:25:42 +02:00
orbea 0498f8ba1c Revert "(EGL) Turn EGL off by default for now until we figure out how"
This reverts commit 8076d06c24.

This seems to work again.
2019-06-01 07:46:46 -07:00
orbea 35d4405d3e qb: Fix the zlib check.
This is the correct change to prefer the builtin zlib.

Revert "(QB) Bake in zlib by default, make zlib as dynamic library dependency"

This reverts commit 2713e792ca.

Revert "(QB) Change behavior - if HAVE_ZLIB = no, that doesn't mean"

This reverts commit f66fe5e16b.
2019-06-01 07:39:02 -07:00
Twinaphex 5c7a5fdba0 Update CHANGES.md 2019-05-31 20:42:16 +02:00
Twinaphex c75c5668aa Update CHANGES.md 2019-05-31 20:38:28 +02:00
twinaphex 4c5f9ee65b Cleanups 2019-05-31 17:34:32 +02:00
twinaphex aee137eb7b (retroarch.c) Cleanups 2019-05-31 16:41:17 +02:00
twinaphex 90fab37a86 Get rid of RUNLOOP_STATE_SLEEP and reuse existing state 2019-05-31 16:38:17 +02:00
twinaphex 143c333343 (configuration.c) Cleanups 2019-05-31 16:04:46 +02:00
twinaphex 7ee5b187f9 (iOS) Fix small memory leak 2019-05-31 16:00:51 +02:00
twinaphex ca33665287 (config.def.h) WIP - most of these const variables should become
macros instead
2019-05-31 15:59:49 +02:00
twinaphex 6048fd564d (retroarch.c) Simplify some code 2019-05-31 15:29:52 +02:00
Twinaphex b0f5f7bc9d Merge pull request #8889 from WeedyWeedSmoker/(Buildfix)-iOS-6-&-8-+-iOS-projects-fixes
(Buildfix) iOS 6 & 8 + iOS projects fixes
2019-05-31 10:00:38 +02:00
Weedy Weed Smoker 2e5b102340 Remove "-DHAVE_DYNAMIC" 2019-05-31 14:59:24 +07:00
Weedy Weed Smoker b90c6ce3bd Remove "-DHAVE_DYNAMIC" 2019-05-31 14:58:51 +07:00
Weedy Weed Smoker 5a0ffe4e0b Fix iOS 11 static project 2019-05-31 14:26:47 +07:00
Weedy Weed Smoker 5490d554e0 Fix iOS 11 static project 2019-05-31 14:26:13 +07:00
Weedy Weed Smoker 9154f0fa93 Fix iOS 10 jailbroken installation 2019-05-31 14:25:37 +07:00
Weedy Weed Smoker 517340139d Fix iOS 9 jailbroken installation 2019-05-31 14:24:47 +07:00
Weedy Weed Smoker 536d912c2c (Buildfix) iOS 8 2019-05-31 14:23:47 +07:00
Weedy Weed Smoker 10d8ad7265 (Buildfix) iOS 6 2019-05-31 14:23:11 +07:00
twinaphex 16f830e080 (task content) Cleanups 2019-05-31 09:20:37 +02:00
twinaphex 9df5b731f5 Fix mistake 2019-05-31 09:06:48 +02:00
twinaphex 474f5ab00a (CocoaTouch Menu) Fix build 2019-05-31 08:25:49 +02:00
twinaphex c3c3eedfa2 file_archive_get_file_list - file_archive_walk returns boolean type,
not integer
2019-05-31 07:48:10 +02:00
twinaphex 678089c2de Remove this Travis test for now 2019-05-31 07:43:58 +02:00
twinaphex 4862368b02 (Unix/Linux) Correct parse_drive_list (potential fix) 2019-05-31 07:11:10 +02:00
twinaphex 281630bd4f (retroarch.c) Cleanups 2019-05-31 07:02:44 +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 07d8daf048 Cleanups - prefer path_is_valid over filestream_exists 2019-05-30 21:35:34 +02:00
Twinaphex 11165a816a Merge pull request #8886 from jdgleaver/hide-restart-retroarch-fix
Fix typo in PR  #8885
2019-05-30 15:15:23 +02:00
jdgleaver 1891ca7c68 Fix typo in PR #8885 2019-05-30 14:09:21 +01:00
Twinaphex f78ee7fe41 Merge pull request #8885 from jdgleaver/hide-restart-retroarch
Add option to show/hide 'Restart RetroArch'
2019-05-30 15:00:38 +02:00
jdgleaver aa6beb68c2 Add option to show/hide 'Restart RetroArch' 2019-05-30 13:52:24 +01:00
Twinaphex 7c5d94f924 Merge pull request #8884 from jdgleaver/path-is-valid
filestream_exists() -> path_is_valid() replacements
2019-05-30 13:35:10 +02:00
jdgleaver d6b2e83408 filestream_exists() -> path_is_valid() replacements 2019-05-30 12:19:52 +01:00
Twinaphex 326a4ccbc6 Merge pull request #8883 from jdgleaver/menu-entries-optimisation
'menu_entry' optimisations
2019-05-30 12:06:43 +02:00
jdgleaver ff16fb347a 'menu_entry' optimisations 2019-05-30 10:11:26 +01:00
twinaphex e680fab6e1 (Cheevos) Fix Cheevos
(Wayland) Hopefully finally fix EGL issues
2019-05-30 11:08:00 +02:00
Twinaphex 9eecf1302b Merge pull request #8881 from LazyBumHorse/master
implement FrameDirection slang semantic for d3d10-12, gx2_gfx and metal
2019-05-30 10:50:46 +02:00
Twinaphex b5e6b9d929 Merge pull request #8882 from meleu/buhbye_old_cheevos
get rid of old cheevos implementation
2019-05-30 10:49:47 +02:00
meleu 98ba2d8cb9 remove old cheevos files 2019-05-29 16:32:36 -03:00
LazyBumHorse 9ab49b7b2c Add FrameDirection for metal and gx2_gfx 2019-05-29 21:06:44 +02:00
meleu 694bac565f do not use old cheevos implementation 2019-05-29 14:26:22 -03:00
LazyBumHorse b54ad4d67f implement FrameDirection slang semantic for d3d10,11,12 2019-05-29 18:09:37 +02:00
Twinaphex 95546b51d7 Merge pull request #8880 from LazyBumHorse/master
fix frame_direction type for vulkan
2019-05-29 16:38:37 +02:00
twinaphex 6c5d08d893 content_file_init_extract - cleanup 2019-05-29 16:35:51 +02:00
twinaphex 559669fc4a (dynamic.c) Cleanups 2019-05-29 16:27:06 +02:00
twinaphex 5d48b98014 dynamic.c - cleanups 2019-05-29 15:42:13 +02:00
LazyBumHorse 4c272973f1 fix frame_direction type for vulkan 2019-05-29 15:29:37 +02:00
Twinaphex d6cdcf4832 Update CHANGES.md 2019-05-29 14:43:55 +02:00
Twinaphex 6c721ee017 Merge pull request #8875 from losernator/master
Update Korean translation
2019-05-29 14:42:58 +02:00
twinaphex 8ff9e7254d (audio_driver.c) Cleanups 2019-05-29 14:26:14 +02:00
twinaphex d37e610d70 (Switch) Stub this code out for now 2019-05-29 12:57:36 +02:00
twinaphex 3c15d16728 (Discord) CXX_BUILD fixes 2019-05-29 10:53:47 +02:00
Twinaphex d6aafef950 Merge pull request #8877 from QuarkTheAwesome/build-fixes
WiiU: Build cleanup/refactors, fix Griffin, newest devkitPPC
2019-05-29 10:50:18 +02:00
Ash Logan 4ef9258b63 wiiu: Add libfat/iosuhax to Griffin, always use builtins 2019-05-29 18:23:34 +10:00
Ash Logan 8f48b40491 libfat: ARGV_MAGIC is different on WiiU 2019-05-29 18:22:36 +10:00
twinaphex 19721639bf Cleanup 2019-05-29 10:22:33 +02:00
Ash Logan 3f41c2b822 libiosuhax: Use wiiu headers instead of redefining 2019-05-29 18:22:16 +10:00
Ash Logan f6e4361fc9 wiiu: Make libfat/libiosuhax optional 2019-05-29 18:21:56 +10:00
twinaphex 43be7c384b (run_ahead.c) Fix signature 2019-05-29 10:20:53 +02:00
twinaphex 9d585ecd94 (EGL) Buildfixes 2019-05-29 10:02:03 +02:00
Joohan Lee 8391d4f853 Update msg_hash_ko.h 2019-05-29 15:42:32 +09:00
Joohan Lee 6353a95ce3 Update Korean translation
Update Korean translation
2019-05-29 15:19:42 +09:00
Twinaphex 402607537a Merge pull request #8869 from jdgleaver/jpeg-fix
(task_image) Fix jpeg/bmp/tga loading bug
2019-05-28 18:50:47 +02:00
jdgleaver a51293fbc6 (task_image) Fix jpeg/bmp/tga loading bug 2019-05-28 17:22:23 +01:00
twinaphex 2c6ca88575 (XMB) Use path_is_valid instead of filestream_exists 2019-05-28 17:10:50 +02:00
radius 1704ef8410 autoconf cleanups, fix swap ok/cancel in ozone 2019-05-28 16:29:54 +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
radius f164b4be3d add apng 2019-05-28 16:29:29 +02:00
twinaphex 6a30a1f89a Disable Discord for C89 again 2019-05-28 16:27:21 +02:00
twinaphex 5e09f1a569 Revert "(Discord RPC) Cleanups"
This reverts commit 8609c68f31.
2019-05-28 16:26:50 +02:00
twinaphex 8609c68f31 (Discord RPC) Cleanups 2019-05-28 16:18:29 +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
twinaphex 876e1a43aa Remove C89_DISCORD 2019-05-28 16:02:09 +02:00
twinaphex 15277f9dbc (mbedtls) Try to make more code C89-compliant 2019-05-28 15:58:07 +02:00
twinaphex ecaa250aad (Vita) Use builtin zlib 2019-05-28 15:35:31 +02:00
twinaphex 7ee8a4de3e (Emscripten) Try to use builtin zlib 2019-05-28 15:32:26 +02:00
twinaphex 243c9b3399 (PS2) Try to use builtin zlib 2019-05-28 15:30:16 +02:00
Twinaphex bdaa7e8d45 Merge pull request #8866 from jdgleaver/task-image-fix
(task_image) Make image loading/processing non-blocking on non-threaded systems
2019-05-28 14:12:44 +02:00
jdgleaver ff297e72e7 (task_image) Make image loading/processing non-blocking on non-threaded systems 2019-05-28 12:57:52 +01:00
Twinaphex 7b3e6f058b Merge pull request #8856 from Dwedit/msvc_warning_suppression
Add 4566 to the list of warnings to suppress on MSVC 2015/2017
2019-05-28 13:37:47 +02:00
twinaphex 682bfc675f Add this ifdef around pragma execute-character-set 2019-05-28 13:37:14 +02:00
twinaphex 353faffb40 (MSVC 2010 x64) Add compat/zlib include dir 2019-05-28 13:09:00 +02:00
Twinaphex f56dfb711d Merge pull request #8863 from BringerethOfLight/master
menu display: don't move scissoring rect
2019-05-28 12:22:03 +02:00
Ash Logan 26d3c3634c wiiu/input: Uniquely name axis enum
Griffin!
2019-05-28 09:16:48 +10:00
Ash Logan 4727f6f72a wiiu: Add common/hid to griffin build
It very, very nearly works
2019-05-28 09:06:31 +10:00
Ash Logan 258b9391b7 hid: Uniquely name (more) symbols
5bf8293 missed a few, all good!
2019-05-28 09:06:31 +10:00
Ash Logan ab63d34e2e wiiu: Add inputs and ifaddrs to griffin build
Gets a little closer to fixing it, still has issues with the input 
drivers though
2019-05-28 09:06:31 +10:00
Ash Logan 9a89aebe73 wiiu/input: Give static variables unique names
For griffin build, where static is meaningless
2019-05-28 09:06:31 +10:00
Ash Logan e2c479987c Makefile.wiiu: Formatting/readability pass 1
Actual meaning is mostly the same, aside from cleaning up the include 
paths and portlibs handling. Griffin build does not work, salamander 
builds OK.
2019-05-28 09:06:31 +10:00
Ash Logan e00d1f01e4 Makefile.wiiu: Remove -mwup (removed from devkitPPC)
See https://github.com/devkitPro/gcc/commit/8903cf8ec03f30497eba907b7f0209abd9797a99
This got removed from devkitPPC a while ago, this should allow
people on newer toolchains to build.
These changes also need to be done to all the cores.
2019-05-28 09:06:31 +10:00
twinaphex 22320a4a91 (MSVC) Fix Griffin MSVC build 2019-05-27 22:22:45 +02:00
BringerethOfLight 50720f0a92 menu display: don't move scissoring rect
don't just return from the function either, instead set w/h to 0
2019-05-27 20:00:54 +00:00
Twinaphex 8e4dc6f007 Update CHANGES.md 2019-05-27 20:49:57 +02:00
twinaphex 4f50886190 command_event_set_savestate_auto_index - cleanup 2019-05-27 18:02:13 +02:00
twinaphex 93ed7c7848 (command.c) Prevent allocations until most early returns have
stopped
2019-05-27 17:55:38 +02:00
Twinaphex e906a3c0b2 Merge pull request #8859 from natinusala/master
menu widgets: fix rounding error with timings
2019-05-27 17:16:06 +02:00
Twinaphex 96ce8b93a8 Merge pull request #8862 from jdgleaver/on-demand-thumbs-update
(On-demand thumbnails) Prevent unnecessary 'menu refresh' events when rapidly scrolling/switching playlists
2019-05-27 17:14:49 +02:00
jdgleaver ef459df761 (On-demand thumbnails) Prevent unnecessary 'menu refresh' events when rapidly scrolling/switching playlists 2019-05-27 15:49:34 +01:00
twinaphex f66fe5e16b (QB) Change behavior - if HAVE_ZLIB = no, that doesn't mean
HAVE_BUILTINZLIB will also be set to no implicitly. It will still
try to use the baked in zlib. If you want to build without any zlib
support entirely, you now need to do this -

./configure --disable-zlib --disable-builtinzlib
2019-05-27 15:44:54 +02:00
twinaphex 2713e792ca (QB) Bake in zlib by default, make zlib as dynamic library dependency
optional instead
2019-05-27 15:03:38 +02:00
twinaphex e5d13bd32a Rename input_common.c to input_hid_common.c 2019-05-27 15:01:36 +02:00
twinaphex 4a08b3e239 (Wayland ctx) Add missing HAVE_EGL ifdefs 2019-05-27 14:55:41 +02:00
Twinaphex 23e326a50b Merge pull request #8860 from jdgleaver/rpng-fix
(RPNG) Fix undefined behaviour when loading bad/corrupt PNG images
2019-05-27 14:42:02 +02:00
Twinaphex 68085af944 (net http) Cleanups 2019-05-27 14:40:38 +02:00
twinaphex 5bf829339d (HID) Uniquely name symbols 2019-05-27 14:32:40 +02:00
jdgleaver 431877799d (RPNG) Fix undefined behaviour when loading bad/corrupt PNG images 2019-05-27 13:07:11 +01:00
natinusala d50e326825 menu display: don't cancel scissoring if the rect is empty 2019-05-27 10:10:50 +02:00
natinusala 4e74e52518 menu widgets: fix rounding error with timings 2019-05-27 09:59:41 +02:00
Dwedit 0d678c0cca Add 4566 to the list of warnings to suppress on MSVC 2015 and 2017 builds 2019-05-27 00:10:42 -05:00
twinaphex 277b5c9462 (MSVC 2005 to 2017) Add new include dir 2019-05-27 04:54:26 +02:00
twinaphex f88ec1e54e (MSVC 2003) Fixup MSVC 2003 solutions; fixup targets that don't have
HAVE_NETPLAY defined
2019-05-27 04:04:27 +02:00
twinaphex 22d762be67 We need to split up zlib headers in libretro-common to its own separate
dir
2019-05-27 03:40:14 +02:00
radius 0f07206357 fix gif preset 2019-05-27 01:41:14 +02:00
radius 25c99fd83e remove log spam 2019-05-27 01:41:09 +02:00
radius 34be5f399c no need to do nat traversal if using relay 2019-05-26 22:39:46 +02:00
radius 370b9681b8 fix netplay paused spam 2019-05-26 22:39:46 +02:00
radius 7a8d87f24a fix discord status getting stuck 2019-05-26 22:39:46 +02:00
radius 1228c95412 add commented out streaming preset 2019-05-26 22:39:46 +02:00
radius 86960cf9dd preset refinement 2019-05-26 22:39:46 +02:00
twinaphex 8076d06c24 (EGL) Turn EGL off by default for now until we figure out how
to leave this to on without it breaking PC buildss
2019-05-26 09:16:58 +02:00
Twinaphex 913ae87181 Update CHANGES.md 2019-05-26 08:40:23 +02:00
Twinaphex ccd6bd93c8 Update CHANGES.md 2019-05-26 08:39:21 +02:00
Twinaphex 71e9028356 Update CHANGES.md 2019-05-26 08:36:17 +02:00
Twinaphex 11a86cd589 Update CHANGES.md 2019-05-26 08:34:56 +02:00
Twinaphex 537aa2a0ca Update CHANGES.md 2019-05-26 08:32:46 +02:00
twinaphex e1b39f6621 (WinRT) Make dxgi_update into a stub function for WinRT 2019-05-26 08:22:16 +02:00
twinaphex 17b2019e11 (Vulkan) Fix potential memory leak 2019-05-26 08:18:42 +02:00
Brad Parker 086b3ccfb7 gl1: ignore alpha in core video, fixes XRGB8888 rendering in some cores 2019-05-25 17:08:30 -04:00
Twinaphex 5b9b0bf78b Merge pull request #8848 from LazyBumHorse/master
(glcore) Don't poll vendor specific 'patch' version
2019-05-25 18:10:28 +02:00
LazyBumHorse d12dba6db4 (hotfix) Don't poll vendor specific 'patch' version 2019-05-25 17:51:03 +02:00
Twinaphex e7f5c62581 Merge pull request #8846 from LazyBumHorse/master
(glcore) don't hardcode shader cross compilation target version but poll it
2019-05-25 16:22:41 +02:00
LazyBumHorse 9894f48fb0 added paranoid NULL check 2019-05-25 13:10:13 +02:00
LazyBumHorse 662b473e9f don't hardcode shader cross compilation target version but poll it 2019-05-25 12:32:34 +02:00
Ömercan Kömür c0c1a0b64f added new Turkish translations 2019-05-25 05:24:06 +03:00
Twinaphex 4087a3cef5 Merge pull request #8845 from LazyBumHorse/master
added "FrameDirection" slang semantic for glcore and vulkan
2019-05-24 23:48:03 +02:00
LazyBumHorse ee3cda8abf added "FrameDirection" slang semantic and implementation for glcore and vulkan 2019-05-24 22:11:12 +02:00
Twinaphex 435f935ef8 Merge pull request #8844 from jdgleaver/hide-legacy-thumb-downloader
Hide legacy thumbnail downloader by default
2019-05-24 15:51:02 +02:00
jdgleaver a117b8391f Hide legacy thumbnail downloader by default 2019-05-24 14:39:53 +01:00
Twinaphex d338a329d6 Merge pull request #8842 from jdgleaver/on-demand-thumbs
Add optional 'on demand' thumbnail downloads
2019-05-24 14:10:22 +02:00
jdgleaver 20aff2a05a Add optional 'on demand' thumbnail downloads 2019-05-24 12:03:26 +01:00
twinaphex 5dc11fcd31 Reimplement 'fix ozone issues on mali400 gpu. as a bonus, fixes #5378'
by BringerethOfLight
2019-05-24 04:13:55 +02:00
twinaphex 320d22f5b8 CXX_BUILD buildfix 2019-05-24 03:19:14 +02:00
Twinaphex cec5f95da0 Merge pull request #8837 from jdgleaver/wii-update
(GX - Wii) Add default video/audio filter directories
2019-05-23 13:26:10 +02:00
jdgleaver 93917c72c7 (GX - Wii) Add default video/audio filter directories 2019-05-23 12:17:38 +01:00
twinaphex 9bc0478e9d (tasks) Cleanups 2019-05-23 13:05:15 +02:00
twinaphex 2db271d954 Remove TODO 2019-05-23 12:43:56 +02:00
twinaphex 96cfe3396c (task_content.c) Cleanups 2019-05-23 11:48:32 +02:00
twinaphex 237e8c3d02 (VFS) Cleanup remove and rename impl. too so we get no more warnings 2019-05-22 22:36:38 +02:00
twinaphex 8eed2f0259 Refactor this again to make it cleaner 2019-05-22 22:24:23 +02:00
twinaphex a57fb7fe51 Splitup retro_vfs_stat_impl - was becoming a big mess -
also add checking for empty string to beginning of function
for all codepaths
2019-05-22 22:19:00 +02:00
Twinaphex 8c6fcafa18 Merge pull request #8833 from jdgleaver/rgui-wii-fix
(Wii) Fix RGUI display corruption
2019-05-22 20:59:34 +02:00
Brad Parker f2e15af6ba griffin: linux buildfixes 2019-05-22 14:07:56 -04:00
jdgleaver e3330a7ed1 (Wii) Fix RGUI display corruption 2019-05-22 16:04:53 +01:00
Brad Parker 725fe6197d add CPU model to system info 2019-05-22 10:50:21 -04:00
Twinaphex 06aaf2a4b6 Merge pull request #8831 from WeedyWeedSmoker/Fix-iOS-9-compilation
Fix iOS 9 & 10 compilation
2019-05-22 12:05:02 +02:00
Weedy Weed Smoker ca287e1e52 Fix iOS 10 too ! 2019-05-22 16:43:38 +07:00
Weedy Weed Smoker 4bac7246d1 Update version string to 1.7.7 2019-05-22 16:31:10 +07:00
Weedy Weed Smoker d4c5274707 Update version string to 1.7.7 2019-05-22 16:30:44 +07:00
Weedy Weed Smoker 9aca90a910 Update version string to 1.7.7 2019-05-22 16:30:12 +07:00
Weedy Weed Smoker 5c7bb3720b Update version string to 1.7.7 2019-05-22 16:29:42 +07:00
Weedy Weed Smoker 0cd83c9d32 Add Webserver to the iOS9 project 2019-05-22 16:28:47 +07:00
twinaphex 9a4bdf5cea (Mouse/Touch) Core options - touching a core option or pressing
with the left mouse button on it will now show a dropdown
list
2019-05-22 10:54:08 +02:00
twinaphex 8d54a56371 (task_content.c) Cleanups 2019-05-22 10:37:55 +02:00
twinaphex bae877a465 (task_content.c) Cleanups 2019-05-22 10:27:46 +02:00
twinaphex ab8f0e73b7 Cleanups 2019-05-22 10:23:34 +02:00
Twinaphex 2390b06755 Merge pull request #8824 from natinusala/master
menu widgets: fine tune progress bar colors
2019-05-22 10:12:35 +02:00
twinaphex 5bcf8bebd0 (task_pl_thumbnail_download) Cleanups 2019-05-22 10:10:04 +02:00
natinusala c7083fdeac menu widgets: fine tune progress bar colors 2019-05-22 10:06:10 +02:00
twinaphex d9d1c13612 (task_http.c) Cleanups 2019-05-22 09:55:10 +02:00
twinaphex e255204158 (task_screenshot.c) Cleanups 2019-05-22 07:40:43 +02:00
Brad Parker e35eff126a show taskbar progress for scanner 2019-05-22 01:31:55 -04:00
twinaphex 7a7d2303b5 Only show GPU Screenshots if video driver supports viewport read 2019-05-22 07:15:04 +02:00
twinaphex 6aed230930 Reimplement 'Take Screenshot' - if GPU-accelerated viewport screenshots
are not available, resort to raw screenshots instead
2019-05-22 07:08:11 +02:00
Brad Parker f4346401e2 gong: revert bad cleanup 2019-05-22 01:00:23 -04:00
Brad Parker 9bdacd868e Update CHANGES.md 2019-05-22 00:24:06 -04:00
Brad Parker 21725e484c scanner: skip all databases with incompatible file extensions, whether file is inside an archive or not 2019-05-22 00:21:31 -04:00
twinaphex a0fcb1b694 (task_image.c) Cleanups 2019-05-22 06:17:08 +02:00
twinaphex 020b714113 Refactor task_screenshot.c 2019-05-22 05:54:35 +02:00
twinaphex 15e7078361 string_list_free - try to be safer 2019-05-22 05:28:41 +02:00
Twinaphex 9c12037c43 Merge pull request #8829 from Dwedit/utf_8_fix_v3
UTF-8 Fix favoring MSVC 2010-2013
2019-05-22 05:23:49 +02:00
twinaphex ceee15c031 (task_screenshot.c) Cleanup screenshot_dump 2019-05-22 05:23:19 +02:00
twinaphex bf6e580435 (tasks) Get rid of dependencies 2019-05-22 05:13:01 +02:00
twinaphex 3aef826dee (task_file_transfer.c) Cleanups 2019-05-22 04:56:09 +02:00
twinaphex 0dbcb7b9ca task_image.c - less dependencies 2019-05-22 04:54:54 +02:00
Brad Parker 6154371692 use threads for command-line scanner if available 2019-05-21 22:53:36 -04:00
Brad Parker f9a8c617ce add pthread for command-line scanner when platform is not windows 2019-05-21 22:41:17 -04:00
twinaphex 6c1310ca06 (database task standalone) Add HAVE_THREADS 2019-05-22 04:28:11 +02:00
twinaphex 138a070ceb (task_content.c) Cleanups - extraction error message was not being
printed
2019-05-22 04:24:44 +02:00
Brad Parker 04110576ea vc2010: Makefile.griffin buildfix 2019-05-21 22:17:20 -04:00
Dwedit dac332a123 explicitly enter signed chars and avoid undefined behavior 2019-05-21 21:08:13 -05:00
twinaphex bcb474b3a3 (runahead) Cleanups - create core_free_game_info and move it to
core_impl.c - get rid of free_string_list and just reuse
string_list_free
2019-05-22 04:04:58 +02:00
Dwedit f8002218cd attempt to fix narrowing char compiler error 2019-05-21 20:56:52 -05:00
Brad Parker 711ea77390 glcore: store GPU device/version string 2019-05-21 21:43:31 -04:00
Dwedit 64a43dd280 Move #pragma code_page(932) into rarch.rc, as #pragma code_page is ignored for included files. Fixes locale problems for Japanese resources. 2019-05-21 20:09:05 -05:00
twinaphex eed2ea7a99 string_is_empty check is already being done by path_is_valid/file stat
path cb function
2019-05-22 03:05:31 +02:00
twinaphex 32f9b9ab9a (PS4/ORBIS) Move path_is_directory code parts to VFS layer - hope I did
it right
2019-05-22 02:32:22 +02:00
twinaphex f117d763d6 Create path_stat and use it 2019-05-22 02:21:30 +02:00
Dwedit 1faaf68d9d UTF-8 Fix favoring MSVC 2010-2013.
MSVC 2015 and 2017 projects: Add /utf-8 switch
Makefile.griffin: Add -utf-8 switch to MSVC 2015 builds
Makefile.msvc: Add -utf-8 switch to MSVC 2017 builds
intl/msg_hash files: Added BOM and MSVC 2010-2013 pragmas
menu_cbs.c: Replace Euro character with raw bytes
menu_osk_utf8_pages.h: Replace pragma with MSVC 2010-2013 version range
shaderparamsdialog.cpp: Add BOM and MSVC 2010-2013 pragma
2019-05-21 18:02:25 -05:00
Brad Parker 388a931f95 improve Makefile for standalone scanner 2019-05-21 18:33:07 -04:00
twinaphex 98b7a21c42 (task database standalone) Add 7zip and zlib support 2019-05-22 00:18:25 +02:00
twinaphex 1a1418ccfb (Samples) tasks/database - should work again 2019-05-21 22:38:50 +02:00
Rob Loach 479a2170c5 changes: Remove period marks on list items
This change removes all the period marks at the end of list items in CHANGES.md, to make it more ascetically pleasing to read.
2019-05-21 14:04:10 -04:00
twinaphex 9220248c32 Remove double entry 2019-05-21 17:23:28 +02:00
Twinaphex 2e80091ada Merge pull request #8823 from libretro/revert-8808-xfree86-keycodes
Revert "xfree86_keycodes: Add non-evdev keycodes to fix keyboard input on non-Linux systems with X11."
2019-05-21 17:16:11 +02:00
Twinaphex 8db0e2db7c Revert "xfree86_keycodes: Add non-evdev keycodes to fix keyboard input on non-Linux systems with X11." 2019-05-21 17:15:59 +02:00
twinaphex b8d27362e4 Fix C89 issues and avoid usage of ZeroMemory - is just memset 0 2019-05-21 06:08:33 +02:00
twinaphex d2d4e11169 Fix mistake 2019-05-21 05:43:49 +02:00
twinaphex b86a9db553 Fix this 2019-05-21 05:37:21 +02:00
twinaphex 154319ba3d Only copy these launch arguments on the first run - by fr500 2019-05-21 05:36:04 +02:00
twinaphex 57c5b629a6 Simplify this 2019-05-21 04:55:29 +02:00
radius d0c8b3ccf4 restart works on linux too 2019-05-21 04:53:37 +02:00
Twinaphex 0126ad2a75 Merge pull request #8813 from niacat/qb-libs-cflags
qb.libs.sh: Use CFLAGS in header existence check.
2019-05-21 04:34:08 +02:00
twinaphex beda37e463 (platform_win32.c) Exclude this for Xbox 2019-05-21 04:32:56 +02:00
twinaphex 5eea93497c Remove these ifdefs - we now have a better way of hiding this setting -
this setting should be shown if frontend_driver_has_fork() returns true
2019-05-21 04:28:58 +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
radius eef4ada025 fix #8725 again including:
- allow savestates on hardcore
- fix weird conditions happening due to having two implementations
- fix popup saying state was loaded when starting a game with achievements hardcore after a game with no achievements
- fix rewind not working when loading games with no achievements after loading games with achievements hardcore
2019-05-21 03:32:49 +02:00
twinaphex f17655f073 Revert "attempt to fix issue described in #8725"
This reverts commit 90b0afdaa7.
2019-05-21 03:32:18 +02:00
twinaphex 90b0afdaa7 attempt to fix issue described in #8725 2019-05-21 03:10:06 +02:00
Twinaphex 27162c2510 Merge pull request #8818 from altiereslima/master
Update msg_hash_pt_br.h
2019-05-20 23:18:19 +02:00
Twinaphex 17afc71483 Merge pull request #8820 from jdgleaver/thumb-refresh
Ensure that displayed thumbnails are always refreshed correctly after selecting 'Download Thumbnails' from quick menu
2019-05-20 21:23:40 +02:00
altiereslima 6a8ec3566d Update msg_hash_pt_br.c 2019-05-20 15:06:59 -03:00
twinaphex 17a0bd0f22 (Tinyalsa) Rename these typedefs 2019-05-20 18:58:15 +02:00
twinaphex 137d72d076 (ALSA QSA) Struct needs to be renamed uniquely 2019-05-20 18:44:24 +02:00
twinaphex b94f1514aa alsa_device_list_new/alsa_device_list_free are renamed so
that there are no symbol clashes with the main alsa driver
2019-05-20 18:37:24 +02:00
jdgleaver 98889e1652 Ensure that displayed thumbnails are always refreshed correctly after selecting 'Download Thumbnails' from quick menu 2019-05-20 16:09:59 +01:00
Twinaphex daad277b90 Merge pull request #8819 from jdgleaver/thumb-clear-fix
(XMB/Ozone) Ensure old thumbnails are cleared when selecting playlist entry with 'broken' thumbnails
2019-05-20 16:35:59 +02:00
jdgleaver dde0160468 (XMB/Ozone) Ensure old thumbnails are cleared when selecting playlist entry with 'broken' thumbnails 2019-05-20 12:23:55 +01:00
Twinaphex 375df32ad2 Update CHANGES.md 2019-05-20 09:46:02 +02:00
Twinaphex f244aa6042 Update CHANGES.md 2019-05-20 09:37:17 +02:00
Twinaphex 3d8e7ecb61 Update CHANGES.md 2019-05-20 09:36:36 +02:00
twinaphex 741198ed48 Revert "Create message queue warnings when YouTube/Twitch keys are not"
This reverts commit 884842ad30.
2019-05-20 05:25:19 +02:00
twinaphex 884842ad30 Create message queue warnings when YouTube/Twitch keys are not
filled in.
2019-05-20 05:22:48 +02:00
twinaphex 961daa2775 Fix Recording Threads label 2019-05-20 05:17:25 +02:00
twinaphex 9b31c91165 Fix Stream Quality setting 2019-05-20 05:00:23 +02:00
radius cd8e39b9fb fix twitch streaming 2019-05-20 04:29:17 +02:00
twinaphex 0db4b2d039 Revert "backup cores to download dir before updating"
This reverts commit 3638ecd71a.
2019-05-20 04:28:52 +02:00
radius 3638ecd71a backup cores to download dir before updating 2019-05-20 04:28:27 +02:00
altiereslima 028a21531a Update msg_hash_pt_br.h 2019-05-19 21:52:52 -03:00
twinaphex 71bd327325 Don't need this 2019-05-20 02:23:35 +02:00
Twinaphex d71db6efdb Merge pull request #8816 from chucksmith/feature/center-on-iphone-x
correctly centers screen on iPhone X landscape
2019-05-20 00:20:05 +02:00
Twinaphex a43ce07df9 Merge pull request #8817 from m4xw/revert
Revert "Simplify menu_displaylist_parse_cores"
2019-05-20 00:00:35 +02:00
M4xw 3834d29fcb Revert "Simplify menu_displaylist_parse_cores"
This reverts commit 269a95b0bf.
2019-05-19 23:51:07 +02:00
Chuck Smith ac2c6bdac2 correctly centers screen on iPhone X landscape 2019-05-19 21:11:30 +02:00
twinaphex 9f297f5f7c Cleanups 2019-05-19 05:50:28 +02:00
twinaphex f49f33f546 We don't need glsm inside libretro-common - cores that need
this will need to make their own version separately
2019-05-19 05:42:44 +02:00
twinaphex f6f9d8e9d4 (Load Core) Ignore zip files; was erroring out for some people 2019-05-19 01:40:06 +02:00
Twinaphex 5413ca0cf4 Update CHANGES.md 2019-05-19 00:45:58 +02:00
Twinaphex 09cee30b02 Merge pull request #8791 from DEX357/patch-30
Update msg_hash_pl.h
2019-05-19 00:45:20 +02:00
radius f393898825 cheevos, fix issue described in https://github.com/libretro/RetroArch/issues/8725#issuecomment-493130218 2019-05-19 00:37:48 +02:00
nia 3be224989d qb.libs.sh: Use CFLAGS in header check. 2019-05-18 22:42:25 +01:00
Twinaphex d0707437c9 Remove some unused variables 2019-05-18 21:26:29 +02:00
twinaphex e6ca330337 (menu) turn these into macros 2019-05-18 21:20:36 +02:00
twinaphex b065e0d299 Turn some more functions static 2019-05-18 21:13:36 +02:00
Twinaphex 837a6c1750 Merge pull request #8811 from huwpascoe/fix
Fix video_layout crash on unsupported drivers
2019-05-18 21:08:17 +02:00
twinaphex ba3ee2192a Cleanups 2019-05-18 21:07:04 +02:00
twinaphex 59c502d0f4 menu_entries_get_last_stack - don't pass enum_idx to it if we
aren't going to use it
2019-05-18 19:25:35 +02:00
Huw Pascoe 8e9913a1ab Fix video_layout crash on unsupported drivers 2019-05-18 18:19:55 +01:00
twinaphex 6af0b8c693 menu_entries_get_title - cleanups 2019-05-18 19:16:23 +02:00
twinaphex ffe1ee4636 Don't use return value of menu_entries_get_title 2019-05-18 19:10:10 +02:00
Twinaphex f07e990c0c Merge pull request #8810 from libretro/revert-8809-qb-cflags
Revert "qb.libs.sh: Use $CFLAGS when searching for header files and macros."
2019-05-18 19:00:13 +02:00
Twinaphex b0bfe1c9be Revert "qb.libs.sh: Use $CFLAGS when searching for header files and macros." 2019-05-18 19:00:01 +02:00
Twinaphex 49b497be06 Update CHANGES.md 2019-05-18 18:24:35 +02:00
Twinaphex bbc22a9a88 Update CHANGES.md 2019-05-18 18:23:52 +02:00
Twinaphex af02876f66 Merge pull request #8803 from altiereslima/master
Update Portuguese Brazilian Translation
2019-05-18 18:23:10 +02:00
Twinaphex 6bca30747c Update CHANGES.md 2019-05-18 18:22:37 +02:00
Twinaphex 01ec6778cb Merge pull request #8808 from niacat/xfree86-keycodes
xfree86_keycodes: Add non-evdev keycodes to fix keyboard input on non-Linux systems with X11.
2019-05-18 18:21:38 +02:00
Twinaphex b2af8b97ea Merge pull request #8809 from niacat/qb-cflags
qb.libs.sh: Use $CFLAGS when searching for header files and macros.
2019-05-18 18:20:51 +02:00
nia efcf6220b9 qb.libs.sh: Use $CFLAGS when searching for header files and macros.
Allows configuring with --enable-gl on systems with OpenGL outside the
standard compiler search path (assuming CFLAGS is set correctly...)
2019-05-18 17:17:59 +01:00
nia cdcb819a79 xfree86_keycodes: Add non-evdev keycodes. 2019-05-18 17:11:42 +01:00
Twinaphex 5f5a3fa6a2 Merge pull request #8805 from niacat/getenv-fix
platform_unix: Check whether LANG is defined before using it.
2019-05-18 18:01:30 +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
twinaphex bb6a42f8f0 (menu_entries) Create action_title_cache 2019-05-18 08:21:14 +02:00
twinaphex bf03395040 Cleanups 2019-05-18 08:00:21 +02:00
altiereslima 661eb7a91b Update msg_hash_pt_br.h 2019-05-18 02:23:49 -03:00
altiereslima 0037d39ff3 Update msg_hash_pt_br.h 2019-05-18 01:47:58 -03:00
altiereslima 7437f85f8a Update Portuguese Brazilian Translation 2019-05-17 23:48:45 -03:00
twinaphex ce191672f1 (menu_cbs_title.c) Cleanups 2019-05-18 04:07:37 +02:00
twinaphex 0fedbe837c (Menu sublabels) Add sublabel showing the license 2019-05-18 03:42:21 +02:00
twinaphex 68d7411edf (menu entries) Add sublabel_cache - this should prevent
unnecessary function calls if the contents of a sublabel
don't change over time
2019-05-18 03:29:33 +02:00
Twinaphex 5de666294e Merge pull request #8802 from Dwedit/c89_compliance
Move variable assignment after variable declaration for C code
2019-05-17 23:29:24 +02:00
Dwedit 24fa0cd5b5 Move pool_info.flags = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT; to after the other variable declaration (so all variable declarations happen before any other code) 2019-05-17 14:29:23 -05:00
hizzlekizzle 424ef19e55 Merge pull request #8801 from plaidman/master
enabling shutdown menu option by default for lakka-switch
2019-05-17 14:00:32 -05:00
twinaphex 614cd3859f Fix URL strings 2019-05-17 20:23:45 +02:00
plaidman 6f40a45fc9 enabling shutdown menu option by default for lakka-switch 2019-05-17 12:44:33 -04:00
Twinaphex 54e17e19bc Merge pull request #8800 from jdgleaver/log-file-cli-option
Re-enable '--log-file' command line option
2019-05-17 18:41:34 +02:00
jdgleaver 23ca792966 Re-enable '--log-file' command line option 2019-05-17 17:19:13 +01:00
Twinaphex 3a3eb78ac4 Merge pull request #8799 from jdgleaver/history-fix
Fix history playlist navigation after running content
2019-05-17 15:41:41 +02:00
jdgleaver f0bbfb4094 Fix history playlist navigation after running content 2019-05-17 14:23:00 +01:00
Twinaphex 542f761daf Merge pull request #8797 from jdgleaver/menu-nav-fix
(menu_driver) Prevent spurious navigation events when invoking MENU_NAVIGATION_CTL_CLEAR
2019-05-17 14:37:21 +02:00
Twinaphex 4db95d7681 Merge pull request #8798 from CozmoP/dir
Qt: path selector fixes
2019-05-17 14:03:08 +02:00
CozmoP 17fcd880e9 Qt: path selector fixes 2019-05-17 14:22:25 +02:00
jdgleaver 77c2ceeff4 (menu_driver) Prevent spurious navigation events when invoking MENU_NAVIGATION_CTL_CLEAR 2019-05-17 11:44:57 +01:00
twinaphex 385b8de194 Backport 2019-05-17 05:31:55 +02:00
Brad Parker 37e2cb4ecc win32: sort language IDs by largest int first 2019-05-16 17:30:45 -04:00
twinaphex f07952ecf0 Fix ASAN error 2019-05-16 17:43:16 +02:00
twinaphex 55e0a97446 Revert "Turn palette 64bit"
This reverts commit 8b8d4c83c0.
2019-05-16 16:51:59 +02:00
twinaphex 8b8d4c83c0 Turn palette 64bit 2019-05-16 16:42:11 +02:00
Twinaphex 91acb7b65a Merge pull request #8795 from jdgleaver/quick-menu-thumb-download
Add 'Download Thumbnails' option to quick menu
2019-05-16 15:55:15 +02:00
jdgleaver 05c8694e1c Add 'Download Thumbnails' option to quick menu 2019-05-16 14:34:01 +01:00
DEX357 f2e29c4c2d Update msg_hash_pl.h 2019-05-15 22:51:32 +02:00
Twinaphex 3064d0d441 Merge pull request #8789 from MrHuu/patch-5
(CTR) Add id for vecx
2019-05-15 19:39:13 +02:00
MrHuu 4fa88bd78f (CTR) Add id for vecx 2019-05-15 19:20:31 +02:00
Twinaphex 3df7e616ca Merge pull request #8788 from jdgleaver/thumb-load-fix
(RGUI) Fix thumbnail updates after loading a 'broken' thumbnail image
2019-05-15 14:14:37 +02:00
jdgleaver c6aa1b5e6f (RGUI) Fix thumbnail updates after loading a 'broken' thumbnail image 2019-05-15 12:57:23 +01:00
twinaphex 269a95b0bf Simplify menu_displaylist_parse_cores 2019-05-15 13:09:31 +02:00
Twinaphex c5ba10924d Merge pull request #8783 from jdgleaver/thumb-downloader
Add playlist-based thumbnail downloader
2019-05-15 12:17:05 +02:00
jdgleaver eb10008bf7 Add missing HAVE_MENU ifdefs (DISABLE_MENU=1 buildfix) 2019-05-15 10:02:55 +01:00
twinaphex 56396f6a37 Update CHANGES.md 2019-05-14 23:32:55 +02:00
twinaphex 67709b3530 (PS3) Add HAVE_OZONE 2019-05-14 23:27:17 +02:00
jdgleaver d04e3b6291 Attempt to fix build error: invalid conversion from ‘void*’ to ‘retro_task_t*’ 2019-05-14 17:34:17 +01:00
jdgleaver 154957505c Add playlist-based thumbnail downloader 2019-05-14 16:26:16 +01:00
twinaphex 7ea74548b1 Reduce duration of easing out bounce otherwise we get glitches 2019-05-14 14:52:40 +02:00
radius 35910e8785 fix #8725 2019-05-14 07:58:29 +02:00
Twinaphex 0dd26fab58 Merge pull request #8774 from plaidman/master
squelching benign error messages when invoking connman
2019-05-14 04:39:49 +02:00
Twinaphex 1b4ba9b898 Merge pull request #8776 from orbea/qb
qb improvements
2019-05-14 04:39:33 +02:00
twinaphex d6fe0ceab2 (Ozone) Fix regressions on OSX - menu_input_mouse_state
cannot be called in ozone_init - menu driver init function
too early for mouse input calls
2019-05-14 04:17:04 +02:00
Themaister a672cc13a9 Scaler: Fix SSE2 path for argb/bgra -> bgr24.
Somehow a epi32 was added, but apparently this was never caught for some
reason. Fixes non-GPU screenshots for 32-bit color cores.
2019-05-13 17:01:11 -04:00
orbea f5a9c21b99 qb: Improve the KMS check. 2019-05-13 08:45:24 -07:00
orbea 271aef55a4 qb: Improve the OpenGLES build. 2019-05-13 08:02:26 -07:00
plaidman c8d4aecf32 squelching benign error messages when invoking connman 2019-05-13 08:47:55 -04:00
twinaphex ff410f515e BUildfix 2019-05-13 13:13:54 +02:00
twinaphex 6730d05918 (XMB) Animation settings - Main Menu opening/closing, Horizontal
highlight, Move up/down
2019-05-13 09:44:52 +02:00
twinaphex ea6f818784 (file_list) Directly access member variables instead of going through small
functions
2019-05-13 04:27:03 +02:00
twinaphex 63d9d4e2d3 (menu entries) Cleanups 2019-05-13 04:05:11 +02:00
twinaphex c729748276 Cleanups 2019-05-13 03:36:59 +02:00
twinaphex 3d678bbafe Update 2019-05-13 02:43:41 +02: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 ebaa5b9941 Undefine HAVE_VIDEO_LAYOUT for now instead of implicitly enabling
it for every platform - will have to be individually enabled for
each platform first after rigorous testing
2019-05-13 01:57:26 +02:00
twinaphex ecb6318f40 Some buildfixes 2019-05-13 01:07:02 +02:00
twinaphex f904c698d2 Disable this - crashes at startup 2019-05-13 00:56:37 +02:00
Twinaphex fbec6b84e8 Merge pull request #8529 from huwpascoe/mame_overlay
video_layout (mame artwork)
2019-05-13 00:42:26 +02:00
twinaphex af527746bb Cleanups 2019-05-12 20:53:01 +02:00
twinaphex ba8f7e3e63 Cleanup task_decompress 2019-05-12 20:17:58 +02:00
twinaphex 0302a8812a content_file_load - play it safe now - only use strdup directly
for strings that don't require formatting
2019-05-12 19:28:51 +02:00
twinaphex b1a3efdfac (task_content.c) Fixup function signature 2019-05-12 19:18:37 +02:00
twinaphex 1b7b9e66b0 Revert "task_content.c - some cleanups - save up on some memory allocations"
This reverts commit df9192e30e.
2019-05-12 19:17:44 +02:00
twinaphex bafc938198 content_load - get rid of error goto label 2019-05-12 19:14:39 +02:00
twinaphex df9192e30e task_content.c - some cleanups - save up on some memory allocations
for strings
2019-05-12 19:06:07 +02:00
twinaphex 48142476aa (XMB) Cleanup 2019-05-12 18:07:37 +02:00
twinaphex 5c5c1ee84d (XMB) Cleanups 2019-05-12 17:44:40 +02:00
Twinaphex 948c242922 Merge pull request #8768 from niacat/audioio-portability
audioio: Improve the portability of the driver to illumos.
2019-05-12 15:26:39 +02:00
natinusala e128c06d2e platform_linux: more flexible battery display 2019-05-12 14:38:40 +02:00
nia c90d74f8d7 audioio: Improve the portability of the driver to illumos.
PLAY_ALL is deprecated in NetBSD-current due to a rework of the
audio system, prepare for this too.
2019-05-12 10:57:52 +01:00
twinaphex c66963e8cf Turn this into static function 2019-05-12 09:51:45 +02:00
twinaphex 52d1b3fd88 task_save.c - simplify dump_to_file_desperate 2019-05-12 09:36:52 +02:00
twinaphex 71feec72b4 Cleanup xmb_list_open_new 2019-05-12 07:26:53 +02:00
twinaphex 8cf34c3fe6 (XMB) Add some comments 2019-05-12 07:12:41 +02:00
twinaphex 64f9477ef6 Simplify find_last_slash for non-WIN32 2019-05-12 05:02:45 +02:00
twinaphex 985ed6cd2b Small cleanups 2019-05-12 04:47:27 +02:00
twinaphex 62f3046f0f (localtime) Cleanups 2019-05-12 04:43:57 +02:00
Twinaphex ef5d15e6f9 Merge pull request #8767 from plaidman/master
lakka-switch: adding extra overclocks
2019-05-12 03:27:10 +02:00
plaidman 74eff88ee2 lakka-switch: adding extra overclocks 2019-05-11 21:05:57 -04:00
Twinaphex 6db856d430 Merge pull request #8766 from MrHuu/patch-4
(CTR) Add id for quasi88
2019-05-12 00:55:02 +02:00
MrHuu 180c868f46 (CTR) Add id for quasi88
sorry, now it's fully up-to-date.
2019-05-12 00:48:37 +02:00
Twinaphex 177fd8be6c Merge pull request #8755 from plaidman/master
update CPU clock profiles and battery info for lakka-switch
2019-05-11 22:21:21 +02:00
Twinaphex 368afb1ebf Merge pull request #8763 from MrHuu/patch-3
(CTR) Add o2em
2019-05-11 22:07:13 +02:00
Twinaphex e7daf41bc3 Merge pull request #8756 from plaidman/fixing-lang-code
check if lang code is null before processing
2019-05-11 22:06:35 +02:00
MrHuu 8d8f59cd83 (CTR) Add o2em 2019-05-11 20:21:34 +02:00
Twinaphex 7a306659e4 Merge pull request #8762 from altiereslima/master
Update Portuguese Brazilian Translation
2019-05-11 20:17:40 +02:00
plaidman b7929b4ac7 check if lang code is null before processing 2019-05-11 13:45:23 -04:00
plaidman 5eb2f7962d update CPU clock profiles and battery info for lakka-switch 2019-05-11 13:42:53 -04:00
altiereslima bcf61ed786 Update Portuguese Brazilian Translation 2019-05-11 13:36:48 -03:00
Twinaphex 4212e5b190 Merge pull request #8760 from natinusala/master
menu_widgets: add libretro message widget, have RETRO_ENVIRONMENT_SET_MESSAGE use it
2019-05-11 18:13:11 +02:00
natinusala c83b86b7c2 menu_widgets: add libretro message widget, have RETRO_ENVIRONMENT_SET_MESSAGE use it 2019-05-11 17:24:00 +02:00
Huw Pascoe acb28a38c4 video_layout gl basic implementation 2019-05-11 14:23:26 +01:00
Huw Pascoe 2c56011f84 video_layout interface 2019-05-11 09:58:48 +01:00
Huw Pascoe 078cdd269f video_layout menus 2019-05-11 09:58:47 +01:00
Huw Pascoe ac30f99046 video_layout msg_hash 2019-05-11 09:58:46 +01:00
Huw Pascoe 685aabb094 video_layout config 2019-05-11 09:58:46 +01:00
Huw Pascoe 7e0592198d video_layout build 2019-05-11 09:58:46 +01:00
Huw Pascoe 6aaa4df394 video_layout 2019-05-11 09:58:46 +01:00
Huw Pascoe ea931428e1 rxml read from string and fix memory violation 2019-05-11 09:58:45 +01:00
Huw Pascoe cd714dbd0b image_texture_load_buffer 2019-05-11 09:58:45 +01:00
twinaphex 3e350afe93 video_shader_parse_pass - free pointer earlier 2019-05-11 08:56:41 +02:00
Twinaphex e100ffa036 Update CHANGES.md 2019-05-11 08:32:25 +02:00
altiereslima bd3a24ea4a Update Portuguese Brazilian Translation (#8739)
* Update Portuguese Brazilian Translation

* Update msg_hash_pt_br.h
2019-05-11 08:31:26 +02:00
Barry Rowe 8745333892 OCR Translation feature finaliziation. (#8738) 2019-05-11 07:15:39 +02:00
MrHuu 8e75d2c1e3 Update Makefile.cores (#8747)
Add missing core id's / reorder
2019-05-11 06:28:41 +02:00
Twinaphex 238ba53a32 Update CHANGES.md 2019-05-11 06:28:18 +02:00
Nathan S edb37ccf70 menu widgets: cleanup fix and draw above overlay for gl and vulkan (#8732)
* menu_widgets: cleanup properly all widgets when loading or closing content

* gl: draw menu widgets above overlay

* vulkan: draw menu widgets above overlay

* vulkan: draw OSD above overlay

* menu_widgets: better cleanup
2019-05-11 06:26:40 +02:00
orbea 1a3f16ded1 Fix --enable-opengles and --enable-opengles3 (#8749)
* qb: Fix OpenGLES build.

The gl core video driver requires at least OpenGLES 3 and
OpenGL 1 is not compatible with OpenGLES 2 or 3.

* travis: Test OpenGLES builds on linux.
2019-05-10 23:47:36 +02:00
twinaphex 52dd39f98a Another buildfix 2019-05-10 20:17:20 +02:00
twinaphex d9b4afe04a Quick buildfix 2019-05-10 18:34:18 +02:00
twinaphex 74388d8490 Remove string_concat 2019-05-10 18:05:58 +02:00
twinaphex 3853d89f13 (Android Phoenix) Update versioncode 2019-05-10 09:02:29 +02:00
twinaphex b270ea6b79 Revert "(MSVC 2003) core_info - remove all_ext from heap - fixes crash with MSVC2003"
This reverts commit 50a57b03a1.
2019-05-10 08:31:18 +02:00
Twinaphex 89461bba08 Update CHANGES.md 2019-05-10 00:40:06 +02:00
Twinaphex ea14a799d9 Update CHANGES.md 2019-05-10 00:39:49 +02:00
nia 49b81f1da2 configuration: Add audioio as a default audio_driver. (#8733)
Supported platforms are illumos and NetBSD, where it's the native
audio API. Right now audio_driver defaults to OSS on these platforms.
2019-05-09 19:30:44 +02:00
Brad Parker c39765a5b7 set current screen orientation on startup so we don't reset back to normal if we started with a rotated display 2019-05-09 11:11:40 -04:00
jdgleaver 10ef7dd561 Load content runtime data 'on demand' (#8717)
* Load content runtime data 'on demand'

* Fix LGTM warning
2019-05-09 08:24:06 -05:00
twinaphex 5a9c0da282 Rename config_init to rarch_config_init to avoid collision
with cores that might use this symbol name
2019-05-09 06:57:18 +02:00
Twinaphex 8c17f12f97 Update AndroidManifest.xml 2019-05-08 07:24:33 +02:00
twinaphex 55aa6039d6 Unfortunate but what's done cannot be undone 2019-05-08 04:49:13 +02:00
Brad Parker 25b7f57e28 update AUTHORS.h with github-contributors script 2019-05-07 21:41:49 -04:00
MrHuu 62da78ca3d CTR / Update Makefile.cores (#8719)
* Update Makefile.cores

* (CTR) Add Stella
2019-05-08 01:56:49 +02:00
Nathan S 4fad77304f menu_widgets: better sanity check for threaded video wrapper (#8722) 2019-05-08 01:56:39 +02:00
twinaphex ba3f164bdd Disable scan_without_core_match by default 2019-05-07 00:58:17 +02:00
twinaphex 7530436918 Better way to check if there is a resolution list - should
hide this entry on Android
2019-05-07 00:32:07 +02:00
twinaphex 5e9bfd52db command_set_shader - set settings->bools.video_shader_enable to
true if not already enabled when command_set_shader succeeds
2019-05-06 23:40:19 +02:00
Nathan S 775c272029 Menu widgets stuff + vulkan sanity check (#8710)
* task_screenshot: fix hang with menu widgets

* word_wrap: add max_lines parameter

* vulkan: better instance creation sanity check
2019-05-06 21:10:57 +02:00
meleu e8c9a272ee having a badge file is enough to show it in popup (#8709) 2019-05-06 19:14:24 +02:00
Ömercan Kömür 9da9f4bad0 Every .h files && tr.c&.h files edited (#8648)
* Every .h files && tr.c&.h files edited

each .h file  is edited in their own language, Menu_ENUM_LABEL_VALUE_LANG_GREEK & Menu_ENUM_LABEL_VALUE_LANG_TURKISH added into missed .h files, according to the frequency of use Turkish translations changed. some unnecessary blank spaces deleted

* added )

added ) end of #988 & #986 lines

* Added New Turkish Translations

added some translations

* update msg_hash_tr.c

some lines deleted, new translations added

* Update msg_hash_tr.c

* Delete msg_hash_fr.h

Since they are revision french translations, there is no need to add Turkish & Greek colum for right now.

* Newest FR translate added

since they are added Greek & Turkish into their FR files no need to add
2019-05-06 17:25:52 +02:00
Twinaphex 9dd5a55310 Merge pull request #8707 from WeedyWeedSmoker/French-translation-(C89-buildfix)
(C89 buildfix) French translation fix
2019-05-06 17:24:35 +02:00
Twinaphex 739a8d70a7 Merge pull request #8708 from meleu/patch-6
CHANGES.md: Pop-up badges when a cheevo is triggered
2019-05-06 14:57:22 +02:00
twinaphex 5f8f029c6e (OSX PPC) Move MainMenu_PPC.xib to pkg/apple/OSX/en.lproj/PPC and
rename it MainMenu.xib - CompileXib would create a MainMenu_PPC.nib
and then on startup no MainMenu.nib file could be found
2019-05-06 14:49:15 +02:00
twinaphex 652d89cbf4 (OSX PPC) Use MainMenu_PPC.xib 2019-05-06 14:30:41 +02:00
neville 7c4329f31d (OSX PPC) Buildfixes 2019-05-06 14:12:25 +02:00
twinaphex 34c5d2ef07 Remove 'Core Remap File Loaded' message - happens too early - before
menu widgets have been initialized
2019-05-06 13:54:15 +02:00
twinaphex 68e91e3121 video_display_server_get_flags - conditional was wrong 2019-05-06 13:18:25 +02:00
meleu d22d627d94 CHEEVOS: Pop-up badges when a cheevo is triggered 2019-05-06 05:58:33 -03:00
Weedy Weed Smoker c3af160f08 (C89 buildfix) French translation fix
Shortened the problematic text strings to accomodate C89 compilation
2019-05-06 11:27:30 +07:00
Twinaphex 8092f601a6 Merge pull request #8705 from WeedyWeedSmoker/French-translation-part-2
French translation part 2
2019-05-06 05:09:11 +02:00
neville 82be4ea0e5 (OSX PPC) One buildfix 2019-05-06 04:46:23 +02:00
Weedy Weed Smoker 41e2346880 Merge branch 'master' into French-translation-part-2 2019-05-06 09:35:27 +07:00
twinaphex ccbb3f0960 (HTTP Task) Fix progress indicator on 32bit systems 2019-05-06 03:45:58 +02:00
twinaphex 5794c2051c path_mkdir - safety check 2019-05-06 03:09:44 +02:00
twinaphex 0919cd9746 (Legacy Win32) Be more careful with retro_vfs_stat_impl 2019-05-06 03:00:51 +02:00
Brad Parker 720ebc6834 update Japanese win32 resource file 2019-05-05 20:51:38 -04:00
twinaphex 7be2e75c08 Update CHANGELOG 2019-05-06 02:38:47 +02:00
Weedy Weed Smoker 9108ce514f French translation part 2 — done
Full translation of "msg_hash_fr.c" done... The french translation is now fully completed !
Thanks to everyone involved, and please look into allowing us to translate more of the QT desktop interface... ;)
2019-05-06 06:04:33 +07:00
twinaphex 4ac4b779a9 (Qt desktop) Add some missing menu entries 2019-05-06 00:11:57 +02:00
Weedy Weed Smoker 30f1148835 More "msg_hash_fr.c" translation goodness
More than 2/3 of it is translated... There are only 48 more things not yet translated, but it's coming...
2019-05-06 04:35:56 +07:00
twinaphex 705851b147 Add 'Scan without Core Match' 2019-05-05 21:54:49 +02:00
Weedy Weed Smoker e59bafccbe More translation of the "msg_hash_fr.c" file 2019-05-06 02:29:46 +07:00
twinaphex aaff9d6d55 (Lakka) SD_FLAG_LAKKA_ADVANCED should only be honored by Lakka 2019-05-05 21:21:43 +02:00
Weedy Weed Smoker b0c6b8bf0f Unify syntax for readability 2019-05-06 02:02:29 +07:00
Weedy Weed Smoker 1e55ac33d7 Merge pull request #2 from WeedyWeedSmoker/master
Merge new changes
2019-05-06 02:01:18 +07:00
Weedy Weed Smoker f1a060cc5a Merge pull request #1 from libretro/master
Merge new changes
2019-05-06 02:00:06 +07:00
Weedy Weed Smoker 5171c28196 French translation part 2 (continued...)
Second part of the "msg_hash_fr.c" translation, and one small cosmetic change to "msg_hash_fr.h"...
2019-05-06 01:54:33 +07:00
twinaphex 18fd85de24 Add easy way to enable/disable shaders 2019-05-05 20:52:09 +02:00
Weedy Weed Smoker f1c8f78c16 French translation part 2
Cosmetic changes to fit XMB menu, and preliminary translation of "msg_hash_fr.c" file
2019-05-05 23:13:07 +07:00
twinaphex 14bd37415b (MaterialUI) Add more menu category setting icons 2019-05-05 17:31:29 +02:00
twinaphex 0f9fd971e2 (Windows) Add Toggle Desktop Menu to UI menubar 2019-05-05 17:00:11 +02:00
twinaphex 0b426b2022 This should hide the CRT SwitchRes option on systems
where it's not supported
2019-05-05 16:33:25 +02:00
Twinaphex 5d018db08d Merge pull request #8704 from jdgleaver/rgui-rain-fix
(RGUI) Fix typo in 'rain' particle effect initialisation
2019-05-05 15:49:07 +02:00
jdgleaver 087eb939a5 (RGUI) Fix typo in 'rain' particle effect initialisation 2019-05-05 14:29:24 +01:00
twinaphex 360f8189e0 (D3D8/D3D9) Screenshots don't seem to work, disabling 2019-05-05 14:25:16 +02:00
twinaphex 50a57b03a1 (MSVC 2003) core_info - remove all_ext from heap - fixes crash with MSVC2003
and makes for easier code
2019-05-05 14:23:29 +02:00
twinaphex f349410082 (CTR/3DS) hide 'Take Screenshot' since screenshots are not implemented
anyway
2019-05-05 14:14:14 +02:00
Twinaphex c0f8f2cab6 Merge pull request #8703 from jdgleaver/playlist-detect-fix
(playlist) Don't resolve real path when core path is DETECT
2019-05-05 13:56:04 +02:00
twinaphex 3b110c0e3b (D3D8) Add 'Screenshots supported' 2019-05-05 13:55:12 +02:00
jdgleaver 79e8adb90e (playlist) Don't resolve real path when core path is DETECT 2019-05-05 12:49:07 +01:00
twinaphex c3d2b190f2 (dispmanx) Implement get_flags 2019-05-05 13:49:06 +02:00
twinaphex a0b2d97ca3 Hide 'Take Screenshot' for video drivers that don't support
taking screenshots yet
2019-05-05 13:46:26 +02:00
twinaphex 8094e02823 (MaterialUI) Add checkmark 2019-05-05 04:12:16 +02:00
twinaphex a038dc785d Bump up version to 1.7.7 2019-05-05 03:30:17 +02:00
Twinaphex e63b85cbba Merge pull request #8698 from orbea/cxx
qb: Enable menu widgets with CXX_BUILD again.
2019-05-05 02:30:51 +02:00
Twinaphex 53185e3715 Merge pull request #8699 from DEX357/patch-29
Update msg_hash_pl.h
2019-05-05 02:30:41 +02:00
DEX357 7b5f32eed6 Update msg_hash_pl.h 2019-05-05 02:00:57 +02:00
orbea 26b8334c6b qb: Enable menu widgets with CXX_BUILD again. 2019-05-04 16:53:21 -07:00
Twinaphex 108a54a7f2 Merge pull request #8694 from orbea/menu
A few --disable-menu fixes.
2019-05-05 01:19:30 +02:00
Twinaphex f5879dfad7 Merge pull request #8695 from orbea/c89
Fix C89_BUILD=1 with clang.
2019-05-05 01:19:14 +02:00
Twinaphex 786a5bd9a8 Merge pull request #8693 from meleu/patch-5
add "Use Old Implementation" in the Achievements menu
2019-05-05 01:19:01 +02:00
Twinaphex 1f0b1fb61c Merge pull request #8696 from natinusala/master
Menu widgets improvements
2019-05-05 01:18:33 +02:00
twinaphex 23abe5025b Fix for playlist items that have been scanned and don't have an
associated core - we don't want to resolve the path if core_path
is set to "DETECT"
2019-05-05 01:17:51 +02:00
natinusala a381c2180d menu_widgets: implement generic message widget, have shaders selection use it 2019-05-04 23:21:17 +02:00
natinusala 872e8ffb99 Fix multiple CXX warning 2019-05-04 22:24:59 +02:00
orbea 493083f5c7 qb: Disable HAVE_MENU_WIDGETS with CXX_BUILD for now. 2019-05-04 10:19:41 -07:00
orbea ab7cc305e5 Fix C89_BUILD=1 with clang. 2019-05-04 09:27:12 -07:00
orbea 9a41ccd694 travis: Test building with --disable-menu for linux. 2019-05-04 09:12:16 -07:00
orbea 5f8bf221c6 travis: Refactor configure argument handling. 2019-05-04 08:59:53 -07:00
meleu 22a956f663 replace 'cheevos_rcheevos_enable' by 'cheevos_old_enable' 2019-05-04 12:52:49 -03:00
orbea 9e9849170d Silence unused function with --disable-menu.
gfx/drivers/gl_core.c:1529:13: warning: ‘gl_core_draw_menu_texture’ defined but not used [-Wunused-function]
 static void gl_core_draw_menu_texture(gl_core_t *gl, video_frame_info_t *video_info)
             ^~~~~~~~~~~~~~~~~~~~~~~~~
2019-05-04 08:26:49 -07:00
orbea 6552828244 qb: Fix --disable-menu.
Menu widgets must also be disabled with --disable-menu, now
configure will do so or error if --disable-menu and
--enable-menu_widgets are explicitly used.
2019-05-04 08:23:44 -07:00
Twinaphex 95c585e864 Merge pull request #8692 from natinusala/master
menu_widgets: notifications duration is now framerate independent
2019-05-04 16:56:29 +02:00
natinusala 03e3e3f520 menu_widgets: notifications duration is now framerate independent 2019-05-04 16:36:40 +02:00
twinaphex 8a92ad7dbf Fix C89_BUILD 2019-05-04 15:58:32 +02:00
twinaphex 3c2307de80 Merge branch 'master' of https://github.com/libretro/RetroArch 2019-05-04 15:58:23 +02:00
Twinaphex 182c44df70 Merge pull request #8688 from jdgleaver/rgui-d3d-colours
(RGUI) Fix colours when using D3D10/11/12 gfx drivers
2019-05-04 15:58:09 +02:00
Twinaphex 2ed4fbf2f7 Merge pull request #8691 from meleu/patch-5
use new cheevos implementation as default
2019-05-04 15:55:22 +02:00
meleu b85cd1f1ab use new cheevos implementation as default 2019-05-04 10:27:36 -03:00
twinaphex 17b4cdb60a Merge branch 'rgui-d3d-colours' of git://github.com/jdgleaver/RetroArch 2019-05-04 14:56:41 +02:00
Twinaphex b30b7d01f1 Merge pull request #8690 from natinusala/master
menu_widgets: fix C4018 warnings
2019-05-04 14:55:54 +02:00
jdgleaver 0ce40be87e (RGUI) Try again - D3D10/11/12 actually seem to use bgra4444 2019-05-04 13:53:37 +01:00
natinusala 619ea2e627 menu_widgets: fix C4018 warnings 2019-05-04 14:48:41 +02:00
Twinaphex c176ad605d Merge pull request #8689 from jdgleaver/rgui-warn-fix
(RGUI) Fix trivial build warnings
2019-05-04 14:44:23 +02:00
Twinaphex aed4c6b34d Merge pull request #8687 from meleu/patch-5
lboard null pointer check must be done by caller
2019-05-04 14:39:33 +02:00
jdgleaver ee2f66bbd3 (RGUI) Fix trivial build warnings 2019-05-04 13:37:28 +01:00
twinaphex 990c2c405b (menu_widgets) C89_BUILD fix 2019-05-04 14:07:09 +02:00
jdgleaver d8d4fefb48 (RGUI) Fix colours when using D3D10/11/12 gfx drivers 2019-05-04 13:01:02 +01:00
meleu 27189029c4 lboard null pointer check must be done by caller
also, show lboard error description in OSD message
2019-05-04 08:01:20 -03:00
twinaphex ad7da9736a (BaseConfig.xcconfig) Add HAVE_MENU_WIDGETS 2019-05-04 01:16:35 +02:00
Twinaphex 53a872aa5b Merge pull request #8670 from WeedyWeedSmoker/French-translation-complete-overhaul
French translation complete overhaul
2019-05-03 22:38:37 +02:00
Weedy Weed Smoker c93272de15 (iOS) Buildfix
Changed "widgets/menu_entry.h" to "menu_entries.h", as no one did it before anyway...
2019-05-04 03:31:33 +07:00
Weedy Weed Smoker 5455f6bcf6 French translation completed
Incorporated the latest changes to my fork, and re-uploaded the complete translation... @twinaphex am I doing it wrong ??? :D
2019-05-04 03:27:04 +07:00
Weedy Weed Smoker 869b47ead3 Merge pull request #3 from libretro/master
Update fork
2019-05-04 03:23:59 +07:00
twinaphex 6a71aa06c8 (Apple) Add HAVE_MENU_WIDGETS 2019-05-03 21:52:59 +02:00
Twinaphex 64918cab99 Merge pull request #8682 from natinusala/master
menu_widgets: implement the user setting
2019-05-03 21:34:57 +02:00
natinusala 636f2ddb28 menu_widgets: implement the user setting 2019-05-03 21:25:20 +02:00
Weedy Weed Smoker 937ae55934 Merge branch 'master' into French-translation-complete-overhaul 2019-05-04 01:49:14 +07:00
Twinaphex 1d1cc87c4f Merge pull request #8677 from jdgleaver/rgui-performance
(RGUI) Further performance optimisations
2019-05-03 19:48:17 +02:00
Twinaphex 27712d648a Merge pull request #8681 from meleu/patch-5
minor fixes for cheevos-new
2019-05-03 19:33:47 +02:00
Twinaphex 792031c45e Merge pull request #8680 from jdgleaver/state-no-resume
For platforms without HAVE_THREADS, don't automatically resume content when saving/loading states
2019-05-03 18:03:56 +02:00
jdgleaver 6bb5dea1d4 Add TODO/FIXME comment 2019-05-03 17:03:00 +01:00
twinaphex f2fbaf2cb4 (Android) Add HAVE_MENU_WIDGETS 2019-05-03 17:52:30 +02:00
jdgleaver 4502b58ab3 For platforms without HAVE_THREADS, don't automatically resume content when saving/loading states 2019-05-03 16:32:48 +01:00
meleu eb81597871 ignore buggy leaderboards 2019-05-03 12:20:56 -03:00
twinaphex b9cdeebf35 Make menu widgets the new default 2019-05-03 15:55:44 +02:00
Twinaphex 048f025ca5 Merge pull request #8678 from jdgleaver/thumb-fallback
(menu_thumbnail_path) Use content directory name as fallback for 'db_name' in history and favorites playlists
2019-05-03 15:46:08 +02:00
jdgleaver d8eb6819b0 (menu_thumbnail_path) Use content directory name as fallback for 'db_name' in history and favorites playlists 2019-05-03 14:03:18 +01:00
twinaphex b7e7f6a651 (Menu widgets) Add menu widgets setting 2019-05-03 13:58:33 +02:00
jdgleaver 2424049fdf (RGUI) Further performance optimisations 2019-05-03 11:26:02 +01:00
meleu 7b47787887 handle hardcore mode toggle for cheevos-new 2019-05-03 01:59:05 -03:00
twinaphex 8b0f083a4e (UWP) UWP cannot deal with relative paths, turn them into absolute
paths first before reading shader pass files
2019-05-02 18:24:54 +02:00
Weedy Weed Smoker 6bc29174b7 French translation complete overhaul-done
Clarified the meaning of the latest additions from the US english language file...
2019-05-02 22:45:59 +07:00
Weedy Weed Smoker c4d328af8e French translation complete overhaul-latest
Added the latest additions from the US english file to the french translation
2019-05-02 22:36:39 +07:00
Twinaphex a162613a16 Merge pull request #8674 from jdgleaver/history-duplicates
Prevent duplicate content history entries (+ general sanitisation of playlist searching)
2019-05-02 17:30:22 +02:00
twinaphex c205e59f57 (menu entries) Cleanups 2019-05-02 16:21:12 +02:00
twinaphex 18568718ca (Vita) Add HAVE_UPDATE_ASSETS 2019-05-02 15:17:48 +02:00
jdgleaver 05e0a6c8d2 Prevent duplicate content history entries (+ general sanitisation of playlist searching) 2019-05-02 09:58:37 +01:00
Weedy Weed Smoker e8722195e9 French translation complete overhaul
The translation is now complete ! Thanks to everyone involved to make this happen... ;-)
2019-05-02 15:05:25 +07:00
Weedy Weed Smoker 6963fefc53 French translation overhaul
More cosmetic changes after testing
2019-05-02 13:23:58 +07:00
Twinaphex 7cc7a6df75 Merge pull request #8671 from alfrix/new_batt_icons
Ozone extra battery icons
2019-05-01 21:19:42 +02:00
Weedy Weed Smoker b5a7422b54 Last minute changes
Last minute changes after testing
2019-05-02 00:53:06 +07:00
Alfredo Monclus ff578de39e Ozone extra battery icons 2019-05-01 14:31:55 -03:00
Weedy Weed Smoker abd5e72856 French translation complete overhaul
French translation complete overhaul, thanks to BlaCkMatiK who gave me the motivation to do so, and to twinaphex for fixing it on macOS and iOS !
2019-05-02 00:03:27 +07:00
Twinaphex c8cf92ee5d Merge pull request #8669 from alfrix/new_batt_icons
XMB extra battery icons
2019-05-01 18:51:49 +02:00
alfrix 19f3be21c2 XMB extra battery icons 2019-05-01 13:42:00 -03:00
Twinaphex 7d72a1b6ab Merge pull request #8668 from natinusala/master
Menu widgets and database task improvements
2019-05-01 18:23:50 +02:00
natinusala a253fac207 menu_widgets: fix screenshot notification data race 2019-05-01 15:46:57 +02:00
natinusala 90fb11cb9a task_database: set task title upon completion 2019-05-01 15:26:21 +02:00
natinusala 486f438cc3 task_database: reimplement task progression 2019-05-01 15:13:41 +02:00
Twinaphex c59fbbd2f2 Merge pull request #8667 from jdgleaver/menu-datetime
Optimise menu_display_timedate()
2019-05-01 12:57:23 +02:00
twinaphex f0f8e8a208 Cleanup menu_entries_get_last_stack 2019-05-01 12:44:51 +02:00
twinaphex d170f99c03 (menu_entries.c) Simplify code 2019-05-01 12:32:49 +02:00
jdgleaver 2e68a634a2 Optimise menu_display_timedate() 2019-05-01 10:58:40 +01:00
twinaphex c9f98fce2f (menu_entries.c) Turn some static functions into macros 2019-05-01 11:48:44 +02:00
twinaphex 9ee33a6a1d (Menu) Merge menu_entry into menu_entries.c 2019-05-01 11:41:13 +02:00
twinaphex cce4aa9c86 (core_info.c) Use string_concat for constants 2019-05-01 00:21:50 +02:00
twinaphex 7ffbba6187 (WiiU) Silence warning - enumeration value not handled in switch 2019-05-01 00:13:12 +02:00
twinaphex 066643ac6e (GX2) Buildfix 2019-05-01 00:11:43 +02:00
twinaphex dbb9fb448d (menu_setting.c) Update 2019-05-01 00:10:38 +02:00
twinaphex 29b8ddef28 Move video_driver_menu_settings 2019-05-01 00:09:49 +02:00
twinaphex 39eadbab6f Use string_concat in more performance critical areas 2019-04-30 21:17:51 +02:00
twinaphex 4b22522ae0 We need faster string concatenation for performance-critical
codepaths - this is being run every frame
2019-04-30 19:36:40 +02:00
twinaphex 662976608a (Shader) Fix regression - when a game was loaded with a core
preset, it would load the preset inside shader slot 1 (menu)
instead of properly setting each pass
2019-04-30 19:26:36 +02:00
twinaphex 6683be9c44 (OSX 10.7) Use STB_FONT 2019-04-30 18:41:03 +02:00
twinaphex 49f5e6e2cc (macOS Metal) Use STB font instead of CoreText for font rendering 2019-04-30 18:40:07 +02:00
Twinaphex 5465c2b345 Merge pull request #8662 from jdgleaver/rgui-battery
Standardise menu powerstate access + add battery indicator to RGUI
2019-04-30 18:29:21 +02:00
jdgleaver 17f3bc2255 (RGUI) Make battery icon have a continuous fill 2019-04-30 17:13:00 +01:00
jdgleaver 55737ba127 Standardise menu powerstate access + add battery indicator to RGUI 2019-04-30 15:57:38 +01:00
twinaphex 01284c0231 Remove setting_list.c and reintegrate it into menu_setting.c 2019-04-30 16:18:26 +02:00
twinaphex ce5b1b2c0a (iOS10) Add rcheevos include dir 2019-04-30 14:26:01 +02:00
twinaphex 5bd0fdcc13 Cleanups 2019-04-30 13:51:32 +02:00
twinaphex 06cfdfdcbb Make some log messages uniform 2019-04-30 13:43:01 +02:00
twinaphex bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
Twinaphex 2dbb334fb1 (iOS) Fix two function pointers 2019-04-30 11:57:15 +02:00
Twinaphex 43d217668d (STB/iOS) Add HAVE_STB_FONT for iOS solutions too 2019-04-30 11:46:52 +02:00
twinaphex e76a8e6a75 (Apple/STB) Add Apple to STB unicode 2019-04-30 11:40:06 +02:00
Twinaphex 1819584d74 (General) Fix some warnings
(OSX) Add HAVE_STB_FONT
2019-04-30 11:38:47 +02:00
twinaphex 44b83cf353 Cleanups 2019-04-30 11:16:14 +02:00
twinaphex 34be5862ee (task_database) Use task_init 2019-04-30 10:25:23 +02:00
twinaphex 2d99cdcbf3 Add function parameter to task_iterate_database_start 2019-04-30 10:18:25 +02:00
twinaphex 9e2c82c26e (Scanner) Shorten scanner string 2019-04-30 10:12:00 +02:00
Twinaphex 2315362997 Merge pull request #8660 from libretro/revert-8658-master
Revert "task_database: use regular progress report"
2019-04-30 10:01:18 +02:00
Twinaphex a797324133 Revert "task_database: use regular progress report" 2019-04-30 10:01:07 +02:00
Twinaphex 90ea42c2d9 Merge pull request #8658 from natinusala/master
task_database: use regular progress report
2019-04-30 09:42:42 +02:00
Twinaphex b0b4f859cc Merge pull request #8657 from jdgleaver/rgui-particle-effects
(RGUI) Add 'particle effect' animation system
2019-04-29 23:07:38 +02:00
natinusala 8c7db837b4 task_database: use regular progress report 2019-04-29 20:04:41 +02:00
Twinaphex 3b5954b877 Merge pull request #8656 from m4xw/libnx_fixes
Libnx fixes
2019-04-29 18:26:38 +02: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
jdgleaver ecdb5383ba (RGUI) Add 'particle effect' animation system 2019-04-29 15:43:19 +01:00
M4xw 24dadb276e [LIBNX] Unconditional Mutex for logging 2019-04-29 16:43:01 +02:00
twinaphex 0984a13665 We can't use RARCH_LOG and friends inside libretro-common code 2019-04-29 14:49:24 +02:00
twinaphex ff906a9228 (MSVC 2017) Add HAVE_OZONE 2019-04-29 12:00:21 +02:00
twinaphex c2f95940fb (GL1) Whether GL1 driver has windowed mode support or not
depends on the video context driver and not the video driver itself
2019-04-29 07:21:37 +02:00
twinaphex 4f8e59a3f8 (UWP) Rewind should now work - issues with the BitScanReverse
codepath for compat_ctz on UWP/WinRT - have not figured out a
solution yet, so just make it default to slowest ctz codepath
for now
2019-04-29 07:06:06 +02:00
twinaphex 4c3e0d44b8 Revert "Start using string_is_equal_memcmp and"
This reverts commit 26d6aee1eb.
2019-04-29 04:04:33 +02:00
twinaphex bae73a0ccc Revert "(dir_list) Use string_is_equal_memcmp_fast"
This reverts commit c8ad747a46.
2019-04-29 04:03:57 +02:00
twinaphex c8ad747a46 (dir_list) Use string_is_equal_memcmp_fast 2019-04-28 19:05:51 +02:00
twinaphex 26d6aee1eb Start using string_is_equal_memcmp and
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex 161d4caa8f Get rid of two retro_assert calls 2019-04-28 15:16:42 +02:00
Twinaphex 4c154f347d Merge pull request #8649 from Ghabry/uwp-vfs
UWP VFS: Calculate buffer offset correctly when read fails due to EOF
2019-04-28 12:20:13 +02:00
Ghabry 5faf6a124d UWP VFS: Calculate buffer offset correctly when read fails due to EOF 2019-04-28 12:15:46 +02:00
twinaphex 3b24565b66 Be more careful with dangling pointer 2019-04-28 10:17:03 +02:00
twinaphex 8784d21c74 (STB) WinRT/UWP can't deal with relative paths, so don't look for
osd-font.ttf
2019-04-28 07:24:34 +02:00
twinaphex 2aa0b74d55 Remove core_manager - not used 2019-04-28 06:35:16 +02:00
twinaphex a6998d593a Update some logs 2019-04-28 05:48:09 +02:00
twinaphex 8ea1305d75 (menu_shader.c) Cleanups 2019-04-28 05:26:56 +02:00
twinaphex 2b5b67d663 Simplify core_info code 2019-04-28 05:15:21 +02:00
twinaphex 706a63fedf use config_file_exists where applicable in per-game/per-core config
functions
2019-04-28 03:21:30 +02:00
twinaphex 6888a0cc71 (config_file.c) Seems unnecesary to check if a config file is a
directory first
2019-04-28 03:12:59 +02:00
twinaphex 39c3a25ad6 Start using smaller buffers for stdout logging 2019-04-28 02:54:02 +02:00
twinaphex 2a164f2034 Don't need all this log spam for core/game initialization
if log level is not set to at least 'Debug'
2019-04-28 02:03:56 +02:00
twinaphex 415646111b (Settings) Libretro log level should be available again
(Logging) SET_SUBSYSTEM_INFO and GET_VARIABLE should only
do verbose logging if libretro logging level is set to DEBUG
2019-04-28 01:55:49 +02:00
Twinaphex 9fbc3c0769 Merge pull request #8647 from Ghabry/uwp-vfs
UWP VFS Performance
2019-04-28 00:06:08 +02:00
Ghabry c209b0b3d9 UWP: Improve IO performance by manually buffering short reads.
Reduce copies by binding by reference in the lambdas
2019-04-27 23:47:52 +02:00
Twinaphex a41f23240d Merge pull request #8646 from orbea/tinyalsa
Attempt to fix LGTM alerts for tinyalsa.
2019-04-27 21:16:17 +02:00
orbea ecd7f3c1fd Attempt to fix LGTM alerts for tinyalsa. 2019-04-27 07:40:32 -07:00
Ghabry 4390317992 Revert "(UWP/WinRT)"
This reverts commit b43b3e2bb0.
2019-04-27 15:01:01 +02:00
twinaphex 5044537625 (core_info.c) Small opts for core_info.c 2019-04-27 14:23:07 +02:00
twinaphex ac2fec7298 Revert "(command.c) Cleanups"
This reverts commit f7d4bd5faa.
2019-04-27 14:05:05 +02:00
twinaphex 2c47d571aa Use path_is_valid instead of filestream_exists when we only
need to know if a file exists on the filesystem
2019-04-27 14:01:50 +02:00
twinaphex 627c86721f (task_patch) Get rid of extraneous filestream_exists checks -
we already check if the file exists with path_is_valid
2019-04-27 13:35:28 +02:00
twinaphex 7502914a1d parse_horizontal_content_actions - use path_is_valid instead of
filestream_exists
2019-04-27 13:33:05 +02:00
twinaphex f7d4bd5faa (command.c) Cleanups 2019-04-27 13:18:05 +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
twinaphex cff92152db (VFS UWP) Revert this back 2019-04-27 09:05:39 +02:00
twinaphex e1b11593fc (file_list.c) Cleanups/optimizations 2019-04-27 07:32:40 +02:00
twinaphex 890e1eb064 (file_list.c) file_list_expand_if_needed - unroll this function 2019-04-27 07:21:50 +02:00
twinaphex c56225ab65 (Menu displaylist) Cleanups 2019-04-27 06:22:49 +02:00
twinaphex 9a6df2b591 (Menu displaylist) Cleanups 2019-04-27 06:18:40 +02:00
twinaphex 636e1bef50 (playlist.c) Cleanups 2019-04-27 05:35:16 +02:00
twinaphex 49156e645e task_push_decompress - use path_is_valid instead of filestream_exists 2019-04-27 05:16:02 +02:00
twinaphex 7fb5d9da62 Revert this 2019-04-27 04:44:01 +02:00
twinaphex 58073eeb15 Small cleanup 2019-04-27 04:43:07 +02:00
twinaphex 3e72c502a8 strlen optimizations :
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
twinaphex 2b401ce13b (archive_file) Small optimizations - use one strlen less in one instance 2019-04-27 02:39:33 +02:00
twinaphex 7af68ca0b9 (libretro-common) Update 2019-04-27 02:21:35 +02:00
twinaphex a2cb3f60a4 path_get_extension - fix regression 2019-04-27 02:17:17 +02:00
twinaphex fbae4efc97 Simplify path_basename and path_get_extension 2019-04-27 02:07:25 +02:00
twinaphex 1c2cbe596c Fix selected entries on dropdown menus 2019-04-27 01:15:14 +02:00
twinaphex 5c3d340e01 (UTF) Small optimizations 2019-04-27 00:46:26 +02:00
Twinaphex f4f1212372 Merge pull request #8644 from m4xw/libnx
[Libnx] Toolchain related changes
2019-04-26 22:10:40 +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 fce660de29 Merge pull request #8643 from theheroGAC/patch-43
Update msg_hash_it.h
2019-04-26 20:40:04 +02:00
theheroGAC 1ee127fe68 Update msg_hash_it.h 2019-04-26 17:22:27 +02:00
twinaphex 7201d0bf22 Revert "Use path_is_valid instead of filestream_exists where possible -"
This reverts commit 88e3abd6fd.
2019-04-26 13:46:21 +02:00
twinaphex 88e3abd6fd Use path_is_valid instead of filestream_exists where possible -
stat should be faster than fopen
2019-04-26 13:33:25 +02:00
twinaphex 1598cc773c More small cleanups 2019-04-26 12:53:12 +02:00
twinaphex 68ab984603 (archive_file) Safe optimizations 2019-04-26 12:46:44 +02:00
twinaphex aa156bd804 Have to revert this for now 2019-04-26 11:28:08 +02:00
twinaphex 60c028a562 (archive_file) Some optimizations 2019-04-26 10:26:48 +02:00
twinaphex cec858748f (dir_list) Optimize dir_list_read 2019-04-26 08:23:56 +02:00
twinaphex 1433a587b2 (dir_list) Simplify parse_dir_entry 2019-04-26 07:54:37 +02:00
twinaphex ad03ac055d dir_list - simplify dir_list_append 2019-04-26 06:36:55 +02:00
twinaphex ddace03872 (config_file.c) Cleanups 2019-04-26 06:28:10 +02:00
twinaphex 89563ce9c8 (stdstring) Small cleanups 2019-04-26 06:07:40 +02:00
twinaphex d41827ec7e (VFS implementation) Small cleanups 2019-04-26 05:53:59 +02:00
twinaphex fb653d22dc (file_path.c) Small simplifications 2019-04-26 04:49:42 +02:00
twinaphex c9caa5c39b (iOS10/11/9) Add rcheevos include dirs 2019-04-26 04:07:16 +02:00
twinaphex 246e224626 (menu displaylist) Fix shader preset/shader pass selection 2019-04-26 02:58:57 +02:00
twinaphex cd11385348 Fix bug with Quick Menu -> Controls 2019-04-26 02:53:57 +02:00
twinaphex 1f53eea4ee (Cocoa GL/GLES) Set this flag for OpenGLES 2019-04-26 02:27:48 +02:00
twinaphex 0b5a62ff9e (Menu) Cleanups 2019-04-26 01:44:52 +02:00
twinaphex 9edf8ecab0 (menu displaylist) Cleanups 2019-04-26 01:16:55 +02:00
twinaphex 30c08c369c (menu displaylists) Simplifications 2019-04-26 01:07:26 +02:00
twinaphex aed89c053b (menu displaylist) Cleanups 2019-04-25 05:32:19 +02:00
twinaphex fa09b29ad9 (menu displaylist) Cleanups 2019-04-25 05:28:52 +02:00
twinaphex c45699aeae (menu displaylist) Cleanups 2019-04-25 05:15:29 +02:00
twinaphex 71e07316db (menu displaylist) Cleanups 2019-04-25 04:52:52 +02:00
twinaphex ff40ae2486 Refactor slang_preprocess.cpp - try to remove auto variables 2019-04-25 04:07:18 +02:00
twinaphex a42b8f616f (slang reflection) Cleanups - start getting rid of most auto
variables
2019-04-25 03:54:04 +02:00
twinaphex 0bae77d199 (Shaders Vulkan/GLcore) Cleanups 2019-04-25 02:37:13 +02:00
twinaphex 15afaedaa8 (Shaders vulkan/GLcore) Simplify 2019-04-25 02:34:26 +02:00
twinaphex e40c3ec07b (Shader Vulkan/GL core) Make code more the same 2019-04-25 01:42:56 +02:00
twinaphex 55b53929db (shader GL/Vulkan) Cleanups 2019-04-24 23:45:57 +02:00
twinaphex 604403fe90 (shader_vulkan) Simplifications - start making shader_gl_Core
and shader_vulkan more alike
2019-04-24 23:13:42 +02:00
twinaphex e42dae928e (gl shader core) Simplifications 2019-04-24 22:20:48 +02:00
twinaphex 51a69dff44 (gl core shaders) Simplification 2019-04-24 22:10:21 +02:00
twinaphex 3225876f0b (shader_gl_core.cpp) Simplify 2019-04-24 20:25:37 +02:00
Twinaphex c85bf21fbb Merge pull request #8629 from orbea/wayland
qb: Disable wayland for CXX_BUILD for now.
2019-04-24 18:59:12 +02:00
orbea 780fa2679f qb: Disable wayland for CXX_BUILD for now. 2019-04-24 09:32:01 -07:00
twinaphex 8fc40d2a2a Menu displaylist - prevent segfault with shader parameters screen
when a shader has no parameters and handle does not exist
2019-04-24 18:07:12 +02:00
twinaphex 5e82940a08 (VFS) Reimplement path_mkdir_error 2019-04-24 17:41:02 +02:00
twinaphex a60844897f (Shader GL core) Simplify some code 2019-04-24 04:24:48 +02:00
twinaphex c3c3b6c2a2 (GL_CORE) Add gl_capabilities.c 2019-04-24 04:05:42 +02:00
Twinaphex f3d04b7562 (OSX10.7) Add C++ source files 2019-04-24 03:59:55 +02:00
Twinaphex e9bbc8d8dd (gl_core.c) Remove unused variable 2019-04-24 03:49:34 +02:00
twinaphex c422ec1a0f (OSX10.7) Add header include dirs 2019-04-24 03:46:33 +02:00
Twinaphex fb4e9f560f (OSX 10.7) Update 2019-04-24 03:42:14 +02:00
twinaphex 9ac971050d (GL_CORE) Add RGL/glsym 2019-04-24 03:37:17 +02:00
twinaphex c55873c324 (GL_CORE) More updates 2019-04-24 03:33:32 +02:00
twinaphex 4f542c051d (OSX 10.7) Add defines 2019-04-24 03:29:46 +02:00
twinaphex 59b45f7812 Start making HAVE_OPENGL_CORE independent 2019-04-24 03:23:57 +02:00
Twinaphex 21cd11acb4 Merge pull request #8628 from orbea/c89
Fix C89_BUILD.
2019-04-24 02:55:16 +02:00
orbea 552cc08549 Fix C89_BUILD. 2019-04-23 17:51:26 -07:00
twinaphex d6e9776ab8 (VFS) Small cleanups 2019-04-24 02:19:09 +02:00
twinaphex b3686aee4c Initialize playlist_entry manually 2019-04-24 02:10:45 +02:00
twinaphex c854d0916b (XMB) XMB honors the 'show menu sublabels' setting now - was previously
RGUI only
2019-04-24 01:48:28 +02:00
Twinaphex 3e15f1b512 Merge pull request #8626 from retrotails/master
add rgui snow
2019-04-24 01:39:44 +02:00
twinaphex f3a31ffd8d Increment count correctly per entry added 2019-04-24 01:21:24 +02:00
twinaphex 22ac50d39c (menu displaylist) Cleanups 2019-04-23 23:59:05 +02:00
twinaphex e7cb5ccdee menu_displaylist_parse_playlist - cleanups 2019-04-23 23:50:30 +02:00
twinaphex 70d0bd5092 If we are inside online updater screen and go back ingame and then
go back to the menu, we would become stuck inside this menu because
there were no entries. This has now been fixed
2019-04-23 23:35:52 +02:00
twinaphex f573626144 Simplify path_parent_dir 2019-04-23 23:21:16 +02:00
twinaphex b8694ff127 (file_path.c) More simplifications 2019-04-23 23:10:53 +02:00
twinaphex 7fe3f5f7ff (file_path.c) Turn path_stat into a macro 2019-04-23 22:59:57 +02:00
twinaphex cca51030d7 simplify path_mkdir 2019-04-23 22:53:07 +02:00
twinaphex f9f66a14b3 Simplify retro_vfs_mkdir_impl 2019-04-23 22:30:38 +02:00
twinaphex 589e886954 (Database menu) Add no entries to display when there are no entries
inside a database file
2019-04-23 21:59:58 +02:00
twinaphex 4d7f9a85f1 Cleanup menu_displaylist_parse_playlists 2019-04-23 21:52:41 +02:00
twinaphex b5a7020366 Cleanups 2019-04-23 21:15:15 +02:00
twinaphex f8881f7cbe Cleanup retroarch_validate_game_options 2019-04-23 21:06:12 +02:00
twinaphex 4eb2d8ae09 Cleanups 2019-04-23 20:22:07 +02:00
twinaphex 95ad896f9b Cleanups 2019-04-23 20:07:29 +02:00
retrotails b69c005c85 fix compiler errors 2019-04-23 13:48:06 -04:00
twinaphex ff3467a79f (Ozone) Add wifi icon for network info entries 2019-04-23 19:28:53 +02:00
twinaphex 6268d979c0 Cleanups 2019-04-23 19:20:49 +02:00
twinaphex aba9cbb5b4 Cleanups 2019-04-23 18:51:03 +02:00
twinaphex ff3a3f80d3 Cleanups 2019-04-23 18:41:50 +02:00
twinaphex b25372b6f7 (menu displaylist) Cleanups 2019-04-23 18:39:24 +02:00
twinaphex a2d4577a1f Simplify parse_settings_internal_enum 2019-04-23 18:21:48 +02:00
twinaphex d1e4ada773 menu_displaylist_parse_settings_internal_enum - optimize - if
setting is flagged as advanced and advanced settings are not
enabled, then do early return
2019-04-23 17:11:29 +02:00
twinaphex 804fab61bc SImplify menu_displaylist_parse_type 2019-04-23 17:03:29 +02:00
twinaphex a53c67791b Simplify menu_displaylist_parse_settings_internal_enum 2019-04-23 14:39:36 +02:00
retrotails 499d61cb3d added rgui snow 2019-04-23 04:33:10 -04:00
twinaphex 4b3b9add3e (menu displaylist) Cleanups 2019-04-23 07:26:58 +02:00
twinaphex d1f99e4610 (menu displaylist) Cleanups 2019-04-23 07:24:40 +02:00
twinaphex 5ca821c9db (menu displaylist) Cleanups 2019-04-23 07:13:26 +02:00
twinaphex 485b41163c Cleanup create_string_list_rdb_entry_int 2019-04-23 06:14:54 +02:00
twinaphex e686cb34b0 (menu displaylist) Cleanups 2019-04-23 04:28:53 +02:00
twinaphex afbc113e7b (Menu displaylist) Cleanups 2019-04-23 04:19:28 +02:00
twinaphex 3c130927d3 (menu displaylist) Refactor latency settings list 2019-04-23 04:03:29 +02:00
twinaphex 15000edf11 (menu_displaylist) Cleanups 2019-04-23 03:54:33 +02:00
twinaphex 4dd95212ac (menu displaylist) Get rid of duplicate function 2019-04-23 03:10:55 +02:00
twinaphex 7311aa6a69 (menu displaylist) More simplifications 2019-04-23 03:06:07 +02:00
twinaphex 52874b6316 Make the two parse_settings functions more alike 2019-04-23 02:51:44 +02:00
twinaphex e4f48fac19 (C89_BUILD) Fix C89_BUILD 2019-04-23 02:23:27 +02:00
twinaphex 8811a4a8f9 (menu displaylist) More cleanups 2019-04-23 02:11:34 +02:00
twinaphex 8c3c34f984 (menu_displaylist) More cleanups 2019-04-23 01:32:05 +02:00
twinaphex 70ece8435c (menu displaylist) Code cleanups 2019-04-23 01:21:51 +02:00
twinaphex a6e18f23a8 (stb font unicode) Put MSVC check in again - MSVC 2005 and up get
Unicode STB font
2019-04-23 00:35:04 +02:00
twinaphex 566abd0cfd (MSVC 2012) Start making the code in pixconv.c more backwards compatible 2019-04-23 00:08:34 +02:00
twinaphex 656283322e (Griffin) Take out these ifdefs for XMB/MaterialUI/Ozone 2019-04-22 23:54:58 +02:00
twinaphex a48dbcb52e (MSVC 2005) Add HAVE_UPDATE_ASSETS 2019-04-22 23:43:27 +02:00
twinaphex 31c7abce64 (MSVC 2003) Fonts now show up for GL 2019-04-22 23:30:24 +02:00
twinaphex c4d99586ba (MSVC 2003) Compile in STB unicode for MSVC 2003 2019-04-22 23:07:10 +02:00
twinaphex 563253f268 More work to make HAVE_OPENGL1 independent 2019-04-22 22:59:48 +02:00
twinaphex 04d062b3d4 (MSVC2003) Enable HAVE_OPENGL1; make HAVE_OPENGL1 independent from
HAVE_OPENGL
2019-04-22 22:48:23 +02:00
twinaphex 3680c264d9 (PS3) Hopefully fix PS3 build finally 2019-04-22 20:47:48 +02:00
twinaphex d08f9cb212 (menu_displaylist) menu_displaylist_parse_core_info - cut down on more
code duplication
2019-04-22 20:22:24 +02:00
twinaphex 799872e59d (menu_displaylist) Remove tons of code duplication 2019-04-22 20:11:34 +02:00
twinaphex 4133da0fcf (OSX) Add OSX 10.7 solution - not done yet - will use HAVE_GL_CORE
and HAVE_SLANG/HAVE_SPIRV_CROSS
2019-04-22 10:52:52 +02:00
Twinaphex 077a5dd685 (OSX) CXX_BUILD buildfix 2019-04-22 10:33:30 +02:00
Twinaphex 64dea335ff (OSX) Cleanups 2019-04-22 10:05:18 +02:00
twinaphex 63c8eb1a4c Simplify config_load_shader_preset 2019-04-22 09:27:59 +02:00
twinaphex 1bb293ebae (configuration.c) Cleanups 2019-04-22 08:55:52 +02:00
twinaphex a2ec579689 (configuration) Cleanups 2019-04-22 08:46:58 +02:00
twinaphex 5171d167c8 Update log messages 2019-04-22 08:29:29 +02:00
twinaphex cec7037839 (configuration.c) Cleanups 2019-04-22 08:21:57 +02:00
twinaphex 85c4a29d38 Simplify config_save_autoconf_profile 2019-04-22 08:13:26 +02:00
twinaphex b69c7ec558 Cleanup config_load_file 2019-04-22 07:38:44 +02:00
twinaphex f18407a011 config_load_shader_preset/config_load_override - use config_file_read 2019-04-22 07:21:01 +02:00
twinaphex 64ee26baae More cleanups/refactors 2019-04-22 04:41:16 +02:00
twinaphex 9bd38b7011 Small style nits/cleanups 2019-04-22 04:25:43 +02:00
twinaphex dcd5cb2602 (paths.c) Style nit 2019-04-22 04:05:58 +02:00
twinaphex def9210cdc (PS3) Buildfix 2019-04-22 04:01:20 +02:00
twinaphex 31fc95a6cf Style nits 2019-04-22 03:08:30 +02:00
twinaphex c38ed7f843 Use path_is_directory to check if directories exist instead of
filestream_exists
2019-04-22 02:43:09 +02:00
twinaphex 33e5a92867 We should be able to rely on the return value of path_mkdir
instead of doing an additional negative path_is_directory check
afterwards
2019-04-22 02:33:12 +02:00
twinaphex 146b4ccc50 Use config_file_read in more places 2019-04-22 02:20:04 +02:00
twinaphex 317a443741 Use config_file_read in more places 2019-04-22 02:10:12 +02:00
twinaphex 955a149ce9 Use config_file_read where we can assume we are reading a file 2019-04-22 01:56:24 +02:00
twinaphex 16e2db25c4 Prefer config_file_read instead of config_file_new when we are
sure the path cannot be a directory path
2019-04-22 01:23:50 +02:00
twinaphex 69168ec6bc Core info list iteration was calling path_stat two times on the same
paths - unnecessary file I/O is an issue with UWP/WinRT so let's cut
this down to only one path_stat. config_file_read function created -
acts the same as config_file_new except it doesn't check if the path
provided is actually a directory, which in turn would lead to another path_stat call
2019-04-22 01:13:19 +02:00
twinaphex b41384a0d0 (input_driver) Cleanups 2019-04-22 00:05:12 +02:00
twinaphex d281e3f889 (retroarch.c) Cleanups 2019-04-21 23:42:21 +02:00
twinaphex b998bda5a1 Fix crash that can occur with Discord netplay 2019-04-21 21:56:40 +02:00
Twinaphex 3f1a516696 Merge pull request #8616 from orbea/wayland
wayland: Fix build.
2019-04-21 18:28:42 +02:00
twinaphex 2509ee9646 (paths.c) Cleanups - string cannot be empty at this point 2019-04-21 17:57:32 +02:00
twinaphex 435c80a844 path_set_redirect - simplifications 2019-04-21 17:46:55 +02:00
orbea 1e86824e96 wayland: Fix build.
Fixes https://github.com/libretro/RetroArch/issues/8614
2019-04-21 08:11:26 -07:00
twinaphex b0b1b0b782 (input_driver) Cleanup 2019-04-21 16:57:35 +02:00
twinaphex f292524031 Cleanup 2019-04-21 16:50:25 +02:00
twinaphex 8165b43170 (input_driver) Further simplifications 2019-04-21 16:30:12 +02:00
twinaphex 7ae0c6b2c1 (input_driver.c) Simplifications 2019-04-21 16:19:48 +02:00
twinaphex 8312d67a11 (input_driver.c) Further simplifications 2019-04-21 16:13:11 +02:00
twinaphex b6fd875230 (input_driver.c) Simplifications 2019-04-21 15:48:56 +02:00
twinaphex f6fec009d2 input_config_get_prefix becomes static function 2019-04-21 07:56:20 +02:00
twinaphex a79eec8698 (input_driver.c) Cleanup 2019-04-21 07:46:52 +02:00
twinaphex af2805406d Move more functionality to input_driver.c ; make more functions static 2019-04-21 07:30:14 +02:00
twinaphex 270e95bc97 Turn a lot of input_config_parse functions static 2019-04-21 06:42:13 +02:00
twinaphex 0226820825 Simplify config_read_keybinds_conf 2019-04-21 06:32:39 +02:00
twinaphex ce31ed6a51 (configuration.c) Simplifications 2019-04-21 06:20:25 +02:00
twinaphex 7372bafb44 Remove RARCH_CTL_SET_LIBRETRO_PATH 2019-04-21 06:03:02 +02:00
twinaphex e5800cf733 Cleanups 2019-04-21 05:47:24 +02:00
twinaphex 81d22c63de (task_content) Some simplifications 2019-04-21 05:33:41 +02:00
twinaphex 5771a7a71d Simplify some code 2019-04-21 05:24:06 +02:00
twinaphex b63fa7b94b (configuration/paths) Simplify some code 2019-04-21 05:05:44 +02:00
twinaphex 0909c80138 Cleanups 2019-04-21 04:49:04 +02:00
twinaphex 565e25d2ab (menu displaylist) Cleanups 2019-04-21 04:33:22 +02:00
twinaphex 2d9f0ea7ce (menu displaylist) Cleanups 2019-04-21 04:27:27 +02:00
twinaphex 2941365741 (menu displaylist) Cleanups 2019-04-21 04:17:15 +02:00
Twinaphex 05b50c346d Merge pull request #8613 from orbea/travis
travis: Avoid more duplication.
2019-04-21 04:10:52 +02:00
twinaphex 5748de8b1f (menu_displaylist) Cleanups 2019-04-21 04:09:11 +02:00
twinaphex a150bc27ce (menu_displaylist) Cleanups 2019-04-21 04:06:37 +02:00
twinaphex e705862c07 (menu_displaylist) Cleanups 2019-04-21 03:45:35 +02:00
twinaphex c662da11c3 (QT/UI) Cleanups 2019-04-21 03:28:23 +02:00
twinaphex 254c48707d (QT/UI) Cleanups 2019-04-21 02:34:19 +02:00
twinaphex 1dc0fa83ff Cleanups 2019-04-21 02:16:24 +02:00
orbea f45a70d1e8 travis: Avoid more duplication. 2019-04-20 17:03:35 -07:00
twinaphex 91d56bf43f (PS3) Buildfix 2019-04-21 01:39:10 +02:00
twinaphex b5ba2ddc7b (CXX) CXX_BUILD fix for Cheevos 2019-04-21 01:28:57 +02:00
twinaphex 0805838050 (QT/UI) Cleanups 2019-04-21 00:54:35 +02:00
twinaphex a58297a577 (UI/QT) Create create_widget 2019-04-21 00:41:26 +02:00
twinaphex 9ba1b522c2 (menu widgets) CXX_BUILD fixes 2019-04-21 00:31:31 +02:00
Twinaphex ba3161af87 Merge pull request #8612 from orbea/c89
Fix C89_BUILD with clang.
2019-04-21 00:01:26 +02:00
orbea aac42e309c Fix C89_BUILD with clang. 2019-04-20 14:59:07 -07:00
Twinaphex d6d882f34b Merge pull request #8611 from orbea/travis
travis: Add C89_BUILD and CXX_BUILD.
2019-04-20 23:35:32 +02:00
orbea ea4415b5f4 travis: Add C89_BUILD and CXX_BUILD. 2019-04-20 13:47:29 -07:00
Twinaphex cc749c6e60 Merge pull request #8609 from orbea/travis
travis: Avoid some duplication.
2019-04-20 22:25:25 +02:00
Twinaphex 287c95ac8b Merge pull request #8610 from meleu/runtime_rcheevos_switch_c89
C89/CXX support for rcheevos
2019-04-20 22:25:11 +02:00
Jamiras 2319b2bde8 fix C89/CXX build 2019-04-20 14:04:50 -06:00
orbea 443e6a2b1d travis: Avoid some duplication. 2019-04-20 13:02:45 -07:00
twinaphex 8e638f435a (Wayland) wl_array_for_each macro fails with CXX_BUILD - have to
roll our own macro instead doing it right
2019-04-20 20:33:22 +02:00
twinaphex 499235cd40 (CXX_BUILD) Another buildfix 2019-04-20 19:55:50 +02:00
twinaphex e4873f8a46 Another CXX_BUILD buildfix 2019-04-20 19:51:08 +02:00
twinaphex 7b3be5eddf (wayland) Fix some CXX_BUILD issues; possibly not all 2019-04-20 18:42:23 +02:00
twinaphex aa03025dd1 Need to disable cheevos for C89/CXX until this is fixed 2019-04-20 17:17:36 +02:00
twinaphex 762e28e1e0 (CXX_BUILD) Silence this warning 2019-04-20 16:39:58 +02:00
Twinaphex c9cfd1cd89 Silence xcode warnings - unused variables 2019-04-20 16:36:01 +02:00
Twinaphex 26bbf46054 Merge pull request #8608 from orbea/cxxbuild
Fix some CXX_BUILD errors.
2019-04-20 16:23:46 +02:00
twinaphex 797a4bca0f (UI/QT) network.cpp - more dehardcoding 2019-04-20 16:19:47 +02:00
twinaphex 22739b4430 (UI/QT) Refactor audio.cpp 2019-04-20 16:14:37 +02:00
orbea 4bd3a54fbb Fix some CXX_BUILD errors. 2019-04-20 07:08:22 -07:00
twinaphex f1a2652024 Use C comments instead of C++ comments 2019-04-20 15:45:20 +02:00
twinaphex bb45102450 Merge branch 'master' of https://github.com/libretro/RetroArch 2019-04-20 15:24:46 +02:00
Twinaphex bca306a006 Merge pull request #8501 from meleu/runtime_rcheevos_switch
add config option to choose between cheevos implementations
2019-04-20 15:23:51 +02:00
twinaphex e35cd80a14 (MSVC 2010) Buildfix 2019-04-20 05:53:17 +02:00
meleu 9091409efa remove '#ifdef HAVE_NEW_CHEEVOS' leftovers 2019-04-19 23:11:31 -03:00
meleu c2364096f3 Merge branch 'master' into runtime_rcheevos_switch 2019-04-19 21:50:00 -03:00
twinaphex b137616746 Update Makefile.common 2019-04-20 01:15:09 +02:00
twinaphex 1d3533d847 Add rsemaphore.c 2019-04-20 01:14:38 +02:00
Twinaphex e786798527 Merge pull request #8606 from leiradel/fix_memory_access
Fix check for mmaps or meminfo
2019-04-19 22:21:53 +02:00
twinaphex 1fb1b1bdb7 Add this back 2019-04-19 19:28:25 +02:00
twinaphex d7d201cb63 (Apple Metal) Add HAVE_MENU to moc generation 2019-04-19 19:26:57 +02:00
leiradel dab941e53d Simpler code paths 2019-04-19 17:33:24 +01:00
leiradel c0bb911501 Fix check to chose between mmaps and meminfo 2019-04-19 15:12:04 +01:00
leiradel 8aa16caef5 Fix format string in log message 2019-04-19 15:01:02 +01:00
Brad Parker 51d3376f07 Update CHANGES.md 2019-04-19 09:15:47 -04:00
Twinaphex e61c331656 Merge pull request #8601 from orbea/roaraudio
qb: Check for libroar 1.0.12.
2019-04-19 04:58:24 +02:00
orbea a86848d822 qb: Check for libroar 1.0.12.
This hides a now fixed upstream libroar build error which breaks LGTM.
Unfortunately this only allows the most recent roaraudio version to be
used.
2019-04-18 13:49:56 -07:00
hizzlekizzle 46dda3b5c3 Merge pull request #8600 from orbea/filter
Also fix the video filter selection.
2019-04-18 15:30:07 -05:00
orbea b7b17ee7e5 Also fix the video filter selection. 2019-04-18 12:50:35 -07:00
bparker06 d7a7260909 also fix audio DSP plugin 2019-04-18 15:12:53 -04:00
orbea dd9bde2184 Fix font selection.
Fixes https://github.com/libretro/RetroArch/issues/8593
2019-04-18 15:12:53 -04:00
Brad Parker 572c16cb2a style cleanup with uncrustify 2019-04-18 11:47:13 -04:00
Brad Parker e7dbac7eb0 prevent null derefs found by scan-build 2019-04-18 11:46:53 -04:00
Brad Parker fa128f950d remove unused functions 2019-04-18 10:35:51 -04:00
Twinaphex 99a1d8ccc6 Merge pull request #8597 from jdgleaver/rgui-osk-build-fix
RGUI OSK - HAVE_LANGEXTRA=0 build fix
2019-04-18 12:50:40 +02:00
jdgleaver ed1480bc87 RGUI OSK - HAVE_LANGEXTRA=0 build fix 2019-04-18 10:02:05 +01:00
Brad Parker d8968d8d0b add initial Turkish translation from Ömercan Kömür (fpscan) 2019-04-17 19:08:23 -04:00
Twinaphex a41e7aa0a7 Merge pull request #8594 from jdgleaver/rgui-osk
(RGUI) Add on-screen keyboard
2019-04-18 00:11:29 +02:00
jdgleaver 10f8077294 (RGUI) Add on-screen keyboard 2019-04-17 17:05:51 +01:00
Twinaphex d013a04bfb Merge pull request #8592 from jdgleaver/3ds-tearing
(3DS) Fix screen tearing when running 50Hz content
2019-04-17 03:15:16 +02:00
twinaphex 56d45ea0c0 (NL) Update translation 2019-04-17 03:13:37 +02:00
jdgleaver a9a5782cc0 (3DS) Fix screen tearing when running 50Hz content 2019-04-16 15:44:47 +01: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
Twinaphex e1573e4b39 Merge pull request #8586 from jdgleaver/3ds-update
(3DS) Sanitise/Improve display mode selection
2019-04-16 03:17:31 +02:00
Twinaphex 2fcb4b5854 Merge pull request #8589 from CozmoP/ampersand
Qt: sanitize ampersands
2019-04-16 03:17:09 +02:00
twinaphex 1baebdbd47 (UI/QT) Fix Travis OSX build hopefully 2019-04-16 00:47:13 +02:00
Twinaphex bd843857de Merge pull request #8588 from CozmoP/scrollbar
Qt: add scrollbar to settings dialog
2019-04-16 00:31:34 +02:00
CozmoP aa98a80fa6 Qt: sanitize ampersands 2019-04-15 22:45:03 +02:00
CozmoP ac6e4732f1 Qt: add scrollbar to settings dialog 2019-04-15 22:29:16 +02:00
Twinaphex f9ce822a7b Merge pull request #8587 from rzumer/fix_cheevos_oob
Check bounds of accessed memory for achievements
2019-04-15 19:40:49 +02:00
Raphaël Zumer dc37d56ac8 Check bounds of peeked memory for achievements 2019-04-15 13:34:44 -04:00
jdgleaver 54e1711f9a (3DS) Sanitise/Improve display mode selection 2019-04-15 17:05:55 +01:00
twinaphex 3d7eb19abd (UI/QT) Dehardcode User Interface -> Views -> Quick Menu 2019-04-15 08:00:24 +02:00
twinaphex d620e9ce1d (UI/QT) Dehardcode core settings 2019-04-15 07:48:34 +02:00
twinaphex 2e21a35261 (UI/QT) Dehardcode configuration settings 2019-04-15 07:40:51 +02:00
twinaphex 39c111bb92 (UI/QT) Dehardcode directory settings 2019-04-15 07:15:53 +02:00
twinaphex a680133a38 (UI/QT) Dehardcode driver settings 2019-04-15 07:01:51 +02:00
twinaphex df1fe1f1ae (menu_displaylist) slim down switch list 2019-04-15 06:55:44 +02:00
twinaphex 1f7d7d6441 (UI/QT) Dehardcode logging 2019-04-15 06:54:36 +02:00
twinaphex f33e04c747 (UI/QT) Dynamically generate settings for 'throttle' 2019-04-15 06:29:02 +02:00
twinaphex 085f25e81f (UI/QT) First attempt at dynamically generating settings instead
of manually specifying settings
2019-04-15 06:16:55 +02:00
twinaphex 1599f1f5d3 (UI/QT) Create overloaded 'add' function 2019-04-15 05:18:30 +02:00
twinaphex 29ca98c10c (UI/QT) Prevent unnecessary costly functions 2019-04-15 05:13:40 +02:00
twinaphex b38a4dcb08 (UI/QT) Make some of the add functions private 2019-04-15 04:26:19 +02:00
twinaphex d9723d2282 Make parse_settings_internal_enum a public function 2019-04-15 03:55:00 +02:00
twinaphex 52d2b6ae94 (UI/QT) Cleanups 2019-04-14 23:34:28 +02:00
twinaphex 060396e726 (UI/QT) Dehardcode more settings 2019-04-14 23:30:34 +02:00
twinaphex 756e49d2af (UI/QT) Dehardcode settings 2019-04-14 23:07:34 +02:00
twinaphex 534cfb60cf (UI/QT) ui - start dehardcoding additions 2019-04-14 19:04:46 +02:00
twinaphex 4b3ca341c2 (UI/QT) saving - dehardcode more additions 2019-04-14 18:58:51 +02:00
twinaphex 181cff34d8 (UI/QT) network.cpp - dehardcode more additions 2019-04-14 18:55:30 +02:00
twinaphex f3a7f6971b (QT/UI) Dehardcode more additions 2019-04-14 18:37:20 +02:00
twinaphex e0849df59f (UI/QT) Dehardcode two more additions 2019-04-14 18:33:15 +02:00
twinaphex 051c877c62 (QT/UI) By default, a CONFIG_FLOAT setting becomes a 'spinbox' UI type.
If a range is specified, it becomes a 'slider and spinbox' UI type.
2019-04-14 18:24:27 +02:00
twinaphex 0feb657e29 (UI/QT) More dehardcoding 2019-04-14 17:54:00 +02:00
twinaphex 9f09efe5c9 (UI/QT) Dehardcode some more additions 2019-04-14 17:45:12 +02:00
twinaphex 338ce7e678 (UI/QT) Dehardcode some more additions 2019-04-14 17:26:14 +02:00
twinaphex 82e38ca2ee (UI/QT) Dehardcode some more settings 2019-04-14 17:13:04 +02:00
twinaphex 95f77a2288 (UI/QT) Create 'add' function for SettingsGroup and LayoutForm 2019-04-14 17:10:13 +02:00
twinaphex 0cb94aef85 (Qt) Slight code formatting cleanups 2019-04-14 08:13:54 +02:00
twinaphex e840a6c95a Cut down on some code duplication 2019-04-14 07:08:35 +02:00
twinaphex 9c8c889477 rarch_setting - start implementing ui_type 2019-04-14 07:01:01 +02:00
Twinaphex 2bab38e857 Merge pull request #8306 from CozmoP/options
WIP/PoC Qt: settings PoC
2019-04-14 05:44:02 +02:00
twinaphex cee285bcd5 (playlist.c) Code style cleanups 2019-04-13 18:57:02 +02:00
twinaphex fb306a9358 (verbosity.c) Code formatting cleanups 2019-04-13 18:49:05 +02:00
twinaphex 10d66d28c0 (runtime_file.c) Code style cleanups(runtime_file.c) Code style
cleanups(runtime_file.c) Code style cleanups(runtime_file.c) Code style
cleanups(runtime_file.c) Code style cleanups(runtime_file.c) Code style
cleanups(runtime_file.c) Code style cleanups(runtime_file.c) Code style
cleanups(runtime_file.c) Code style cleanups
2019-04-13 18:47:11 +02:00
twinaphex a7abd77141 (menu_shader) Remove some unnecessary functions 2019-04-13 06:40:21 +02:00
twinaphex 70373dba9a (task_screenshot.c) Cleanups 2019-04-13 04:56:11 +02:00
Brad Parker 95145ec0d4 remove debug code 2019-04-12 21:17:04 -04:00
twinaphex 3619fae2d9 (LGTM) Silence some warnings 2019-04-13 02:15:26 +02:00
Twinaphex 5dde91040f Merge pull request #8578 from jdgleaver/rgui-idle-thumbs
(RGUI) Add optional delay when loading thumbnails
2019-04-13 01:46:15 +02:00
Brad Parker b8471aa3dc gl1: add gpu hard sync support and print osd statistics 2019-04-12 19:28:34 -04:00
Twinaphex 247d427ea4 Merge pull request #8579 from huwpascoe/silence_warnings
silence warnings
2019-04-12 23:45:39 +02:00
Twinaphex 8918d0d873 Merge pull request #8580 from bparker06/playlist_subsystem
Add subsystem support for (history) playlists, make playlist_entry struct public to simplify function parameters
2019-04-12 23:45:02 +02:00
CozmoP 0cbb89168b Merge pull request #2 from Tatsuya79/options
Move thumbnail type selection to grid footer.
2019-04-12 19:48:06 +02:00
bparker06 15c0191f08 Update task_content.c 2019-04-12 13:04:59 -04:00
Brad Parker f7b0c0947c add subsystem_name (friendly name) to history playlist, make playlist_entry struct public to simplify function parameters 2019-04-12 12:50:27 -04:00
Huw Pascoe fed06044c4 silence warnings 2019-04-12 17:32:11 +01:00
jdgleaver a446f8ad51 (RGUI) Add optional delay when loading thumbnails 2019-04-12 15:50:27 +01:00
Twinaphex 3345bed1d3 Merge pull request #8577 from hizzlekizzle/master
Silence menu_widgets max redefinition warning
2019-04-12 04:18:02 +02:00
meleu 0f92f001b0 rcheevos determine when to start/stop/submit leaderboards 2019-04-11 22:53:43 -03:00
hizzlekizzle 4f004ebebc whoops, syntax error 2019-04-11 20:51:50 -05:00
hizzlekizzle e85167072e silence redefinition warning
go ahead and protect against PI redefinition, too, since that seems very likely to crop up at some point.
2019-04-11 20:46:12 -05:00
Jamiras e35a3cb08b use rcheevos for leaderboard processing 2019-04-11 18:57:12 -06:00
bparker06 2c71ce437c Merge pull request #6 from fr500/playlist_subsystem
[subsystem] add a function to get the friendly name
2019-04-11 20:00:26 -04:00
radius d08779adf0 [subsystem] add a function to get the friendly name 2019-04-11 18:51:27 -05:00
bparker06 198bb6d047 Merge pull request #5 from fr500/playlist_subsystem
[subsystem] allow loading from history
2019-04-11 19:45:56 -04:00
bparker06 729f13cad4 Update menu_cbs_ok.c 2019-04-11 19:45:28 -04:00
radius 71bfd98012 [subsystem] allow loading from history 2019-04-11 18:18:37 -05:00
Twinaphex 1250565e9e Merge pull request #8488 from markwkidd/collections-to-playlists
internationalization -- use "Playlist" instead of "Collection"
2019-04-11 20:02:59 +02:00
Twinaphex 2f64653241 Merge pull request #8574 from jdgleaver/rgui-extended-ascii
(RGUI) Add optional extended ASCII support
2019-04-11 20:02:42 +02:00
Twinaphex da667600e1 Merge pull request #8575 from natinusala/master
menu widgets: fix screenshot, add achievement notification
2019-04-11 18:02:39 +02:00
natinusala 8287049a13 menu widgets: add badges to achievement notification 2019-04-11 17:35:13 +02:00
natinusala f941d4e625 menu widgets: add first achievement notification widget 2019-04-11 16:46:41 +02:00
natinusala 942d228e3a menu widgets: fix screenshot flash tainting the image 2019-04-11 16:46:41 +02:00
jdgleaver a870526dc9 (RGUI) Add optional extended ASCII support 2019-04-11 14:29:31 +01:00
Brad Parker 230c64ba4b add subsystem support for playlists, only missing the content load portion 2019-04-11 00:09:13 -04:00
twinaphex 702c889cd1 (D3D10/11/12) Menu widgets can now appear ingame 2019-04-11 02:22:21 +02:00
Brad Parker 2bfb073b3e fix stack-use-after-scope and a memory leak with subsystems 2019-04-10 18:58:53 -04:00
Twinaphex a7049b0020 Merge pull request #8573 from jdgleaver/rgui-menu-widgets
(RGUI) Fix menu widget display issues
2019-04-10 23:13:26 +02:00
jdgleaver 7e80f5520a (RGUI) Fix menu widget display issues 2019-04-10 13:50:03 +01:00
Brad Parker 7648da1413 d3d9/10/11/12: fix scissor parameters 2019-04-10 00:23:00 -04:00
Brad Parker e0b59f13e2 no analog/sensitivity correction for analog buttons 2019-04-09 23:17:11 -04:00
twinaphex dc80e49509 (menu_display_gl) Small cleanup 2019-04-10 01:50:55 +02:00
twinaphex 002ac5a344 (menu display) pointer cleanups 2019-04-10 01:46:25 +02:00
Twinaphex 145e09a629 Merge pull request #8566 from jdgleaver/stb-space-fix
Fix text display issues when using Japanese text with stb_unicode
2019-04-09 17:02:43 +02:00
jdgleaver 136762f6a2 Fix text display issues when using Japanese (and other unicode-dependent language) text with stb_unicode 2019-04-09 15:51:33 +01:00
Twinaphex f718b3558f Merge pull request #8565 from markwkidd/patch-1
SET_ROTATION: not only for accelerated video drivers
2019-04-09 16:08:11 +02:00
Twinaphex 076a0d2f56 (OSX) Code analysis cleanups 2019-04-08 23:13:39 +02:00
twinaphex b25c571b23 Comment out asserts that can be triggered when launching MaterialUI
in fullscreen mode
2019-04-08 22:25:35 +02:00
Twinaphex 3346cd23c0 Merge pull request #8564 from Themaister/master
glcore: Fix GLES build.
2019-04-08 21:22:28 +02:00
Themaister f82601c4a8 glcore: Fix GLES build. 2019-04-08 21:17:13 +02:00
twinaphex 3199edcde2 (MSVC 2005) Buildfix 2019-04-08 20:48:47 +02:00
twinaphex e206230a89 (Linux) Use STB unicode font renderer for Linux 2019-04-08 20:12:22 +02:00
Twinaphex d6dfa240c8 Some cleanups 2019-04-08 19:36:44 +02:00
Twinaphex 8d7a0117bc (Metal RA) Exclude OpenGL from Metal build 2019-04-08 19:17:51 +02:00
twinaphex 0af7167586 (GL1) Add menu widgets support 2019-04-08 18:58:26 +02:00
Twinaphex 4d429ea4d8 Merge pull request #8562 from jdgleaver/stb-fonts
Fix text alignment when using stb_unicode
2019-04-08 18:43:59 +02:00
twinaphex c12e8dea07 (D3D10/11) All struct members are already being set 2019-04-08 18:42:52 +02:00
jdgleaver 38d2febba5 Fix text alignment when using stb_unicode 2019-04-08 17:37:23 +01:00
Twinaphex 8aaef0e95c Merge pull request #8561 from natinusala/master
Reimplement missing menu widgets
2019-04-08 17:46:05 +02:00
natinusala 55d0701ac1 menu widgets: remove qb notice 2019-04-08 17:06:05 +02:00
natinusala fba6f69d74 menu widgets: reimplement volume widget 2019-04-08 17:06:05 +02:00
natinusala f036ce442e menu widgets: reimplement slowmotion 2019-04-08 17:06:05 +02:00
natinusala 7a7f444e55 menu widgets: reimplement fast forward widget 2019-04-08 17:06:05 +02:00
natinusala 5667c73ebf menu widgets: reimplement rewind widget 2019-04-08 17:06:04 +02:00
natinusala b750199db4 menu widgets: reimplement pause widget 2019-04-08 17:06:04 +02:00
natinusala 3d52f2bf8f menu widgets: reimplement screenshot widget 2019-04-08 17:06:04 +02:00
natinusala e1838b4908 Add more Windows MINGW working directory stuff to gitignore 2019-04-08 17:06:04 +02:00
natinusala 7a3caf82d0 menu widgets: reimplement FPS counter 2019-04-08 17:06:04 +02:00
Twinaphex e6efc02457 Merge pull request #8560 from jdgleaver/font-alignment-2
(Menu Widgets) Fix text alignment issues for ctr, metal and vita2d drivers
2019-04-08 16:25:17 +02:00
jdgleaver 4065dbf18e (Menu Widgets) Fix text alignment issues for ctr, metal and vita2d drivers 2019-04-08 15:13:19 +01:00
twinaphex 45fa047b07 (Menu display) Pointer cleanups 2019-04-08 15:22:21 +02:00
Twinaphex 682d757cf7 Merge pull request #8559 from jdgleaver/font-alignment
(Menu Widgets) Fix text alignment issues with Vulkan and D3D video drivers
2019-04-08 14:53:00 +02:00
jdgleaver 9fff07e589 (Menu Widgets) Fix text alignment issues with Vulkan and D3D video drivers 2019-04-08 13:35:35 +01:00
markwkidd d03ff44d53 allow non-accelerated video to rotate the display 2019-04-07 22:34:01 -04:00
twinaphex b49577b65f (UWP VFS) Code formatting cleanups 2019-04-07 22:45:35 +02:00
twinaphex dd016c44c9 (UWP VFS) Code formatting cleanups 2019-04-07 21:58:10 +02:00
twinaphex 79ffb53ef2 (UWP VFS) Try to rewrite this - baby steps 2019-04-07 21:35:45 +02:00
twinaphex e0cb900abe (UWP VFS) Cleanups 2019-04-07 21:22:20 +02:00
Twinaphex ffad99d886 Merge pull request #8552 from rzumer/patch-5
Fix cheevos crash when peeking out of range
2019-04-06 21:34:01 +02:00
Raphaël Zumer e181bc6d39 Fix cheevos crash when peeking out of range
This would occur if the address being peeked at was not part of a memory region defined in the core.
2019-04-06 13:48:18 -04:00
Brad Parker 9579804c72 gl1: add overlay support 2019-04-05 23:07:59 -04:00
Brad Parker 48dc251303 gl1: add scissor reset from gl 2019-04-05 18:17:11 -04:00
Twinaphex 46455a6ff8 Merge pull request #8549 from jdgleaver/rgui-optimisation
(RGUI) Performance optimisations
2019-04-05 12:33:20 +02:00
jdgleaver b301e4d444 (RGUI) Performance optimisations 2019-04-05 09:16:29 +01:00
twinaphex 827802d883 Revert "Don't grab these two variables for every blit_line call"
This reverts commit ca56e0e91d.
2019-04-04 18:32:08 +02:00
twinaphex d7d260556b Revert "(RGUI) Move menu_display_font_framebuffer to rgui.c"
This reverts commit 1a3ec1c3be.
2019-04-04 17:51:58 +02:00
twinaphex 1a3ec1c3be (RGUI) Move menu_display_font_framebuffer to rgui.c 2019-04-03 23:06:56 +02:00
twinaphex ca56e0e91d Don't grab these two variables for every blit_line call 2019-04-03 22:48:32 +02:00
bparker06 c8b9b4ef25 Update stdstring.h 2019-04-03 12:06:31 -04:00
twinaphex a5aa4d731b Use memset instead of bzero 2019-04-03 16:56:50 +02:00
Brad Parker ae12c30285 strcmp will always be faster 2019-04-03 10:41:19 -04:00
twinaphex ab33d16da1 Small cleanup 2019-04-03 16:33:16 +02:00
twinaphex 25ba8f4ab0 (GL1) GL1.x won't have mipmapping support 2019-04-03 16:13:01 +02:00
Twinaphex be7b845b6c Silence warning 2019-04-03 14:52:20 +02:00
twinaphex e0aa224575 (CoreAudio3) some cleanups 2019-04-03 14:48:18 +02:00
Twinaphex 637414c138 (CoreAudio3) Fix issues 2019-04-03 14:37:06 +02:00
Twinaphex 052137b027 (OSX) Silence warnings 2019-04-03 13:31:45 +02:00
Twinaphex 03381da506 Merge pull request #8538 from hizzlekizzle/master
don't alphabetize shader presets
2019-04-03 00:11:20 +02:00
Twinaphex 7e9c05c442 Merge pull request #8542 from fr500/patch-1
Update record_ffmpeg.c
2019-04-02 17:39:28 +02:00
Andrés 9739b181bf Update record_ffmpeg.c
small fix in recording presets
2019-04-02 08:47:35 -05:00
Tatsuya79 e7373a9cc2 dark theme pushbutton indicator fix 2019-04-02 01:49:30 +02:00
Tatsuya79 61fa0a0807 Move thumbnail type selection to grid footer. 2019-04-01 21:31:46 +02:00
Twinaphex 737989cce4 Merge pull request #8541 from jdgleaver/rgui-drop-shadows
(RGUI) Add optional shadow effects
2019-04-01 19:55:53 +02:00
jdgleaver 3c10731fbd (RGUI) Add optional shadow effects 2019-04-01 13:54:59 +01:00
Twinaphex 797f3226a7 Merge pull request #8540 from CozmoP/drivers
fix camera and location dropdown lists
2019-04-01 09:43:46 +02:00
CozmoP 224f925b3b fix camera and location dropdown lists 2019-04-01 02:07:08 +02:00
hizzlekizzle 255dc9d932 don't alphabetize shader presets
It makes it harder to edit them later.
2019-03-31 08:53:36 -05:00
meleu 6e730cf2dd update rcheevos files 2019-03-30 15:44:03 -03:00
Brad Parker 8639018976 use proper scaled radial deadzone calculation 2019-03-29 14:07:35 -04:00
Twinaphex 306653d069 Merge pull request #8535 from natinusala/master
ozone: fix content metadata for music and movie playlists
2019-03-29 12:41:01 +01:00
twinaphex 41eab46111 (C89) Buildfixes 2019-03-29 12:39:03 +01:00
natinusala a924ac15c9 ozone: fix content metadata for music and movie playlists 2019-03-29 10:08:12 +01:00
Twinaphex 0c91f4dff5 Merge pull request #8532 from natinusala/master
ozone: fix content metadata for images playlist
2019-03-29 01:02:02 +01:00
Twinaphex 98ef566473 Merge pull request #8533 from jdgleaver/log-dir-fix
Log to file: ensure log directory is always created
2019-03-29 01:01:39 +01:00
CozmoP 3fda353fbc Merge pull request #1 from Tatsuya79/patch-2
dark theme settings update
2019-03-28 19:21:00 +01:00
Tatsuya79 022f25df0c dark theme settings update 2019-03-28 18:21:55 +01:00
jdgleaver 4086826e92 Log to file: ensure log directory is always created 2019-03-28 11:27:26 +00:00
natinusala 2148f8ca0a ozone: fix content metadata for images playlist 2019-03-28 10:39:11 +01:00
Twinaphex 190cf1be97 Merge pull request #8530 from jdgleaver/rgui-inline-thumbs
(RGUI) Add inline playlist thumbnail support
2019-03-28 00:37:12 +01:00
Mark W. Kidd 8bbdf39cbf remove un-reviewed translation updates 2019-03-27 16:31:37 -04:00
jdgleaver c2122ed1d8 (RGUI) Add inline playlist thumbnail support 2019-03-27 16:29:23 +00:00
CozmoP bd6fedc0f2 Qt: WIP settings dialog 2019-03-27 02:37:34 +01:00
Mark W. Kidd 2e125cd608 update Chinese (Simplified) per asakous 2019-03-26 08:01:01 -04:00
Twinaphex 7c13e57468 Merge pull request #8527 from bparker06/analog
add analog deadzone and sensitivity options, rename axis threshold
2019-03-26 10:39:50 +01:00
Brad Parker e7891b8c1a add analog deadzone and sensitivity options, rename axis threshold 2019-03-25 23:22:19 -04:00
Twinaphex cc07982ee0 Merge pull request #8526 from jdgleaver/log-to-file-update
More 'Log to File' Additions
2019-03-25 23:57:53 +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
Mark W. Kidd f61cacd24c update Chinese (Traditional) per asakkous 2019-03-25 09:48:25 -04:00
meleu a77327d20e preventing "always false" alerts 2019-03-24 19:11:48 -03:00
Mark W. Kidd d017163612 update Russian translation per ofry 2019-03-24 14:23:38 -04:00
twinaphex cec06a0859 C89 buildfixes 2019-03-24 18:15:26 +01:00
meleu c66b866a87 OSD msg when using new cheevos implementation 2019-03-24 12:52:12 -03:00
meleu dda6716926 more namespacing work & del rcheevos/test/* files 2019-03-24 12:51:47 -03:00
Twinaphex fcd55d871e Merge pull request #8522 from stellarporter/blargg
gfx video filters: blargg ntsc snes conflicts
2019-03-24 16:11:30 +01:00
Twinaphex 5b835614d4 Merge pull request #8524 from jdgleaver/rgui-thread-fix
(RGUI) Fix deadlock when changing menu aspect with threaded video enabled
2019-03-24 16:11:08 +01:00
jdgleaver 4d2c35f6fe (RGUI) Fix deadlock when changing menu aspect with threaded video enabled 2019-03-24 12:41:05 +00:00
stellarporter 11e4b0b6ef gfx video filters: blargg ntsc snes conflicts
emscipten: avoid global symbol multiply defined error (core compiling its own snes_ntsc.c library)
2019-03-23 20:22:21 -05:00
Mark W. Kidd 5ba97fbcb2 use more natural Playlist term in German 2019-03-23 12:44:37 -04:00
Mark W. Kidd 6abaded373 spanish fixes per alfrix 2019-03-23 12:34:37 -04:00
Twinaphex 4258836422 Merge pull request #8520 from rsn8887/master
[VITA] Bluetooth mouse and keyboard support
2019-03-23 06:59:43 +01:00
rsn8887 28ef222886 [VITA] Bluetooth mouse and keyboard support 2019-03-22 21:32:59 -05:00
Twinaphex 123cd67a6a Merge pull request #8486 from huwpascoe/rxml
Re-enable RXML and purge libxml
2019-03-23 03:25:32 +01:00
Twinaphex 586192c431 Merge pull request #8517 from barbudreadmon/patch-3
Add glsym private
2019-03-22 17:10:01 +01:00
Mark W. Kidd e8dc6b8c3e german translation fixes per m4xw 2019-03-22 12:07:39 -04:00
barbudreadmon b9b9464652 Add glsym private
Allows core developpers to add their own definitions when working with glsm. 2 things needed : 
- enable the `HAVE_GLSYM_PRIVATE` define
- create a glsym_private.h with your logic
You can find an example of usage at https://github.com/libretro/yabause/tree/yabasanshiro/yabause/src/libretro
2019-03-22 17:04:17 +01:00
Mark W. Kidd 04e87a00db update PLAYLIST_DIRECTORY & PLAYLIST_ENTRY_RENAME 2019-03-22 11:33:16 -04:00
Mark W. Kidd 9b9b1e6b9c update MENU_ENUM_SUBLABEL_PLAYLIST_ENTRY_REMOVE 2019-03-22 10:26:51 -04:00
Mark W. Kidd 961e435317 update MENU_ENUM_SUBLABEL_SCAN_XX strings 2019-03-22 08:17:33 -04:00
Mark W. Kidd dcd9860e80 update MENU_ENUM_LABEL_VALUE_PLAYLIST_DIRECTORY 2019-03-22 08:17:32 -04:00
Mark W. Kidd 8771e5b958 use PLAYLISTS_TAB enum instead of COLLECTION_LIST 2019-03-22 08:17:31 -04:00
Twinaphex 194a675448 Merge pull request #8511 from jdgleaver/log-to-file-additions
Log to file improvements
2019-03-21 18:37:07 +01:00
jdgleaver 93506a0d18 Log to file improvements 2019-03-21 16:57:54 +00:00
Brad Parker 538576e6f9 update JP translation 2019-03-20 21:20:59 -04:00
Twinaphex b518e639b6 Merge pull request #8509 from fjtrujy/master
[PS2] Remove the parallel compilation in the distribution scripts
2019-03-20 22:37:12 +01:00
Francisco Javier Trujillo Mata 677d65bf8d Remove the parallel compilation for PS2 in the dist-scripts 2019-03-20 22:32:12 +01:00
Twinaphex 231e310ea1 Merge pull request #8508 from libretro/revert-8504-patch-3
Revert "Update french translation"
2019-03-20 22:30:51 +01:00
Twinaphex 1f9928c677 Revert "Update french translation" 2019-03-20 22:30:39 +01:00
twinaphex be9a8c0e18 Buildfix 2019-03-20 18:00:14 +01:00
Twinaphex dc46bea45a Merge pull request #8504 from bubuleur/patch-3
Update french translation
2019-03-20 17:46:40 +01:00
Twinaphex 5d3233c1d5 Merge pull request #8506 from jdgleaver/rgui-int-scale-fix
(RGUI) Overhaul 'Lock Menu Aspect Ratio' option
2019-03-20 16:25:13 +01:00
Twinaphex 9fa8730023 Merge pull request #8505 from jdgleaver/rgui-wii-buildfix
(RGUI) Wii build fix
2019-03-20 16:11:24 +01:00
jdgleaver f114e14d48 (RGUI) Overhaul 'Lock Menu Aspect Ratio' option 2019-03-20 13:41:27 +00:00
jdgleaver 9f93ec1077 (RGUI) Wii build fix 2019-03-20 09:46:18 +00:00
bubuleur c168835c5f Update msg_hash_fr.h 2019-03-20 09:56:16 +01:00
bubuleur 513273e3f2 Update french translation 2019-03-20 09:44:28 +01:00
Twinaphex 7b9fcfd280 Merge pull request #8503 from orbea/caca
Fix caca warning.
2019-03-20 05:59:57 +01:00
orbea 3fb4ed753d Fix caca warning.
One too many lines were removed in
commit f67bfa24ef.
2019-03-19 21:54:51 -07:00
Twinaphex c5d9a69ae7 Merge pull request #8500 from rsn8887/master
[LIBNX] Fix USB keyboard support for controlling Vice core and Menu
2019-03-20 02:29:23 +01:00
rsn8887 5aa0d17659 [LIBNX] Fix USB keyboard support for controlling Vice core and Menu 2019-03-19 19:49:45 -05:00
meleu d444044fde decrease log massive verbosity when leaderboard is active 2019-03-19 21:19:08 -03:00
meleu 4506a58e31 update rcheevos files 2019-03-19 21:13:10 -03:00
meleu a5acd559d6 namespace both cheevos implementations & add a runtime setting to allow debugging 2019-03-19 21:13:10 -03:00
Twinaphex 469a65b55e Merge pull request #8498 from rsn8887/master
[LIBNX] USB mouse support
2019-03-20 01:01:01 +01:00
rsn8887 208a68b528 [LIBNX] USB mouse support 2019-03-19 18:44:12 -05:00
Twinaphex 7646757faf Merge pull request #8496 from jdgleaver/rgui-widescreen
(RGUI) Add widescreen support
2019-03-19 16:13:34 +01:00
jdgleaver 8336163112 (RGUI) Ensure update is immediate when changing 'Menu Aspect Ratio' 2019-03-19 15:10:14 +00:00
Twinaphex 51af4330eb Merge pull request #8494 from rsn8887/master
[LIBNX] USB keyboard support (tested working in Dosbox core and Caprice32 core)
2019-03-19 16:09:37 +01:00
twinaphex cd75045792 Simplify video_driver_frame - simplify FPS reporting printout 2019-03-19 16:03:19 +01:00
jdgleaver b10901e6b9 Fix 'Multiplication result converted to larger type' alert 2019-03-19 14:42:52 +00:00
rsn8887 f943688dff [LIBNX] USB keyboard support 2019-03-19 08:43:46 -05:00
jdgleaver a17f0e2136 (RGUI) Allow text to be centred when selecting widescreen layouts 2019-03-19 13:11:00 +00:00
jdgleaver e72c67bf87 (RGUI) Add widescreen support 2019-03-19 11:49:53 +00:00
twinaphex 4fb95db80b Simplify video_driver_frame 2019-03-19 04:32:36 +01:00
Twinaphex 18803479ac Merge pull request #8425 from fr500/master
Log to file
2019-03-19 01:19:18 +01:00
twinaphex 46dc4508f4 Buildfix for Cg 2019-03-18 16:32:46 +01:00
twinaphex 794f9c8968 (GL) Add comments 2019-03-18 16:02:28 +01:00
twinaphex 7c93da1360 (GL2) Simplifications 2019-03-18 15:57:43 +01:00
twinaphex 819016b00c Move video_shader_driver_init to gl.c 2019-03-18 15:52:21 +01:00
twinaphex 27928081cf Cleanups 2019-03-18 15:27:37 +01:00
twinaphex f67bfa24ef Get rid of video_poke_interface set_mvp 2019-03-18 15:19:11 +01:00
Twinaphex 399cfe67f4 Merge pull request #8491 from natinusala/master
ozone: use new button icons in footer
2019-03-18 14:39:46 +01:00
natinusala e94c8a762d ozone: use new button icons in footer 2019-03-18 12:59:23 +01:00
twinaphex fe1255094f Get rid of now unused set_coords in video_driver_poke_interface 2019-03-18 05:04:23 +01:00
twinaphex 03641f2378 (GL1) Cleanups 2019-03-18 04:50:50 +01:00
twinaphex ab814efc62 (GL raster font) Don't have to call video_driver_set_coords/
video_driver_set_mvp anymore
2019-03-18 04:46:27 +01:00
twinaphex 8361253b52 (GL menu display driver) Don't go through
video_driver_set_coords/video_driver_set_mvp
2019-03-18 04:39:54 +01:00
radius 2acfe9cb6a fix 2019-03-17 14:28:18 -05:00
radius 0c2f5093b2 disable forced logging on android 2019-03-17 14:28:17 -05:00
radius 8fd0aedc56 add log to file settings 2019-03-17 14:28:17 -05:00
Brad Parker a8a06d498c gl1: fix matrix not loading when threaded video is on 2019-03-17 12:46:01 -04:00
Twinaphex cd5e844ee4 Merge pull request #8487 from fjtrujy/master
[PS2] Compiling issues for IRX files
2019-03-17 13:46:34 +01:00
Francisco Javier Trujillo Mata 69087727e9 fix issues executing makefile in a bash script 2019-03-17 13:36:40 +01:00
Huw Pascoe 45069537fb Re-enable RXML and purge libxml
Fixed rxml to work with griffin.c
2019-03-17 03:04:35 +00:00
Twinaphex 4bb7054f8c Merge pull request #8485 from fjtrujy/master
[PS2] CDFS Improvements
2019-03-16 16:00:36 +01:00
Francisco Javier Trujillo Mata b1846ee449 [PS2] CDFS Improvements 2019-03-16 15:32:11 +01:00
Twinaphex 88ea33bbd2 Update CHANGES.md 2019-03-16 03:48:48 +01:00
Twinaphex 2d838a7e76 Merge pull request #8482 from fjtrujy/feature/CDFSSupport
[PS2] CDFS Support
2019-03-15 22:19:14 +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 da86549b8e Add libcdvd library 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
Twinaphex 1dc0d43f68 Merge pull request #8481 from jdgleaver/ozone-thumb-fix
(Ozone) Fix thumbnail display issues
2019-03-15 18:13:52 +01:00
jdgleaver d1e457115c (Ozone) Fix thumbnail display issues 2019-03-15 17:01:26 +00:00
Twinaphex 5661c29409 Merge pull request #8480 from Themaister/master
glcore: Set frame count in shader interface.
2019-03-15 16:28:44 +01:00
Themaister e3a88e8806 glcore: Set frame count in shader interface. 2019-03-15 15:36:18 +01:00
Twinaphex 5919171181 Merge pull request #8479 from jdgleaver/strlcpy-checks
strlcpy() safety checks
2019-03-15 15:21:10 +01:00
jdgleaver 4834119963 strlcpy() safety checks 2019-03-15 14:14:06 +00:00
Twinaphex bf89c4bd3d Merge pull request #8478 from natinusala/master
ozone: prevent content metadata from lagging
2019-03-15 15:01:50 +01:00
natinusala 6807f1b9bb ozone: prevent content metadata from lagging 2019-03-15 14:45:15 +01:00
Twinaphex 35aacadd23 Merge pull request #8477 from natinusala/master
ozone: fix horizontal animation when refreshing the menu
2019-03-15 14:25:28 +01:00
natinusala 27c1dd4b7b ozone: fix horizontal animation when refreshing the menu 2019-03-15 14:21:58 +01:00
Twinaphex 3adc9fce13 Merge pull request #8473 from natinusala/master
ozone: show metadata name if content logging is disabled
2019-03-15 12:50:34 +01:00
Twinaphex 7fa513be08 Merge pull request #8475 from jdgleaver/xmb-icon-fix
(XMB) Fix display glitches when refreshing current menu
2019-03-15 12:43:58 +01:00
jdgleaver 26f7503959 (XMB) Fix display glitches when refreshing current menu 2019-03-15 11:27:49 +00:00
natinusala 1a4786a7f1 ozone: show metadata name if content logging is disabled 2019-03-15 11:16:35 +01:00
Brad Parker 145013074e android buildfix 2019-03-14 21:26:39 -04:00
twinaphex 6f284a1d43 Build fix 2019-03-15 01:08:09 +01:00
Brad Parker c9dca9cdf1 Update CHANGES.md 2019-03-14 19:34:51 -04:00
Brad Parker 15e489fd0a android: allow stylus/pen to move mouse without pressing down 2019-03-14 19:33:51 -04:00
Brad Parker 2f659e3e17 style nits 2019-03-14 19:33:02 -04:00
twinaphex c8eb85ec2e Implement gl_core_wrap_type_to_enum 2019-03-14 20:04:04 +01:00
Twinaphex b7fb66b24e Merge pull request #8470 from hhromic/libchdr
(libchdr) Use int types and format aligned to the `chd_header` typedef
2019-03-14 19:46:45 +01:00
Hugo Hromic 0cfefdd2a8 (libretro-common/libchdr) Use int types and format aligned to the chd_header typedef 2019-03-14 18:12:10 +00:00
twinaphex a68072e293 Buildfix for C89_BUILD 2019-03-14 18:14:32 +01:00
Twinaphex f2398280e0 Merge pull request #8468 from natinusala/master
ozone thumbnails improvements
2019-03-14 17:39:36 +01:00
Twinaphex d415d4eb23 Merge pull request #8469 from hhromic/various-fixes
Fix C89 build and silence warnings
2019-03-14 17:39:18 +01:00
natinusala 44db578691 ozone: fix content metadata update 2019-03-14 17:31:48 +01:00
Hugo Hromic 794f4a6b34 (libretro-common/libchdr) Silence warnings in C89 build 2019-03-14 16:22:22 +00:00
Hugo Hromic b10a318f16 (dispserv_x11.c) Silence warning 2019-03-14 16:13:09 +00:00
Hugo Hromic 1233c9d0dc (command.c) Silence warning in C89 build 2019-03-14 16:12:56 +00:00
Hugo Hromic 136c08a4bb (x11_common.c) Fix C89 build 2019-03-14 16:09:34 +00:00
natinusala 43b1768ee7 ozone: use menu_thumbnail for thumbnails 2019-03-14 16:56:07 +01:00
natinusala f50567d340 ozone: fix thumbnails position and size 2019-03-14 16:23:08 +01:00
natinusala d65068cf15 ozone: new content metadata layout 2019-03-14 16:23:08 +01:00
natinusala 53268540f8 ozone: fix crash 2019-03-14 16:23:08 +01:00
Twinaphex 35be34eb32 Merge pull request #8292 from markwkidd/patch-8
use "Playlist" rather than "Collection" in UI strings
2019-03-14 15:29:34 +01:00
twinaphex 643cd1923e CXX_BUILD / C89_BUILD buildfixes 2019-03-14 14:14:44 +01:00
Twinaphex dc8590a6e5 Merge pull request #8467 from jdgleaver/rgui-mixed-content-thumbs
(RGUI/XMB) Enable thumbnail display on mixed content playlists (history, favourites, etc.)
2019-03-14 13:51:15 +01:00
bparker06 970404dc28 ios buildfix 2019-03-14 08:37:52 -04:00
jdgleaver 28bb7c67af (RGUI/XMB) Enable thumbnail display on mixed content playlists (history, favourites, etc.)
Move thumbnail path handling code to reusable menu_thumbnail_path.h/.c file

(XMB) Bug fixes:

- Show thumbnails correctly when 'Show associated cores in playlists' is enabled

- Prevent each thumbnail from being loaded twice (!) when changing current selection
2019-03-14 11:53:16 +00:00
Brad Parker 8064672f11 gl: set shader data to null after deinit 2019-03-13 16:22:04 -04:00
Brad Parker 79d0870526 Qt: fix shader file filter 2019-03-13 16:18:24 -04:00
twinaphex d744ed4666 Reimplement video_shader_is_supported 2019-03-13 20:39:36 +01:00
twinaphex 57e11a10e7 Reimplement video_shader_get_type_from_ext 2019-03-13 20:32:19 +01:00
Twinaphex 4c29f3102f Merge pull request #8464 from orbea/cxx_linker
Add a missing NEED_CXX_LINKER for the glcore video driver.
2019-03-13 20:16:52 +01:00
twinaphex 190e6316e3 Replace more instances of get_type_from_ext 2019-03-13 20:12:32 +01:00
orbea 7e96595894 Add a missing NEED_CXX_LINKER for the glcore video driver. 2019-03-13 11:59:53 -07:00
twinaphex 456452f1b7 Reimplement shader extension filtering 2019-03-13 19:51:33 +01:00
Brad Parker 97247dbaec gl1: check for vender/renderer was in the wrong place 2019-03-13 14:44:03 -04:00
Twinaphex b68764862d Merge pull request #8463 from Themaister/master
Fix uniform override mistake in GLcore shader stack
2019-03-13 19:31:29 +01:00
Themaister beff1144f6 Fix uniform override mistake in glcore shader stack.
glGetUniformLocation returned -1 after 0, and dropped uniforms on the
floor.
2019-03-13 18:28:05 +01:00
Themaister ecc7bc0cf2 Fix compile error and flag errors on X/Wayland. 2019-03-13 18:27:44 +01:00
Brad Parker 77c8688d6a android: bump msvc project to api level 26 2019-03-13 12:28:14 -04:00
twinaphex 3691f4fabf Fix CXX_BUILD errors 2019-03-13 17:00:52 +01:00
twinaphex 83be5a1950 C89_BUILD fixes 2019-03-13 16:57:13 +01:00
bparker06 5e49a683ec Update CHANGES.md 2019-03-13 10:30:11 -04:00
Twinaphex dd5eca0f46 (OSX) Buildfix 2019-03-13 14:31:03 +01:00
twinaphex b347b26d61 Reimplement shader flags being set - GL core should have only
Slang support and no GLSL, with the GL2 driver it is dependent
on the context driver
2019-03-13 14:06:50 +01:00
Twinaphex a8a7fba2ca Merge pull request #8450 from Exvat/switch-rumble
Add rumble support for the switch
2019-03-13 12:28:05 +01:00
twinaphex cd77093588 Reimplement gl2_get_flags to no longer be reliant on shader driver's
get flags implementation
2019-03-13 12:12:02 +01:00
Twinaphex 1a8b185c5e Merge pull request #8455 from Tatsuya79/patch-1
glcore, fix rotation
2019-03-13 11:38:41 +01:00
Twinaphex b468592097 Merge pull request #8452 from natinusala/ozone-thumb-fix
Ozone thumbnails display fix + add menu widgets notice in configure
2019-03-13 11:36:06 +01:00
Twinaphex ae35484eea Merge pull request #8456 from phcoder/kbd
Fix keyboard on android
2019-03-13 11:35:27 +01:00
Twinaphex 6a31f87a85 Merge pull request #8457 from phcoder/kbdwl
wayland: fix keyboard handling.
2019-03-13 11:34:26 +01:00
Twinaphex 062a307b09 Merge pull request #8458 from phcoder/kbd102
input_keymaps: Add 102nd key
2019-03-13 11:34:16 +01:00
twinaphex de4e9b9fcc Only show 'update shaders' options based on what the video driver and
underlying shader driver/context driver supports
2019-03-13 11:27:25 +01:00
twinaphex 191d0c0309 Add get_flags to GL shader interface 2019-03-13 11:21:00 +01:00
twinaphex 365053266f Add more flags 2019-03-13 11:04:52 +01:00
natinusala 3a9a9df218 ozone: fix collapsed sidebar breaking on context reset 2019-03-13 10:29:29 +01:00
natinusala c1c71f35db ozone: fix is_playlist, fix thumbnails display 2019-03-13 10:25:36 +01:00
natinusala 76d0b4ebd5 Add a menu widgets notice in configure 2019-03-13 10:25:27 +01:00
Brad Parker 4db2bc3354 Update CHANGES.md 2019-03-13 03:33:05 -04:00
Brad Parker 44a06d69a6 android: add gamepad rumble support 2019-03-13 03:32:18 -04:00
twinaphex 2c024f400e Start hooking up extra shader capability stats - not done yet 2019-03-13 00:54:11 +01:00
Brad Parker 5e684da3d2 Update CHANGES.md 2019-03-12 19:44:10 -04:00
Vladimir Serbinenko 2d56ceedfd input_keymaps: Add 102nd key 2019-03-12 23:52:50 +01:00
Vladimir Serbinenko 2d5715b807 wayland: fix keyboard handling.
This bug interferes with my BK-0010 libretro port.
2019-03-12 23:49:46 +01:00
Vladimir Serbinenko fa1603127f Fix keyboard on Android
This bug interferes with my BK-0010 libretro port.
2019-03-12 23:45:52 +01:00
Tatsuya79 16681653b4 glcore, fix rotation 2019-03-12 22:32:47 +01:00
twinaphex 3d06b4aee2 Add comment about hack 2019-03-12 21:47:35 +01:00
Twinaphex 911a6a905b Merge pull request #8454 from cold-brewed/macosgltempfix
(macOS) Add temporary GL hack
2019-03-12 21:44:36 +01:00
Twinaphex 885b9cb9b7 Merge pull request #8453 from bparker06/device_vibrate
add device vibration option for cores that support rumble
2019-03-12 20:26:09 +01: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
Exvat e7bf2a345c Add rumble support for the switch 2019-03-11 19:33:02 -07:00
cold-brewed 8a6de4adfb (macOS) Add temporary GL hack 2019-03-11 19:16:59 -04:00
twinaphex 34f4d5ed0e Cleanups 2019-03-11 18:33:24 +01:00
twinaphex 03ba1153a4 Prevent more HAVE_NETWORKING handling errors 2019-03-11 18:04:06 +01:00
twinaphex 6ba6f9e3ec (D3D9) Some buildfixes for C89 2019-03-11 17:07:49 +01:00
twinaphex 3ddbb0bc4a Add HAVE_NETWORKING ifdefs 2019-03-11 16:59:17 +01:00
Twinaphex 82ce70eab8 Merge pull request #8446 from natinusala/master
ozone: more fixes
2019-03-11 16:48:52 +01:00
natinusala b193bb7fb8 ozone: add core name wrapping for content metadata 2019-03-11 16:41:07 +01:00
natinusala 51cf8b6bfe ozone: fix the no thumbnail available message position 2019-03-11 16:28:54 +01:00
natinusala 89c8239ecb ozone: fix sublabels again 2019-03-11 16:28:54 +01:00
twinaphex e961dadc94 Enable HAVE_OPENGL1 by default - will return to this in case there
are issues with it
2019-03-11 15:10:42 +01:00
Twinaphex 7d9c7ba1f7 Merge pull request #8445 from jdgleaver/runtime-log-dir
Enable configuration of runtime log directory
2019-03-11 15:03:52 +01:00
Twinaphex 3ab981f292 Merge pull request #8444 from natinusala/master
ozone: thumbnails support and various improvements
2019-03-11 15:03:13 +01:00
twinaphex 104508a29c (GL core) Fix menu widgets 2019-03-11 14:57:25 +01:00
natinusala bfe4b444af Adjust PL_LABEL_SPACER_MAXLEN following the ozone spacer removal 2019-03-11 14:48:35 +01:00
natinusala a60cc08063 ozone: adjust playtime condition 2019-03-11 14:35:46 +01:00
natinusala 75190c9226 ozone: cleanup 2019-03-11 13:58:24 +01:00
natinusala e3907f2380 ozone: add Y and X to hint bar 2019-03-11 13:58:24 +01:00
natinusala eb7797daa5 ozone: fix sublabels wrapping 2019-03-11 13:58:24 +01:00
natinusala f06d955996 ozone: rename and hide some thumbnails settings 2019-03-11 13:58:24 +01:00
natinusala 222b7e7be0 ozone: complete content metadata section 2019-03-11 13:58:24 +01:00
natinusala adb8714105 ozone: add a no thumbnail available icon 2019-03-11 13:58:24 +01:00
natinusala 57dd10b5eb ozone: first pass of thumbnails support 2019-03-11 13:58:24 +01:00
natinusala ddc21520dc ozone: fix ticker length 2019-03-11 13:58:24 +01:00
natinusala 6ec86d65c5 ozone: make the sidebar collapse only if the highlight is in the main entries 2019-03-11 13:58:24 +01:00
natinusala 409db3b1c2 ozone: add right sidebar capability 2019-03-11 13:58:24 +01:00
natinusala 279a2d58db ozone: add a setting to have the sidebar always collapsed 2019-03-11 13:58:24 +01:00
natinusala be47416f84 ozone: add collapsing sidebar in playlists 2019-03-11 13:57:58 +01:00
jdgleaver c05548e2ab Enable configuration of runtime log directory 2019-03-11 12:52:13 +00:00
Twinaphex fb6a403220 Merge pull request #8442 from bparker06/vibrate_on_keypress
android: add option to vibrate on touch
2019-03-11 13:30:02 +01:00
Brad Parker f6dc7f4f02 android: add option to vibrate on touch 2019-03-10 21:36:52 -04:00
Twinaphex 75102a435f Merge pull request #8437 from DSkywalk/master
X11 auto-repeat event fixed
2019-03-10 23:17:53 +01:00
Twinaphex 031bcf8cbc Merge pull request #8427 from Themaister/master
Add a new "glcore" driver with slang support.
2019-03-10 23:16:38 +01:00
Twinaphex 0ff2832e83 Merge pull request #8438 from bparker06/netplay_toggle
add hotkey to toggle netplay hosting
2019-03-10 23:16:21 +01:00
Brad Parker ed5bd8023e Bliss-Box: add PSX Jogcon ID 2019-03-09 18:04:03 -05:00
Brad Parker 19ced73596 add hotkey to toggle netplay hosting 2019-03-09 17:48:03 -05:00
Brad Parker 4bb81bbb1b add F10 hotkey to send debug info, fix F3 hotkey for FPS toggle when inside menu 2019-03-09 16:03:17 -05:00
David Skywalker 83e7fda272 sorry, fixed typo. 2019-03-09 21:29:21 +01:00
Themaister 1d0b3b96e6 Be a bit more pedantic about which contexts are active. 2019-03-09 20:53:29 +01:00
David Skywalker 46036894d4 fix x11 auto-repeat event 2019-03-09 19:06:01 +01:00
Brad Parker 99035dbb0a debuginfo: show firmware files that exist 2019-03-09 12:57:26 -05:00
Twinaphex c7213c81e3 Merge pull request #8434 from jdgleaver/playlist-db-name
Populate crc32 and db_name fields when adding history/favourites playlist entries
2019-03-09 15:47:47 +01:00
Twinaphex 300e67a133 Merge pull request #8431 from jdgleaver/playlist-show-core-redux
Allow core name to be hidden on history/favorites playlists
2019-03-09 15:46:37 +01:00
jdgleaver dc8ef72323 Populate crc32 and db_name fields when adding history/favourites playlist entries
playlist.c: Fix silly range check error
2019-03-09 13:58:53 +00:00
Themaister 37298876fc Clear out FBO on startup.
Some cores seem to rely on it?
2019-03-09 13:15:14 +01:00
Themaister 1ba8c626ed Minor build fixes. 2019-03-09 12:42:23 +01:00
Themaister 4bb17fd6e9 Fix wrong condition for hard sync. 2019-03-09 12:42:11 +01:00
Themaister a4e35634e0 Fixup some casts for CXX_BUILD. 2019-03-09 12:34:55 +01:00
Themaister 07bf62eaba GLcore: Actually bind depth/stencil RT to HW fbo. 2019-03-09 12:30:49 +01:00
Themaister d9b245ce66 Swap order of drivers gl2/glcore. 2019-03-09 12:30:49 +01:00
Themaister 74039617ce Use correct context flags. 2019-03-09 12:30:49 +01:00
Themaister 4adf16b5ed Fix version detection for non-HW cores. 2019-03-09 12:30:49 +01:00
Themaister eb374e6b58 Fix portability hazard in qb/. 2019-03-09 12:30:49 +01:00
Themaister 3029f96511 Add a new "glcore" driver with slang support.
This driver should sunset the old gl2 driver, but that driver will
likely live on to support really ancient and terrible GL stacks.
All the worst legacy cruft has been ripped out, and it's almost a decent
backend now.

Requirements for slang are GL 3.2+ or GLES3.
Some shaders require features which are not directly compatible with
GLES2 or legacy GL.

This driver shares a lot of concepts from the Vulkan driver.
The slang shader stack and SPIRV-Cross are used to implement the shader
spec, and the menu shaders are also shared with Vulkan.
2019-03-09 12:30:49 +01:00
jdgleaver 89220ec4b5 Allow core name to be hidden on history/favorites playlists (without enabling playlist sublabels) 2019-03-08 12:52:23 +00:00
Twinaphex f4e6aaa4d8 Merge pull request #8429 from bparker06/send_debug
add "Send Debug Info" option under Help
2019-03-08 05:17:04 +01:00
Brad Parker 9279d06f93 Merge branch 'master' into send_debug 2019-03-07 19:23:41 -05:00
Brad Parker 10df615d14 add "Send Debug Info" option under Help 2019-03-07 19:17:54 -05:00
Twinaphex 06e2ab7bb0 Merge pull request #8426 from jdgleaver/aggregate-runtime-logging
Add optional 'aggregate' runtime logging
2019-03-07 18:36:27 +01:00
Twinaphex 187f2fd6b1 Merge pull request #8428 from jdgleaver/core-display-name
Always use core 'display name' when populating playlists
2019-03-07 18:35:48 +01:00
jdgleaver 8a2cd64889 Always use core display name when populating playlists 2019-03-07 16:54:46 +00:00
jdgleaver 2c8d7bf5ed Add optional 'aggregate' runtime logging 2019-03-07 12:28:21 +00:00
twinaphex fe3be212b3 C89_BUILD buildfix 2019-03-07 06:46:39 +01:00
Twinaphex 58eed3322b Merge pull request #8424 from fjtrujy/master
[PS2] Fixed some memory leaks
2019-03-07 02:24:09 +01:00
Francisco Javier Trujillo Mata 652300f674 [PS2] Fixed memory leaks in the ps2_font 2019-03-07 00:14:59 +01:00
Francisco Javier Trujillo Mata 27ab4ac78b [PS2] Some audio improvements 2019-03-06 20:11:15 +01:00
Twinaphex 7f726fc1eb Merge pull request #8422 from Skarsnik/master
command.c, replace sprintf with snprintf
2019-03-06 18:23:36 +01:00
Twinaphex 646685f40b Merge pull request #8423 from jdgleaver/core-path-symlinks
Core Info: Use basename when searching core paths
2019-03-06 18:23:20 +01:00
jdgleaver 9bcc80320d Core Info: Use basename when searching core paths (fixes issues when core directory is on a symlinked filesystem) 2019-03-06 16:42:09 +00:00
Sylvain Colinet 064a979fbc command.c, replace sprintf with snprintf 2019-03-06 14:23:58 +01:00
Twinaphex fa5f2c61c3 Merge pull request #8420 from jdgleaver/runtime-wrong-content-fix
Runtime logging: Fix logging redirection bug when loading consecutive content
2019-03-06 13:59:22 +01:00
Twinaphex 6b742fb70e Merge pull request #8421 from Skarsnik/master
Network command interface : Refix the network command READ_CORE_RAM
2019-03-06 13:59:11 +01:00
Sylvain Colinet 587424e0ef Refix the network command READ_CORE_RAM to not crash on read supperior to 78 2019-03-06 13:40:25 +01:00
jdgleaver 7fd71c735f Runtime logging: Fix logging redirection bug when loading consecutive content 2019-03-06 12:24:35 +00:00
Twinaphex 334cc943cb Merge pull request #8412 from jdgleaver/add-to-favorites
Optimise 'Add to Favorites' option
2019-03-05 21:06:03 +01:00
Twinaphex c0a2e846a1 Merge pull request #8414 from jdgleaver/playlist-sorting-fix
Fix sorting of playlists with blank labels
2019-03-05 21:05:01 +01:00
Twinaphex 6f76e9e615 Merge pull request #8415 from fr500/master
fix streaming
2019-03-05 21:04:48 +01:00
radius eebe3ec0ec fix streaming 2019-03-05 14:34:03 -05:00
jdgleaver 822edd4487 Fix sorting of playlists with blank labels 2019-03-05 15:37:50 +00:00
jdgleaver 541cb42e5a Optimise 'Add to Favorites' option 2019-03-05 13:07:42 +00:00
Twinaphex eeaa34f024 Merge pull request #8409 from orbea/discord
Stop giant memory leak with --disable-discord and sixel.
2019-03-05 06:05:29 +01:00
orbea 8bc25472be Stop giant memory leak with --disable-discord and sixel. 2019-03-04 15:23:47 -08: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
Twinaphex 26a8a7d391 Merge pull request #8406 from CozmoP/patch-1
Qt: use native separators when loading content from file browser.
2019-03-04 17:45:06 +01:00
CozmoP 02e37718e1 Qt: use native separators when loading content from file browser.
fixes #8403
2019-03-04 17:27:58 +01:00
Twinaphex bf8dcd17f3 Merge pull request #8405 from jdgleaver/runtime-log-fix
Runtime logging fixes
2019-03-04 17:20:50 +01:00
jdgleaver cfbec687e5 Make runtime independent of fast forward/slow motion 2019-03-04 15:30:12 +00:00
jdgleaver 8e74ff6122 Runtime logging fixes: ensure log is generated when runahead is enabled, and when closing cores 'internally' (RETRO_ENVIRONMENT_SHUTDOWN) 2019-03-04 11:33:19 +00:00
Twinaphex 84d6f6231d Merge pull request #8400 from fr500/master
fix discord launch arguments not working if RA was started from CWD o…
2019-03-03 19:53:27 +01:00
radius d22ce632e5 fix discord launch arguments not working if RA was started from CWD or similar scenarios 2019-03-03 13:09:21 -05:00
Francisco Javier Trujillo Mata 8316d073bc [PS2] Implement Pitch support in the ps2_gfx 2019-03-03 14:08:12 +01:00
Twinaphex 9ac7059d05 Merge pull request #8398 from mrjschulte/patch-2
fix iOS/tvOS build patch.
2019-03-03 04:57:58 +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
Twinaphex ebc8169b17 Merge pull request #8393 from jdgleaver/favorites-fix
Enable 'Add to Favorites' without loading a core
2019-03-03 02:59:10 +01:00
Twinaphex 5aecb345e5 Merge pull request #8397 from retro-wertz/fix_log
[LOG] Fix alignment
2019-03-03 02:58:54 +01:00
retro-wertz dcd76a0d2d [LOG] Fix alignment 2019-03-03 06:36:53 +08:00
Twinaphex 5cb2e9f54c Merge pull request #7883 from GregorR/netplay-share-policy
Different (more intuitive?) default netplay share policy
2019-03-02 18:54:19 +01:00
Twinaphex 58a71c0ae8 Merge pull request #8394 from fjtrujy/feature/FIOImprovements
[PS2] Files IOS improvements
2019-03-02 16:25:50 +01: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
jdgleaver a8f2381155 Enable 'Add to Favorites' without loading a core 2019-03-02 14:08:48 +00:00
Twinaphex 389138197b Merge pull request #8390 from orbea/root2
Fix double root directory.
2019-03-02 05:43:26 +01:00
orbea ad7cb35d31 Fix double root directory.
Fixes https://github.com/libretro/RetroArch/issues/8385

Regression after https://github.com/libretro/RetroArch/commit/5fcedc86195c9b1b8a79c7b5f9e59f9c5c46012b
2019-03-01 13:31:56 -08:00
Twinaphex 5e5c9e4729 Merge pull request #8386 from jdgleaver/runtime-log-integration
Finalise integration of per-content runtime logs
2019-03-01 18:11:47 +01:00
Brad Parker e0b75ec3fb fix a whole bunch of memory leaks 2019-03-01 12:05:14 -05:00
Brad Parker a09e110d24 VC6 cannot cast uint64 to double, use int64 instead 2019-03-01 09:10:05 -05:00
Brad Parker 24716bc367 griffin: fix inconsistent dll linkage warning 2019-03-01 09:09:37 -05:00
jdgleaver 33c27606d3 Finalise integration of per-content runtime logs (runtime sublabels on all playlists, 'last played' timestamp added to playlist sublablels,
content_runtime.lpl retired)
2019-03-01 14:06:40 +00:00
twinaphex 5cce51ed8d Move runtime_file to RetroArch 2019-03-01 01:22:35 +01:00
Twinaphex 0b63b7b499 Merge pull request #8381 from cold-brewed/coreaudio3enable
(macOS) Enable CoreAudio v3 driver for Metal
2019-03-01 01:09:56 +01:00
twinaphex 7998e7f4dc Add comment 2019-02-28 23:34:48 +01:00
Twinaphex 5827e3b3af Merge pull request #8382 from casdevel/i8326
Fix issue #8326
2019-02-28 23:26:53 +01:00
twinaphex ea68e82b1e Add comment 2019-02-28 23:25:48 +01:00
Brad Parker c606e8893c null check 2019-02-28 16:56:41 -05:00
Twinaphex 16b30d9ae8 Merge pull request #8377 from jdgleaver/persistent-runtime-log
Add persistent content runtime logging
2019-02-28 21:59:59 +01:00
Zoran Vuckovic 2b2903cfff Fix issue #8326 2019-02-28 21:56:38 +01:00
twinaphex abdbeade7b Expand some comments 2019-02-28 21:54:46 +01:00
twinaphex cc664e4d72 This should make Metal the default video driver now for the macOS Metal
build
2019-02-28 21:38:36 +01:00
cold-brewed 49304bbee3 (OSX) Enable CoreAudio v3 driver but do not make it the default 2019-02-28 14:49:38 -05:00
jdgleaver 5ddf0b948f Runtime logging: Fix xcode build errors 2019-02-28 16:00:32 +00:00
jdgleaver 5d8ea231be Use JSON format for runtime log files 2019-02-28 15:35:24 +00:00
Francisco Javier Trujillo Mata 43ff843757 [PS2] Now Files IO works for USBs and Hosts (net) 2019-02-28 14:19:16 +01:00
jdgleaver 3ffb52121c Move runtime logs to <playlist_dir>/logs 2019-02-28 11:09:37 +00:00
Twinaphex 2ab333e00f Merge pull request #8378 from fjtrujy/feature/analogSupport
[PS2] Analog support improvement
2019-02-27 20:22:45 +01:00
Francisco Javier Trujillo Mata 48d46dcc44 [PS2] Analog support improvement 2019-02-27 19:43:59 +01:00
jdgleaver 38c54eaebe Add persistent content runtime logging 2019-02-27 16:20:59 +00:00
twinaphex ebae7ebc79 Input driver - Get rid of 'own driver' mechanism 2019-02-27 17:17:34 +01:00
twinaphex 829aedc6e2 (Video/Audio) Remove 'own driver' mechanism 2019-02-27 17:09:15 +01:00
twinaphex 712115ef9d (Wifi/Location/Camera) Get rid of 'own driver' mechanism 2019-02-27 17:02:33 +01:00
twinaphex e709fd1ac6 Merge driver.c and retroarch.c 2019-02-27 16:47:39 +01:00
Brad Parker 433cbb021f temporary crash fix 2019-02-26 23:37:08 -05:00
Brad Parker 4ec71da9a9 x11: using_global_dpy is not restricted to xrandr 2019-02-26 23:37:08 -05:00
twinaphex d1dbf6fbe1 * The menu is now able to run at higher refresh rates than 60Hz
* Also added a new environment callback that a core can use to
query the display refresh rate
2019-02-27 04:44:04 +01:00
Twinaphex d619f14839 Merge pull request #8375 from fjtrujy/feature/PS2DefaultDir
[PS2] Fix Load/Save state
2019-02-27 02:58:03 +01:00
Brad Parker 211515ece1 x11: open display ourself if global one is not available (e.g. with SDL) 2019-02-26 20:23:11 -05:00
Francisco Javier Trujillo Mata 3ec2ec2e11 Fix load state issue 2019-02-26 23:48:37 +01:00
Francisco Javier Trujillo Mata 0e7d5ed32b Improvements regarding the ps2 font driver 2019-02-26 21:02:29 +01:00
Francisco Javier Trujillo Mata 20aae8a3b7 Use CWD to get the DefaultDir 2019-02-26 18:47:20 +01:00
Twinaphex 0aa9df6acd Merge pull request #8371 from driver1998/msvc2017_arm_desktop
Add Windows ARM32 Desktop support
2019-02-26 15:40:54 +01:00
Twinaphex ce7355626f Merge pull request #8372 from swingflip/patch-2
fixed A7A7
2019-02-26 15:38:30 +01:00
Ryan 'Swingflip' Hamlin 0963b970a1 fixed A7A7 2019-02-26 14:30:35 +00:00
driver1998 33e65e10ba Add Windows MSVC2017 ARM desktop support
Only normal Debug/Release config will compile, not with QT/CG
Tested in Windows 10 on ARM and Windows RT
Cores can be compiled with platform=windows_msvc2017_desktop_arm
2019-02-26 21:29:44 +08:00
driver1998 6ea79bca36 Allow winraw and xinput to work without dinput in Windows
Necessary for Windows ARM32 Desktop (RT)
2019-02-26 21:29:43 +08:00
Twinaphex 7ddb876330 Merge pull request #8368 from natinusala/master
menu: add press quit twice setting
2019-02-25 20:51:36 +01:00
Twinaphex 37f536a915 Merge pull request #8369 from CozmoP/master
MSVC2017 Qt buildfix
2019-02-25 20:51:14 +01:00
CozmoP 20a96e2632 MSVC2017 Qt buildfix 2019-02-25 20:10:58 +01:00
natinusala 6b6f9ae678 menu: add press quit twice setting 2019-02-25 19:51:39 +01:00
twinaphex 0e66da3930 Dropdown list settings now apply immediately 2019-02-25 19:21:53 +01:00
Twinaphex 42922c9e60 Merge pull request #8367 from jdgleaver/rgui-aspect-fix
(RGUI) Fix 'Lock Menu Aspect Ratio' option when using custom viewports
2019-02-25 18:47:07 +01:00
jdgleaver 11488857ee (RGUI) Fix 'Lock Menu Aspect Ratio' option when using custom viewports 2019-02-25 16:24:16 +00:00
Twinaphex 6592325b67 Merge pull request #8364 from jdgleaver/rgui-dynamic-layout
(RGUI) Add 'full width' layout option
2019-02-25 16:43:09 +01:00
Twinaphex e3c8364f31 Merge pull request #8365 from jdgleaver/rgui-theme-fix
(RGUI) Ensure menu color theme is applied immediately
2019-02-25 16:42:30 +01:00
jdgleaver d683892b1f (RGUI) Ensure menu color theme is applied immediately 2019-02-25 13:22:44 +00:00
jdgleaver 448b780a8b (RGUI) Add 'full width' layout option 2019-02-25 12:24:59 +00:00
Twinaphex b40aa13418 Merge pull request #8349 from hhromic/fix-xrandr
(dispserv_x11.c) add missing defines and clean-up code
2019-02-24 14:48:19 +01:00
Twinaphex 77183b9e4c Merge pull request #8358 from hhromic/pr-fix
(rgui.c) fix build error due to broken PR
2019-02-24 14:32:46 +01:00
Hugo Hromic 9168f2a645 (rgui.c) fix build error due to broken PR
Fixes PR #8357
2019-02-24 13:26:07 +00:00
Twinaphex 409f9eb5b8 Merge pull request #8357 from hhromic/fixes
Couple of minor fixes
2019-02-24 14:02:57 +01:00
Hugo Hromic 147bd5e051 (rgui.c) silence warning in C89_BUILD
Fixes:

    menu/drivers/rgui.c: In function ‘rgui_render’:
    menu/drivers/rgui.c:1690:10: warning: ISO C90 forbids mixed
    declarations and code [-Wdeclaration-after-statement]
              menu_entry_t entry;
              ^~~~~~~~~~~~
2019-02-24 12:13:54 +00:00
Hugo Hromic b5368c9423 (menu_animation.c) Use semi-colon properly for TICKER_SPACER_DEFAULT
Defines should not have semi-colons. Correct the fix in 3cbae9c.
2019-02-24 12:13:54 +00:00
Brad Parker 1c9ac4e825 osx: add cpu model name 2019-02-23 17:29:08 -05:00
Brad Parker 1d0a9262ae osx buildfix 2019-02-23 16:57:11 -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
twinaphex f0d51596d1 Another buildfix 2019-02-23 22:15:03 +01:00
Hugo Hromic 8984702ba8 (dispserv_x11.c) add missing defines and clean-up code
* Removed redundant and unused variables
* Use multiples of eight for array sizes
* Styled code for consistency with the rest
* Quoted string arguments in shell commands
* Added missing `HAVE_XRANDR` define checks
2019-02-23 20:58:51 +00:00
Brad Parker 97b7512420 restore initial screen orientation on exit for x11/win32 2019-02-23 14:15:36 -05:00
Brad Parker 9493a4911e crash fix 2019-02-23 11:17:00 -05:00
twinaphex 3cbae9c767 Fix C89_BUILD errors 2019-02-23 15:04:36 +01:00
Twinaphex adc9ecf4cc Merge pull request #8335 from natinusala/master
Reintroduce menu widgets (only runloop_msg_queue for now)
2019-02-23 14:22:31 +01:00
Twinaphex 7210ec9a4b Merge pull request #8351 from hhromic/fix-warnings
(cheevos.c) silence warnings
2019-02-23 13:36:28 +01:00
Hugo Hromic 401588f3a5 (cheevos.c) silence warnings
* Enlarge arrays to acommodate all potential data
* Use co-routine field in for-loop
2019-02-23 11:36:40 +00:00
Brad Parker 76ca37aaee x11: implement screen orientation support 2019-02-22 19:13:36 -05:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
Brad Parker 8e14d1dd87 whitespace 2019-02-22 19:13:36 -05:00
Brad Parker 477d46d52b update copyright 2019-02-22 19:13:36 -05:00
Twinaphex 6e971053fe Merge pull request #8346 from orbea/cmd
Silence unused function warning with --disable-networking.
2019-02-22 18:07:23 +01:00
Twinaphex 93adedccec Merge pull request #8347 from jdgleaver/playlist-display-cleanup
Standardise and improve playlist display
2019-02-22 18:07:10 +01:00
orbea 6f878fed91 Silence unused function warning with --disable-networking. 2019-02-22 07:28:17 -08:00
jdgleaver 4a26e4bc97 Standardise and improve playlist display 2019-02-22 15:23:10 +00:00
Brad Parker d2f73e3f33 Qt: fix couple memory leaks 2019-02-22 09:38:59 -05:00
twinaphex 292c5e93ad Add d3d9_menu_widgets_enabled 2019-02-22 03:13:41 +01:00
Twinaphex 0778847062 Merge pull request #8341 from fjtrujy/feature/PS2AudioImprovement
[PS2] Audio improvement
2019-02-22 01:48:43 +01:00
Francisco Javier Trujillo Mata 7ec160f860 Remove the specific audio thread 2019-02-22 00:01:36 +01:00
twinaphex 74a35d8be1 (GL2) Add GL1 fallback 2019-02-21 21:49:22 +01:00
Brad Parker 0cb6ed7b29 remove tabs 2019-02-21 15:38:18 -05:00
twinaphex eba1c474b5 Fix MSVC 2010 port 2019-02-21 21:34:22 +01:00
twinaphex a39bed3bb1 Silence warnings 2019-02-21 21:31:29 +01:00
natinusala a98cb75549 libnx: disable mesa errors to improve perf 2019-02-21 20:58:23 +01:00
natinusala 4d86030cc2 rgui: restore original ticker spacer 2019-02-21 20:58:22 +01:00
natinusala 6e20d216bd Avoid redefining the ticker spacer in each menu driver 2019-02-21 20:58:22 +01:00
natinusala 42325ea368 Reintroduce menu widgets, implement new runloop_msg_queue 2019-02-21 20:58:22 +01:00
Twinaphex 239f3febc6 Merge pull request #8339 from orbea/net
Silence implicit declaration warning.
2019-02-21 20:56:57 +01:00
orbea 95ed29fd7d Silence implicit declaration warning. 2019-02-21 11:38:00 -08:00
Brad Parker 99f4203abf win32: implement screen orientation support 2019-02-21 14:37:24 -05:00
Twinaphex 46c557f3a5 Merge pull request #8338 from fr500/master
fix [Config]: blah blah blah printing on the OSD on save configuration
2019-02-21 20:21:18 +01:00
radius 8936faf21f fix [Config]: blah blah blah printing on the OSD on save configuration
fix new configurations having two periods in the filename
2019-02-21 13:57:06 -05:00
Twinaphex 42adb37474 Merge pull request #8327 from jdgleaver/playlist-sublabels
Add optional playlist sublabels (associated core + play time, where available)
2019-02-21 18:59:28 +01:00
Twinaphex 2cd845469c Merge pull request #8333 from rlnilsen/contentscannerfalsepositives
Fix content scanner creating false positive playlist entries
2019-02-21 18:49:38 +01:00
Brad Parker d19970de5e whoops 2019-02-21 12:41:20 -05:00
Twinaphex e3a93ca96e Merge pull request #8337 from fr500/master
fix #7670 by checking threaded video
2019-02-21 18:05:49 +01:00
radius 814db2c44e fix #7670 by checking threaded video 2019-02-21 11:54:10 -05:00
twinaphex e6d5f427fc (D3D9) Add widgets function call 2019-02-21 17:09:08 +01:00
jdgleaver 1d0cee5fe5 Only parse runtime playlist when loading content history playlist (+ bugfixes to original runtime logging) 2019-02-21 15:50:48 +00:00
jdgleaver 0b04312412 Add optional playlist sublabels (associated core + play time, where available) 2019-02-21 15:50:48 +00:00
Twinaphex 44431ad227 Merge pull request #8334 from bparker06/orientation
add setting for screen orientation, with initial android implementation
2019-02-21 12:37:15 +01:00
Twinaphex 4cb102a64f Merge pull request #8332 from cold-brewed/strfix
Fix some buffer overflows in system information menu
2019-02-21 12:28:35 +01:00
Brad Parker f5f492845f add setting for screen orientation, with initial android implementation 2019-02-21 00:31:55 -05:00
cold-brewed fa8d486887 Fix buffer overflows in system information 2019-02-20 23:01:04 -05:00
rlnilsen e71b6d6d23 Fix content scanner creating false positive playlist entries that also have wrong label and crc32. 2019-02-21 04:24:07 +01:00
Brad Parker bc387a5848 convert tabs to spaces 2019-02-20 20:46:46 -05:00
Twinaphex d46a60bb2b Merge pull request #7874 from markwkidd/patch-7
unify input bind hold behavior across platforms
2019-02-21 01:50:13 +01:00
Francisco Javier Trujillo Mata cf68058e67 Fix issues with the GSFont 2019-02-21 00:38:56 +01:00
Francisco Javier Trujillo Mata 6507b86973 Fix freeze audio after restart core 2019-02-20 23:45:30 +01:00
Twinaphex 9508936ac1 Merge pull request #8315 from jdgleaver/sort-playlists
Make playlist sorting optional and consistent
2019-02-20 21:43:06 +01:00
Twinaphex 660951330c Merge pull request #8320 from jdgleaver/title-cleanup
Improve menu titles (collections, playlists, database info)
2019-02-20 21:16:40 +01:00
Twinaphex 80a21bcc9e Merge pull request #8323 from cold-brewed/encodingfix
Content downloader: Allow for spaces (and other characters) in directory names
2019-02-20 20:04:59 +01:00
bparker06 1abc0b3296 style nits 2019-02-20 13:50:49 -05:00
Twinaphex ba4d7f3ea3 Merge pull request #8328 from fjtrujy/feature/analogSupport
[PS2] Implemented analog support for ps2 controllers
2019-02-20 19:38:00 +01:00
Francisco Javier Trujillo Mata c147866562 Implemented analog support for ps2 controllers 2019-02-20 19:17:14 +01:00
cold-brewed 81cff95959 Use string_is_equal() due to unknown string size 2019-02-20 09:30:34 -05:00
cold-brewed ece17f6a61 Encode URLs to allow for spaces in directory names 2019-02-20 00:09:24 -05:00
jdgleaver e76fc2d487 Improve menu titles (collections, playlists, database info) 2019-02-19 17:08:12 +00:00
Twinaphex 59febcdb9c Merge pull request #8317 from jdgleaver/rgui-sanitise-sublabels
(RGUI) Sanitise menu sublabels
2019-02-19 17:51:45 +01:00
jdgleaver 7447434233 (RGUI) Only parse menu sublabels when changing selected entry 2019-02-19 13:33:11 +00:00
jdgleaver 834f1c1b23 (RGUI) Sanitise menu sublabels 2019-02-19 11:32:59 +00:00
Twinaphex 3cc17a63eb Merge pull request #8316 from fr500/master
C89 build fix
2019-02-19 11:15:18 +01:00
radius 964c4ec6e9 C89 build fix 2019-02-18 23:12:15 -05:00
Brad Parker 2582a802cd Makefile.griffin: add MMX where SSE is already defined 2019-02-18 15:29:11 -05:00
Twinaphex 16a5448f43 Merge pull request #8314 from jdgleaver/rgui-playlist-title
(RGUI) Improve playlist titles
2019-02-18 16:31:00 +01:00
jdgleaver e96b872693 Make playlist sorting optional and consistent 2019-02-18 15:09:19 +00:00
jdgleaver 8cca081719 (RGUI) Improve playlist titles 2019-02-18 10:38:02 +00:00
Twinaphex 905f67810c Merge pull request #8312 from bparker06/overlay
gl: draw OSD on top of overlay
2019-02-18 10:38:55 +01:00
Twinaphex e2e9739d09 Merge pull request #8313 from GregorR/netplay-3-player-stall-fix
Fix stall-out causing total disconnection with >2 players
2019-02-18 10:38:35 +01:00
Gregor Richards c0ed989738 Fix stall-out causing total disconnection with >2 players 2019-02-17 21:39:50 -05:00
Brad Parker 3a431adf02 gl: draw OSD on top of overlay 2019-02-17 18:51:19 -05:00
Twinaphex 45287628d4 Merge pull request #8311 from fjtrujy/feature/ImprovementPalette
[PS2] Improvement the use of the palette
2019-02-17 23:53:45 +01:00
Francisco Javier Trujillo Mata b8e2216dd4 Improvement the use of the palette 2019-02-17 23:29:16 +01:00
Twinaphex 998465d2fc Merge pull request #8307 from jdgleaver/rgui-playlist-core-name
(RGUI) Add option to hide associated cores in playlists
2019-02-17 18:56:21 +01:00
Twinaphex ff113534d9 Merge pull request #8308 from natinusala/master
font driver: expose line height
2019-02-17 18:55:57 +01:00
natinusala 631f9e6b8e font driver: expose line height 2019-02-17 16:54:24 +01:00
jdgleaver 2ceecd2ff1 (RGUI) Add option to hide associated cores in playlists 2019-02-17 14:39:14 +00:00
Twinaphex dfcb1efa26 Merge pull request #8305 from orbea/osx
Fix the osx travis build.
2019-02-17 13:19:00 +01:00
twinaphex 158a442036 Add further HAVE_OPENGL1 support 2019-02-17 10:42:16 +01:00
Brad Parker 542f2f4262 vc2005: fix MMX load instrinsics, add GL and ozone 2019-02-16 19:13:32 -05:00
orbea a111908f55 Fix the osx travis build. 2019-02-16 16:02:51 -08:00
Brad Parker 09d409d5cc pixconv: add MMX version of conv_rgba4444_argb8888 2019-02-16 18:43:22 -05:00
twinaphex cef04fc693 Makefile.msvc - add HAVE_OPENGL1 2019-02-16 21:39:12 +01:00
twinaphex 420f3a171b (GL1) Update - add HAVE_OPENGL1 to MSVC 2005/2008/2010/2012 2019-02-16 21:26:01 +01:00
Twinaphex 7784d240a8 Merge pull request #8302 from jdgleaver/ucn-conversion
Replace UCN identifiers with UTF-8 byte arrays
2019-02-16 20:50:50 +01:00
Brad Parker 1922d898af pixconv: add MMX version for conv_rgb565_argb8888 2019-02-16 12:51:13 -05:00
Mark W. Kidd 975b5738fb set default input bind hold time as 1 2019-02-16 11:19:10 -05:00
markwkidd 79be7b6913 use "playlist" rather than "collection" in UI 2019-02-16 10:48:03 -05:00
Twinaphex b617bb5d64 Merge pull request #8301 from CompCom/classic-makefile-fix
Fix Nintendo Classic build.
2019-02-16 14:01:51 +01:00
jdgleaver 3192bd018a Replace UCN identifiers with UTF-8 byte arrays + provide Apple fallback 2019-02-16 12:50:47 +00:00
twinaphex 691462e3d6 Change INT32 to int32_t 2019-02-16 10:52:40 +01:00
CompCom b0200a2efa Fix separators in classic a7 makefile. 2019-02-16 16:30:05 +11:00
CompCom 48e4848536 Disable alsa midi on classic(hakchi) builds. 2019-02-16 16:04:24 +11:00
CompCom 2dcc2d4df5 Merge remote-tracking branch 'swing/patch-1' into classic-makefile-fix
# Conflicts:
#	Makefile.classic_armv7_a7
2019-02-16 15:50:43 +11:00
Brad Parker f6a31b37a0 pixconv: typo in SSE2 ifdef 2019-02-15 19:58:49 -05:00
Brad Parker b451ca2121 Qt: add git version and build date to Help->About window 2019-02-15 16:41:52 -05:00
Brad Parker 5e177c75a5 add memory stats to more context drivers, use correct default variables for fps/stats/framecount/memory_show 2019-02-15 15:59:00 -05:00
Twinaphex 5bc8330548 Merge pull request #8299 from Themaister/master
Vulkan: Fix color issues with RGBA8888 swapchains in readback.
2019-02-15 20:40:34 +01:00
Themaister 3b9ad729fb Vulkan: Fix color issues with RGBA8888 swapchains in readback. 2019-02-15 20:30:08 +01:00
Twinaphex 0a8d20c9b9 Merge pull request #8298 from orbea/cxx
Fix CXX_BUILD.
2019-02-15 19:51:02 +01:00
Twinaphex 4cbaffcdc7 Merge pull request #8296 from orbea/c89
Silence C89 warnings.
2019-02-15 19:50:50 +01:00
Ryan 'Swingflip' Hamlin 1263663fae Update Makefile.classic_armv7_a7 2019-02-15 18:31:48 +00:00
orbea f4a374a209 Fix CXX_BUILD. 2019-02-15 09:36:25 -08:00
orbea 2a78745470 Silence C89 warnings. 2019-02-15 09:06:45 -08:00
Twinaphex a3c5feaa68 Merge pull request #8293 from jdgleaver/rgui-truncation-fix
(RGUI) Prevent unnecessary truncation of menu entries
2019-02-15 17:30:10 +01:00
Twinaphex f54f246247 Merge pull request #8294 from Wiimpathy/WiiOverlayFix
Wii: Don't init overlay when RAM is beyond 72MB.
2019-02-15 17:29:15 +01:00
benoa dc352fe7a0 Wii: Don't init overlay when RAM is beyond 72MB. 2019-02-15 16:50:25 +01:00
jdgleaver 35b9a2f814 (RGUI) Prevent unnecessary truncation of menu entries 2019-02-15 14:53:35 +00:00
Twinaphex 4368f6cb66 Merge pull request #8286 from jdgleaver/text-ticker-speed
Enable configuration of menu ticker text speed
2019-02-15 15:34:13 +01:00
Twinaphex 4ac4f1fe3a Merge pull request #8291 from jdgleaver/ozone-ticker-spacer
(Ozone) Use more attractive 'spacer' string for looping menu ticker text
2019-02-15 15:33:58 +01:00
jdgleaver 4ac430e488 (Ozone) Use more attractive 'spacer' string for looping menu ticker text 2019-02-15 11:23:09 +00:00
jdgleaver 43a4c3c82f Increase menu ticker text speed range 2019-02-15 10:15:33 +00:00
jdgleaver bfe0c3fb48 Enable configuration of menu ticker text speed 2019-02-15 10:08:27 +00:00
Twinaphex 9b84a0f701 Merge pull request #8287 from natinusala/master
More menu widgets changes
2019-02-15 04:25:46 +01:00
natinusala f481c594e8 menu_animation: use milliseconds as a unit 2019-02-14 19:24:31 +01:00
natinusala bfcc32b7be menu_display: don't draw text if alpha is 0 2019-02-14 19:11:36 +01:00
CompCom bf50367503 Fix classic a7 makefile. 2019-02-15 03:30:07 +11:00
Twinaphex feb6b19c78 Merge pull request #8285 from jdgleaver/text-ticker-loop
Add optional 'looping' menu text ticker
2019-02-14 16:53:32 +01:00
jdgleaver 27694b6b31 Add optional 'looping' menu text ticker 2019-02-14 15:10:07 +00:00
twinaphex 1daaf7385c 9PS2) Silence some warnings 2019-02-14 07:20:44 +01:00
twinaphex 8a1cab9b74 C89_BUILD buildfix 2019-02-14 07:13:47 +01:00
Twinaphex f6afc84885 Merge pull request #8268 from alphanu1/master
Update to dynamic width
2019-02-14 07:05:49 +01:00
Twinaphex a702e0d59d Merge pull request #8270 from alfrix/master
Use the mame thumbnail repo for all the mame playlists
2019-02-14 07:05:30 +01:00
Twinaphex d0e5eb01c0 Merge pull request #8275 from jdgleaver/rgui-scaling
(RGUI) Add optional internal upscaling
2019-02-14 06:58:04 +01:00
Twinaphex 9b8efbc712 Merge pull request #8284 from fr500/master
[fix] potential crash when username is empty and discord is disabled
2019-02-14 06:46:46 +01:00
radius 7107175b93 [fix] potential crash when username is empty and discord is disabled 2019-02-14 00:31:02 -05:00
Twinaphex 86c402016f Merge pull request #8282 from Tatsuya79/master
fix some OSD settings
2019-02-14 03:53:37 +01:00
Tatsuya79 3e85f40563 fix some OSD settings 2019-02-13 23:41:13 +01:00
Twinaphex 250f7e5b27 Merge pull request #8272 from gingerbeardman/master
Adds unique IDs to prevent 3DS cores overwriting each other
2019-02-13 22:14:52 +01:00
Twinaphex 916d99f5e1 Merge pull request #8278 from orbea/opengles
qb: Fix the HAVE_OPENGLES check.
2019-02-13 22:14:36 +01:00
Twinaphex 4c554445c6 Merge pull request #8281 from orbea/xmb
xmb: Prevent crashes when resizing to a tiny window.
2019-02-13 22:14:03 +01:00
orbea ee98a595ca xmb: Prevent crashes when resizing to a tiny window.
If the user resized their RetroArch window while using xmb it would
initiate a context_reset to scale xmb. When the window is too small
this would result in invalid pointers and a crash in the video driver.

This makes it so that when the window is too small it will skip the
context_reset and not crash. The window at this size is not really
useful to scale anyways.

Fixes https://github.com/libretro/RetroArch/issues/8260
2019-02-13 10:58:04 -08:00
orbea 2586e727e7 qb: Fix the HAVE_OPENGLES check.
Not all systems have the appropriate pkgconfig files.

Fixes https://github.com/libretro/RetroArch/issues/8274
2019-02-13 09:51:49 -08:00
alphanu1 7d07130942 Update video_crt_switch.c 2019-02-13 15:33:10 +00:00
alphanu1 987264ab1b Merge branch 'master' into master 2019-02-13 12:16:05 +00:00
Twinaphex 3b131ee2da Merge pull request #8271 from orbea/qb
qb: Use the correct compiler flags for check_lib.
2019-02-13 12:51:12 +01:00
Twinaphex ed29eb8bd7 Merge pull request #8269 from natinusala/master
Various ozone improvements
2019-02-13 12:50:45 +01:00
jdgleaver cf6e23cebd (RGUI) Add optional internal upscaling 2019-02-13 11:09:02 +00:00
natinusala 692d463994 ozone: enable and disable mouse mode on the fly 2019-02-13 10:42:43 +01:00
natinusala 492590a0ae ozone: full mouse support on entries (no sidebar yet) 2019-02-13 10:32:43 +01:00
natinusala cb9d227db5 ozone: fix another navigation jitter 2019-02-13 09:55:56 +01:00
natinusala 59398e4dd2 ozone: fix alignment 2019-02-13 09:55:56 +01:00
natinusala 68e54315c3 ozone: add rudimentary mouse support (not working) 2019-02-13 09:55:56 +01:00
natinusala 4e79f13139 ozone: use menu_display_set_alpha 2019-02-13 09:55:56 +01:00
natinusala dac31786ea ozone: add draw cursor 2019-02-13 09:55:56 +01:00
natinusala 4c130fc4fd ozone: fine tune metrics 2019-02-13 09:55:56 +01:00
twinaphex eb1dc6624f C89_BUILD buildfix 2019-02-13 02:03:12 +01:00
alphanu1 4ded3ad983 Update dispserv_x11.c 2019-02-12 22:41:46 +00:00
alphanu1 45a2b5d9b3 Update dispserv_x11.c 2019-02-12 22:06:50 +00:00
alphanu1 45dae75333 Update dispserv_x11.c
Update dispserv_x11.c

New backporch for super res

Update dispserv_x11.c

Update dispserv_x11.c

Update dispserv_x11.c

update backporch & menu naming

Update menu_setting.c

Update menu_setting.c

Update menu_setting.c

Update menu_setting.c
2019-02-12 22:03:28 +00:00
alphanu1 5cc89160e0 Merge branch 'master' into master 2019-02-12 21:24:22 +00:00
alphanu1 e11c910c39 Fix native naming after new additions
CRT dynamic width changes

Change menu detection width

Using alternative variables for CRT width and height

see output

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Add files via upload

Update video_crt_switch.c

Update video_crt_switch.c

Update video_display_server.h

Update video_display_server.c

Update dispserv_win32.c

Update dispserv_x11.c

Update menu_cbs_ok.c

X centring on the fly

X centring on the fly

Update dispserv_x11.c

X centring on the fly

Update dispserv_win32.c

Fix dispserv_win32.c

Fix dispserv_win32.c
2019-02-12 21:23:13 +00:00
Matt Sephton 5cf15c8609 Update Makefile.cores 2019-02-12 20:41:42 +00:00
Matt Sephton 4e0c592bfa Update Makefile.cores 2019-02-12 20:39:37 +00:00
Matt Sephton 211dd11336 Update Makefile.cores 2019-02-12 20:33:46 +00:00
Matt Sephton 8ebf254a75 Update Makefile.cores 2019-02-12 20:32:51 +00:00
orbea 74cd5a067f qb: Use the correct compiler flags for check_lib. 2019-02-12 11:56:24 -08:00
Alfredo Monclus 2b5a2f0b3d Use the mame thumbnail repo for all the mame playlists 2019-02-12 13:52:53 -03:00
Twinaphex 8ac4e6c72f Merge pull request #8261 from jdgleaver/rgui-glui-title-fix
(RGUI/GLUI) Ensure menu title is set correctly when displaying message boxes
2019-02-12 17:23:33 +01:00
Twinaphex d7bb9807b4 Merge pull request #8264 from alphanu1/master
Fixed missing break (#118)
2019-02-12 17:20:51 +01:00
alphanu1 305a15f056 Change menu detection width 2019-02-12 16:10:48 +00:00
alphanu1 8259bc33ac CRT dynamic width changes 2019-02-12 16:00:12 +00:00
alphanu1 bdf2526f80 Fix native naming after new additions 2019-02-12 15:59:10 +00:00
alphanu1 84a784e28b CRT resolution naming (#120) 2019-02-12 15:16:40 +00:00
alphanu1 b37c64742f Dynamic width - function completed (#119) 2019-02-12 14:38:01 +00:00
Hans-Kristian Arntzen b3e2df53d2 Avoid menu deadlocks in Pulse and ALSA. (#8265)
Buggy menu code most likely, but audio backends can be defensive about
it.
2019-02-12 09:31:09 -05:00
Twinaphex 2ccc6534ee Merge pull request #8259 from bparker06/playtime_log
Add option to track how long content has been running over time
2019-02-12 15:06:57 +01:00
alphanu1 32525d6bd3 Fixed missing break (#118) 2019-02-12 13:59:53 +00:00
Twinaphex 7b506fafcc Merge pull request #8263 from alphanu1/master
Fix missing break (#117)
2019-02-12 14:50:58 +01:00
alphanu1 aec65d0fa1 Fix missing break (#117) 2019-02-12 13:36:03 +00:00
Twinaphex c9db325bd1 Merge pull request #8262 from alphanu1/master
Implementation screen centring and dynamic super resolution
2019-02-12 14:20:49 +01:00
alphanu1 a27b4e1912 Merge pull request #116 from alphanu1/alphanu1-patch-103
change super resolution 1 to read DYNAMIC
2019-02-12 12:46:28 +00:00
alphanu1 2172dbe8ba change super resolution 1 to read DYNAMIC 2019-02-12 12:45:45 +00:00
Twinaphex 694a3b1e2c Merge pull request #8245 from CidVonHighwind/master
Updated the ozone driver to use variables instead of hardcoded values
2019-02-12 13:07:41 +01:00
alphanu1 362f58ec3b Merge pull request #114 from alphanu1/alphanu1-patch-101
turn dynamic super res off on the fly
2019-02-12 11:37:14 +00:00
alphanu1 c9c3c626e8 turn dynamic super res off on the fly 2019-02-12 11:23:53 +00:00
jdgleaver 1569785a1c (RGUI/GLUI) Ensure menu title is set correctly when displaying message boxes 2019-02-12 11:07:58 +00:00
alphanu1 31ad524556 Merge pull request #113 from alphanu1/alphanu1-patch-100
Added text to replace 0 for CRT superres
2019-02-12 10:54:42 +00:00
alphanu1 b1c5d9a594 Added text to replace 0 for CRT superres
MSG_DYNAMIC
2019-02-12 10:53:36 +00:00
alphanu1 17fe39a3ee Merge pull request #112 from alphanu1/alphanu1-patch-99
Added MSG_DYNAMIC
2019-02-12 10:52:35 +00:00
alphanu1 acbb014b2d Added MSG_DYNAMIC 2019-02-12 10:51:06 +00:00
alphanu1 55f3edb5ad Merge pull request #111 from alphanu1/alphanu1-patch-98
Fix build warnings and cleanup
2019-02-12 10:27:29 +00:00
alphanu1 924fcc2834 Fix build warnings and cleanup 2019-02-12 10:26:17 +00:00
alphanu1 238a56978d Merge pull request #110 from alphanu1/alphanu1-patch-97
added static function and Clean up
2019-02-12 10:25:08 +00:00
alphanu1 7aabf7f5e1 added static function and Clean up 2019-02-12 10:16:04 +00:00
alphanu1 e0d84cd64c Merge pull request #109 from alphanu1/alphanu1-patch-96
Removed CRT setting video driver build info
2019-02-12 10:15:14 +00:00
alphanu1 a76c1f4c51 Removed CRT setting video driver build info 2019-02-12 10:10:35 +00:00
alphanu1 f5fd6e046b Merge pull request #108 from alphanu1/alphanu1-patch-95
fix for dynamic super resolutions
2019-02-12 10:08:39 +00:00
alphanu1 f7d2fbd212 fix for dynamic super resolutions 2019-02-12 10:04:41 +00:00
alphanu1 9d9be36521 Merge pull request #107 from alphanu1/alphanu1-patch-94
Added dynamic option in menu
2019-02-12 09:49:34 +00:00
alphanu1 1282a02212 Added dynamic option in menu 2019-02-12 09:48:35 +00:00
alphanu1 88be0e2b56 Merge pull request #106 from alphanu1/alphanu1-patch-93
incorporated centre adjust for Linux
2019-02-12 09:46:58 +00:00
alphanu1 4dc6cf2fb4 incorporated center adjust for Linux 2019-02-12 09:46:22 +00:00
alphanu1 7a6a4998c7 Merge pull request #105 from alphanu1/alphanu1-patch-92
incorporation of dynamic super res
2019-02-12 09:45:25 +00:00
alphanu1 14b80cc3e1 incorporation of dynamic super res
Closer to native look super resolution. Used to prevent artefacts
2019-02-12 09:44:06 +00:00
alphanu1 49011e9df9 Merge pull request #104 from libretro/master
Update
2019-02-12 08:29:52 +00:00
Patrick Scheurenbrand 5d7a30d806 added my name to the headers 2019-02-12 08:19:07 +01:00
Brad Parker 44c4be1863 add option to track how long content has been running over time 2019-02-12 00:32:01 -05:00
twinaphex 49bade15ae (video_driver.c) Cleanups 2019-02-12 06:22:50 +01:00
twinaphex d70d9d35f8 (record_driver.c) Simplifications 2019-02-12 06:04:52 +01:00
twinaphex a51acb8377 Buildfix 2019-02-12 04:03:10 +01:00
twinaphex 660d0c8de9 Remove mutexes - should hopefully fix dolphin/reicast threaded
again
2019-02-12 03:55:08 +01:00
Twinaphex 4505f0ef51 Merge pull request #8258 from orbea/qb
qb: Minor clean up.
2019-02-12 03:26:47 +01:00
orbea f41e70ba11 qb: Minor clean up. 2019-02-11 17:52:34 -08:00
Twinaphex 97ab1ec6e8 Merge pull request #8257 from orbea/python3
Silence warning with --enable-python and 32-bit linux.
2019-02-12 02:45:20 +01:00
Twinaphex 2e5d144e6d Merge pull request #8256 from orbea/pkgconf
qb: Allow checking for multiple pkgconfig files.
2019-02-12 02:45:14 +01:00
orbea 0eff833334 Silence warning with --enable-python and 32-bit linux.
Thanks hhromic!
2019-02-11 17:08:07 -08:00
orbea f6d8f2911d qb: Allow checking for multiple pkgconfig files. 2019-02-11 16:51:08 -08:00
Brad Parker 0c790d89dc gl1: use built-in pixel conversion routines 2019-02-11 19:02:36 -05:00
Twinaphex 1caa28dea9 Merge pull request #8255 from orbea/printf
qb: Rework configure output.
2019-02-12 00:29:26 +01:00
Brad Parker 42098e09ad C89/vc2005 fix 2019-02-11 17:17:36 -05:00
twinaphex d1a831e6ec (UWP) Buildfix 2019-02-11 23:15:11 +01:00
orbea 769612c274 qb: Rework configure output. 2019-02-11 14:14:36 -08:00
Patrick Scheurenbrand a82cc31a1f updated entries to use values that can be scaled 2019-02-11 21:22:52 +01:00
Twinaphex 7f88822853 Merge pull request #8252 from jdgleaver/rgui-sublabels
(RGUI) Add menu sublabel support
2019-02-11 20:04:29 +01:00
Twinaphex ac1a0457dc Merge pull request #8254 from orbea/rcheevos
Remove duplicate lua include.
2019-02-11 20:04:01 +01:00
Patrick Scheurenbrand a542cd049a added sidebar icon dimensions 2019-02-11 18:30:31 +01:00
orbea f71b508356 Remove duplicate lua include. 2019-02-11 09:16:11 -08:00
Brad Parker 5a3a58c8a6 gl1: fix order of non-rgui menu drawing, add proper texture support 2019-02-11 12:05:31 -05:00
jdgleaver 930bb5d71f (RGUI) Add menu sublabel support 2019-02-11 14:38:10 +00:00
Twinaphex 17f90a3624 Merge pull request #8250 from orbea/protocols
qb: Allow falling back to a bundled wayland-protocols when not found.
2019-02-11 00:48:37 +01:00
orbea d3dcc548b2 qb: Allow falling back to a bundled wayland-protocols when not found. 2019-02-10 15:34:50 -08:00
orbea 57ec26f269 Add needed protocols to deps/wayland-protocols.
These are included from wayland-protocols-1.17.
2019-02-10 13:43:15 -08:00
Patrick Scheurenbrand 8435fc5542 added variable for the horizontal padding of sidebar entries 2019-02-10 21:56:05 +01:00
Patrick Scheurenbrand bf43b61070 removed todo 2019-02-10 21:30:35 +01:00
Patrick Scheurenbrand 2030f7faf8 added dimensions variable to use for scaling; added sidebar entry dimension variables 2019-02-10 21:15:16 +01:00
Twinaphex 07208c9f49 Merge pull request #8247 from orbea/qb
qb: Test for user set variables.
2019-02-10 19:46:00 +01:00
orbea b5e7992579 qb: Test for user set variables.
This fixes issues where if both check_header and check_lib are used
it would set HAVE_FOO=yes and then result in a configure failure
when check_lib failed. This was also implemented for the other functions
to avoid similar issues.
2019-02-10 10:16:09 -08:00
Patrick Scheurenbrand b259be8a38 fixed typo; removed test line 2019-02-10 16:55:48 +01:00
Patrick Scheurenbrand 5d9356f2ff updated ozone to use macros instead of hardcoded values 2019-02-10 16:22:45 +01:00
Brad Parker d319e6a93d gong: savestate support 2019-02-09 22:24:48 -05:00
Brad Parker 3fec3c89fc gong: add Makefile 2019-02-09 22:24:48 -05:00
twinaphex 83497d5029 (iOS) Buildfix 2019-02-10 02:28:12 +01:00
Twinaphex 737c567cdc Merge pull request #8242 from meleu/cancel_lboards_on_reset
cheevos: cancel lboards on reset
2019-02-10 02:24:27 +01:00
twinaphex b9db1c1702 Add function prototype to cocoa_common.h 2019-02-10 02:13:57 +01:00
meleu 846ca5fd3b cheevos: cancel lboards on reset 2019-02-09 23:12:06 -02:00
twinaphex 5733ed9a29 Move these defines to cocoa_common.h 2019-02-10 02:11:22 +01:00
twinaphex 293eac3019 Update 2019-02-10 02:03:50 +01:00
twinaphex 62cef96118 Update cocoa_gl_ctx.m 2019-02-10 02:02:17 +01:00
twinaphex 794ab4ef68 Update cocoagl_set_mode 2019-02-10 01:59:08 +01:00
twinaphex 2c9b7c84df Updates 2019-02-10 01:54:39 +01:00
twinaphex a49d0a50b9 Move more functionaliy to cocoa_gl_shared.h 2019-02-10 01:44:46 +01:00
twinaphex 35ce4dcadc Updates 2019-02-10 01:30:12 +01:00
twinaphex 74bddae86e (CocoaGL) Move shared code to gl_shared file 2019-02-10 01:29:04 +01:00
twinaphex b1c4bdf6f7 (Cocoa) Cleanups 2019-02-10 01:25:07 +01:00
Twinaphex ed458cd89b (OSX) Buildfix 2019-02-10 01:21:45 +01:00
twinaphex 20a94a5f37 (CocoaGL) Cleanups 2019-02-10 01:16:35 +01:00
twinaphex d0e26c10aa Move more code to cocoa_gl_shared.h 2019-02-10 01:11:07 +01:00
twinaphex c363eb4397 Move more common functions over to cocoa_gl_shared.h 2019-02-10 00:58:05 +01:00
twinaphex 6f43b7974b Add cocoa_gl_shared.h 2019-02-10 00:31:27 +01:00
Twinaphex 8a033bbf35 Merge pull request #8241 from natinusala/master
cheevos_new: build fix
2019-02-10 00:23:31 +01:00
natinusala afbf896c9a cheevos_new: build fix 2019-02-10 00:13:36 +01:00
Twinaphex 864f2deb28 Merge pull request #8238 from cold-brewed/cflags
macOS: Update CFLAGS
2019-02-09 22:58:32 +01:00
Twinaphex fa4e074552 Revert "(Cocoa) Have only one Cocoa GL context driver from now on"
This reverts commit 08bd58e0c4.
2019-02-09 22:57:41 +01:00
Twinaphex d85385ca8a Revert "(OSX) Buildfix"
This reverts commit 13b8d63bc5.
2019-02-09 22:57:28 +01:00
Twinaphex 13b8d63bc5 (OSX) Buildfix 2019-02-09 22:56:49 +01:00
twinaphex 08bd58e0c4 (Cocoa) Have only one Cocoa GL context driver from now on 2019-02-09 22:52:43 +01:00
Brad Parker ce70d8db4c gong: move serialization data into state struct 2019-02-09 16:25:00 -05:00
twinaphex a97fffccb8 Cleanup macro 2019-02-09 21:13:37 +01:00
twinaphex 35ee386274 (Metal/OSX) Merge cocoa_common.m and cocoa_common_metal.m - more or less the same
code
2019-02-09 21:10:28 +01:00
twinaphex 58855c7b28 (CocoaTouch) Get rid of ui_cocoatouch_metal.m - was identical to ui_cocoatouch 2019-02-09 20:59:34 +01:00
cold-brewed 264c93585c macOS: Update CFLAGS 2019-02-09 14:39:53 -05:00
twinaphex b229e9d803 (Android) Update 2019-02-09 19:27:50 +01:00
Twinaphex fc74aee750 Merge pull request #8237 from natinusala/master
rgui: fix search box refresh
2019-02-09 19:05:21 +01:00
natinusala 5c8a835cda rgui: fix search box refresh 2019-02-09 18:34:01 +01:00
twinaphex 157494cab7 (gong) Add more refresh rates 2019-02-09 18:10:27 +01:00
Twinaphex 3b66ef528d Merge pull request #8236 from natinusala/master
menu_animation: fix menu_animation_is_active
2019-02-09 18:06:53 +01:00
natinusala b62d4e394b menu_animation: fix menu_animation_is_active 2019-02-09 17:38:28 +01:00
Brad Parker b508135218 fix warnings 2019-02-09 10:01:38 -05:00
Brad Parker bf04d658e6 fix warning 2019-02-09 09:59:08 -05:00
Brad Parker c36ddf973c gong: two player support 2019-02-09 09:54:26 -05:00
twinaphex bc8b348a04 (Cocoa) Cut down on some ifdefs 2019-02-09 04:45:37 +01:00
Twinaphex 47ed8d3627 (iOS) Buildfix 2019-02-09 04:43:15 +01:00
twinaphex 1a8ad73c3f (Cocoa) Unify both headers 2019-02-09 04:40:38 +01:00
twinaphex f64f598987 (Apple) Header buildfixes 2019-02-09 04:28:28 +01:00
Twinaphex b90a9ad4af Merge pull request #8234 from orbea/qb
qb: Minor config.libs.sh fixes.
2019-02-09 04:24:47 +01:00
twinaphex ef8d1ad406 (Cocoa) Create common shared header file 2019-02-09 04:21:01 +01:00
twinaphex acf71fc46c Header guards should not be identical to cocoa_common_metal.h 2019-02-09 04:13:53 +01:00
orbea 58eb7f3bf3 qb: Minor config.libs.sh fixes. 2019-02-08 19:13:07 -08:00
twinaphex 0dc533d976 (dispserv_x11.c) Get rid of unused variable 2019-02-09 04:11:14 +01:00
twinaphex eee2445c45 (GL) Buildfix for GL_DEBUG 2019-02-09 04:07:12 +01:00
Twinaphex aac14a00a4 Merge pull request #8233 from orbea/sixel
Fix warnings with --enable-sixel.
2019-02-09 00:27:11 +01:00
twinaphex ab182cbe20 Create optimized function - menu_animation_get_time 2019-02-09 00:18:27 +01:00
Twinaphex 8292a41ccd Merge pull request #8232 from natinusala/menu-animations-menu-independent
menu_animations: make animations menu independent
2019-02-09 00:02:41 +01:00
orbea 78dbe1cef1 Fix warnings with --enable-sixel. 2019-02-08 14:13:02 -08:00
Twinaphex 6b8f18676c Merge pull request #8231 from bparker06/gl1_squash_merge
OpenGL 1.1 video driver (gl1)
2019-02-08 22:48:18 +01:00
Brad Parker 8d8feec318 gl1: screenshot support 2019-02-08 16:31:34 -05:00
Twinaphex 1b3acfd15b Merge pull request #8206 from jdgleaver/rgui-collections
(RGUI) Add optional 'Collections' entry to main menu
2019-02-08 22:21:51 +01:00
Brad Parker d64933b30d gl1: put behind HAVE_OPENGL1, off by default for now 2019-02-08 16:04:23 -05:00
Twinaphex 89e91bdf8b Merge pull request #8230 from orbea/qb
qb: Init some variables.
2019-02-08 22:02:12 +01:00
Brad Parker c83611e526 gl1: allow extra padding in pitch 2019-02-08 15:46:00 -05:00
orbea fe28192438 qb: Init some variables. 2019-02-08 12:43:58 -08:00
Brad Parker cbbb81f46f gl1: add BFI and menu/content linear filtering 2019-02-08 15:37:38 -05:00
Twinaphex 8936972ba2 Merge pull request #8229 from orbea/qb
qb: Check number of arguments for while loops.
2019-02-08 21:20:42 +01:00
orbea 7cd6c9cf60 qb: Check number of arguments for while loops.
This is less fragile and doesn't rely on unset variables.
2019-02-08 12:15:47 -08:00
natinusala f3ff7f2a89 menu_animations: make animations menu independent 2019-02-08 20:02:45 +01:00
Brad Parker 333c630469 gl1: blend menu with video 2019-02-08 13:47:43 -05:00
Twinaphex 3b19fa9bad Merge pull request #8226 from Sunderland93/master
[Wayland] Fix zxdg_shell_v6 detection
2019-02-08 19:35:47 +01:00
Twinaphex e724b9101b Merge pull request #8227 from orbea/cxx_build
Fix warning with CXX_BUILD.
2019-02-08 19:35:36 +01:00
orbea 0731c8f26f Fix warning with CXX_BUILD.
Thanks hhromic!
2019-02-08 09:57:26 -08:00
Aleksey Samoilov b609eaf83f [Wayland] Fix zxdg_shell_v6 detection 2019-02-08 21:45:40 +04:00
Brad Parker 9a292226cf merge fix 2019-02-08 12:18:25 -05:00
Brad Parker 74fd184097 initial GL1 video driver, only rgui is working currently 2019-02-08 12:14:55 -05:00
Twinaphex f40a6438dd Merge pull request #8224 from jdgleaver/glui-subsystem
(GLUI) Add Subsystem support
2019-02-08 17:13:13 +01:00
jdgleaver 840e132408 (GLUI) Add Subsystem support 2019-02-08 15:20:16 +00:00
Twinaphex 1938f00c76 Merge pull request #8223 from jdgleaver/snprintf-warn-fix
Silence gcc snprintf() warnings in menu_driver.cw
2019-02-08 15:58:16 +01:00
jdgleaver 64e6d073d3 Silence gcc snprintf() warnings in menu_driver.c 2019-02-08 11:37:53 +00:00
twinaphex 59ded50d59 (Menu) Add back get_load_content_animation_data 2019-02-08 08:24:33 +01:00
twinaphex 386657a366 (menu widgets backport) Re-commit task queue changes 2019-02-08 08:00:32 +01:00
twinaphex 894f3b7aef Change function signature back 2019-02-08 07:29:50 +01:00
twinaphex 7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
twinaphex a22540310c Try to prevent namespace collisions with variables 2019-02-08 05:04:37 +01:00
twinaphex 72d58d318a Prevent crash at exit on OSX 2019-02-08 04:50:25 +01:00
Twinaphex 5542214409 Merge pull request #8222 from fr500/master
try to fix #8121 by making the interval configurable
2019-02-08 04:37:48 +01:00
radius b549f5181b try to fix #8121 by making the interval configurable 2019-02-07 22:34:18 -05:00
twinaphex d51fbbc37b Update menu_animation.c 2019-02-08 04:26:40 +01:00
Twinaphex e61f6b3fc9 Merge pull request #8219 from orbea/cxx_build
qb: Add support for CXX_BUILD to config.params.sh.
2019-02-08 03:18:29 +01:00
Twinaphex 179976e6b3 Merge pull request #8220 from orbea/v4
Fix --enable-v4l2 with CXX_BUILD=1.
2019-02-08 03:18:05 +01:00
orbea 25f41809f5 Fix --enable-v4l2 with CXX_BUILD=1. 2019-02-07 16:01:01 -08:00
orbea 9d6b1c3ea7 qb: Add support for CXX_BUILD to config.params.sh. 2019-02-07 15:46:27 -08:00
Twinaphex 6587fee6b1 Merge pull request #8218 from hhromic/fix-prisizet
libretro-common: fix PRI_SIZET not being set in PS2
2019-02-08 00:43:43 +01:00
Hugo Hromic 7cde32a2b3 libretro-common: fix PRI_SIZET not being set in PS2
* use `lu` for PS2 builds
2019-02-07 23:23:31 +00:00
Twinaphex 1b7362838e Merge pull request #8217 from fr500/master
[discord] ask-to-join fixes
2019-02-08 00:12:51 +01:00
radius 03107c5b73 [discord] update log messages 2019-02-07 17:58:21 -05:00
twinaphex 6d54ebfcec (GL2) Some cleanups 2019-02-07 23:54:33 +01:00
radius 701ac1dd72 there is no need for these to be so big 2019-02-07 17:53:03 -05:00
radius f60923c4a9 [discord] rewrite secret, party_id
[discord] rewrite secret, party_id

[discord] rewrite secret, party_id

[discord] rewrite secret, party_id
2019-02-07 17:52:39 -05:00
twinaphex c1415d70f8 (GL2) Fix warnings with CXX_BUILD 2019-02-07 23:16:50 +01:00
Twinaphex 9e5a9baa66 Merge pull request #8216 from orbea/32
Better warning fix for 32-bit linux.
2019-02-07 23:16:07 +01:00
orbea cb1b7a8006 Better warning fix for 32-bit linux.
Thanks hhromic!
2019-02-07 13:51:57 -08:00
Twinaphex b1dcef379b Merge pull request #8214 from cold-brewed/cfbundlefix
macOS: Add missing PRODUCT_BUNDLE_IDENTIFIER
2019-02-07 22:45:47 +01:00
Twinaphex 15bac439ca Merge pull request #8215 from orbea/32
Silence warnings with 32-bit linux.
2019-02-07 22:43:07 +01:00
orbea c0296179ac Silence warnings with 32-bit linux. 2019-02-07 13:27:42 -08:00
Twinaphex d03b472f73 Merge pull request #8211 from jdgleaver/rgui-lock-aspect
(RGUI) Add 'Lock Menu Aspect Ratio' option
2019-02-07 20:18:15 +01:00
Twinaphex aa442db22b Merge pull request #8208 from hhromic/fix-prisizet
libretro-common: improve PRI_SIZET for non-windows platforms
2019-02-07 20:18:03 +01:00
Twinaphex b8ac8e92e3 Merge pull request #8210 from hhromic/fix-warnings
menu_setting: add forgotten ifdefs for building without XMB menu
2019-02-07 20:17:35 +01:00
cold-brewed cc39a5d926 (OSX) Add missing PRODUCT_BUNDLE_IDENTIFIER 2019-02-07 13:46:41 -05:00
Hugo Hromic 58a32ab4b3 menu_setting: add forgotten ifdefs for building without XMB menu
Silences these warnings when compiling without XMB:

    menu/menu_setting.c:882:13: warning: ‘setting_get_string_representation_uint_xmb_layout’
    defined but not used [-Wunused-function]
     static void setting_get_string_representation_uint_xmb_layout(
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    menu/menu_setting.c:822:13: warning: ‘setting_get_string_representation_uint_xmb_icon_theme’
    defined but not used [-Wunused-function]
     static void setting_get_string_representation_uint_xmb_icon_theme(
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    menu/menu_setting.c:1074:13: warning: ‘setting_get_string_representation_uint_xmb_shader_pipeline’
    defined but not used [-Wunused-function]
     static void setting_get_string_representation_uint_xmb_shader_pipeline(
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-02-07 18:15:32 +00:00
Twinaphex f62e44c3e8 Merge pull request #7971 from Wiimpathy/WiiSkipCrc
Wii: Skip CRC. Avoid an unnecessary delay.
2019-02-07 18:42:13 +01:00
jdgleaver e3c383bb41 (RGUI) Add 'Lock Menu Aspect Ratio' option 2019-02-07 17:15:06 +00:00
Hugo Hromic e2b620ae05 libretro-common: improve PRI_SIZET for non-windows platforms
In non-windows platfoms, the `size_t` type may not necessarily use
the `%lu` format specification. For example in 32 bits platforms
instead it needs to be `%u`. Therefore, for non-windows platforms,
it is better to define PRI_SIZET more precisely.

Silences these types of warnings in 32 bits non-windows platforms:

    libretro-common/file/config_file.c: In function ‘config_get_size_t’:
    libretro-common/file/config_file.c:694:32: warning: format ‘%lu’ expects
    argument of type ‘long unsigned int *’, but argument 3 has type
    ‘size_t * {aka unsigned int *}’ [-Wformat=]
           if (sscanf(entry->value, "%" PRI_SIZET, &val) == 1)
                                    ^~~

Discussed in #8191
2019-02-07 16:25:48 +00:00
Twinaphex 4ce93b11ee Merge pull request #8194 from jdgleaver/rgui-subsystem
(RGUI) Add Subsystem support
2019-02-07 14:50:31 +01:00
Twinaphex ede83831aa Merge pull request #8205 from jdgleaver/rgui-ticker-fix
(RGUI) Fix ticker text
2019-02-07 14:49:38 +01:00
Twinaphex 294901db5a Merge pull request #8204 from natinusala/master
ui_companion: fix status message
2019-02-07 14:49:12 +01:00
jdgleaver b34aa0eeca (RGUI) Add optional 'Collections' entry to main menu 2019-02-07 11:54:21 +00:00
jdgleaver b27c23f0eb (RGUI) Fix ticker text 2019-02-07 11:09:21 +00:00
natinusala 8f3c77f719 ui_companion: fix status message 2019-02-07 11:49:07 +01:00
jdgleaver 76f53535bd (RGUI) Re-enable 'Load Core' option when content is loaded 2019-02-07 09:34:59 +00:00
twinaphex c808c80e4a (menu widgets) Some more cleanups 2019-02-07 08:23:34 +01:00
twinaphex affd507151 Warning fix 2019-02-07 08:05:43 +01:00
twinaphex 11e138fe6e (discord) Warning fix 2019-02-07 07:59:49 +01:00
twinaphex 0af4b6a0d6 (menu_widgets.c) Buildfixes 2019-02-07 07:59:07 +01:00
Twinaphex 4df6a5ad25 (OSX) Buildfix 2019-02-07 06:37:41 +01:00
twinaphex 89a6992d0c (Cocoa) Last change for today - combine ui_cocoa.m and ui_cocoa_metal.m 2019-02-07 06:32:49 +01:00
twinaphex bd19958658 (libretro-common) Don't use RARCH_LOG inside libretro-common files 2019-02-07 05:45:25 +01:00
twinaphex e612773645 (Xbox OG) Buildfixes 2019-02-07 05:42:23 +01:00
twinaphex 54a9a3bd1d C89_BUILD fixes 2019-02-07 05:38:46 +01:00
Twinaphex 2cad3e09d2 (OSX) Buildfix 2019-02-07 05:08:55 +01:00
Twinaphex fa4494ff8b Merge pull request #8203 from fr500/master
[discord] party & ask to join refinements
2019-02-07 05:06:30 +01:00
twinaphex cb829d8552 (Cocoa/OSX) Start unifying Cocoa Metal/Cocoa codepaths - was mostly the
same code
2019-02-07 05:05:53 +01:00
twinaphex 0a6c7acbd4 (MEtal) Get rid of specialized version of ui_cocoa_window_metal.m 2019-02-07 04:47:24 +01:00
radius 671e90a415 [discord] party & ask to join refinements 2019-02-06 22:45:05 -05:00
twinaphex 2599172831 Get rid of ui_cocoa_metal.h 2019-02-07 04:37:05 +01:00
Twinaphex ce05185cdf (Xcode) Remove CoreVideo 2019-02-07 04:12:35 +01:00
Twinaphex 25157942a3 Remove CoreVideo from Metal xcodeproj 2019-02-07 04:10:59 +01:00
Twinaphex 136193ab8d Buildfix 2019-02-07 04:09:08 +01:00
twinaphex f705503531 (Apple) Get rid of HAVE_CORELOCATION/HAVE_AVFOUNDATION - was mostly dormant
code and makes the Apple code needlessly complex right now. We can
always reintroduce this later on when the time is right
2019-02-07 04:03:52 +01:00
twinaphex d1edfabddb Revert "Move code to cocoa_common.m"
This reverts commit d3da2e2616.
2019-02-07 03:25:01 +01:00
twinaphex d3da2e2616 Move code to cocoa_common.m 2019-02-07 03:20:33 +01:00
twinaphex 715ddf1924 (WiiU/GX2) Add widget support (untested) 2019-02-07 02:03:48 +01:00
twinaphex f49b6e26a0 (Metal) Add menu widget support 2019-02-07 02:00:23 +01:00
twinaphex 4b2fdfad48 (D3D10/12) Add menu widgets support - text offset is wrong 2019-02-07 01:40:15 +01:00
twinaphex b0dcbdc15e (menu_display_gl.c) Simplifications 2019-02-07 01:25:25 +01:00
twinaphex dd21cfd825 (D3D11) Implement menu widgets - offset is wrong 2019-02-07 00:43:36 +01:00
twinaphex fb121ac75e (Vulkan) Hook up menu widgets 2019-02-07 00:15:32 +01:00
twinaphex 45b1ed33b2 (MSVC) Silence warning 2019-02-06 23:42:13 +01:00
twinaphex 0ab79550c9 (Qt) Push buildfixes 2019-02-06 23:40:36 +01:00
twinaphex cbfe33c579 Ifdef this 2019-02-06 23:38:54 +01:00
twinaphex 12368d6cbd Push this for Qt 2019-02-06 23:35:06 +01:00
Twinaphex 74cbbb06b0 Merge pull request #8201 from Zlika/fix_uninitialized_read
Fix uninitialised read of "override" field
2019-02-06 23:29:02 +01:00
Twinaphex 477170884b Some warning fixes 2019-02-06 23:25:41 +01:00
twinaphex 7c7d733d26 Buildfix 2019-02-06 23:17:43 +01:00
Twinaphex 49f7f457cd Merge pull request #8199 from natinusala/menu-widgets
First version of menu widgets (gl only)
2019-02-06 22:43:43 +01:00
Wiimpathy 79b5a05aeb Merge branch 'master' into WiiSkipCrc 2019-02-06 21:51:27 +01:00
Zlika 81320adf28 Fix uninitialised read of override field 2019-02-06 21:25:22 +01:00
natinusala c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
Twinaphex 0bef880609 Merge pull request #8200 from orbea/c89
Fix comment.
2019-02-06 20:18:48 +01:00
orbea b9cbc9881a Fix comment. 2019-02-06 11:13:39 -08:00
Twinaphex a1150800f8 Merge pull request #8197 from orbea/c89
Fix c89 build with 32-bit linux.
2019-02-06 20:08:14 +01:00
twinaphex c48febc4f9 (GL2) Cleanups 2019-02-06 19:49:45 +01:00
twinaphex 1e394091d8 Namespace GL2 driver 2019-02-06 19:43:31 +01:00
orbea cf6c49b9a1 Fix c89 build with 32-bit linux. 2019-02-06 10:21:28 -08:00
twinaphex b7c1fda56f (Windows) Fix C89_BUILD 2019-02-06 19:08:56 +01:00
twinaphex 5d1c45e8f9 (orbis) 'else ifdef' not necessary 2019-02-06 19:03:07 +01:00
Twinaphex 8bc4a66d49 Merge pull request #8196 from orbea/c89
Fix C89_BUILD=1.
2019-02-06 18:19:55 +01:00
orbea 8ff0b14281 Fix C89_BUILD=1. 2019-02-06 09:16:26 -08:00
Twinaphex ceb439ca2a Merge pull request #8188 from cold-brewed/master
macOS: Fix travis metal build
2019-02-06 18:05:10 +01:00
Twinaphex 0caa88a375 Merge pull request #8195 from Tatsuya79/patch-5
Gong video refresh core option
2019-02-06 18:04:54 +01:00
Tatsuya79 9c32d0df8a Gong video refresh core option 2019-02-06 17:37:15 +01:00
jdgleaver 6b3e5fa7a0 (RGUI) Add Subsystem support (+ fix memory leak in environ_cb_get_system_info()) 2019-02-06 14:25:25 +00:00
Twinaphex 69d89bc991 Merge pull request #8189 from fr500/master
[discord] set partyId properly
2019-02-06 07:03:04 +01:00
radius 97b32b890e [discord] set partyId properly 2019-02-06 00:58:52 -05:00
Twinaphex 6f5dfeb20e Merge pull request #8184 from orbea/warnings
Fix travis warnings.
2019-02-06 06:39:06 +01:00
Twinaphex c582b40525 Merge pull request #8185 from Themaister/master
Sinc: memset the resampler buffer.
2019-02-06 06:38:46 +01:00
twinaphex 5855391ac4 (Android) Bump up target SDK to 26 2019-02-06 06:03:25 +01:00
cold-brewed 6875ad8ae0 travis: Copy the app bundle from $TRAVIS_BUILD_DIR
The build no longer uses libretro-super.
2019-02-05 23:47:17 -05:00
Twinaphex 11b02125dc Merge pull request #8186 from natinusala/master
menu_display_gl: fix scissoring implementation for gl enabled cores
2019-02-06 02:53:06 +01:00
natinusala 475f3c3cc0 menu_display_gl: fix scissoring implementation for gl enabled cores 2019-02-06 00:54:26 +01:00
natinusala 6e841e20c5 Add core info to gitignore 2019-02-06 00:54:01 +01:00
Themaister 5e7513ad60 Sinc: memset the resampler buffer.
No idea how this survived asan and valgrind over these years ...
2019-02-05 23:35:39 +01:00
orbea c9b0ba1123 Fix travis warnings. 2019-02-05 11:27:01 -08:00
Twinaphex f5343c83eb Merge pull request #8181 from yoshisuga/ios-mfi-detect-fix
iOS: Fix mFi controller connecting
2019-02-05 19:15:03 +01:00
Yoshi Sugawara b06d75ec99 iOS: check if mfi controller already added to the internal list when connecting 2019-02-05 06:43:14 -10:00
alphanu1 061b3464c2 Merge pull request #103 from libretro/master
Update
2019-02-05 08:49:52 +00:00
twinaphex 55b449d743 (MSVC UWP) Add HAVE_OZONE 2019-02-05 02:52:38 +01:00
twinaphex 0a04a1c80a (GL) Cleanups 2019-02-05 02:27:08 +01:00
twinaphex 1b79f08715 (GL) Use set_coords function directly 2019-02-05 02:24:13 +01:00
twinaphex ba9de324bf Simplify gl.c 2019-02-05 02:19:16 +01:00
twinaphex 9877e1ce3e (GL) Cleanups 2019-02-05 02:12:42 +01:00
twinaphex 5102eff399 (GL) Move GL-only shader code to gl.c 2019-02-05 01:13:39 +01:00
Twinaphex 7fedabee4b Merge pull request #8163 from orbea/cleanup
Cleanup
2019-02-04 23:19:05 +01:00
Twinaphex b0be198084 Merge pull request #8169 from DEX357/patch-28
Update msg_hash_pl.h
2019-02-04 23:18:44 +01:00
Twinaphex 12594e51fd Merge pull request #8170 from orbea/menu
Fix --disable-menu (Again).
2019-02-04 23:18:23 +01:00
twinaphex 845b30131f Cleanups 2019-02-04 23:17:39 +01:00
twinaphex ebce936557 Fix UWP builds 2019-02-04 23:14:20 +01:00
orbea 762151758d Fix --disable-menu (Again). 2019-02-04 09:01:37 -08:00
DEX357 4562d36b39 Update msg_hash_pl.h 2019-02-04 13:28:27 +01:00
Twinaphex 12c6fe1dc0 Merge pull request #8165 from yoshisuga/ios-fix-codesign
tvos: fix code sign script to use the shared iOS modules dir
2019-02-04 06:41:09 +01:00
Yoshi Sugawara 4461b55375 tvos: fix code sign script to use the shared iOS modules dir 2019-02-03 18:48:29 -10:00
Mark W. Kidd 512e280c68 Merge remote-tracking branch 'upstream/master' into patch-7 2019-02-03 19:38:43 -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
Mark W. Kidd 8542ecd79c Merge remote-tracking branch 'upstream/master' into patch-7 2019-01-19 12:36:33 -05:00
benoa 9fec6d4a18 Wii: Skip CRC. Avoid an unnecessary delay. 2019-01-10 20:16:36 +01:00
Gregor Richards b9a07a759b Different (more intuitive?) default netplay share policy
The previous default policy in netplay for sharing was to always share.
This appears to be causing more confusion than anything else, mainly
because the UI is terrible. The UI is a different problem, but for now,
I've changed the share policy: If you netplay with only one input
configured, it will share; if you netplay with multiple inputs, and
don't explicitly ask to share one, each device will get one client.
2019-01-03 16:53:30 -05:00
Mark W. Kidd 79264c7278 refactor and restore non-android bind hold behavior 2019-01-02 21:24:33 -05:00
markwkidd 96ea874850 unify input bind hold behavior across platforms 2019-01-02 18:47:40 -05:00
3936 changed files with 393777 additions and 248857 deletions

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# These are supported funding model platforms
github: [libretro]
patreon: libretro
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with a single custom sponsorship URL
+29 -29
View File
@@ -2,34 +2,34 @@
- Only RetroArch bugs should be filed here. Not core bugs or game bugs
- This is not a forum or a help section, this is strictly developer oriented
## Description
[Description of the bug]
### Expected behavior
[What you expected to happen]
### Actual behavior
[What is actually happening]
### Steps to reproduce the bug
1. [First step]
2. [Second step]
3. [and so on...]
### Bisect Results
## Description
[Description of the bug]
### Expected behavior
[What you expected to happen]
### Actual behavior
[What is actually happening]
### Steps to reproduce the bug
1. [First step]
2. [Second step]
3. [and so on...]
### Bisect Results
[Try to bisect and tell us when this started happening]
### Version/Commit
You can find this information under Information/System Information
- RetroArch: [version/commit]
### Environment information
[Try to bisect and tell us when this started happening]
### Version/Commit
You can find this information under Information/System Information
- RetroArch: [version/commit]
### Environment information
- OS: [The operating system you're running]
- Compiler: [In case you are running local builds]
- Compiler: [In case you are running local builds]
-1
View File
@@ -4,7 +4,6 @@
2. If you are sending several unrelated fixes or features, use a branch and a separate pull request for each
3. If possible try squashing everything in a single commit. This is particularly beneficial in the case of feature merges since it allows easy bisecting when a problem arises
## Description
[Description of the pull request, detail any issues you are fixing or any features you are implementing]
+13 -2
View File
@@ -62,7 +62,6 @@ apple/RetroArch_iOS.xcodeproj/project.xcworkspace/*
/freetype2/
/ft2build.h
/iconv.h
/libxml2/
/phoenix/
/python/
/rsound.h
@@ -76,6 +75,11 @@ run.sh
convert_rumble.awk
*~
assets
info
content_image_history.lpl
saves
screenshots
# Wii U
*.depend
@@ -87,7 +91,6 @@ wiiu/wut/elf2rpl/elf2rpl
/pkg/wiiu/rpx
/wiiu-devel.properties
# 3ds
/.lst
*.3dsx
@@ -112,6 +115,10 @@ wiiu/wut/elf2rpl/elf2rpl
/pkg/android/phoenix/bin/
/pkg/android/phoenix/gen/
/pkg/android/phoenix/local.properties
/pkg/android/phoenix/gradle.properties
/pkg/android/phoenix/.gradle
/pkg/android/phoenix/.externalNativeBuild
/pkg/android/phoenix/build
# Cloned by libretro-fetch.sh
/media/assets/
@@ -165,6 +172,10 @@ retroarch_switch.nacp
retroarch_switch.nro
retroarch_switch.nso
# PS2
ps2/irx/*.c
ps2/libcdvd/lib/
# Wayland
gfx/common/wayland/idle-inhibit-unstable-v1.c
gfx/common/wayland/idle-inhibit-unstable-v1.h
+8
View File
@@ -0,0 +1,8 @@
before_script:
- apt-get update -qq && apt-get install -y -qq git build-essential
- apt-get update -qq && apt-get build-dep -y retroarch
build:
script:
- ./configure
- make -j2
+144 -28
View File
@@ -1,47 +1,87 @@
# This setting is to prevent travis to launch duplicate builds on PRs
branches:
only:
- master
- /^v.*$/
# Use 'generic' to be able to override CC/CXX for clang
language: generic
# Use a release with a longer normal LTS
dist: xenial
matrix:
include:
- compiler: mingw-x86
addons:
apt:
packages:
- g++-mingw-w64-i686
- mingw-w64-i686-dev
script:
- ./configure --disable-d3d8 --disable-d3d9 --disable-d3d10 --disable-d3d11 --disable-d3d12 --enable-builtinzlib
- make
addons: true
env: CROSS_COMPILE=i686-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
- compiler: mingw-x86
addons: true
env: C89_BUILD=1 CROSS_COMPILE=i686-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
- compiler: mingw-x86
addons: true
env: CXX_BUILD=1 CROSS_COMPILE=i686-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
- compiler: mingw-x64
addons:
apt:
packages:
- g++-mingw-w64-x86-64
- mingw-w64-x86-64-dev
script:
- ./configure --disable-d3d8 --disable-d3d9 --disable-d3d10 --disable-d3d11 --disable-d3d12 --enable-builtinzlib
- make
addons: true
env: CROSS_COMPILE=x86_64-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
- compiler: mingw-x64
addons: true
env: C89_BUILD=1 CROSS_COMPILE=x86_64-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
- compiler: mingw-x64
addons: true
env: CXX_BUILD=1 CROSS_COMPILE=x86_64-w64-mingw32- CFLAGS="-D_WIN32_WINNT=0x0501"
- compiler: gcc
# Install a more recent gcc than the default
before_install:
- sudo apt-get install -y g++-8
env: CC=gcc-8 CXX=g++-8
- compiler: gcc
env: CC="gcc-8 --sysroot=/" CXX="g++-8 --sysroot=/"
- compiler: gcc
env: C89_BUILD=1 CC=gcc-8 CXX=g++-8
- compiler: gcc
env: CXX_BUILD=1 CC=gcc-8 CXX=g++-8
- compiler: gcc
env: DISABLE_MENU=1 CC=gcc-8 CXX=g++-8
- compiler: gcc
env: DISABLE_OVERLAY=1 CC=gcc-8 CXX=g++-8
- compiler: gcc
env: DISABLE_CDROM=1 CC=gcc-8 CXX=g++-8
- compiler: gcc
env: DISABLE_VIDEO_LAYOUT=1 CC=gcc-8 CXX=g++-8
- compiler: gcc
env: DISABLE_AUDIOMIXER=1 CC=gcc-8 CXX=g++-8
- compiler: gcc
env: ENABLE_GLES=1 CC=gcc-8 CXX=g++-8
- compiler: gcc
env: ENABLE_GLES=1 ENABLE_GLES3=1 CC=gcc-8 CXX=g++-8
- compiler: clang
# Install a more recent clang than the default
before_install:
- sudo apt-get install -y libstdc++-7-dev
- sudo apt-get install -y clang-6.0
env: CC=clang-6.0 CXX=clang++-6.0
- compiler: clang
env: C89_BUILD=1 CC=clang-6.0 CXX=clang++-6.0
- compiler: clang
env: CXX_BUILD=1 CC=clang-6.0 CXX=clang++-6.0
- os: osx
env: CC=clang CXX=clang++
- name: OSX OpenGL Make
os: osx
osx_image: xcode11.2
script:
- ./configure --enable-opengl --disable-metal
- make
- os: osx
osx_image: xcode8
script:
- xcodebuild -target RetroArch -configuration Release -project pkg/apple/RetroArch.xcodeproj
- os: osx
osx_image: xcode10.1
osx_image: xcode11.2
script:
- brew update-reset
- brew install --force-bottle qt5
- security create-keychain -p travis build.keychain
- security default-keychain -s build.keychain
- security unlock-keychain -p travis build.keychain
- echo $OSX_CERT | base64 --decode > dev.p12
- security import dev.p12 -k build.keychain -P $OSX_CERT_PASS -T /usr/bin/codesign
- rm dev.p12
- security set-key-partition-list -S "apple-tool:,apple:,codesign:" -s -k travis build.keychain
- xcodebuild -target RetroArchQt -configuration Release -project pkg/apple/RetroArch_Metal.xcodeproj
deploy:
skip_cleanup: true
@@ -49,13 +89,89 @@ matrix:
script: bash travis_metal_deploy.sh
on:
branch: master
- language: android
# Android builds are only supported on Trusty
dist: trusty
android:
components:
- tools
- build-tools-28.0.3
- android-28
install:
- echo y | sdkmanager "ndk-bundle"
before_script:
- export ANDROID_NDK_HOME=$ANDROID_HOME/ndk-bundle
script:
- cd pkg/android/phoenix
- ./gradlew assembleNormalRelease
jobs:
allow_failure:
- os: osx
before_install:
- |
if [[ "$CC" =~ ^gcc-8.* ]]; then
# Install a more recent gcc than the default
sudo apt-get install -y g++-8
elif [ "$CC" = clang-6.0 ]; then
# Install a more recent clang than the default
sudo apt-get install -y clang-6.0
elif [ "$CROSS_COMPILE" = i686-w64-mingw32- ]; then
sudo update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
elif [ "$CROSS_COMPILE" = x86_64-w64-mingw32- ]; then
sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
fi
before_script:
- |
if [ -n "$CROSS_COMPILE" ]; then
ARGS="$ARGS --disable-d3d8 --disable-d3d9 --disable-d3d10 --disable-d3d11 --disable-d3d12"
fi
- |
if [ -n "$DISABLE_MENU" ]; then
ARGS="$ARGS --disable-menu"
fi
- |
if [ -n "$DISABLE_OVERLAY" ]; then
ARGS="$ARGS --disable-overlay"
fi
- |
if [ -n "$DISABLE_CDROM" ]; then
ARGS="$ARGS --disable-cdrom"
fi
- |
if [ -n "$DISABLE_VIDEO_LAYOUT" ]; then
ARGS="$ARGS --disable-video_layout"
fi
- |
if [ -n "$DISABLE_AUDIOMIXER" ]; then
ARGS="$ARGS --disable-audiomixer"
fi
- |
if [ -n "$ENABLE_GLES" ]; then
ARGS="$ARGS --enable-opengles"
fi
- |
if [ -n "$ENABLE_GLES3" ]; then
ARGS="$ARGS --enable-opengles3"
fi
- echo "Configure arguments = $ARGS"
script:
- ./configure
- make
- ./configure $ARGS
- |
if [ -n "$C89_BUILD" ]; then
make C89_BUILD=1
elif [ -n "$CXX_BUILD" ]; then
make CXX_BUILD=1
else
make
fi
env:
global:
- ARGS=""
- MAKEFLAGS="-j2"
- secure: "qc91ReC3OlzSh2gFaSH6TYzC2qIQvgA2AZff6J13eaH8xijAhuMzttZ0rMQJ0DWCIhPeUb0kIzVyaGoe4MwPALzpw1C1AznIWiZJ53HN+hWCOcS/af7YVPk6HPySnwqrS+Wv3AIIvIKFV2mxv21F/JbT/N+pArlRrp904Xj+KPo="
addons:
@@ -67,7 +183,7 @@ addons:
- qtdeclarative5-dev
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0
- llvm-toolchain-xenial
coverity_scan:
project:
name: "RetroArch"
@@ -77,4 +193,4 @@ addons:
build_command: "make"
branch_pattern: coverity_scan
notifications:
email: false
email: true
+148 -124
View File
@@ -1,131 +1,155 @@
{
"configurations": [
{
"name": "Mac",
"includePath": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}",
"${workspaceRoot}/libretro-common/include"
"configurations": [
{
"name": "Mac",
"includePath": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}",
"${workspaceRoot}/libretro-common/include"
],
"defines": [],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}"
],
"defines": [],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"macFrameworkPath": [
"/System/Library/Frameworks",
"/Library/Frameworks"
]
},
{
"name": "Linux",
"includePath": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}",
"${workspaceFolder}/libretro-common/include",
"${workspaceRoot}/libretro-common/include"
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"macFrameworkPath": [
"/System/Library/Frameworks",
"/Library/Frameworks"
]
},
{
"name": "Linux",
"includePath": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}",
"${workspaceFolder}/libretro-common/include",
"${workspaceRoot}/libretro-common/include"
],
"defines": [],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}"
],
"defines": [],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
},
{
"name": "Win32",
"includePath": [
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/um",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/shared",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/winrt",
"${workspaceRoot}",
"${workspaceFolder}/libretro-common/include"
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
},
{
"name": "Win32",
"includePath": [
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/um",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/shared",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/winrt",
"${workspaceRoot}",
"${workspaceFolder}/libretro-common/include"
],
"defines": [
"_DEBUG",
"UNICODE"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/um",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/shared",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/winrt",
"${workspaceRoot}"
],
"defines": [
"_DEBUG",
"UNICODE"
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"cStandard": "c11",
"cppStandard": "c++17"
},
{
"name": "msys2-mingw32",
"includePath": [
"C:/msys64/mingw32/include",
"C:/msys64/mingw32/i686-w64-mingw32/include",
"${workspaceRoot}/libretro-common/include",
"${workspaceRoot}/include",
"${workspaceRoot}"
],
"defines": [
"_DEBUG",
"UNICODE"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:/msys64/mingw32/include",
"C:/msys64/mingw32/i686-w64-mingw32/include",
"${workspaceRoot}/libretro-common/include",
"${workspaceRoot}/include",
"${workspaceRoot}"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/um",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/ucrt",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/shared",
"C:/Program Files (x86)/Windows Kits/10/Include/10.0.15063.0/winrt",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"cStandard": "c11",
"cppStandard": "c++17"
},
{
"name": "msys2-mingw32",
"includePath": [
"C:/msys64/mingw32/include",
"C:/msys64/mingw32/i686-w64-mingw32/include",
"${workspaceRoot}/libretro-common/include",
"${workspaceRoot}/include",
"${workspaceRoot}"
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
},
{
"name": "msys2-mingw64",
"includePath": [
"C:/msys64/mingw64/include",
"C:/msys64/mingw64/x86_64-w64-mingw32/include",
"${workspaceRoot}/libretro-common/include",
"${workspaceRoot}/include",
"${workspaceRoot}"
],
"defines": [
"_DEBUG",
"UNICODE"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:/msys64/mingw64/include",
"C:/msys64/mingw64/x86_64-w64-mingw32/include",
"${workspaceRoot}/libretro-common/include",
"${workspaceRoot}/include",
"${workspaceRoot}"
],
"defines": [
"_DEBUG",
"UNICODE"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:/msys64/mingw32/include",
"C:/msys64/mingw32/i686-w64-mingw32/include",
"${workspaceRoot}/libretro-common/include",
"${workspaceRoot}/include",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
},
{
"name": "msys2-mingw64",
"includePath": [
"C:/msys64/mingw64/include",
"C:/msys64/mingw64/x86_64-w64-mingw32/include",
"${workspaceRoot}/libretro-common/include",
"${workspaceRoot}/include",
"${workspaceRoot}"
],
"defines": [
"_DEBUG",
"UNICODE"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:/msys64/mingw64/include",
"C:/msys64/mingw64/x86_64-w64-mingw32/include",
"${workspaceRoot}/libretro-common/include",
"${workspaceRoot}/include",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
],
"version": 4
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
},
{
"name": "Switch",
"includePath": [
"/opt/devkitpro/devkitA64/aarch64-none-elf/include",
"/opt/devkitpro/devkitA64/lib/gcc/aarch64-none-elf/8.3.0/include",
"/opt/devkitpro/libnx/include",
"/opt/devkitpro/portlibs/switch/include",
"/opt/devkitpro/portlibs/switch/include/freetype2",
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE",
"__aarch64__",
"__SWITCH__",
"HAVE_LIBNX"
],
"windowsSdkVersion": "10.0.17763.0",
"compilerPath": "/opt/devkitpro/devkitA64/bin/aarch64-none-elf-gcc",
"cStandard": "c11",
"cppStandard": "c++11",
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}
+27 -2
View File
@@ -24,7 +24,7 @@
}
]
},
{
{
"name": "(gdb) Attach",
"type": "cppdbg",
"request": "attach",
@@ -40,6 +40,31 @@
}
]
},
{
"name": "PSP-GDB Debugger",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/retroarchpsp.elf",
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"setupCommands": [
{
"text": "symbol-file ${workspaceFolder}/retroarchpsp.elf",
"description": "read symbols for elf file",
"ignoreFailures": true
},
{
"description": "Enable all-exceptions",
"text": "-exec \"catch throw\"",
"ignoreFailures": true
}
],
"showDisplayString": true,
"targetArchitecture": "mips",
"MIMode": "gdb",
"miDebuggerPath": "/usr/local/pspdev/bin/psp-gdb",
"miDebuggerServerAddress": "127.0.0.1:10001",
}
]
}
+28 -4
View File
@@ -23,7 +23,6 @@
"ios": "c",
"list": "c",
"input_driver.h": "c",
"video_driver.h": "c",
"menu_driver.h": "c",
"file_path.h": "c",
"unordered_map": "c",
@@ -40,9 +39,34 @@
"ozone_theme.h": "c",
"ozone_texture.h": "c",
"string_list.h": "c",
"core_info.h": "c"
"core_info.h": "c",
"thread": "c",
"xlocale": "c"
"xlocale": "c",
"gfx_widgets.h": "c",
"message_queue.h": "c",
"task_queue.h": "c",
"fifo_queue.h": "c",
"file_list.h": "c",
"strl.h": "c",
"configuration.h": "c",
"ozone_display.h": "c",
"verbosity.h": "c",
"retroarch.h": "c",
"gfx_animation.h": "c",
"netplay.h": "c",
"scaler.h": "c",
"deque": "c",
"vector": "c",
"xhash": "c",
"xiosbase": "c",
"xstring": "c",
"xtree": "c",
"xutility": "c",
"menu_input_dialog.h": "c",
"menu_filebrowser.h": "c",
"ozone_sidebar.h": "c",
"menu_thumbnail_path.h": "c",
"badges.h": "c"
},
"C_Cpp.dimInactiveRegions": false,
}
}
+1 -1
View File
@@ -45,7 +45,7 @@
"group": {
"kind": "build",
"isDefault": true
"isDefault": true
},
"command": "./configure; make -j2",
+1 -1
View File
@@ -48,7 +48,7 @@ index b90a8e40c3..e57c4df194 100644
+#endif
+
#endif
#if defined(HAVE_OPENGL)
@@ -313,6 +354,43 @@ static void create_gl_context(HWND hwnd, bool *quit)
RARCH_LOG("[WGL]: Adaptive VSync supported.\n");
+61 -16
View File
@@ -5,12 +5,13 @@ acknowledge the following contributors:
1ch (L0sted)
Aaahh Ahh (Aaahh)
Aaron Oneal (aarononeal)
Adam Londero (alondero)
Adam Mechtley (amechtley)
Adolfo Ketzer (reztek)
AdrianoML
ajefr
Alberto Simon (asimonf)
Alcaro
Aleksey Samoilov (Sunderland93)
Alessandro Mangone (Vektor) (zevektor)
Alex Eckhart (alex34567)
Alex Folland (AlexFolland)
@@ -27,14 +28,16 @@ Andrés (fr500)
Anthony J. Bentley (bentley)
Antonio Jose Ramos Marquez (psxdev)
AridRayne
ArnaudFaucher
Arto Vainiolehto (arakerlu)
asako (asakous)
Ash (QuarkTheAwesome)
Ashura (CoalaJoe)
Autechre64
Avton1
ayssia
barbudreadmon
bearoso
benutzer193
blackgur
Boris Timofeev (btimofeev)
bparker06
@@ -47,24 +50,26 @@ Casey Borders (CaseyB)
ceb33
celerizer
Chris Merrett (chrisfu)
Christian Murphy (grimpunch)
chu (9chu)
CidVonHighwind
clienthax
cold-brewed
CompCom
Conn O'Griofa (psyke83)
CozmoP
cpsw
Cray Elliott (MP2E)
Cristian Sandu (crazyquark)
ctult
cubtekki
cucholix
cudencuden
cxd4
dalter
Dan Weiss (Dwedit)
danieljg
Daniil Zhilin (GeneralFailer)
Daniil Zhilin (LaserMoai)
dankcushions
Danny Glover (DannyGlover)
Dave (freakdave)
Dave Leaver (danzel)
David Demelier (markand)
@@ -79,14 +84,18 @@ Diego Viola (diegoviola)
Diogo Barros (BlueKore)
DogParty
dor3k
driver1998
Dudu Akiva (duduke)
duganchen
dukemiller
duskgao
ekipan
ensra
Emmanuel Martin (daliaetnano)
endrift
erbridge
esoptron
Ethan Lee (flibitijibibo)
Exvat
Ezio-PS
Fabio (Oibaf66)
Fabio Ritrovato (Sephiroth87)
@@ -94,8 +103,9 @@ Fayne Aldan (FayneAldan)
FIX94
Flame Sage (chris062689)
flyinghead
Francisco José García García (frangarcj)
Francisco Javier Trujillo Mata (fjtrujy)
Francisco José García García (frangarcj)
Gabriel (Ghabry)
GameDragon2k
Garrett Brown (garbear)
gblues
@@ -103,6 +113,7 @@ Geoffrey Plitt (GeoffreyPlitt)
Glenn Hevey (hevey)
Googer
gouchi
grant2258
Gregor Richards (GregorR)
Gui Andrade (archshift)
Gustavo Maciel Dias Vieira (gmdvieira)
@@ -113,17 +124,23 @@ Hans-Kristian Arntzen (Themaister)
Henri Gomez (hgomez)
Henri Gomez (hgomez-sonarsource)
Higor Eurípedes (heuripedes)
Hisman Yosika (dnjstlr555)
hizzlekizzle
Hugo B. (777sha)
Hugo B. (hug0b)
Hugo Hromic (hhromic)
hunterk
hyarsan
Hyllian
i30817
iAmGhost
Jack (jakcron)
Jacob (cubtekki)
James Le Cuirot (chewi)
James Sexton (Bezier89)
Jamiras
Jan Holthuis (Holzhaus)
Jay McCarthy (jeapostrophe)
jdgleaver
Jean-André Santoni (kivutar)
Jean-Paul Mari (djipi)
Jean-Sébastien Guay (Skylark13)
@@ -136,6 +153,7 @@ Jon Maddox (maddox)
Jonathan Relf (jonathanrelf)
Joohan Lee (losernator)
Jools Wills (joolswills)
Jose Lage Miguez (Joselagem)
Joseph Carter (iKarith)
Joseph Conan Montgomery (Grotke)
Josh Palmer (ShiftyAxel)
@@ -143,12 +161,14 @@ JuanVCS
Justin Jacobs (dorkster)
Justin Weiss (justinweiss)
Ken Rossato (rossato)
Krzysztof Haładyn (krzys_h)
krzys_h (krzys-h)
kurumushi
kwyxz
l3iggs
lambolighting
lasers
Lawrence Kesteloot (lkesteloot)
lifajucejo
liffy (lifning)
Lionel Flandrin (simias)
littleguy77
@@ -158,19 +178,26 @@ Lothar Serra Mari (lotharsm)
Lubosz Sarnecki (lubosz)
lucianposton
lxerandrew
m4xw
Mahyar Koshkouei (deltabeard)
Manuel Alfayate Corchete (vanfanel)
Marcelo Munhoz Pélos (mpelos)
markwkidd
Maschell
Mat M. (lioncash)
Mats A. (Datamats)
Matt Sephton (gingerbeardman)
Matthew Wang (asakous)
Max K. (langerhans)
Maxime Gauduin (alucryd)
mcrisostomo
meancoot
meepingsnesroms
meleu
Michael K. (kuxii2016)
Michael Lelli (ToadKing)
Michał Durak (micechal)
mickski56
Mico Chopitea (micochops)
miguelpinheiro
Mike Swanson (chungy)
@@ -179,17 +206,22 @@ misson20000
Monroe88
mprobinson
MrHuu
MrJs (mrjschulte)
muzuiget
mwtremblay
myfreeweb
Nathan S. (natinusala)
NathanStrong-Tripwire
nattycleopatra
nayslayer
netux79
nfnty
nia (ensra)
Nicolas Adenis-Lamarre (nadenislamarre)
Nicolas Guillaumin (nguillaumin)
Nicolas Lopez Fernandez (pyroesp)
Nikita Vakhrushev (JesterIOS)
Nikola Kocic (nikola-kocic)
Nikita Vakhrushev (SwooodGa)
Nikola Kocić (nikola-kocic)
Niouby
nosh01
not6 (r-type)
@@ -203,13 +235,17 @@ orbea
OV2
pamapa
Paolo Bonzini (bonzini)
Paul McCarty (a-shark)
Paul McCarty (notabeatle)
Pedro Ribeiro (pedrib)
pinumbernumber
pponso1
Ramiro Morales (ramiro)
Raphaël Zumer (rzumer)
retro-wertz
retrotails
reztek
Richard Howell (rmaz)
rlnilsen
Rob Loach (RobLoach)
Romain Gay (vikbez)
Romain Graillot (notnotme)
@@ -224,6 +260,7 @@ Saggi Mizrahi (ficoos)
SAKUJ0
Sam Pagenkopf (44100hertz)
Sam Stenvall (Jalle19)
Samuel P. (p-sam)
Scheiker
Sebastien Ronsse (sronsse)
Sergi Granell (xerpi)
@@ -232,26 +269,28 @@ sergio-br2 (sergiobenrocha2)
Seth Kingsley (sethk)
Shane Mouton (ismouton)
Shizeeg Unadequatov (shizeeg)
Skarsnik
slotek
sparklewind
spec-chum
Stefan (gizmo98)
stefan-gr
stellarporter
Steven M. Vascellaro (stevoisiak)
Stuart Carnie (stuartcarnie)
Sunguk Lee (d3m3vilurr)
Supernature2k
Sven (RetroSven)
Swingflip
Swizzy
Sylvain Colinet (Skarsnik)
Tatsuya79
Terry Lewis (terry-au)
The Last Cabra (vanfanel)
thedax
theheroGAC
TheMrIron2
TheOfficialFloW
thiolliere
Toad King (ToadKing)
Thomas Lorblanchès (Zlika)
Tobias Jakobi (tobiasjakobi)
Tomáš Kelemen (ToKe79)
Torsten Paul (t-paul)
@@ -262,15 +301,21 @@ URBANsUNITED
vgmoose
Vicky C Lau (vickychenglau)
Vladimir Panteleev (CyberShadow)
Vladimir Serbinenko (phcoder)
Víctor "IlDucci" (IlDucci)
waitingmoon
Wang Vincent (susemm)
webgeek1234
Weedy Weed Smoker (WeedyWeedSmoker)
WerWolv
Wiimpathy
Wiktor Strzębała (wiktorek140)
xhp-creations
Yarsan Hoessain (hyarsan)
yesfish (huwpascoe)
Yongwoon Cho (ssangkong)
yoshisuga
zeromus
zlice
Zoran Vuckovic (casdevel)
Ömercan Kömür (fpscan)
)";
+1041 -371
View File
File diff suppressed because it is too large. Load diff
+58 -58
View File
@@ -1,58 +1,58 @@
# Contributing to RetroArch
If you are a developer and want to contribute to the development of RetroArch, please read this.
If you have found a bug and want to submit a minor patch or a bug report, please read this as well.
# Submitting a bug report
When submitting a bug report, make sure that the bug is local to RetroArch.
A bug in a libretro core or something deemed to be external is likely to be closed very fast.
If you still suspect a bug in RetroArch, make sure to test with several cores to make sure.
If you have troubles building RetroArch on Linux/BSD/OSX, make sure to paste shell output of ./configure,
as well as config.log and shell output of make. If building on Windows, just paste shell output of make.
If the issue occurs during runtime, make sure to paste RetroArch's verbose log.
If using Phoenix frontend, you can find log in (File -> Show Log) after running.
In console, make sure to run with verbose (-v) flag.
# Pull Requests
Outside contributions are generally only accepted in the form of a pull request. The process is very simple.
Fork RetroArch, make your changes, and issue a pull request on GitHub. This can all be done within the browser.
The changes are reviewed, and might be merged in. If the pull request isn't acceptable at the time,
note that it's possible to continue pushing up commits to your branch.
If you want to develop a larger feature,
we'd like to discuss this first (ideally on IRC) so that you don't risk developing something
that won't be merged. A pull request with a proof-of-concept is fine, but please indicate so.
## libretro API
If you wish to add functionality to libretro's API, it can take some time to merge in, because changes
to libretro API will affect other projects as well, and we highly value API/ABI stability.
Features will only be added when deemed *necessary* for a concrete libretro core to function properly.
Features will not be added on basis of hypothetical libretro implementations.
# Coding style
Having a consistent code style throughout the code base is highly valued.
Please look through the code to get a feel for the coding style.
A pull request may be asked to fix the coding style before submission.
In other cases, a pull request may be followed up with a "style nit commit".
## Non-obvious things:
- Code should be both ISO C99 and ISO C++ compatible. This dual requirement is for XBox360 and MSVC in general. Think of it as a C++ compatible subset of C99.
- Warnings are not allowed (-Wall). Make sure your code is warning-free. Note that warning sensitivity differs a bit across compiler versions.
- Using deprecated APIs is discouraged.
# Copyright Headers and AUTHORS
If you have contributed to a part of a source file (a chunk of code that's written by you),
you should add yourself to the copyright header in that file.
If you have contributed significantly
(a feature, a contribution you can "name", e.g. "Added audio driver foo"), you should add yourself to AUTHORS file.
We'd like your full name and email, and which features you have been part of.
# IRC
Active development happens on IRC. (#retroarch @ irc.freenode.org)
We value discussing things in "real-time".
# Commit Access
Contributors who show a track record of making good pull requests over time will eventually get commit access to the repo.
This typically happens when the "overhead" of looking through pull requests over time becomes a burden.
# Contributing to RetroArch
If you are a developer and want to contribute to the development of RetroArch, please read this.
If you have found a bug and want to submit a minor patch or a bug report, please read this as well.
# Submitting a bug report
When submitting a bug report, make sure that the bug is local to RetroArch.
A bug in a libretro core or something deemed to be external is likely to be closed very fast.
If you still suspect a bug in RetroArch, make sure to test with several cores to make sure.
If you have troubles building RetroArch on Linux/BSD/OSX, make sure to paste shell output of ./configure,
as well as config.log and shell output of make. If building on Windows, just paste shell output of make.
If the issue occurs during runtime, make sure to paste RetroArch's verbose log.
If using Phoenix frontend, you can find log in (File -> Show Log) after running.
In console, make sure to run with verbose (-v) flag.
# Pull Requests
Outside contributions are generally only accepted in the form of a pull request. The process is very simple.
Fork RetroArch, make your changes, and issue a pull request on GitHub. This can all be done within the browser.
The changes are reviewed, and might be merged in. If the pull request isn't acceptable at the time,
note that it's possible to continue pushing up commits to your branch.
If you want to develop a larger feature,
we'd like to discuss this first (ideally on IRC) so that you don't risk developing something
that won't be merged. A pull request with a proof-of-concept is fine, but please indicate so.
## libretro API
If you wish to add functionality to libretro's API, it can take some time to merge in, because changes
to libretro API will affect other projects as well, and we highly value API/ABI stability.
Features will only be added when deemed *necessary* for a concrete libretro core to function properly.
Features will not be added on basis of hypothetical libretro implementations.
# Coding style
Having a consistent code style throughout the code base is highly valued.
Please look through the code to get a feel for the coding style.
A pull request may be asked to fix the coding style before submission.
In other cases, a pull request may be followed up with a "style nit commit".
## Non-obvious things:
- Code should be both C89 and ISO C++ compatible. This dual requirement is for XBox360 and MSVC in general. Think of it as a C++ compatible subset of C99.
- Warnings are not allowed (-Wall). Make sure your code is warning-free. Note that warning sensitivity differs a bit across compiler versions.
- Using deprecated APIs is discouraged.
# Copyright Headers and AUTHORS
If you have contributed to a part of a source file (a chunk of code that's written by you),
you should add yourself to the copyright header in that file.
If you have contributed significantly
(a feature, a contribution you can "name", e.g. "Added audio driver foo"), you should add yourself to AUTHORS file.
We'd like your full name and email, and which features you have been part of.
# IRC
Active development happens on IRC. (#retroarch @ irc.freenode.org)
We value discussing things in "real-time".
# Commit Access
Contributors who show a track record of making good pull requests over time will eventually get commit access to the repo.
This typically happens when the "overhead" of looking through pull requests over time becomes a burden.
+36 -31
View File
@@ -1,6 +1,6 @@
HAVE_FILE_LOGGER=1
HAVE_CC_RESAMPLER=1
NEED_CXX_LINKER=0
NEED_CXX_LINKER?=0
NEED_GOLD_LINKER?=0
MISSING_DECLS =0
ifneq ($(C90_BUILD),)
@@ -14,7 +14,11 @@ include config.mk
# (It'd be better to put this comment in that file, but .gitignore doesn't work on files that exist in the repo.)
-include Makefile.local
ifeq ($(HAVE_ANGLE), 1)
TARGET = retroarch_angle
else
TARGET = retroarch
endif
OBJ :=
LIBS :=
@@ -25,6 +29,10 @@ DEFINES += -DGLOBAL_CONFIG_DIR='"$(GLOBAL_CONFIG_DIR)"'
OBJDIR_BASE := obj-unix
ifeq ($(NEED_GOLD_LINKER), 1)
LDFLAGS += -fuse-ld=gold
endif
ifeq ($(DEBUG), 1)
OBJDIR := $(OBJDIR_BASE)/debug
CFLAGS ?= -O0 -g
@@ -37,6 +45,8 @@ else
DEF_FLAGS += -ffast-math
endif
DEF_FLAGS += -Wall
ifneq ($(findstring BSD,$(OS)),)
DEF_FLAGS += -DBSD
LDFLAGS += -L/usr/local/lib
@@ -49,6 +59,10 @@ ifneq ($(findstring DOS,$(OS)),)
LDFLAGS += -lemu
endif
ifneq ($(findstring FPGA,$(OS)),)
DEFINES += -DHAVE_FPGA
endif
ifneq ($(findstring Win32,$(OS)),)
LDFLAGS += -static-libgcc -lwinmm
endif
@@ -56,7 +70,7 @@ endif
include Makefile.common
ifeq ($(shell $(CC) -v 2>&1 | grep -c "clang"),1)
DEFINES += -Wno-invalid-source-encoding -Wno-incompatible-ms-struct
DEF_FLAGS += -Wno-invalid-source-encoding -Wno-incompatible-ms-struct
endif
ifeq ($(shell $(CC) -v 2>&1 | grep -c "tcc"),1)
@@ -68,7 +82,7 @@ endif
HEADERS = $(wildcard */*/*.h) $(wildcard */*.h) $(wildcard *.h)
ifeq ($(MISSING_DECLS), 1)
DEFINES += -Werror=missing-declarations
DEF_FLAGS += -Werror=missing-declarations
endif
ifeq ($(HAVE_DYLIB), 1)
@@ -94,10 +108,20 @@ ifneq ($(findstring Win32,$(OS)),)
LDFLAGS += -mwindows
endif
DEF_FLAGS += -Wall $(INCLUDE_DIRS) -I. -Ideps -Ideps/stb
ifneq ($(CXX_BUILD), 1)
ifneq ($(C89_BUILD),)
CFLAGS += -std=c89 -ansi -pedantic -Werror=pedantic -Wno-long-long
else ifeq ($(HAVE_C99), 1)
CFLAGS += $(C99_CFLAGS)
endif
CFLAGS += -D_GNU_SOURCE
endif
DEF_FLAGS += $(INCLUDE_DIRS) -I. -Ideps -Ideps/stb
CFLAGS += $(DEF_FLAGS)
CXXFLAGS += $(DEF_FLAGS) -std=c++11 -D__STDC_CONSTANT_MACROS
CXXFLAGS += $(DEF_FLAGS) -D__STDC_CONSTANT_MACROS
OBJCFLAGS := $(CFLAGS) -D__STDC_CONSTANT_MACROS
ifeq ($(HAVE_CXX), 1)
@@ -115,29 +139,6 @@ else
LINK = $(CC)
endif
ifneq ($(CXX_BUILD), 1)
ifneq ($(GNU90_BUILD), 1)
ifneq ($(findstring icc,$(CC)),)
CFLAGS += -std=c99 -D_GNU_SOURCE
else
CFLAGS += -std=gnu99 -D_GNU_SOURCE
endif
endif
ifneq ($(C89_BUILD),)
CFLAGS += -std=c89 -ansi -pedantic -Werror=pedantic -Wno-long-long
endif
endif
ifeq ($(NOUNUSED), yes)
CFLAGS += -Wno-unused-result
CXXFLAGS += -Wno-unused-result
endif
ifeq ($(NOUNUSED_VARIABLE), yes)
CFLAGS += -Wno-unused-variable
CXXFLAGS += -Wno-unused-variable
endif
RARCH_OBJ := $(addprefix $(OBJDIR)/,$(OBJ))
ifneq ($(X86),)
@@ -186,12 +187,16 @@ ifeq ($(MAKECMDGOALS),clean)
config.mk:
else
-include $(RARCH_OBJ:.o=.d)
ifeq ($(HAVE_CONFIG_MK),)
config.mk: configure qb/*
@echo "config.mk is outdated or non-existing. Run ./configure again."
@exit 1
endif
endif
retroarch: $(RARCH_OBJ)
SYMBOL_MAP := -Wl,-Map=output.map
$(TARGET): $(RARCH_OBJ)
@$(if $(Q), $(shell echo echo LD $@),)
$(Q)$(LINK) -o $@ $(RARCH_OBJ) $(LIBS) $(LDFLAGS) $(LIBRARY_DIRS)
@@ -268,7 +273,7 @@ install: $(TARGET)
fi
uninstall:
rm -f $(DESTDIR)$(BIN_DIR)/retroarch
rm -f $(DESTDIR)$(BIN_DIR)/$(TARGET)
rm -f $(DESTDIR)$(BIN_DIR)/retroarch-cg2glsl
rm -f $(DESTDIR)$(GLOBAL_CONFIG_DIR)/retroarch.cfg
rm -f $(DESTDIR)$(DATA_DIR)/applications/retroarch.desktop
+2 -2
View File
@@ -19,6 +19,6 @@ $(foreach x,$(join $(addsuffix :,$(MOC_SRC)),$(MOC_HEADERS)),$(eval $x))
generate: $(MOC_SRC)
@echo $(MOC_SRC)
print-%:
@echo '$*=$($*)'
@echo '$*=$($*)'
-113
View File
@@ -1,113 +0,0 @@
# This build was put together and is maintained by ModMyClassic.com for Libretro.
# The purpose is to give Libretro a proper "official" build platform for classic consoles.
# If you need any help in building for the classics or have any questions then please visit
# https://modmyclassic.com/comp and we will help in any way possible!
# Building Prerequisites ##############
# arm-linux-gnueabihf-gcc-8
# arm-linux-gnueabihf-g++-8
# arm-linux-gnueabihf-as
# arm-linux-gnueabihf-strip
# patchelf
# bc
include version.all
# Classic Readme Variables ############
CLASSIC_ALT_VER := $(shell echo $(RARCH_VERSION) | tr . _)
CLASSIC_MODS_VER := Official_Retroarch_v$(CLASSIC_ALT_VER)c_COptimised
CLASSIC_MODS_NAME := RetroArch v$(RARCH_VERSION)c \(Official Classic Optimised\)
CLASSIC_VERSION := $(RARCH_VERSION)c \(Classic+\)
MOD_CREATOR := Libretro + ModMyClassic
MOD_CATEGORY := RetroArch
GIT_COMMIT := $(shell echo "`git rev-parse --short HEAD``git diff-index --quiet HEAD -- || echo '-dirty'`")
# Platform dependant Variables ########
HAKCHI_DIR := RA_Platform-Hakchi
HAKCHI_GIT := https://github.com/Classicmods/RA_Platform-Hakchi
# General Shared Variables ############
TARGET := retroarch
CC_V = arm-linux-gnueabihf-gcc-8
CXX_V = arm-linux-gnueabihf-g++-8
AS_V = arm-linux-gnueabihf-as
CC_AS_V = arm-linux-gnueabihf-gcc-8
# Libretro Defines ####################
#HAVE_CLASSIC = Classic Hook, disable some features
#HAVE_C_A7A7 = Classic Armv7 Cortex A7 optimisation override
#HAVE_HAKCHI = Hakchi Hook, change default configurations etc (TODO)
all: $(TARGET)
retroarch:
#Backup vanilla version files + ammend version
cp version.all version_BACKUP.all && cp version.dtd version_BACKUP.dtd
sed -i -e 's/RARCH_VERSION="[^"]*"/RARCH_VERSION="$(CLASSIC_VERSION)"/g' version.all
sed -i -e 's/PACKAGE_VERSION "[^"]*"/PACKAGE_VERSION "$(CLASSIC_VERSION)"/g' version.all
sed -i -e 's/ENTITY version "[^"]*"/ENTITY version "$(CLASSIC_VERSION)"/g' version.dtd
#Build the RetroArch Binary for cross platform classics (ARMv7 Cortex A7)
patchelf --version #Check if you have patchelf installed... (sudo apt-get install patchelf)
./configure --host=arm-linux-gnueabihf --enable-mali_fbdev --disable-freetype --enable-opengles --enable-udev --enable-alsa --enable-neon --enable-floathard --disable-discord
make CC=$(CC_V) CXX=$(CXX_V) AS=$(AS_V) CC_AS=$(CC_AS_V) LDFLAGS_SDL=-lSDL2 HAVE_CLASSIC=1 HAVE_C_A7A7=1 HAVE_HAKCHI=1 -j #Cook it
arm-linux-gnueabihf-strip -v retroarch
patchelf --replace-needed libSDL2-2.0.so.0 libSDL2.so retroarch #libSDL2-2.0.so.0 sym link doesn't exist on native build. Just patch the binary...
#HAKCHI BUILD (NESC, SNESC)
#FYI this build was originally known as RetroArch 'Neo' for Hakchi.
@echo "** BUILDING CLASSIC_MODS HAKCHI - $(CLASSIC_MODS_VER) HMOD PACKAGE **"
rm -fr /tmp/$(HAKCHI_DIR)
cd /tmp/; git clone $(HAKCHI_GIT)
cp retroarch /tmp/$(HAKCHI_DIR)/bin/retroarch
echo $$(echo "Built by: " $$USER @ $$(date) \\\\\\ Git Commit: $(GIT_COMMIT)) > /tmp/$(HAKCHI_DIR)/etc/libretro/retroarch_version
cp /tmp/$(HAKCHI_DIR)/readme.md /tmp/$(HAKCHI_DIR)/readme_COPY.md
printf "%s\n" \
"---" \
"Name: $(CLASSIC_MODS_NAME)" \
"Creator: $(MOD_CREATOR)" \
"Category: $(MOD_CATEGORY)" \
"Version: $(CLASSIC_MODS_VER)" \
"Built on: $(shell date)" \
"Git commit: $(GIT_COMMIT)" \
"---" > /tmp/$(HAKCHI_DIR)/readme.md
cat /tmp/$(HAKCHI_DIR)/readme_COPY.md >> /tmp/$(HAKCHI_DIR)/readme.md
rm /tmp/$(HAKCHI_DIR)/readme_COPY.md
@echo "** COMPRESSING $(CLASSIC_MODS_VER) HMOD PACKAGE **"
cd /tmp/$(HAKCHI_DIR)/; tar -czvf "$(CLASSIC_MODS_VER).hmod" *
mv /tmp/$(HAKCHI_DIR)/$(CLASSIC_MODS_VER).hmod .
@echo "** BUILT CLASSIC_MODS HAKCHI - $(CLASSIC_MODS_VER) HMOD PACKAGE **"
rm -fr /tmp/$(HAKCHI_DIR) #clean up tmp
#COMMODORE 64 MINI BUILD (WIP)
#Clean down dirty files
rm -f version.all version.dtd
mv version_BACKUP.all version.all && mv version_BACKUP.dtd version.dtd
@echo "*********************************************************************"
@echo "*** Classic ARM7 Cortex A7 build and packages built successfully! ***"
@echo "****************** Winner, Winner, Chicken Dinner! ******************"
@echo "*********************************************************************"
clean:
rm -rf obj-unix
rm -f *.d
rm -f *.o
rm -f audio/*.o
rm -f conf/*.o
rm -f gfx/*.o
rm -f gfx/drivers_font/*.o
rm -f gfx/drivers_font_renderer/*.o
rm -f gfx/drivers_context/*.o
rm -f gfx/py_state/*.o
rm -f compat/*.o
rm -f record/*.o
rm -f input/*.o
rm -f tools/*.o
rm -f $(BINDIR)/retroarch
rm -f $(BINDIR)/retroarch-joyconfig
rm -f $(PNDDIR)/readme.html
rm -f retroarch
rm -f $(CLASSIC_MODS_VER).hmod
rm -f version.all version.dtd
mv -f version_BACKUP.all version.all || echo "Backup Doesn't Exist - Ignoring..."
mv -f version_BACKUP.dtd version.dtd || echo "Backup Doesn't Exist - Ignoring..."
rm -f *_BACKUP*
+49
View File
@@ -0,0 +1,49 @@
# This build was put together and is maintained by ModMyClassic.com for Libretro.
# The purpose is to give Libretro a proper "official" build platform for classic consoles.
# If you need any help in building for the classics or have any questions then please visit
# https://modmyclassic.com and we will help in any way possible!
# Building Prerequisites ##############
# arm-linux-gnueabihf-strip
include version.all
# General Shared Variables ############
TARGET := retroarch
# Libretro Defines ####################
#HAVE_CLASSIC = Classic Hook, disable some features
#HAVE_C_A7A7 = Classic Armv7 Cortex A7 optimisation override
#HAVE_SEGAM = Sega Mini Hook, change default configurations etc (TODO)
all: $(TARGET)
retroarch:
#Build the RetroArch Binary for cross platform classics (ARMv7 Cortex A7)
patchelf --version #Check if you have patchelf installed... (sudo apt-get install patchelf)
CFLAGS="-marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard" ./configure --host=arm-linux-gnueabihf --disable-wayland --disable-x11 --disable-opengl --disable-opengl1 --disable-opengl_core --enable-mali_fbdev --disable-freetype --enable-opengles --enable-udev --enable-alsa --enable-neon --enable-floathard --disable-discord
make HAVE_CLASSIC=1 HAVE_C_A7A7=1 HAVE_SEGAM=1 -j #Cook it
arm-linux-gnueabihf-strip -v retroarch
@echo "*********************************************************************"
@echo "*** SEGA Mega Drive Mini RetroArch binary built successfully! ***"
@echo "*********************************************************************"
clean:
rm -rf obj-unix
rm -f *.d
rm -f *.o
rm -f audio/*.o
rm -f conf/*.o
rm -f gfx/*.o
rm -f gfx/drivers_font/*.o
rm -f gfx/drivers_font_renderer/*.o
rm -f gfx/drivers_context/*.o
rm -f gfx/py_state/*.o
rm -f compat/*.o
rm -f record/*.o
rm -f input/*.o
rm -f tools/*.o
rm -f $(BINDIR)/retroarch
rm -f $(BINDIR)/retroarch-joyconfig
rm -f $(PNDDIR)/readme.html
rm -f retroarch
+53
View File
@@ -0,0 +1,53 @@
# This build was put together and is maintained by ModMyClassic.com for Libretro.
# The purpose is to give Libretro a proper "official" build platform for classic consoles.
# If you need any help in building for the classics or have any questions then please visit
# https://modmyclassic.com and we will help in any way possible!
# INFO: THIS BUILD TARGET ALSO COVERS THE NESC!!!
# Building Prerequisites ##############
# arm-linux-gnueabihf-strip
# patchelf
include version.all
# General Shared Variables ############
TARGET := retroarch
# Libretro Defines ####################
#HAVE_CLASSIC = Classic Hook, disable some features
#HAVE_C_A7A7 = Classic Armv7 Cortex A7 optimisation override
#HAVE_HAKCHI = Hakchi Hook, change default configurations etc (TODO)
all: $(TARGET)
retroarch:
#Build the RetroArch Binary for cross platform classics (ARMv7 Cortex A7)
patchelf --version #Check if you have patchelf installed... (sudo apt-get install patchelf)
CFLAGS="-marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard" ./configure --host=arm-linux-gnueabihf --disable-wayland --disable-x11 --disable-opengl --disable-opengl1 --disable-opengl_core --enable-mali_fbdev --disable-freetype --enable-opengles --enable-udev --enable-alsa --enable-neon --enable-floathard --disable-discord
make HAVE_CLASSIC=1 HAVE_C_A7A7=1 HAVE_HAKCHI=1 -j #Cook it
arm-linux-gnueabihf-strip -v retroarch
patchelf --replace-needed libSDL2-2.0.so.0 libSDL2.so retroarch #libSDL2-2.0.so.0 sym link doesn't exist on native build. Just patch the binary...
@echo "*********************************************************************"
@echo "*** NES/SNES Classic RetroArch binary built successfully! ***"
@echo "*********************************************************************"
clean:
rm -rf obj-unix
rm -f *.d
rm -f *.o
rm -f audio/*.o
rm -f conf/*.o
rm -f gfx/*.o
rm -f gfx/drivers_font/*.o
rm -f gfx/drivers_font_renderer/*.o
rm -f gfx/drivers_context/*.o
rm -f gfx/py_state/*.o
rm -f compat/*.o
rm -f record/*.o
rm -f input/*.o
rm -f tools/*.o
rm -f $(BINDIR)/retroarch
rm -f $(BINDIR)/retroarch-joyconfig
rm -f $(PNDDIR)/readme.html
rm -f retroarch
+645 -438
View File
File diff suppressed because it is too large. Load diff
+4 -4
View File
@@ -50,8 +50,8 @@ endif
DEFINES :=
ifeq ($(GRIFFIN_BUILD), 1)
OBJ += griffin/griffin.o
DEFINES += -DHAVE_GRIFFIN=1 -DHAVE_MENU -DHAVE_RGUI -DHAVE_XMB -DHAVE_MATERIALUI -DHAVE_LIBRETRODB -DHAVE_CC_RESAMPLER
DEFINES += -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA -DWANT_ZLIB
DEFINES += -DHAVE_GRIFFIN=1 -DHAVE_MENU -DHAVE_CONFIGFILE -DHAVE_RGUI -DHAVE_XMB -DHAVE_MATERIALUI -DHAVE_LIBRETRODB -DHAVE_CC_RESAMPLER
DEFINES += -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA
#DEFINES += -DHAVE_NETWORKING -DHAVE_CHEEVOS -DRC_DISABLE_LUA -DHAVE_SOCKET_LEGACY -DHAVE_THREADS
#-DHAVE_SSL -DHAVE_BUILTINMBEDTLS -DMBEDTLS_SSL_DEBUG_ALL
#ssl is currently incompatible with griffin due to use of the "static" flag on repeating functions that will conflict when included in one file
@@ -133,10 +133,10 @@ endif
CFLAGS += -I. \
-Ideps \
-Ideps/libz \
-Ideps/7zip \
-Ideps/stb \
-Ilibretro-common/include
-Ilibretro-common/include \
-Ilibretro-common/include/compat/zlib
CFLAGS += -DRARCH_INTERNAL -DRARCH_CONSOLE
CFLAGS += -DHAVE_FILTERS_BUILTIN $(DEFINES)
+3 -3
View File
@@ -24,11 +24,11 @@ OBJ := ctr/ctr_system.o \
frontend/frontend_salamander.o \
frontend/frontend_driver.o \
frontend/drivers/platform_ctr.o \
frontend/drivers/platform_null.o \
libretro-common/encodings/encoding_utf.o \
libretro-common/compat/compat_strcasestr.o \
libretro-common/compat/fopen_utf8.o \
libretro-common/file/file_path.o \
libretro-common/file/file_path_io.o \
libretro-common/string/stdstring.o \
libretro-common/lists/string_list.o \
libretro-common/lists/dir_list.o \
@@ -40,7 +40,7 @@ OBJ := ctr/ctr_system.o \
libretro-common/hash/rhash.o \
file_path_str.o \
verbosity.o
OBJ += ctr/exec-3dsx/exec_cia.o \
ctr/exec-3dsx/exec_3dsx.o \
ctr/exec-3dsx/mini-hb-menu/launch.o \
@@ -83,7 +83,7 @@ else
CFLAGS += -O3
endif
CFLAGS += -I. -Ideps/libz -Ideps/7zip -Ideps/stb -Ilibretro-common/include
CFLAGS += -I. -Ideps/7zip -Ideps/stb -Ilibretro-common/include -Ilibretro-common/include/compat/zlib
#CFLAGS += -DRARCH_INTERNAL
CFLAGS += -DRARCH_CONSOLE -DIS_SALAMANDER
+189
View File
@@ -0,0 +1,189 @@
CC = /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc
CXX = /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-g++
PACKAGE_NAME = retroarch
DEBUG ?= 0
HAVE_7ZIP = 1
HAVE_AL = 1
# this freezes when switching back from menu
HAVE_ALSA = 0
HAVE_BUILTINMBEDTLS = 1
HAVE_BUILTINZLIB = 1
HAVE_C99 = 1
HAVE_CC = 1
HAVE_CC_RESAMPLER = 1
HAVE_CHD = 1
HAVE_CHEEVOS = 1
HAVE_COMMAND = 1
HAVE_CXX = 1
HAVE_DR_MP3 = 1
HAVE_DYNAMIC = 1
HAVE_EGL = 1
HAVE_FREETYPE = 1
HAVE_GDI = 1
HAVE_GETADDRINFO = 1
HAVE_GETOPT_LONG = 1
HAVE_GLSL = 1
HAVE_HID = 1
HAVE_IBXM = 1
HAVE_IMAGEVIEWER = 1
HAVE_LANGEXTRA = 1
HAVE_LIBRETRODB = 1
HAVE_MENU = 1
HAVE_MENU_COMMON = 1
HAVE_GFX_WIDGETS = 1
HAVE_MMAP = 1
HAVE_NETWORKING = 1
HAVE_OPENDINGUX_FBDEV = 1
HAVE_OPENGL = 1
HAVE_OPENGL1 = 0
HAVE_OPENGLES = 1
HAVE_OPENGLES3 = 0
HAVE_OPENGL_CORE = 0
HAVE_OPENSSL = 1
HAVE_OVERLAY = 1
HAVE_RBMP = 1
HAVE_RJPEG = 1
HAVE_RPILED = 1
HAVE_RPNG = 1
HAVE_RUNAHEAD = 1
HAVE_SDL_DINGUX = 1
HAVE_SHADERPIPELINE = 1
HAVE_STB_FONT = 1
HAVE_STB_IMAGE = 1
HAVE_STB_VORBIS = 1
HAVE_STDIN_CMD = 1
HAVE_STRCASESTR = 1
HAVE_THREADS = 1
HAVE_TRANSLATE = 1
HAVE_UDEV = 1
HAVE_VIDEO_LAYOUT = 1
HAVE_XMB = 1
HAVE_ZLIB = 1
HAVE_CONFIGFILE = 1
OS = Linux
TARGET = retroarch
OPK_NAME = retroarch.opk
OBJ :=
LINK := $(CXX)
DEF_FLAGS := -march=mips32 -mtune=mips32r2 -mhard-float -ffast-math -fomit-frame-pointer -fdata-sections
DEF_FLAGS += -I. -Ideps -Ideps/stb -DDINGUX=1 -MMD
DEF_FLAGS += -Wall -Wno-unused-variable
DEF_FLAGS += -std=gnu99 -D_GNU_SOURCE
LIBS := -ldl -lz -lrt -lcrypto -lssl -ludev -pthread
CFLAGS :=
CXXFLAGS := -fno-exceptions -fno-rtti -std=c++11 -D__STDC_CONSTANT_MACROS
ASFLAGS :=
LDFLAGS := -flto
INCLUDE_DIRS = -I/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/include
LIBRARY_DIRS = -L/opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/lib
DEFINES := -DRARCH_INTERNAL -D_FILE_OFFSET_BITS=64 -UHAVE_STATIC_DUMMY
DEFINES += -DHAVE_C99=1 -DHAVE_CXX=1 -DHAVE_OPENDINGUX_FBDEV=1
DEFINES += -DHAVE_GETOPT_LONG=1 -DHAVE_STRCASESTR=1 -DHAVE_DYNAMIC=1
DEFINES += -DHAVE_AL=1
DEFINES += -DHAVE_ONLINE_UPDATER=1
DEFINES += -DHAVE_UPDATE_ASSETS=1
DEFINES += -DHAVE_UDEV=1
SDL_DINGUX_CFLAGS := $(shell /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/bin/sdl-config --cflags)
SDL_DINGUX_LIBS := $(shell /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/bin/sdl-config --libs)
FREETYPE_CFLAGS := $(shell /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/bin/freetype-config --cflags)
FREETYPE_LIBS := $(shell /opt/gcw0-toolchain/usr/mipsel-gcw0-linux-uclibc/sysroot/usr/bin/freetype-config --libs)
AL_LIBS := -lopenal
OPENGLES_CFLAGS := -DMESA_EGL_NO_X11_HEADERS
OPENGLES_LIBS := -lGLESv2 -lEGL
MMAP_LIBS = -lc
OBJDIR_BASE := obj-unix
ifeq ($(DEBUG), 1)
OBJDIR := $(OBJDIR_BASE)/debug
DEF_FLAGS += -O0 -g -DDEBUG -D_DEBUG
else
OBJDIR := $(OBJDIR_BASE)/release
DEF_FLAGS += -O2 -DNDEBUG
endif
include Makefile.common
DEF_FLAGS += $(INCLUDE_DIRS)
CFLAGS += $(DEF_FLAGS)
CXXFLAGS += $(DEF_FLAGS)
HEADERS = $(wildcard */*/*.h) $(wildcard */*.h) $(wildcard *.h)
Q := @
RARCH_OBJ := $(addprefix $(OBJDIR)/,$(OBJ))
define DESKTOP_ENTRY
[Desktop Entry]
Name=retroarch
Comment=Retroarch
Exec=retroarch
Terminal=false
Type=Application
StartupNotify=true
Icon=retroarch
Categories=emulators;
X-OD-NeedsDownscaling=true
endef
export DESKTOP_ENTRY
all: $(TARGET) opk
-include $(RARCH_OBJ:.o=.d)
SYMBOL_MAP := -Wl,-Map=output.map
$(TARGET): $(RARCH_OBJ)
@$(if $(Q), $(shell echo echo LD $@),)
$(LINK) -o $@ $(RARCH_OBJ) $(LIBS) $(LDFLAGS) $(LIBRARY_DIRS)
$(OBJDIR)/%.o: %.c
@mkdir -p $(dir $@)
@$(if $(Q), $(shell echo echo CC $<),)
$(CC) $(CPPFLAGS) $(CFLAGS) $(DEFINES) -c -o $@ $<
$(OBJDIR)/%.o: %.cpp
@mkdir -p $(dir $@)
@$(if $(Q), $(shell echo echo CXX $<),)
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(DEFINES) -MMD -c -o $@ $<
$(OBJDIR)/%.o: %.m
@mkdir -p $(dir $@)
@$(if $(Q), $(shell echo echo OBJC $<),)
$(CXX) $(OBJCFLAGS) $(DEFINES) -MMD -c -o $@ $<
.FORCE:
$(OBJDIR)/git_version.o: git_version.c .FORCE
@mkdir -p $(dir $@)
@$(if $(Q), $(shell echo echo CC $<),)
$(CC) $(CFLAGS) $(DEFINES) -MMD -c -o $@ $<
$(OBJDIR)/%.o: %.S $(HEADERS)
@mkdir -p $(dir $@)
@$(if $(Q), $(shell echo echo AS $<),)
$(CC) $(CFLAGS) $(ASFLAGS) $(DEFINES) -c -o $@ $<
clean:
rm -rf $(OBJDIR_BASE)
rm -f $(TARGET)
rm -f *.d
rm -rf $(OPK_NAME)
opk: $(TARGET)
echo "$$DESKTOP_ENTRY" > default.gcw0.desktop
rm -f $(OPK_NAME)
cp media/ico_src/icon32.png retroarch.png
mksquashfs retroarch default.gcw0.desktop retroarch.png $(OPK_NAME) -all-root -no-xattrs -noappend -no-exports
rm -f default.gcw0.desktop retroarch.png
.PHONY: all clean opk
print-%:
@echo '$*=$($*)'
+16 -14
View File
@@ -7,9 +7,12 @@ PTHREAD = 0
OS = Emscripten
OBJ :=
DEFINES := -DRARCH_INTERNAL -DHAVE_MAIN -s USE_PTHREADS=$(PTHREAD)
DEFINES += -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -DHAVE_FILTERS_BUILTIN -DHAVE_STB_FONT
DEFINES += -DHAVE_FILTERS_BUILTIN
HAVE_OVERLAY = 1
HAVE_GLSL = 1
HAVE_AUDIOMIXER = 1
HAVE_VIDEO_LAYOUT = 0
HAVE_CC_RESAMPLER = 1
HAVE_EGL = 1
HAVE_OPENGLES = 1
@@ -17,32 +20,31 @@ HAVE_RJPEG = 0
HAVE_RPNG = 1
HAVE_EMSCRIPTEN = 1
HAVE_MENU = 1
HAVE_GFX_WIDGETS = 1
HAVE_RGUI = 1
HAVE_SDL = 0
HAVE_SDL2 = 0
HAVE_ZLIB = 1
WANT_ZLIB = 1
HAVE_SHADERPIPELINE = 1
HAVE_STATIC_VIDEO_FILTERS = 1
HAVE_STATIC_AUDIO_FILTERS = 1
MEMORY = 536870912
HAVE_STB_FONT = 1
HAVE_CONFIGFILE = 1
MEMORY = 134217728
PRECISE_F32 = 1
OBJDIR := obj-emscripten
ifneq ($(NATIVE_ZLIB),)
WANT_ZLIB = 0
endif
#if you compile with SDL2 flag add this Emscripten flag "-s USE_SDL=2" to LDFLAGS:
LIBS := -s USE_ZLIB=1
LDFLAGS := -L. --no-heap-copy -s USE_ZLIB=1 -s TOTAL_MEMORY=$(MEMORY) -s NO_EXIT_RUNTIME=0 -s FULL_ES2=1 -s BINARYEN_TRAP_MODE=\"clamp\" \
-s EXPORTED_FUNCTIONS="['_main', '_malloc', '_cmd_savefiles', '_cmd_save_state', '_cmd_load_state', '_cmd_take_screenshot']" \
LDFLAGS := -L. --no-heap-copy -s $(LIBS) -s TOTAL_MEMORY=$(MEMORY) -s NO_EXIT_RUNTIME=0 -s FULL_ES2=1 -s "EXTRA_EXPORTED_RUNTIME_METHODS=['callMain']" \
-s ALLOW_MEMORY_GROWTH=1 -s EXPORTED_FUNCTIONS="['_main', '_malloc', '_cmd_savefiles', '_cmd_save_state', '_cmd_load_state', '_cmd_take_screenshot']" \
--js-library emscripten/library_rwebaudio.js \
--js-library emscripten/library_rwebcam.js
--js-library emscripten/library_rwebcam.js \
--js-library emscripten/library_errno_codes.js
ifneq ($(PTHREAD), 0)
LDFLAGS += -s USE_PTHREADS=$(PTHREAD) -s PTHREAD_POOL_SIZE=2
endif
@@ -58,7 +60,7 @@ endif
include Makefile.common
CFLAGS += $(DEF_FLAGS) -Ideps/libz -Ideps -Ideps/stb
CFLAGS += $(DEF_FLAGS) -Ideps -Ideps/stb
libretro = libretro_emscripten.bc
ifneq ($(V), 1)
@@ -69,16 +71,16 @@ ifeq ($(DEBUG), 1)
LDFLAGS += -O0 -g
CFLAGS += -O0 -g
else
LDFLAGS += -O2 -s WASM=1
LDFLAGS += -O3 -s WASM=1
# WARNING: some optimizations can break some cores (ex: LTO breaks tyrquake)
LDFLAGS += -s PRECISE_F32=$(PRECISE_F32)
ifeq ($(LTO), 1)
LDFLAGS += --llvm-lto 3
endif
CFLAGS += -O2
CFLAGS += -O3
endif
CFLAGS += -DHAVE_RPNG -Wall -I. -Ilibretro-common/include -std=gnu99 -s USE_ZLIB=1 \
CFLAGS += -Wall -I. -Ilibretro-common/include -std=gnu99 $(LIBS) \
-s EXPORTED_FUNCTIONS="['_main', '_malloc', '_cmd_savefiles', '_cmd_save_state', '_cmd_take_screenshot']"
RARCH_OBJ := $(addprefix $(OBJDIR)/,$(OBJ))
+181 -45
View File
@@ -33,13 +33,13 @@ endif
ifeq ($(platform),)
platform = unix
ifeq ($(shell uname -a),)
ifeq ($(shell uname -s),)
platform = win
else ifneq ($(findstring MINGW,$(shell uname -a)),)
else ifneq ($(findstring MINGW,$(shell uname -s)),)
platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
else ifneq ($(findstring Darwin,$(shell uname -s)),)
platform = osx
else ifneq ($(findstring win,$(shell uname -a)),)
else ifneq ($(findstring win,$(shell uname -s)),)
platform = win
endif
endif
@@ -47,12 +47,12 @@ endif
# system platform
system_platform = unix
ifeq ($(shell uname -a),)
ifeq ($(shell uname -s),)
EXE_EXT = .exe
system_platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
else ifneq ($(findstring Darwin,$(shell uname -s)),)
system_platform = osx
else ifneq ($(findstring MINGW,$(shell uname -a)),)
else ifneq ($(findstring MINGW,$(shell uname -s)),)
system_platform = win
endif
@@ -75,7 +75,18 @@ ifeq ($(WHOLE_ARCHIVE_LINK), 1)
WHOLE_END := -Wl,--no-whole-archive
endif
STATIC_BUILD = 1
ifneq (,$(findstring msvc,$(platform)))
STATIC_BUILD = 0
endif
ifneq (,$(findstring unix,$(platform)))
STATIC_BUILD = 0
endif
ifeq (qnx, $(platform))
STATIC_BUILD = 0
endif
ifeq ($(STATIC_BUILD), 0)
LIBS := $(WHOLE_START) $(WHOLE_END)
else
LIBS := $(WHOLE_START) -lretro_$(platform) $(WHOLE_END)
@@ -89,6 +100,8 @@ else ifeq ($(platform), wii)
libogc_platform := 1
endif
HAVE_GFX_WIDGETS := 1
# PS3
ifeq ($(platform), ps3)
#TODO
@@ -111,8 +124,8 @@ else ifeq ($(libogc_platform), 1)
EXT_TARGET := $(TARGET_NAME)_$(platform).dol
EXT_INTER_TARGET := $(TARGET_NAME)_$(platform).elf
INCLUDE += -I. -I$(DEVKITPRO)/libogc/include -Ideps/libz -Iwii/libogc/include
INCLUDE += -I. -I$(DEVKITPRO)/libogc/include -Iwii/libogc/include
ifeq ($(EXTERNAL_LIBOGC), 1)
CFLAGS += -DEXTERNAL_LIBOGC
CXXFLAGS += -DEXTERNAL_LIBOGC
@@ -178,6 +191,7 @@ else ifeq ($(libogc_platform), 1)
CFLAGS += -DGEKKO -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int
HAVE_AUDIOMIXER := 1
HAVE_RUNAHEAD := 1
HAVE_FILTERS_BUILTIN := 1
HAVE_THREADS := 1
@@ -187,13 +201,15 @@ else ifeq ($(libogc_platform), 1)
HAVE_RTGA := 1
HAVE_IBXM := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_ZLIB := 1
WANT_ZLIB := 1
HAVE_7ZIP := 1
HAVE_CONFIGFILE := 1
RARCH_CONSOLE = 1
ifeq ($(platform), wii)
#HAVE_LANGEXTRA := 1
HAVE_AUDIOMIXER := 1
#HAVE_LANGEXTRA := 1
HAVE_WIIUSB_HID := 1
HAVE_RARCH_EXEC := 1
HAVE_RSOUND := 1
@@ -228,6 +244,7 @@ else ifeq ($(platform), xenon360)
HAVE_THREADS := 1
HAVE_GETOPT_LONG := 1
RARCH_CONSOLE = 1
HAVE_CONFIGFILE := 1
# PSP
else ifeq ($(platform), psp1)
@@ -252,6 +269,7 @@ else ifeq ($(platform), psp1)
HAVE_KERNEL_PRX := 1
#HAVE_LANGEXTRA := 1
RARCH_CONSOLE = 1
HAVE_CONFIGFILE := 1
ifeq ($(BUILD_PRX), 1)
LDFLAGS += $(addprefix -L,$(PSPSDK)/lib) -specs=$(PSPSDK)/lib/prxspecs -Wl,-q,-T$(PSPSDK)/lib/linkfile.prx $(LDFLAGS)
@@ -265,13 +283,11 @@ else ifeq ($(platform), vita)
EXT_TARGET := $(TARGET_NAME)_$(platform).velf
EXT_INTER_TARGET := $(TARGET_NAME)_$(platform).elf
MACHDEP := -DVITA
WANT_ZLIB := 1
INCLUDE += -Ideps/libvita2d/include
INCLUDE += -Ideps/libz
PLATCFLAGS := -mfloat-abi=hard -fsingle-precision-constant \
-mword-relocations -fno-unwind-tables -fno-asynchronous-unwind-tables -ftree-vectorize -fno-optimize-sibling-calls
LIBS += -lSceDisplay_stub -lSceGxm_stub -lSceNet_stub -lSceNetCtl_stub\
-lSceSysmodule_stub -lSceCtrl_stub -lSceTouch_stub -lSceAudio_stub -lSceFiber_stub\
-lSceSysmodule_stub -lSceCtrl_stub -lSceHid_stub -lSceTouch_stub -lSceAudio_stub -lSceFiber_stub\
-lScePower_stub -lSceRtc_stub -lSceCommonDialog_stub -lScePgf_stub \
-lSceMotion_stub -lSceAppMgr_stub -lpng -lm -lc
@@ -304,24 +320,26 @@ else ifeq ($(platform), vita)
HAVE_VITA2D := 1
HAVE_NETWORKING := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_STB_FONT := 1
HAVE_THREADS := 1
HAVE_LIBRETRODB := 1
RARCH_CONSOLE = 1
HAVE_CONFIGFILE := 1
else ifeq ($(platform), windows_msvc6_x86)
HAVE_RPNG := 1
HAVE_RJPEG := 1
HAVE_RBMP := 1
HAVE_RTGA := 1
HAVE_ZLIB := 1
WANT_ZLIB := 1
HAVE_7ZIP := 1
HAVE_NETWORKING := 0
HAVE_NETWORK_CMD := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_STB_FONT := 1
@@ -333,6 +351,7 @@ else ifeq ($(platform), windows_msvc6_x86)
HAVE_DYLIB := 1
HAVE_DYNAMIC := 1
HAVE_GRIFFIN_CPP := 1
HAVE_CONFIGFILE := 1
EXT_TARGET := $(TARGET_NAME).exe
EXT_INTER_TARGET := $(TARGET_NAME).exe
@@ -353,17 +372,18 @@ else ifeq ($(platform), windows_msvc6_x86)
export INCLUDE := $(INCLUDE);$(INETSDK)\Include;libretro-common\include;libretro-common\include\compat\msvc;gfx\include;deps;deps\stb
export LIB := $(LIB);$(INETSDK)\Lib
else ifeq ($(platform), windows_msvc2003_x86)
HAVE_GDI := 1
HAVE_RPNG := 1
HAVE_RJPEG := 1
HAVE_RBMP := 1
HAVE_RTGA := 1
HAVE_ZLIB := 1
WANT_ZLIB := 1
HAVE_7ZIP := 1
HAVE_NETWORKING := 1
HAVE_NETWORK_CMD := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_STB_FONT := 1
@@ -375,6 +395,7 @@ else ifeq ($(platform), windows_msvc2003_x86)
HAVE_DYLIB := 1
HAVE_DYNAMIC := 1
HAVE_GRIFFIN_CPP := 1
HAVE_CONFIGFILE := 1
EXT_TARGET := $(TARGET_NAME).exe
EXT_INTER_TARGET := $(TARGET_NAME).exe
@@ -384,7 +405,7 @@ else ifeq ($(platform), windows_msvc2003_x86)
PLATCFLAGS += -D_WIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 -D__STDC_CONSTANT_MACROS -D_MBCS -D_VC80_UPGRADE=0x0710
LDFLAGS += shell32.lib user32.lib gdi32.lib comdlg32.lib winmm.lib ole32.lib
PATH := $(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../../Vc7/bin"):$(PATH)
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS71COMNTOOLS)../IDE")
INCLUDE := $(shell IFS=$$'\n'; cygpath -w "$(VS71COMNTOOLS)../../Vc7/include")
@@ -400,17 +421,18 @@ else ifeq ($(platform), windows_msvc2003_x86)
export LIB := $(LIB);$(INETSDK)\Lib
endif
else ifeq ($(platform), windows_msvc2005_x86)
HAVE_GDI := 1
HAVE_RPNG := 1
HAVE_RJPEG := 1
HAVE_RBMP := 1
HAVE_RTGA := 1
HAVE_ZLIB := 1
WANT_ZLIB := 1
HAVE_7ZIP := 1
HAVE_NETWORKING := 1
HAVE_NETWORK_CMD := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_STB_FONT := 1
@@ -423,6 +445,7 @@ else ifeq ($(platform), windows_msvc2005_x86)
HAVE_DYNAMIC := 1
HAVE_GRIFFIN_CPP := 1
HAVE_DIRECTX ?= 1
HAVE_CONFIGFILE := 1
EXT_TARGET := $(TARGET_NAME).exe
EXT_INTER_TARGET := $(TARGET_NAME).exe
@@ -430,9 +453,9 @@ else ifeq ($(platform), windows_msvc2005_x86)
CXX = cl.exe
LD = link.exe
PLATCFLAGS += -D_WIN32 -D_WIN32_WINNT=0x0410 -D__STDC_CONSTANT_MACROS -D_MBCS -DHAVE_EASTEREGG
PLATCFLAGS += -D_WIN32 -D_WIN32_WINNT=0x0410 -D__STDC_CONSTANT_MACROS -D_MBCS -D__MMX__ -D__SSE__ -DHAVE_OPENGL -DHAVE_OPENGL1 -DHAVE_GLSL -DHAVE_SHADERPIPELINE -DHAVE_OZONE
LDFLAGS += shell32.lib user32.lib gdi32.lib comdlg32.lib winmm.lib ole32.lib msimg32.lib
PATH := $(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../../VC/bin"):$(PATH)
PATH := $(PATH):$(shell IFS=$$'\n'; cygpath "$(VS80COMNTOOLS)../IDE")
INCLUDE := $(shell IFS=$$'\n'; cygpath -w "$(VS80COMNTOOLS)../../VC/include")
@@ -448,17 +471,19 @@ else ifeq ($(platform), windows_msvc2005_x86)
export LIB := $(LIB);$(INETSDK)\Lib
endif
else ifneq (,$(findstring windows_msvc2010,$(platform)))
HAVE_GDI := 1
HAVE_AUDIOMIXER := 1
HAVE_RPNG := 1
HAVE_RJPEG := 1
HAVE_RBMP := 1
HAVE_RTGA := 1
HAVE_ZLIB := 1
WANT_ZLIB := 1
HAVE_7ZIP := 1
HAVE_NETWORKING := 1
HAVE_NETWORK_CMD := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_STB_FONT := 1
@@ -470,7 +495,9 @@ else ifneq (,$(findstring windows_msvc2010,$(platform)))
HAVE_DYLIB := 1
HAVE_DYNAMIC := 1
HAVE_GRIFFIN_CPP := 1
HAVE_RUNAHEAD := 1
HAVE_DIRECTX ?= 1
HAVE_CONFIGFILE := 1
EXT_TARGET := $(TARGET_NAME).exe
EXT_INTER_TARGET := $(TARGET_NAME).exe
@@ -479,8 +506,8 @@ else ifneq (,$(findstring windows_msvc2010,$(platform)))
LD = link.exe
PLATCFLAGS += -D_WIN32 -D__STDC_CONSTANT_MACROS -D_MBCS
PLATCFLAGS += -D__i686__ -D__SSE__ -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINDOWS -DHAVE_CC_RESAMPLER -DHAVE_GL_SYNC -DHAVE_GLSL -DHAVE_IMAGEVIEWER -DHAVE_LANGEXTRA -DHAVE_OPENGL -DHAVE_SHADERPIPELINE -DHAVE_UPDATE_ASSETS -DWIN32 -DHAVE_EASTEREGG
LDFLAGS += shell32.lib user32.lib gdi32.lib comdlg32.lib winmm.lib ole32.lib iphlpapi.lib
PLATCFLAGS += -D__i686__ -D__MMX__ -D__SSE__ -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINDOWS -DHAVE_CC_RESAMPLER -DHAVE_GL_SYNC -DHAVE_GLSL -DHAVE_IMAGEVIEWER -DHAVE_LANGEXTRA -DHAVE_OPENGL -DHAVE_SHADERPIPELINE -DHAVE_ONLINE_UPDATER -DHAVE_UPDATE_ASSETS -DHAVE_UPDATE_CORES -DWIN32 -DHAVE_CDROM
LDFLAGS += shell32.lib user32.lib gdi32.lib comdlg32.lib winmm.lib ole32.lib iphlpapi.lib msimg32.lib
PlatformSuffix = $(subst windows_msvc2010_,,$(platform))
@@ -519,17 +546,19 @@ else ifneq (,$(findstring windows_msvc2010,$(platform)))
export LIB := $(LIB);$(WindowsSdkDir)\$(PlatLib)
endif
else ifneq (,$(findstring windows_msvc2012,$(platform)))
HAVE_GDI := 1
HAVE_AUDIOMIXER := 1
HAVE_RPNG := 1
HAVE_RJPEG := 1
HAVE_RBMP := 1
HAVE_RTGA := 1
HAVE_ZLIB := 1
WANT_ZLIB := 1
HAVE_7ZIP := 1
HAVE_NETWORKING := 1
HAVE_NETWORK_CMD := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_STB_FONT := 1
@@ -541,7 +570,9 @@ else ifneq (,$(findstring windows_msvc2012,$(platform)))
HAVE_DYLIB := 1
HAVE_DYNAMIC := 1
HAVE_GRIFFIN_CPP := 1
HAVE_RUNAHEAD := 1
HAVE_DIRECTX ?= 1
HAVE_CONFIGFILE := 1
EXT_TARGET := $(TARGET_NAME).exe
EXT_INTER_TARGET := $(TARGET_NAME).exe
@@ -550,7 +581,7 @@ else ifneq (,$(findstring windows_msvc2012,$(platform)))
LD = link.exe
PLATCFLAGS += -D_WIN32 -D__STDC_CONSTANT_MACROS -D_MBCS
PLATCFLAGS += -D__i686__ -D__SSE__ -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINDOWS -DHAVE_CC_RESAMPLER -DHAVE_GL_SYNC -DHAVE_GLSL -DHAVE_IMAGEVIEWER -DHAVE_LANGEXTRA -DHAVE_OPENGL -DHAVE_SHADERPIPELINE -DHAVE_UPDATE_ASSETS -DWIN32 -DHAVE_EASTEREGG
PLATCFLAGS += -D__i686__ -D__MMX__ -D__SSE__ -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINDOWS -DHAVE_CC_RESAMPLER -DHAVE_GL_SYNC -DHAVE_GLSL -DHAVE_IMAGEVIEWER -DHAVE_LANGEXTRA -DHAVE_OPENGL -DHAVE_SHADERPIPELINE -DHAVE_ONLINE_UPDATER -DHAVE_UPDATE_ASSETS -DHAVE_UPDATE_CORES -DWIN32 -DHAVE_CDROM
LDFLAGS += shell32.lib user32.lib gdi32.lib comdlg32.lib winmm.lib ole32.lib iphlpapi.lib
PlatformSuffix = $(subst windows_msvc2012_,,$(platform))
@@ -594,17 +625,19 @@ else ifneq (,$(findstring windows_msvc2012,$(platform)))
export LIB := $(LIB);$(WindowsSdkDir)\$(PlatLib)
endif
else ifneq (,$(findstring windows_msvc2013,$(platform)))
HAVE_GDI := 1
HAVE_AUDIOMIXER := 1
HAVE_RPNG := 1
HAVE_RJPEG := 1
HAVE_RBMP := 1
HAVE_RTGA := 1
HAVE_ZLIB := 1
WANT_ZLIB := 1
HAVE_7ZIP := 1
HAVE_NETWORKING := 1
HAVE_NETWORK_CMD := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_STB_FONT := 1
@@ -616,7 +649,9 @@ else ifneq (,$(findstring windows_msvc2013,$(platform)))
HAVE_DYLIB := 1
HAVE_DYNAMIC := 1
HAVE_GRIFFIN_CPP := 1
HAVE_RUNAHEAD := 1
HAVE_DIRECTX ?= 1
HAVE_CONFIGFILE := 1
EXT_TARGET := $(TARGET_NAME).exe
EXT_INTER_TARGET := $(TARGET_NAME).exe
@@ -625,7 +660,7 @@ else ifneq (,$(findstring windows_msvc2013,$(platform)))
LD = link.exe
PLATCFLAGS += -D_WIN32 -D__STDC_CONSTANT_MACROS -D_MBCS
PLATCFLAGS += -D__i686__ -D__SSE__ -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINDOWS -DHAVE_CC_RESAMPLER -DHAVE_GL_SYNC -DHAVE_GLSL -DHAVE_IMAGEVIEWER -DHAVE_LANGEXTRA -DHAVE_OPENGL -DHAVE_SHADERPIPELINE -DHAVE_UPDATE_ASSETS -DWIN32 -DHAVE_EASTEREGG
PLATCFLAGS += -D__i686__ -D__MMX__ -D__SSE__ -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINDOWS -DHAVE_CC_RESAMPLER -DHAVE_GL_SYNC -DHAVE_GLSL -DHAVE_IMAGEVIEWER -DHAVE_LANGEXTRA -DHAVE_OPENGL -DHAVE_SHADERPIPELINE -DHAVE_ONLINE_UPDATER -DHAVE_UPDATE_ASSETS -DHAVE_UPDATE_CORES -DWIN32 -DHAVE_CDROM
LDFLAGS += shell32.lib user32.lib gdi32.lib comdlg32.lib winmm.lib ole32.lib iphlpapi.lib
PlatformSuffix = $(subst windows_msvc2013_,,$(platform))
@@ -669,17 +704,19 @@ else ifneq (,$(findstring windows_msvc2013,$(platform)))
export LIB := $(LIB);$(WindowsSdkDir)\$(PlatLib)
endif
else ifneq (,$(findstring windows_msvc2015,$(platform)))
HAVE_GDI := 1
HAVE_AUDIOMIXER := 1
HAVE_RPNG := 1
HAVE_RJPEG := 1
HAVE_RBMP := 1
HAVE_RTGA := 1
HAVE_ZLIB := 1
WANT_ZLIB := 1
HAVE_7ZIP := 1
HAVE_NETWORKING := 1
HAVE_NETWORK_CMD := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_STB_FONT := 1
@@ -691,7 +728,9 @@ else ifneq (,$(findstring windows_msvc2015,$(platform)))
HAVE_DYLIB := 1
HAVE_DYNAMIC := 1
HAVE_GRIFFIN_CPP := 1
HAVE_RUNAHEAD := 1
HAVE_DIRECTX ?= 1
HAVE_CONFIGFILE := 1
EXT_TARGET := $(TARGET_NAME).exe
EXT_INTER_TARGET := $(TARGET_NAME).exe
@@ -699,8 +738,9 @@ else ifneq (,$(findstring windows_msvc2015,$(platform)))
CXX = cl.exe
LD = link.exe
PLATCFLAGS += -utf-8
PLATCFLAGS += -D_WIN32 -D__STDC_CONSTANT_MACROS -D_MBCS
PLATCFLAGS += -D__i686__ -D__SSE__ -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINDOWS -DHAVE_CC_RESAMPLER -DHAVE_GL_SYNC -DHAVE_GLSL -DHAVE_IMAGEVIEWER -DHAVE_LANGEXTRA -DHAVE_OPENGL -DHAVE_SHADERPIPELINE -DHAVE_UPDATE_ASSETS -DWIN32 -DHAVE_EASTEREGG
PLATCFLAGS += -D__i686__ -D__MMX__ -D__SSE__ -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINDOWS -DHAVE_CC_RESAMPLER -DHAVE_GL_SYNC -DHAVE_GLSL -DHAVE_IMAGEVIEWER -DHAVE_LANGEXTRA -DHAVE_OPENGL -DHAVE_SHADERPIPELINE -DHAVE_ONLINE_UPDATER -DHAVE_UPDATE_ASSETS -DHAVE_UPDATE_CORES -DWIN32 -DHAVE_CDROM
LDFLAGS += shell32.lib user32.lib gdi32.lib comdlg32.lib winmm.lib ole32.lib iphlpapi.lib
PlatformSuffix = $(subst windows_msvc2015_,,$(platform))
@@ -758,15 +798,85 @@ else ifneq (,$(findstring windows_msvc2015,$(platform)))
export INCLUDE := $(INCLUDE);libretro-common\include;libretro-common\include\compat\msvc;gfx\include;deps;deps\stb
export LIB := $(LIB)
endif
else ifeq (qnx,$(platform))
HAVE_AUDIOMIXER := 1
HAVE_RPNG := 1
HAVE_RJPEG := 1
HAVE_RBMP := 1
HAVE_RTGA := 1
HAVE_ZLIB := 1
HAVE_7ZIP := 1
HAVE_NETWORKING := 1
HAVE_NETWORK_CMD := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_STB_FONT := 1
HAVE_THREADS := 1
HAVE_LIBRETRODB := 1
HAVE_COMMAND := 1
HAVE_STDIN_CMD := 1
HAVE_CMD := 1
HAVE_DYLIB := 1
HAVE_DYNAMIC := 1
HAVE_GRIFFIN_CPP := 0
WANT_GLSLANG := 0
HAVE_CONFIGFILE := 1
CC=qcc -Vgcc_ntoarmv7le
CXX=QCC -Vgcc_ntoarmv7le
ifeq ($(DEBUG), 1)
LDFLAGS += -g
endif
PLATCFLAGS += -DHAVE_SHADERPIPELINE -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_OZONE -DHAVE_CC_RESAMPLER -DHAVE_CHEEVOS -DRC_DISABLE_LUA -DHAVE_FBO -DHAVE_GL_SYNC -DHAVE_GLSLANG -DHAVE_BUILTINGLSLANG -DHAVE_IMAGEVIEWER -DHAVE_LANGEXTRA -DHAVE_RUNAHEAD -DHAVE_GFX_WIDGETS -DHAVE_CONFIGFILE -DHAVE_SPIRV_CROSS -DHAVE_STB_FONT -DHAVE_ONLINE_UPDATER -DHAVE_UPDATE_ASSETS -DHAVE_UPDATE_CORES -DHAVE_XMB -DRARCH_INTERNAL -DWANT_GLSLANG -DHAVE_XCB -DHAVE_EGL -DHAVE_BB10 -DHAVE_GLSL -DHAVE_AL -DRARCH_MOBILE
EXT_TARGET := $(TARGET_NAME)
EXT_INTER_TARGET := $(TARGET_NAME)
INCLUDE += -Ilibretro-common/include -Igfx/include -Ideps -Ideps/stb -Ideps/rcheevos/include -Ideps/SPIRV-Cross -Ideps/glslang -I.
LIBS += -lEGL -lbps -lscreen -lsocket -lm -lGLESv2 -lOpenAL
else ifneq (,$(findstring unix,$(platform)))
HAVE_AUDIOMIXER := 1
HAVE_RPNG := 1
HAVE_RJPEG := 1
HAVE_RBMP := 1
HAVE_RTGA := 1
HAVE_ZLIB := 1
HAVE_7ZIP := 1
HAVE_NETWORKING := 1
HAVE_NETWORK_CMD := 1
HAVE_NETPLAYDISCOVERY := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_STB_FONT := 1
HAVE_THREADS := 1
HAVE_LIBRETRODB := 1
HAVE_COMMAND := 1
HAVE_STDIN_CMD := 1
HAVE_CMD := 1
HAVE_DYLIB := 1
HAVE_DYNAMIC := 1
HAVE_GRIFFIN_CPP := 1
WANT_GLSLANG := 1
HAVE_CONFIGFILE := 1
PLATCFLAGS += -D__MMX__ -D__SSE__ -DHAVE_OPENGL -DHAVE_OPENGL1 -DHAVE_GLSL -DHAVE_SHADERPIPELINE -DHAVE_OZONE -DHAVE_CC_RESAMPLER -DHAVE_CHEEVOS -DRC_DISABLE_LUA -DHAVE_FBO -DHAVE_GL_SYNC -DHAVE_SLANG -DHAVE_GLSLANG -DHAVE_BUILTINGLSLANG -DHAVE_IMAGEVIEWER -DHAVE_LANGEXTRA -DHAVE_RUNAHEAD -DHAVE_GFX_WIDGETS -DHAVE_CONFIGFILE -DHAVE_SPIRV_CROSS -DHAVE_STB_FONT -DHAVE_ONLINE_UPDATER -DHAVE_UPDATE_ASSETS -DHAVE_UPDATE_CORES -DHAVE_VULKAN -DHAVE_XMB -DRARCH_INTERNAL -DWANT_GLSLANG -DHAVE_X11 -DHAVE_XCB -DHAVE_UDEV -DHAVE_PULSE
EXT_TARGET := $(TARGET_NAME)
EXT_INTER_TARGET := $(TARGET_NAME)
INCLUDE += -Ilibretro-common/include -Igfx/include -Ideps -Ideps/stb -Ideps/rcheevos/include -Ideps/SPIRV-Cross -Ideps/glslang -I.
LIBS += -ldl -lm -lpthread -lGL -ludev -lpulse -lX11 -lX11-xcb -lXxf86vm
endif
ifneq (,$(findstring msvc,$(platform)))
CFLAGS += -W2 $(MACHDEP) $(PLATCFLAGS)
CFLAGS += -W3 $(MACHDEP) $(PLATCFLAGS)
else
CFLAGS += -Wall -std=gnu99 $(MACHDEP) $(PLATCFLAGS) $(INCLUDE)
INCLUDE += -I./libretro-common/include \
-Ideps \
-Ideps/stb
-Ideps/stb
endif
OBJ = griffin/griffin.o $(PLATOBJS)
@@ -826,10 +936,7 @@ endif
ifeq ($(HAVE_ZLIB), 1)
CFLAGS += -DHAVE_ZLIB
endif
ifeq ($(WANT_ZLIB), 1)
CFLAGS += -DWANT_ZLIB
CFLAGS += -I./libretro-common/include/compat/zlib
endif
ifeq ($(HAVE_RPNG), 1)
@@ -856,10 +963,18 @@ ifeq ($(HAVE_7ZIP), 1)
CFLAGS += -DHAVE_7ZIP
endif
ifeq ($(HAVE_AUDIOMIXER), 1)
CFLAGS += -DHAVE_AUDIOMIXER
endif
ifeq ($(HAVE_OVERLAY), 1)
CFLAGS += -DHAVE_OVERLAY
endif
ifeq ($(HAVE_VIDEO_LAYOUT), 1)
CFLAGS += -DHAVE_VIDEO_LAYOUT
endif
ifeq ($(HAVE_NETWORKING), 1)
CFLAGS += -DHAVE_NETWORKING
endif
@@ -914,6 +1029,10 @@ ifeq ($(HAVE_THREADS), 1)
endif
endif
ifeq ($(HAVE_CONFIGFILE), 1)
CFLAGS += -DHAVE_CONFIGFILE
endif
ifeq ($(HAVE_RSOUND), 1)
CFLAGS += -DHAVE_RSOUND
endif
@@ -973,8 +1092,8 @@ ifneq (,$(findstring msvc,$(platform)))
LINKOUT = -out:
LINK = link.exe
else
OBJOUT = -o
LINKOUT = -o
OBJOUT = -o
LINKOUT = -o
LINK = $(CXX)
endif
@@ -1022,7 +1141,12 @@ $(APP_BOOTER_DIR)/app_booter.bin:
$(MAKE) -C $(APP_BOOTER_DIR)
pkg: all
ifeq ($(platform), wii)
ifeq ($(platform), qnx)
mkdir -p pkg/qnx/pkg
cp -r $(EXT_TARGET) pkg/qnx/pkg/RetroArch
cp -r media/canvas.png pkg/qnx/pkg/canvas.png
cp -r media/retroarch-96x96.png pkg/qnx/pkg/retroarch-96x96.png
else ifeq ($(platform), wii)
cp -r $(EXT_TARGET) pkg/wii/CORE.dol
else ifeq ($(platform), ngc)
cp -r $(EXT_TARGET) pkg/ngc/CORE.dol
@@ -1030,6 +1154,18 @@ else ifeq ($(platform), psp1)
psp-fixup-imports$(EXT) $(EXT_TARGET)
endif
ifeq ($(platform), qnx)
retroarch-dev.bar: pkg
ifeq ($(QNX_DEBUGTOKEN),)
blackberry-nativepackager -package $@ -devMode pkg/qnx/bar-descriptor.xml -C pkg/qnx/pkg pkg/qnx/pkg/*
else
blackberry-nativepackager -package $@ -devMode -debugToken $(QNX_DEBUGTOKEN) pkg/qnx/bar-descriptor.xml -C pkg/qnx/pkg pkg/qnx/pkg/*
endif
retroarch-release.bar: pkg
blackberry-nativepackager -package $@ pkg/qnx/bar-descriptor.xml -C pkg/qnx/pkg pkg/qnx/pkg/*
endif
shaders-checkout:
@if test -d $(SHADER_CG_DIR); then \
echo "[SHADER CHECKOUT::] Git pulling common-shaders..."; \
+15 -12
View File
@@ -17,13 +17,13 @@ DEBUG ?= 0
WHOLE_ARCHIVE_LINK = 0
GRIFFIN_BUILD = 0
OBJ :=
OBJ :=
# For threading we need to overwrite some vars with global defines because devkitPro's includes
# make it hard for us. This works for the pthread wrapper
DEFINES_THREAD := -Dpthread_t=Thread -Dpthread_mutex_t=Mutex -Dpthread_mutexattr_t='void*' -Dpthread_attr_t=int -Dpthread_cond_t=CondVar -Dpthread_condattr_t='int' -D_SYS__PTHREADTYPES_H_
DEFINES := -D__SWITCH__=1 -U__linux__ -U__linux -DGLM_FORCE_PURE=1 -DRARCH_CONSOLE -DRARCH_INTERNAL -DGLOBAL_CONFIG_DIR='"/switch"' $(DEFINES_THREAD) -DHAVE_STB_VORBIS
DEFINES := -D__SWITCH__=1 -U__linux__ -U__linux -DGLM_FORCE_PURE=1 -DRARCH_CONSOLE -DRARCH_INTERNAL -DGLOBAL_CONFIG_DIR='"/switch"' -DHAVE_STB_VORBIS
HAVE_DR_MP3 = 1
HAVE_TRANSLATE = 1
HAVE_AUDIOMIXER = 1
HAVE_CC_RESAMPLER = 1
HAVE_MENU_COMMON = 1
HAVE_RTGA = 1
@@ -36,6 +36,7 @@ HAVE_LIBRETRODB = 1
HAVE_STATIC_VIDEO_FILTERS = 1
HAVE_STATIC_AUDIO_FILTERS = 1
HAVE_MENU = 1
HAVE_CONFIGFILE = 1
HAVE_RUNAHEAD = 1
HAVE_NETWORKING = 1
HAVE_NETPLAYDISCOVERY = 1
@@ -52,6 +53,7 @@ HAVE_SWITCH = 1
HAVE_LIBNX = 1
HAVE_OPENGL = 1
HAVE_LANGEXTRA = 1
HAVE_GFX_WIDGETS = 1
ifeq ($(HAVE_OPENGL), 1)
HAVE_EGL = 1
@@ -61,6 +63,8 @@ ifeq ($(HAVE_OPENGL), 1)
HAVE_XMB = 1
HAVE_OZONE = 1
HAVE_OVERLAY = 1
HAVE_VIDEO_LAYOUT = 1
HAVE_GLSL = 1
else
HAVE_RGUI = 1
HAVE_MATERIALUI = 0
@@ -113,24 +117,23 @@ APP_ICON := pkg/libnx/retroarch.jpg
ARCH := -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -mcpu=cortex-a57+crc+fp+simd
CFLAGS := -g -Wall -O3 -ffast-math -ffunction-sections \
$(ARCH) $(DEFINES) -Ideps -Ideps/libz -Ilibretro-common/include -Ideps/stb -I$(LIBNX)/include -I$(PORTLIBS)/include/ -include $(LIBNX)/include/switch.h #$(shell $(PORTLIBS)/bin/freetype-config --cflags)
$(ARCH) $(DEFINES) $(INCLUDE_DIRS) -I$(LIBNX)/include -I$(PORTLIBS)/include/ -include $(LIBNX)/include/switch.h #$(shell $(PORTLIBS)/bin/freetype-config --cflags)
CFLAGS += $(INCLUDE) -DSWITCH=1 -DHAVE_LIBNX=1 -DNXLINK=1 -DHAVE_SHADERPIPELINE -DHAVE_UPDATE_ASSETS -DHAVE_STB_FONT #-DHAVE_FREETYPE
CFLAGS += $(INCLUDE) -DSWITCH=1 -DHAVE_LIBNX=1 -DNXLINK=1 -DHAVE_SHADERPIPELINE -DHAVE_ONLINE_UPDATER -DHAVE_UPDATE_ASSETS -DHAVE_UPDATE_CORES -DHAVE_STB_FONT #-DHAVE_FREETYPE
ifeq ($(strip $(HAVE_STATIC_DUMMY)),1)
CFLAGS += -DHAVE_STATIC_DUMMY=1
endif
# The following line works around an issue in newlib that produces a compilation
# error in glm. It will be removed as soon as this issue is resolved.
CFLAGS += -D_GLIBCXX_USE_C99_MATH_TR1 -D_LDBL_EQ_DBL
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs $(ARCH) -Wl,--allow-multiple-definition -Wl,-Map,$(notdir $*.map)
LIBS := -lstdc++ -lbz2 -lpng -lz -lnx -lm
# add things from Makefile.common
CFLAGS += $(DEF_FLAGS)
LIBS := -lswresample -lavformat -lavcodec -lavutil -lswscale -lstdc++ -lbz2 -lpng -lz -lnx -lvpx -lopus -llzma -lm
ifeq ($(HAVE_OPENGL), 1)
LIBS := -lEGL -lglapi -ldrm_nouveau $(LIBS)
+2 -2
View File
@@ -29,7 +29,7 @@ ifneq (,$(findstring Darwin,$(UNAME_S)))
endif
#---------------------------------------------------------------------------------
# path to tools
# path to tools
#---------------------------------------------------------------------------------
export PORTLIBS := $(DEVKITPRO)/portlibs/ppc
export PATH := $(DEVKITPPC)/bin:$(PORTLIBS)/bin:$(PATH)
@@ -56,7 +56,7 @@ ISVC=$(or $(VCBUILDHELPER_COMMAND),$(MSBUILDEXTENSIONSPATH32),$(MSBUILDEXTENSION
#---------------------------------------------------------------------------------
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c $< -o $@
#---------------------------------------------------------------------------------
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
+20 -2
View File
@@ -11,6 +11,7 @@ WindowsSdkDir = C:\Program Files (x86)\Windows Kits\10\$(NOTHING)
WindowsSDKVersion := 10.0.14393.0\$(NOTHING)
VCINSTALLDIR := C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\$(NOTHING)
HAVE_AUDIOMIXER := 1
HAVE_D3DX := 1
HAVE_D3D8 := 0
HAVE_D3D9 := 1
@@ -19,6 +20,8 @@ HAVE_D3D11 := 1
HAVE_D3D12 := 1
HAVE_CG := 1
HAVE_OPENGL := 1
HAVE_OPENGL1 := 1
HAVE_GFX_WIDGETS := 1
HAVE_VULKAN := 1
HAVE_XAUDIO := 1
HAVE_XINPUT := 1
@@ -28,7 +31,7 @@ HAVE_WINMM := 1
HAVE_RPNG := 1
HAVE_ZLIB := 1
WANT_ZLIB := 1
HAVE_CONFIGFILE := 1
HAVE_MENU := 1
HAVE_RGUI := 1
HAVE_XMB := 1
@@ -52,11 +55,26 @@ HAVE_7ZIP := 1
HAVE_NETWORKING := 1
HAVE_NETWORK_CMD := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_LANGEXTRA := 1
HAVE_CHEEVOS := 1
HAVE_SHADERPIPELINE := 1
HAVE_IMAGEVIEWER := 1
ifeq ($(HAVE_D3D8), 1)
D3D8_LIBS := -ld3d8
ifeq ($(HAVE_D3DX), 1)
D3DX8_LIBS := -ld3dx8
endif
endif
ifeq ($(HAVE_D3D9), 1)
D3D9_LIBS := -ld3d9
ifeq ($(HAVE_D3DX), 1)
D3DX9_LIBS := -ld3dx9
endif
endif
include Makefile.common
INCLUDE_DIRS := $(patsubst -isystem%,-I%,$(INCLUDE_DIRS))
CFLAGS := $(filter-out -Wno-unknown-pragmas,$(DEF_FLAGS))
@@ -120,7 +138,7 @@ endif
FLAGS += -nologo -MP
FLAGS += -Gm- -Zc:inline -fp:precise -Zc:forScope -GR- -Gd -Oi -volatile:iso
#FLAGS += -Zc:wchar_t -Zp16 -Z7
#FLAGS += -utf-8
FLAGS += -utf-8
#FLAGS += -source-charset:utf-8
CXXFLAGS += $(CFLAGS) -TP -EHsc
+1 -1
View File
@@ -15,7 +15,7 @@ LDFLAGS = -L$(PNDSDK)/usr/lib -Wl,-rpath,$(PNDSDK)/usr/lib
LIBS = -lGLESv2 -lEGL -ldl -lm -lpthread -lrt -lasound
DEFINES = -std=gnu99 -DHAVE_THREADS -DHAVE_GETOPT_LONG=1 -DHAVE_GRIFFIN -DRARCH_INTERNAL
DEFINES += -D__ARM_ARCH_6__ -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -DHAVE_DYNAMIC -DHAVE_RPNG -DHAVE_RJPEG -DWANT_ZLIB -DHAVE_OVERLAY -DHAVE_ALSA -DHAVE_ZLIB -D__linux__
DEFINES += -DHAVE_CONFIGFILE -D__ARM_ARCH_6__ -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_GLSL -DHAVE_DYNAMIC -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_OVERLAY -DHAVE_VIDEO_LAYOUT -DHAVE_ALSA -DHAVE_ZLIB -D__linux__
DEFINES += $(INCDIRS)
DEFINES += -D__OPENPANDORA__ -DPANDORA
DEFINES += -marm -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize
+11 -12
View File
@@ -16,8 +16,8 @@ DEFINES :=
ifeq ($(GRIFFIN_BUILD), 1)
OBJ += griffin/griffin.o
DEFINES += -DHAVE_GRIFFIN=1
DEFINES += -DHAVE_MENU -DHAVE_LIBRETRODB
DEFINES += -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA -DWANT_ZLIB -DHAVE_CC_RESAMPLER
DEFINES += -DHAVE_MENU -DHAVE_LIBRETRODB -DHAVE_CONFIGFILE
DEFINES += -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA -DHAVE_CC_RESAMPLER
ifeq ($(DEBUG), 1)
DEFINES += -DHAVE_NETLOGGER
endif
@@ -31,13 +31,17 @@ else
HAVE_RTGA := 1
HAVE_ZLIB := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_7ZIP := 1
HAVE_EGL := 1
HAVE_GFX_WIDGETS := 1
HAVE_GLSL := 1
HAVE_OPENGLES := 1
HAVE_NETWORKING := 0
HAVE_SOCKET_LEGACY := 0
HAVE_MENU := 1
HAVE_MENU_COMMON := 1
HAVE_CONFIGFILE := 1
HAVE_RGUI := 0
HAVE_MATERIALUI := 0
HAVE_XMB := 1
@@ -57,11 +61,6 @@ else
CFLAGS += $(DEF_FLAGS)
BLACKLIST :=
OBJ := $(filter-out $(BLACKLIST),$(OBJ))
OBJ += input/drivers/ps4_input.o
OBJ += input/drivers_joypad/ps4_joypad.o
OBJ += audio/drivers/psp_audio.o
#OBJ += frontend/drivers/platform_orbis.o
endif
ifeq ($(strip $(PS4SDK)),)
@@ -81,7 +80,7 @@ STRIP := $(PREFIX)strip
NM := $(PREFIX)nm
LD := $(CXX)
INCDIRS := -I. -Ideps/libz -Ideps/7zip -Ilibretro-common/include -Ideps/stb
INCDIRS := -I. -Ideps/7zip -Ilibretro-common/include -Ideps/stb -Ilibretro-common/include/compat/zlib
LIBDIRS := -L.
ARCHFLAGS := -m64 -DORBIS
@@ -117,12 +116,12 @@ ifeq ($(WHOLE_ARCHIVE_LINK), 1)
WHOLE_START := -Wl,--whole-archive
WHOLE_END := -Wl,--no-whole-archive
endif
CXXFLAGS := $(CFLAGS)
CXXFLAGS := $(CFLAGS)
PS4_LIBS := -lps4link -ldebugnet -lorbisFile -lelfloader -lorbisKeyboard -lorbis2d -lpng -lz -lorbisGl -lorbisPad -lorbisAudio -lmod -lorbisFileBrowser -lorbisXbmFont -lSceNet_stub -lScePigletv2VSH_stub -lSceSystemService_stub -lSceUserService_stub -lScePad_stub -lSceAudioOut_stub -lSceIme_stub -lSceSysmodule_stub \
-lPs4_extension_kernel_call_standard -lPs4_extension_kernel_execute_dynlib_prepare_dlclose -lPs4_common_kernel -lPs4_common_user -lPs4_common_generic -lPs4LibCInternalAdaptive_stub -lPs4LibKernelAdaptive_stub -lSceLibcInternal_stub -lkernel_stub -lps4Kernel_stub -lPs4_base_stub_resolve_minimal -lPs4_base_kernel_dlsym_standard -lPs4_base_kernel_seek_elf_address_standard -lPs4_base_assembler_register_parameter_standard -lPs4_base_assembler_system_call_standard
LIBS := $(WHOLE_START) -lretro_orbis $(WHOLE_END) $(PS4_LIBS)
LIBS := $(WHOLE_START) -lretro_orbis $(WHOLE_END) $(PS4_LIBS)
TARGETS := $(TARGET).elf
@@ -157,10 +156,10 @@ $(TARGET).elf: $(OBJ) libretro_orbis.a
$(LD) $(CRTFILE) $(OBJ) $(LDFLAGS) $(LIBDIRS) $(LIBS) -o $@
clean:
rm -f $(OBJ) $(TARGET).elf
rm -f $(OBJ) $(TARGET).elf
rm -f $(OBJ:.o=.depend)
.PHONY: clean all
.PHONY: clean all
.PRECIOUS: %.depend
-include $(OBJ:.o=.depend)
+1 -1
View File
@@ -36,7 +36,7 @@ retroarch.pnd: install
pnd_make -c -p retroarch.pnd -d $(PNDDIR)/ -x $(PNDDIR)/PXML.xml -i $(PNDDIR)/icon.png
clean:
rm -f *.o
rm -f *.o
rm -f audio/*.o
rm -f conf/*.o
rm -f gfx/*.o
+35 -26
View File
@@ -1,20 +1,23 @@
BUILD_PRX = 0
BUILD_FOR_PCSX2 = 0
DEBUG = 0
HAVE_KERNEL_PRX = 0
HAVE_LOGGER = 0
HAVE_FILE_LOGGER = 0
HAVE_THREADS = 0
BIG_STACK = 0
MUTE_WARNINGS = 0
MUTE_WARNINGS = 1
PS2_IP = 192.168.1.150
#Configuration for IRX
EE_BIN2O = bin2o
IRX_DIR = $(PS2SDK)/iop/irx
TARGET = retroarchps2.elf
TARGET_RELEASE = retroarchps2-release.elf
# Lib CDVD
CDVD_DIR = ps2/libcdvd
# Compile the IRXs first
IRX_DIR = ps2/irx
IRX_FILES = $(wildcard ps2/irx/*.c)
ifeq ($(DEBUG), 1)
OPTIMIZE_LV := -O0 -g
RARCH_DEFINES += -DDEBUG
@@ -27,25 +30,24 @@ ifeq ($(MUTE_WARNINGS), 1)
DISABLE_WARNINGS := -Wno-sign-compare -Wno-unused -Wno-parentheses
endif
INCDIR = -I$(PS2DEV)/gsKit/include -I$(PS2SDK)/ports/include
INCDIR += -Ips2 -Ips2/include -Ilibretro-common/include
INCDIR += -Ideps -Ideps/stb -Ideps/libz -Ideps/7zip -Ideps/pthreads -Ideps/pthreads/platform/ps2 -Ideps/pthreads/platform/helper
INCDIR = -I$(PS2DEV)/gsKit/include -I$(PS2SDK)/ports/include -I$(CDVD_DIR)/ee
INCDIR += -Ips2 -Ips2/include -Ilibretro-common/include -Ideps -Ideps/stb -Ideps/7zip
INCDIR += -Ideps/pthreads -Ideps/pthreads/platform/ps2 -Ideps/pthreads/platform/helper
GPVAL = -G0
CFLAGS = $(OPTIMIZE_LV) $(DISABLE_WARNINGS) -ffast-math -fsingle-precision-constant
ASFLAGS = $(CFLAGS)
RARCH_DEFINES += -DPS2 -DUSE_IOP_CTYPE_MACRO -D_MIPS_ARCH_R5900 -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DWANT_ZLIB
RARCH_DEFINES += -DHAVE_GRIFFIN=1 -DRARCH_INTERNAL -DRARCH_CONSOLE -DHAVE_MENU -DHAVE_RGUI -DHAVE_FILTERS_BUILTIN -DHAVE_7ZIP -DHAVE_CC_RESAMPLER
RARCH_DEFINES += -DPS2 -DUSE_IOP_CTYPE_MACRO -D_MIPS_ARCH_R5900 -DHAVE_ZLIB -DHAVE_NO_BUILTINZLIB -DHAVE_RPNG -DHAVE_RJPEG
RARCH_DEFINES += -DHAVE_GRIFFIN=1 -DRARCH_INTERNAL -DRARCH_CONSOLE -DHAVE_MENU -DHAVE_CONFIGFILE -DHAVE_RGUI -DHAVE_FILTERS_BUILTIN -DHAVE_7ZIP -DHAVE_CC_RESAMPLER
LIBDIR =
LDFLAGS += -L$(PS2SDK)/ports/lib -L$(PS2DEV)/gsKit/lib -L$(PS2SDK)/ee/lib -L.
LIBS += -lretro_ps2 -lgskit -ldmakit -lgskit_toolkit -laudsrv -lpad -lmc -lhdd -lsdl -lfileXio -lpatches -lpoweroff
LDFLAGS += -L$(PS2SDK)/ports/lib -L$(PS2DEV)/gsKit/lib -L$(PS2SDK)/ee/lib -L$(CDVD_DIR)/lib -L.
LIBS += -lretro_ps2 -lgskit -ldmakit -lgskit_toolkit -laudsrv -lmf -lpadx -lmtap -lmc -lhdd -lsdl -lfileXio -lz
LIBS += -lcdvdfs -lpatches -lpoweroff
#IRX modules
# IRX modules - modules have to be in IRX_DIR
IRX = iomanX.irx fileXio.irx mcman.irx mcserv.irx usbd.irx usbhdfsd.irx freesd.irx audsrv.irx poweroff.irx ps2dev9.irx ps2atad.irx ps2hdd.irx ps2fs.irx
IRX_OBJ = $(IRX:.irx=.o)
EE_OBJS += $(IRX_OBJ)
ifeq ($(BUILD_FOR_PCSX2), 1)
RARCH_DEFINES += -DBUILD_FOR_PCSX2
endif
ifeq ($(HAVE_THREADS), 1)
RARCH_DEFINES += -DHAVE_THREADS
@@ -65,8 +67,15 @@ endif
CFLAGS += $(RARCH_DEFINES)
# All the IRX objects
EE_OBJS += $(IRX_DIR)/freemtap_irx.o $(IRX_DIR)/freepad_irx.o $(IRX_DIR)/freesio2_irx.o $(IRX_DIR)/iomanX_irx.o
EE_OBJS += $(IRX_DIR)/fileXio_irx.o $(IRX_DIR)/mcman_irx.o $(IRX_DIR)/mcserv_irx.o $(IRX_DIR)/usbd_irx.o
EE_OBJS += $(IRX_DIR)/usbhdfsd_irx.o $(IRX_DIR)/freesd_irx.o $(IRX_DIR)/audsrv_irx.o $(IRX_DIR)/poweroff_irx.o
EE_OBJS += $(IRX_DIR)/cdvd_irx.o
# Missing objecst on the PS2SDK
EE_OBJS += ps2/compat_files/compat_ctype.o ps2/compat_files/time.o
EE_OBJS += ps2/compat_files/compat_ctype.o ps2/compat_files/time.o ps2/compat_files/ps2_devices.o
EE_OBJS += ps2/compat_files/fileXio_cdvd.o ps2/compat_files/ps2_descriptor.o
#EE_OBJS = griffin/griffin.o bootstrap/ps2/kernel_functions.o
EE_OBJS += griffin/griffin.o
@@ -77,14 +86,18 @@ EE_LDFLAGS = $(LDFLAGS)
EE_LIBS = $(LIBS)
EE_ASFLAGS = $(ASFLAGS)
EE_INCS = $(INCDIR)
EE_IRX_OBJ = $(IRX_OBJ)
EE_BIN = $(TARGET)
EE_GPVAL = $(GPVAL)
all: $(EE_IRX_OBJ) $(EE_BIN)
all: irxdir $(EE_BIN)
irxdir:
$(MAKE) -C $(IRX_DIR)
clean:
rm -f $(EE_BIN) $(EE_OBJS)
$(MAKE) -C $(IRX_DIR) clean
prepare:
ps2client -h $(PS2_IP) reset
@@ -100,12 +113,8 @@ package:
release: clean all package
#Specific file name and output per IRX Module
$(EE_IRX_OBJ):
$(EE_BIN2O) $(EE_GPVAL) $(IRX_DIR)/$(@:.o=.irx) $@ $(@:.o=_irx)
#Include preferences
include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.pref
include $(PS2SDK)/samples/Makefile.eeglobal
#Linking with C++
+12 -7
View File
@@ -33,7 +33,13 @@ EBOOT_PATH = pkg/ps3/USRDIR/EBOOT.BIN
CORE_PATH = pkg/ps3/USRDIR/cores/CORE.SELF
LDDIRS = -L. -L$(CELL_SDK)/target/ppu/lib/PSGL/RSX/ultra-opt
INCDIRS = -I. -Idefines -Ideps/libz -Ilibretro-common/include -Ideps -Ideps/stb
INCDIRS = -I. \
-Idefines \
-Ideps \
-Ideps/stb \
-Ideps/rcheevos/include \
-Ilibretro-common/include \
-Ilibretro-common/include/compat/zlib
# system platform
system_platform = unix
@@ -63,7 +69,9 @@ endif
PPU_SRCS = griffin/griffin.c
DEFINES += -DHAVE_MENU -DHAVE_RGUI -DHAVE_XMB -DHAVE_LIBRETRODB -DHAVE_MATERIALUI -DHAVE_SHADERPIPELINE -DRARCH_INTERNAL -DMSB_FIRST -DHAVE_OVERLAY -DHAVE_CC_RESAMPLER -DHAVE_STB_VORBIS -DHAVE_STB_FONT -DHAVE_RUNAHEAD -DHAVE_DR_MP3 -DHAVE_DR_FLAC
DEFINES += -DHAVE_VIDEO_LAYOUT
DEFINES += -DHAVE_MENU -DHAVE_CONFIGFILE -DHAVE_GFX_WIDGETS -DHAVE_RGUI -DHAVE_XMB -DHAVE_OZONE -DHAVE_LIBRETRODB -DHAVE_MATERIALUI -DHAVE_SHADERPIPELINE -DRARCH_INTERNAL -DMSB_FIRST -DHAVE_OVERLAY -DHAVE_CC_RESAMPLER -DHAVE_STB_VORBIS -DHAVE_STB_FONT -DHAVE_RUNAHEAD -DHAVE_DR_MP3 -DHAVE_DR_FLAC
DEFINES += -DHAVE_ONLINE_UPDATER -DHAVE_UPDATE_ASSETS -DHAVE_UPDATE_CORES
ifeq ($(DEX_BUILD), 1)
DEFINES += -DDEX_BUILD
@@ -87,9 +95,6 @@ endif
ifeq ($(HAVE_FREETYPE), 1)
DEFINES += -DHAVE_FREETYPE
FONT_LIBS := -lfontFT_stub -lfreetype_stub
else
#DEFINES += -DHAVE_LIBDBGFONT
#FONT_LIBS := -ldbgfont
endif
ifeq ($(CELL_BUILD_TOOLS), SNC)
@@ -112,7 +117,7 @@ PPU_LDLIBS = $(FONT_LIBS) $(GL_LIBS) $(WHOLE_START) -lretro_ps3 $(WHOLE_END) -l
PPU_RANLIB = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ranlib.exe
DEFINES += -DHAVE_THREADS -DRARCH_CONSOLE -DHAVE_OPENGL -DHAVE_HEADSET -DHAVE_LANGEXTRA -DHAVE_OPENGLES -DHAVE_OPENGLES1 -DHAVE_PSGL -DHAVE_CG -DHAVE_CG_RUNTIME_COMPILER -DHAVE_SYSMODULES -DHAVE_SYSUTILS -DHAVE_RARCH_EXEC -DHAVE_RSOUND -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA -DHAVE_7Z -DWANT_ZLIB -D__CELLOS_LV2__ -DHAVE_NETWORKING=1 -DHAVE_SOCKET_LEGACY=1 -DHAVE_MOUSE -DHAVE_GRIFFIN=1 -DHAVE_MULTIMAN=1 -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) -DHAVE_FILTERS_BUILTIN -DHAVE_CHEEVOS -DRC_DISABLE_LUA
DEFINES += -DHAVE_THREADS -DRARCH_CONSOLE -DHAVE_OPENGL -DHAVE_HEADSET -DHAVE_LANGEXTRA -DHAVE_OPENGLES -DHAVE_OPENGLES1 -DHAVE_PSGL -DHAVE_CG -DHAVE_CG_RUNTIME_COMPILER -DHAVE_SYSMODULES -DHAVE_SYSUTILS -DHAVE_RARCH_EXEC -DHAVE_RSOUND -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA -DHAVE_7Z -D__CELLOS_LV2__ -DHAVE_NETWORKING=1 -DHAVE_SOCKET_LEGACY=1 -DHAVE_MOUSE -DHAVE_GRIFFIN=1 -DHAVE_MULTIMAN=1 -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) -DHAVE_FILTERS_BUILTIN -DHAVE_CHEEVOS -DRC_DISABLE_LUA
#DEFINES += -DHAVE_IMAGEVIEWER
@@ -159,7 +164,7 @@ create-core:
create-npdrm-salamander:
$(MAKE_FSELF_NPDRM) $(SALAMANDER_TARGET) $(EBOOT_PATH)
create-salamander:
$(MAKE_SELF) $(SALAMANDER_TARGET) $(EBOOT_PATH) $(CONTENT_ID_FULL)
+3 -5
View File
@@ -85,9 +85,6 @@ endif
ifeq ($(HAVE_FREETYPE), 1)
DEFINES += -DHAVE_FREETYPE
FONT_LIBS := -lfontFT_stub -lfreetype_stub
else
DEFINES += -DHAVE_LIBDBGFONT
FONT_LIBS := -ldbgfont
endif
ifeq ($(CELL_BUILD_TOOLS), SNC)
@@ -110,7 +107,8 @@ PPU_LDLIBS = $(FONT_LIBS) $(GL_LIBS) $(WHOLE_START) -lretro_ps3 $(WHOLE_END) -l
PPU_RANLIB = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ranlib.exe
DEFINES += -DHAVE_THREADS -DRARCH_CONSOLE -DHAVE_OPENGL -DHAVE_OVERLAY -DHAVE_HEADSET -DHAVE_OPENGLES -DHAVE_OPENGLES1 -DHAVE_PSGL -DHAVE_CG -DHAVE_CG_RUNTIME_COMPILER -DHAVE_SYSMODULES -DHAVE_SYSUTILS -DHAVE_RARCH_EXEC -DHAVE_RSOUND -DHAVE_ZLIB -DHAVE_RPNG -DWANT_ZLIB -D__CELLOS_LV2__ -DHAVE_NETWORKING=1 -DHAVE_SOCKET_LEGACY=1 -DHAVE_MOUSE -DHAVE_GRIFFIN=1 -DHAVE_MULTIMAN=0 -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) -DHAVE_STB_VORBIS
#DEFINES += -DHAVE_VIDEO_LAYOUT
DEFINES += -DHAVE_THREADS -DRARCH_CONSOLE -DHAVE_OPENGL -DHAVE_OVERLAY -DHAVE_HEADSET -DHAVE_OPENGLES -DHAVE_OPENGLES1 -DHAVE_PSGL -DHAVE_CG -DHAVE_CG_RUNTIME_COMPILER -DHAVE_SYSMODULES -DHAVE_SYSUTILS -DHAVE_RARCH_EXEC -DHAVE_RSOUND -DHAVE_ZLIB -DHAVE_RPNG -D__CELLOS_LV2__ -DHAVE_NETWORKING=1 -DHAVE_SOCKET_LEGACY=1 -DHAVE_MOUSE -DHAVE_GRIFFIN=1 -DHAVE_MULTIMAN=0 -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) -DHAVE_STB_VORBIS
ifeq ($(DEBUG), 1)
PPU_OPTIMIZE_LV := -O0 -g
@@ -155,7 +153,7 @@ create-core:
create-npdrm-salamander:
$(MAKE_FSELF_NPDRM) $(SALAMANDER_TARGET) $(EBOOT_PATH)
create-salamander:
$(MAKE_SELF) $(SALAMANDER_TARGET) $(EBOOT_PATH) $(CONTENT_ID_FULL)
+91 -91
View File
@@ -1,91 +1,91 @@
CELL_BUILD_TOOLS = GCC
CELL_SDK ?= /usr/local/cell
HAVE_LOGGER = 0
CELL_MK_DIR ?= $(CELL_SDK)/samples/mk
include $(CELL_MK_DIR)/sdk.makedef.mk
# system platform
system_platform = unix
ifeq ($(shell uname -a),)
EXE_EXT = .exe
system_platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
system_platform = osx
else ifneq ($(findstring MINGW,$(shell uname -a)),)
system_platform = win
endif
ifeq ($(DEBUG), 1)
PPU_OPTIMIZE_LV := -O0 -g
else
PPU_OPTIMIZE_LV := -O2 -DNDEBUG
endif
STRIP = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-strip.exe
INCFLAGS = -I. -Idefines -Ilibretro-common/include -Ideps/libz
DEFINES = -D__CELLOS_LV2__ -DIS_SALAMANDER -DRARCH_CONSOLE -DHAVE_SYSUTILS -DHAVE_SYSMODULES -DHAVE_RARCH_EXEC
ifeq ($(DEX_BUILD), 1)
DEFINES += -DDEX_BUILD
endif
ifeq ($(CEX_BUILD), 1)
DEFINES += -DCEX_BUILD
endif
ifeq ($(ODE_BUILD), 1)
DEFINES += -DODE_BUILD
endif
PPU_CFLAGS := $(PPU_OPTIMIZE_LV) $(INCFLAGS) $(DEFINES)
PPU_CXXFLAGS := $(PPU_OPTIMIZE_LV) $(INCFLAGS) $(DEFINES)
PPU_SRCS = frontend/frontend_salamander.c \
frontend/frontend_driver.c \
frontend/drivers/platform_ps3.c \
frontend/drivers/platform_null.c \
libretro-common/file/file_path.c \
libretro-common/lists/dir_list.c \
libretro-common/lists/string_list.c \
libretro-common/file/retro_dirent.c \
libretro-common/hash/rhash.c \
libretro-common/string/stdstring.c \
libretro-common/encodings/encoding_utf.c \
libretro-common/compat/compat_strl.c \
libretro-common/compat/compat_strcasestr.c \
libretro-common/compat/fopen_utf8.c \
libretro-common/streams/file_stream.c \
libretro-common/vfs/vfs_implementation.c \
libretro-common/file/config_file.c \
file_path_str.c \
verbosity.c
ifeq ($(HAVE_LOGGER), 1)
PPU_CFLAGS += -DHAVE_LOGGER
PPU_SRCS += network/net_logger.c \
libretro-common/net/net_compat.c \
libretro-common/net/net_socket.c
endif
PPU_TARGET = retroarch-salamander_ps3.elf
ifeq ($(CELL_BUILD_TOOLS),SNC)
PPU_CFLAGS += -Xbranchless=1 -Xfastmath=1 -Xassumecorrectsign=1 -Xassumecorrectalignment=1 -Xunroll=1 -Xautovecreg=1
PPU_CXXFLAGS += -Xbranchless=1 -Xfastmath=1 -Xassumecorrectsign=1 -Xassumecorrectalignment=1 -Xunroll=1 -Xautovecreg=1
PPU_CXXLD = $(CELL_SDK)/host-win32/sn/bin/ps3ppuld.exe
PPU_CLD = $(CELL_SDK)/host-win32/sn/bin/ps3ppuld.exe
PPU_CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
else
PPU_CFLAGS += -std=gnu99
PPU_CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
PPU_CLD = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ld.exe
PPU_CXXLD = $(CELL_SDK)/host-win32/sn/bin/ps3ppuld.exe
endif
PPU_LDLIBS += -lm -lnet_stub -lnetctl_stub -lio_stub -lsysmodule_stub -lsysutil_stub -lsysutil_game_stub -lfs_stub -lsysutil_np_stub
MAKE_FSELF = $(CELL_SDK)/host-win32/bin/make_fself.exe
include $(CELL_MK_DIR)/sdk.target.mk
CELL_BUILD_TOOLS = GCC
CELL_SDK ?= /usr/local/cell
HAVE_LOGGER = 0
CELL_MK_DIR ?= $(CELL_SDK)/samples/mk
include $(CELL_MK_DIR)/sdk.makedef.mk
# system platform
system_platform = unix
ifeq ($(shell uname -a),)
EXE_EXT = .exe
system_platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
system_platform = osx
else ifneq ($(findstring MINGW,$(shell uname -a)),)
system_platform = win
endif
ifeq ($(DEBUG), 1)
PPU_OPTIMIZE_LV := -O0 -g
else
PPU_OPTIMIZE_LV := -O2 -DNDEBUG
endif
STRIP = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-strip.exe
INCFLAGS = -I. -Idefines -Ilibretro-common/include -Ilibretro-common/include/compat/zlib
DEFINES = -D__CELLOS_LV2__ -DIS_SALAMANDER -DRARCH_CONSOLE -DHAVE_SYSUTILS -DHAVE_SYSMODULES -DHAVE_RARCH_EXEC
ifeq ($(DEX_BUILD), 1)
DEFINES += -DDEX_BUILD
endif
ifeq ($(CEX_BUILD), 1)
DEFINES += -DCEX_BUILD
endif
ifeq ($(ODE_BUILD), 1)
DEFINES += -DODE_BUILD
endif
PPU_CFLAGS := $(PPU_OPTIMIZE_LV) $(INCFLAGS) $(DEFINES)
PPU_CXXFLAGS := $(PPU_OPTIMIZE_LV) $(INCFLAGS) $(DEFINES)
PPU_SRCS = frontend/frontend_salamander.c \
frontend/frontend_driver.c \
frontend/drivers/platform_ps3.c \
libretro-common/file/file_path.c \
libretro-common/file/file_path_io.c \
libretro-common/lists/dir_list.c \
libretro-common/lists/string_list.c \
libretro-common/file/retro_dirent.c \
libretro-common/hash/rhash.c \
libretro-common/string/stdstring.c \
libretro-common/encodings/encoding_utf.c \
libretro-common/compat/compat_strl.c \
libretro-common/compat/compat_strcasestr.c \
libretro-common/compat/fopen_utf8.c \
libretro-common/streams/file_stream.c \
libretro-common/vfs/vfs_implementation.c \
libretro-common/file/config_file.c \
file_path_str.c \
verbosity.c
ifeq ($(HAVE_LOGGER), 1)
PPU_CFLAGS += -DHAVE_LOGGER
PPU_SRCS += network/net_logger.c \
libretro-common/net/net_compat.c \
libretro-common/net/net_socket.c
endif
PPU_TARGET = retroarch-salamander_ps3.elf
ifeq ($(CELL_BUILD_TOOLS),SNC)
PPU_CFLAGS += -Xbranchless=1 -Xfastmath=1 -Xassumecorrectsign=1 -Xassumecorrectalignment=1 -Xunroll=1 -Xautovecreg=1
PPU_CXXFLAGS += -Xbranchless=1 -Xfastmath=1 -Xassumecorrectsign=1 -Xassumecorrectalignment=1 -Xunroll=1 -Xautovecreg=1
PPU_CXXLD = $(CELL_SDK)/host-win32/sn/bin/ps3ppuld.exe
PPU_CLD = $(CELL_SDK)/host-win32/sn/bin/ps3ppuld.exe
PPU_CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe
else
PPU_CFLAGS += -std=gnu99
PPU_CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
PPU_CLD = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-ld.exe
PPU_CXXLD = $(CELL_SDK)/host-win32/sn/bin/ps3ppuld.exe
endif
PPU_LDLIBS += -lm -lnet_stub -lnetctl_stub -lio_stub -lsysmodule_stub -lsysutil_stub -lsysutil_game_stub -lfs_stub -lsysutil_np_stub
MAKE_FSELF = $(CELL_SDK)/host-win32/bin/make_fself.exe
include $(CELL_MK_DIR)/sdk.target.mk
+34 -67
View File
@@ -1,29 +1,39 @@
#-------------------------------------------------------------------------------
# Clear the implicit built in rules
#-------------------------------------------------------------------------------
.SUFFIXES:
#-------------------------------------------------------------------------------
ifeq ($(strip $(PSL1GHT)),)
$(error "Please set PSL1GHT in your environment. export PSL1GHT=<path>")
endif
include $(PSL1GHT)/ppu_rules
include version.all
DEBUG = 0
HAVE_LOGGER = 0
HAVE_FILE_LOGGER = 0
HAVE_FILE_LOGGER = 1
PC_DEVELOPMENT_IP_ADDRESS = "192.168.1.7"
PC_DEVELOPMENT_UDP_PORT = 3490
CC = $(PS3DEV)/ppu/bin/ppu-gcc
CXX = $(PS3DEV)/ppu/bin/ppu-g++
LD = $(PS3DEV)/ppu/bin/ppu-ld
CONTENT_ID_FULL = UP0001-SSNE10000_00-0000000000000001
CONTENTID = UP0001-SSNE10001_00-0000000000000001
APPID = SSNE10001
TITLE = Retroarch PSL1GHT
PACKAGE_BASENAME := retroarch_psl1ght
ELF_TARGET := retroarch_psl1ght.elf
EBOOT_PATH = pkg/ps3/USRDIR/EBOOT.BIN
CORE_PATH = pkg/ps3/USRDIR/cores/CORE.SELF
SELF_TARGET := $(ELF_TARGET:.elf=.self)
CORE_PATH = pkg/psl1ght/pkg/USRDIR/cores/CORE.SELF
INCLUDE := -I. -I$(PS3DEV)/ppu/include -Ideps/libz -Ips3/gcmgl/include/export -Ips3/include -Ideps -Ideps/stb
LIBDIRS := -L$(PS3DEV)/ppu/lib -L$(PS3DEV)/portlibs/ppu/lib -L.
INCLUDE += -I. -Ips3/gcmgl/include/export -Ips3/include -Ideps -Ideps/stb -Ilibretro-common/include/compat/zlib -Ilibretro-common/include $(LIBPSL1GHT_INC) -Iinclude
LIBDIRS += -L.
MACHDEP := -D__CELLOS_LV2__ -D__PSL1GHT__
MACHDEP := -D__CELLOS_LV2__ -D__PSL1GHT__ -mcpu=cell
CFLAGS += -Wall $(MACHDEP) $(INCLUDE)
LDFLAGS := $(MACHDEP)
LIBS := -lrgl_ps3 -lretro_psl1ght -laudio -lrsx -lgcm_sys -lnet -lio -lsysutil -lsysmodule -lm -ljpgdec -lpngdec -llv2 -lnet -lnetctl
LIBS := -lretro_psl1ght -laudio -lrsx -lgcm_sys -lnet -lio -lsysutil -lsysmodule -lm -ljpgdec -lpngdec -llv2 -lnet -lnetctl
# system platform
system_platform = unix
@@ -38,46 +48,10 @@ endif
PKG_SCRIPT = tools/ps3/ps3py/pkg.py
ifeq ($(shell uname), Linux)
PKG_FINALIZE = package_finalize
MAKE_SELF_WC = make_self_wc
MAKE_SELF = make_self_npdrm
PYTHON2 = python2
GIT = git
else
PKG_FINALIZE = package_finalize.exe
MAKE_SELF_WC = make_self_wc.exe
MAKE_SELF = make_self_npdrm.exe
PYTHON2 = python2.exe
GIT = git.exe
endif
# system platform
system_platform = unix
ifeq ($(shell uname -a),)
EXE_EXT = .exe
system_platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
system_platform = osx
else ifneq ($(findstring MINGW,$(shell uname -a)),)
system_platform = win
endif
PKG_SCRIPT = tools/ps3/ps3py/pkg.py
ifeq ($(shell uname), Linux)
PKG_FINALIZE = package_finalize
MAKE_SELF_WC = make_self_wc
MAKE_SELF = make_self_npdrm
PYTHON2 = python2
GIT = git
else
PKG_FINALIZE = package_finalize.exe
MAKE_SELF_WC = make_self_wc.exe
MAKE_SELF = make_self_npdrm.exe
PYTHON2 = python2.exe
GIT = git.exe
endif
MAKE_FSELF_NPDRM = $(CELL_SDK)/host-win32/bin/make_fself_npdrm.exe
MAKE_PACKAGE_NPDRM = $(CELL_SDK)/host-win32/bin/make_package_npdrm.exe
OBJ = griffin/griffin.o
@@ -89,39 +63,32 @@ ifeq ($(HAVE_FILE_LOGGER), 1)
CFLAGS += -DHAVE_FILE_LOGGER
endif
SHARED_FLAGS := -DRARCH_CONSOLE -DHAVE_OPENGL -DHAVE_OVERLAY -DHAVE_HEADSET -DHAVE_OPENGLES -DHAVE_OPENGLES1 -DHAVE_PSGL -DHAVE_CG -DHAVE_CG_RUNTIME_COMPILER -DHAVE_GCMGL -DHAVE_SYSMODULES -DHAVE_SYSUTILS -DHAVE_RARCH_EXEC -DHAVE_MOUSE -DHAVE_ZLIB -DHAVE_RPNG -DWANT_ZLIB -DHAVE_GRIFFIN=1 -DHAVE_NETWORKING=1 -DHAVE_SOCKET_LEGACY=1 -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) -Wno-char-subscripts -DHAVE_CC_RESAMPLER
SHARED_FLAGS :=
SHARED_FLAGS += -DHAVE_VIDEO_LAYOUT
SHARED_FLAGS += -DHAVE_MENU -DHAVE_CONFIGFILE -DRARCH_CONSOLE -DHAVE_OVERLAY -DHAVE_HEADSET -DHAVE_CG -DHAVE_CG_RUNTIME_COMPILER -DHAVE_GCMGL -DHAVE_SYSMODULES -DHAVE_SYSUTILS -DHAVE_RARCH_EXEC -DHAVE_MOUSE -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_GRIFFIN=1 -DHAVE_NETWORKING=1 -DHAVE_SOCKET_LEGACY=1 -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) -Wno-char-subscripts -DHAVE_CC_RESAMPLER -DRARCH_INTERNAL -DHAVE_MULTIMAN -DHAVE_RGUI
CFLAGS += -std=gnu99 $(SHARED_FLAGS)
CXXFLAGS += $(SHARED_FLAGS)
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -g
else
CFLAGS += -O3 -g
CFLAGS += -O3 -g
CXXFLAGS += -03 -g
endif
all: $(ELF_TARGET)
all: $(SELF_TARGET)
$(ELF_TARGET): $(OBJ)
$(CXX) -o $@ $(LDFLAGS) $(LIBDIRS) $(OBJ) $(LIBS)
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
create-core: $(SELF_TARGET)
cp $(SELF_TARGET) $(CORE_PATH)
%.o: %.cpp
$(CXX) $(CFLAGS) -c -o $@ $<
create-npdrm-core:
$(MAKE_FSELF_NPDRM) $(ELF_TARGET) $(CORE_PATH)
create-core:
$(MAKE_SELF_WC) $(ELF_TARGET) $(CORE_PATH)
pkg: $(ELF_TARGET) create-npdrm-core
$(MAKE_PACKAGE_NPDRM) pkg/ps3/package.conf ps3/pkg
pkg-signed: $(ELF_TARGET) create-core
$(PYTHON2) $(PKG_SCRIPT) --contentid $(CONTENT_ID_FULL) pkg/ps3 retroarch-ps3-cfw-$(PACKAGE_VERSION).pkg
pkg: create-core
$(PKG) --contentid $(CONTENTID) pkg/psl1ght/pkg/ $(PACKAGE_BASENAME).pkg
# cp $(PACKAGE_BASENAME).pkg $(PACKAGE_BASENAME).gnpdrm.pkg
# $(PACKAGE_FINALIZE) $(PACKAGE_BASENAME).gnpdrm.pkg
clean:
rm -f $(ELF_TARGET)
+119
View File
@@ -0,0 +1,119 @@
#-------------------------------------------------------------------------------
# Clear the implicit built in rules
#-------------------------------------------------------------------------------
.SUFFIXES:
#-------------------------------------------------------------------------------
ifeq ($(strip $(PSL1GHT)),)
$(error "Please set PSL1GHT in your environment. export PSL1GHT=<path>")
endif
include $(PSL1GHT)/ppu_rules
include version.all
DEBUG = 0
HAVE_LOGGER = 0
HAVE_FILE_LOGGER = 1
PC_DEVELOPMENT_IP_ADDRESS = "192.168.1.7"
PC_DEVELOPMENT_UDP_PORT = 3490
CONTENTID = UP0001-SSNE10001_00-0000000000000001
APPID = SSNE10001
TITLE = Retroarch PSL1GHT
PACKAGE_BASENAME := retroarch_psl1ght
ELF_TARGET := retroarch_psl1ght_salamander.elf
ELF_TARGET_NONSTRIPPED := retroarch_psl1ght_salamander_nonstripped.elf
EBOOT_PATH = pkg/psl1ght/pkg/USRDIR/EBOOT.BIN
INCLUDE += -I. -Ips3/gcmgl/include/export -Ips3/include -Ideps -Ideps/stb -Ilibretro-common/include/compat/zlib -Ilibretro-common/include $(LIBPSL1GHT_INC) -Iinclude
LIBDIRS += -L.
MACHDEP := -D__CELLOS_LV2__ -D__PSL1GHT__ -mcpu=cell -mhard-float -fmodulo-sched -ffunction-sections -fdata-sections
CFLAGS += -Wall $(MACHDEP) $(INCLUDE)
LDFLAGS := $(MACHDEP)
LIBS := -lgcm_sys -lrsx -lsysutil -lio -lnet -lsysmodule -lrt -llv2 -lm
# system platform
system_platform = unix
ifeq ($(shell uname -a),)
EXE_EXT = .exe
system_platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
system_platform = osx
else ifneq ($(findstring MINGW,$(shell uname -a)),)
system_platform = win
endif
PKG_SCRIPT = tools/ps3/ps3py/pkg.py
ifeq ($(shell uname), Linux)
GIT = git
else
GIT = git.exe
endif
OBJ = frontend/frontend_salamander.o \
frontend/frontend_driver.o \
frontend/drivers/platform_ps3.o \
libretro-common/file/file_path.o \
libretro-common/file/file_path_io.o \
libretro-common/lists/dir_list.o \
libretro-common/lists/string_list.o \
libretro-common/file/retro_dirent.o \
libretro-common/hash/rhash.o \
libretro-common/string/stdstring.o \
libretro-common/encodings/encoding_utf.o \
libretro-common/compat/compat_strl.o \
libretro-common/compat/compat_strcasestr.o \
libretro-common/compat/fopen_utf8.o \
libretro-common/streams/file_stream.o \
libretro-common/vfs/vfs_implementation.o \
libretro-common/file/config_file.o \
file_path_str.o \
verbosity.o
ifeq ($(HAVE_LOGGER), 1)
CFLAGS += -DHAVE_LOGGER
endif
ifeq ($(HAVE_FILE_LOGGER), 1)
CFLAGS += -DHAVE_FILE_LOGGER
endif
SHARED_FLAGS :=
SHARED_FLAGS += -DHAVE_VIDEO_LAYOUT
SHARED_FLAGS += -DHAVE_MENU -DHAVE_CONFIGFILE -DRARCH_CONSOLE -DHAVE_OVERLAY -DHAVE_HEADSET -DHAVE_CG -DHAVE_CG_RUNTIME_COMPILER -DHAVE_GCMGL -DHAVE_SYSMODULES -DHAVE_SYSUTILS -DHAVE_RARCH_EXEC -DHAVE_MOUSE -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_GRIFFIN=1 -DHAVE_NETWORKING=1 -DHAVE_SOCKET_LEGACY=1 -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT) -Wno-char-subscripts -DHAVE_CC_RESAMPLER -DHAVE_MULTIMAN -DHAVE_RGUI -DIS_SALAMANDER
CFLAGS += -std=gnu99 $(SHARED_FLAGS)
CXXFLAGS += $(SHARED_FLAGS)
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -g
else
CFLAGS += -O3 -g
CXXFLAGS += -03 -g
endif
all: create-salamander
$(ELF_TARGET_NONSTRIPPED): $(OBJ)
$(CXX) -o $@ $(LDFLAGS) $(LIBDIRS) $(OBJ) $(LIBS)
$(ELF_TARGET): $(ELF_TARGET_NONSTRIPPED)
$(STRIP) $< -o $@
$(SPRX) $@
create-salamander: $(ELF_TARGET)
$(SELF_NPDRM) $(ELF_TARGET) $(EBOOT_PATH) $(CONTENTID)
pkg: create-salamander
$(PKG) --contentid $(CONTENTID) pkg/psl1ght/pkg/ $(PACKAGE_BASENAME).pkg
# cp $(PACKAGE_BASENAME).pkg $(PACKAGE_BASENAME).gnpdrm.pkg
# $(PACKAGE_FINALIZE) $(PACKAGE_BASENAME).gnpdrm.pkg
clean:
rm -f $(ELF_TARGET)
rm -f $(OBJ)
.PHONY: clean
+17 -2
View File
@@ -21,11 +21,11 @@ ifeq ($(WHOLE_ARCHIVE_LINK), 1)
WHOLE_END := -Wl,--no-whole-archive
endif
INCDIR = deps deps/stb deps/libz deps/7zip deps/pthreads deps/pthreads/platform/psp deps/pthreads/platform/helper libretro-common/include
INCDIR = deps deps/stb deps/7zip deps/pthreads deps/pthreads/platform/psp deps/pthreads/platform/helper libretro-common/include libretro-common/include/compat/zlib
CFLAGS = $(OPTIMIZE_LV) -G0 -std=gnu99 -ffast-math -fsingle-precision-constant
ASFLAGS = $(CFLAGS)
RARCH_DEFINES = -DPSP -D_MIPS_ARCH_ALLEGREX -DHAVE_LANGEXTRA -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DWANT_ZLIB -DHAVE_GRIFFIN=1 -DRARCH_INTERNAL -DRARCH_CONSOLE -DHAVE_MENU -DHAVE_RGUI -DHAVE_FILTERS_BUILTIN -DHAVE_7ZIP -DHAVE_CC_RESAMPLER
RARCH_DEFINES = -DPSP -D_MIPS_ARCH_ALLEGREX -DHAVE_LANGEXTRA -DHAVE_ZLIB -DHAVE_AUDIOMIXER -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_GRIFFIN=1 -DRARCH_INTERNAL -DRARCH_CONSOLE -DHAVE_MENU -DHAVE_CONFIGFILE -DHAVE_RGUI -DHAVE_FILTERS_BUILTIN -DHAVE_7ZIP -DHAVE_CC_RESAMPLER
LIBDIR =
LDFLAGS =
@@ -58,3 +58,18 @@ OBJS = $(PSP_OBJECTS)
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
pspsh-debug:
pspsh -e reset
read -p "Start debugger in VSCode and press any key to continue... \n" -n1 -s
pspsh -e debug ./retroarchpsp.prx
pspsh
pspsh-run:
pspsh -e reset
pspsh -e ./retroarchpsp.prx
pspsh
debug: clean all pspsh-debug
run: clean all pspsh-run
+3 -3
View File
@@ -25,7 +25,7 @@ ifeq ($(HAVE_FILE_LOGGER), 1)
CFLAGS += -DHAVE_FILE_LOGGER
endif
CFLAGS += $(RARCH_DEFINES)
CFLAGS += $(RARCH_DEFINES)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = RetroArch
@@ -35,8 +35,8 @@ PSP_EBOOT_PIC1 = pkg/psp1/PIC1.PNG
OBJS = frontend/frontend_salamander.o \
frontend/frontend_driver.o \
frontend/drivers/platform_psp.o \
frontend/drivers/platform_null.o \
libretro-common/file/file_path.o \
libretro-common/file/file_path_io.o \
libretro-common/string/stdstring.o \
libretro-common/lists/string_list.o \
libretro-common/lists/dir_list.o \
@@ -51,7 +51,7 @@ OBJS = frontend/frontend_salamander.o \
libretro-common/hash/rhash.o \
file_path_str.o \
verbosity.o \
bootstrap/psp1/kernel_functions.o
bootstrap/psp1/kernel_functions.o
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
+5 -2
View File
@@ -11,9 +11,11 @@ DEFINES := -DSWITCH=1 -U__linux__ -U__linux -DRARCH_INTERNAL -DHAVE_DYNAMIC
ifeq ($(GRIFFIN_BUILD), 1)
OBJ += griffin/griffin.o
DEFINES += -DHAVE_GRIFFIN=1 -DHAVE_NEON -DHAVE_MATERIALUI -DHAVE_LIBRETRODB -DHAVE_CC_RESAMPLER
DEFINES += -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA -DWANT_ZLIB
DEFINES += -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA
DEFINES += -DHAVE_RUNAHEAD -DHAVE_DYNAMIC
DEFINES += -DHAVE_CONFIGFILE
else
HAVE_AUDIOMIXER = 1
HAVE_CC_RESAMPLER = 1
HAVE_MENU_COMMON = 1
HAVE_RTGA = 1
@@ -29,6 +31,7 @@ else
HAVE_STATIC_VIDEO_FILTERS = 1
HAVE_STATIC_AUDIO_FILTERS = 1
HAVE_MENU = 1
HAVE_CONFIGFILE = 1
HAVE_RUNAHEAD = 1
HAVE_DYNAMIC = 1
@@ -46,7 +49,7 @@ endif
include $(LIBTRANSISTOR_HOME)/libtransistor.mk
INCDIRS := -I. -Ideps -Ideps/libz -Ilibretro-common/include -Ideps/stb -I$(LIBTRANSISTOR_HOME)/build/sdl2_install/include/SDL2/
INCDIRS := -I. -Ideps -Ilibretro-common/include -Ilibretro-common/include/compat/zlib -Ideps/stb -I$(LIBTRANSISTOR_HOME)/build/sdl2_install/include/SDL2/
LIBDIRS := -L.
TARGETS := $(TARGET).nro
+25 -19
View File
@@ -11,19 +11,24 @@ PC_DEVELOPMENT_UDP_PORT =
OBJ :=
DEFINES :=
DEFINES := -DHAVE_ONLINE_UPDATER -DHAVE_UPDATE_ASSETS
INCDIRS :=
ifeq ($(GRIFFIN_BUILD), 1)
OBJ += griffin/griffin.o
DEFINES += -DHAVE_GRIFFIN=1
DEFINES += -DHAVE_NEON -DHAVE_MENU -DHAVE_XMB -DHAVE_MATERIALUI -DHAVE_LIBRETRODB DEFINES -DHAVE_KEYMAPPER
DEFINES += -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA -DWANT_ZLIB -DHAVE_CC_RESAMPLER
DEFINES += -DHAVE_NEON -DHAVE_MENU -DHAVE_CONFIGFILE -DHAVE_XMB -DHAVE_MATERIALUI -DHAVE_LIBRETRODB DEFINES -DHAVE_KEYMAPPER
DEFINES += -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA -DHAVE_CC_RESAMPLER
ifeq ($(DEBUG), 1)
DEFINES += -DHAVE_NETLOGGER
endif
INCDIRS += -I. -Ideps/7zip -Ilibretro-common/include -Ilibretro-common/include/compat/zlib -Ideps/stb
else
HAVE_UPDATE_ASSETS := 1
HAVE_ONLINE_UPDATER := 1
HAVE_NEON := 1
HAVE_MATH_NEON := 1
HAVE_FILTERS_BUILTIN := 1
HAVE_LANGEXTRA := 1
HAVE_RPNG := 1
@@ -33,11 +38,15 @@ else
HAVE_ZLIB := 1
HAVE_7ZIP := 1
HAVE_VITA2D := 1
HAVE_VITAGL := 1
HAVE_NETWORKING := 1
HAVE_SOCKET_LEGACY := 1
HAVE_MENU := 1
HAVE_MENU_COMMON := 1
HAVE_GFX_WIDGETS := 1
HAVE_CONFIGFILE := 1
HAVE_OVERLAY := 1
HAVE_VIDEO_LAYOUT := 0
HAVE_MATERIALUI := 1
HAVE_XMB := 1
HAVE_RGUI := 1
@@ -46,9 +55,11 @@ else
HAVE_LIBRETRODB := 1
HAVE_CC_RESAMPLER := 1
HAVE_CHEEVOS := 1
HAVE_RUNAHEAD := 1
RARCH_CONSOLE := 1
HAVE_STATIC_VIDEO_FILTERS = 1
HAVE_STATIC_AUDIO_FILTERS = 1
HAVE_AUDIOMIXER := 1
ifeq ($(DEBUG), 1)
HAVE_NETLOGGER = 1
@@ -58,11 +69,7 @@ else
CFLAGS += $(DEF_FLAGS)
BLACKLIST :=
OBJ := $(filter-out $(BLACKLIST),$(OBJ))
OBJ += input/drivers/psp_input.o
OBJ += input/drivers_joypad/psp_joypad.o
OBJ += audio/drivers/psp_audio.o
OBJ += frontend/drivers/platform_psp.o
INCDIRS += $(INCLUDE_DIRS)
endif
ifeq ($(strip $(VITASDK)),)
@@ -82,22 +89,19 @@ STRIP := $(PREFIX)strip
NM := $(PREFIX)nm
LD := $(CXX)
INCDIRS := -I. -Ideps/libz -Ideps/7zip -Ilibretro-common/include -Ideps/stb
LIBDIRS := -L.
ARCHFLAGS := -march=armv7-a -mfpu=neon -mfloat-abi=hard -DVITA
CFLAGS += $(ARCHFLAGS) -mword-relocations -fno-optimize-sibling-calls
CFLAGS += $(ARCHFLAGS) -mword-relocations -fno-optimize-sibling-calls -O2
ifeq ($(DEBUG), 1)
CFLAGS += -O2 -g
else
CFLAGS += -O3
CFLAGS += -g
endif
ASFLAGS := $(CFLAGS)
LDFLAGS := -Wl,-q
CFLAGS += -Wall -ffast-math
CFLAGS += -Wall -ffast-math -g
CFLAGS += -DRARCH_INTERNAL -DRARCH_CONSOLE
CFLAGS += -DHAVE_FILTERS_BUILTIN $(DEFINES)
@@ -115,9 +119,9 @@ ifeq ($(WHOLE_ARCHIVE_LINK), 1)
endif
CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions
VITA_LIBS := -lSceDisplay_stub -lSceGxm_stub -lSceNet_stub -lSceNetCtl_stub \
-lSceSysmodule_stub -lSceCtrl_stub -lSceTouch_stub -lSceAudio_stub \
-lScePower_stub -lSceRtc_stub -lSceCommonDialog_stub -lScePgf_stub \
VITA_LIBS := -lSceDisplay_stub -lSceGxm_stub -lSceNet_stub -lSceNetCtl_stub -lSceAppUtil_stub \
-lSceSysmodule_stub -lSceCtrl_stub -lSceHid_stub -lSceTouch_stub -lSceAudio_stub \
-lScePower_stub -lSceRtc_stub -lSceCommonDialog_stub -lScePgf_stub -lSceMotion_stub \
-lSceFiber_stub -lSceMotion_stub -lSceAppMgr_stub -lpthread -lpng -lz
LIBS := $(WHOLE_START) -lretro_vita $(WHOLE_END) $(VITA_LIBS) -lm -lc
@@ -155,17 +159,19 @@ $(TARGET).elf: $(OBJ) libretro_vita.a
$(LD) $(OBJ) $(LDFLAGS) $(LIBDIRS) $(LIBS) -o $@
%.velf: %.elf
cp $< $<.unstripped.elf
$(PREFIX)strip -g $<
vita-elf-create $< $@
%.self: %.velf
vita-make-fself -c -s $< $@
%.vpk: %.self
vita-mksfoex -s TITLE_ID=$(VITA_TITLE_ID) "$(VITA_TITLE_NAME)" param.sfo
vita-mksfoex -s TITLE_ID=$(VITA_TITLE_ID) "$(VITA_TITLE_NAME)" -d ATTRIBUTE2=12 param.sfo
vita-pack-vpk -s param.sfo -b $< $@
clean:
rm -f $(OBJ) $(TARGET).elf $(TARGET).velf $(TARGET).self param.sfo $(TARGET).vpk
rm -f $(OBJ) $(TARGET).elf $(TARGET).elf.unstripped.elf $(TARGET).velf $(TARGET).self param.sfo $(TARGET).vpk
rm -f $(OBJ:.o=.depend)
# Useful for developers
+5 -5
View File
@@ -21,9 +21,9 @@ RARCH_DEFINES = -DVITA -DIS_SALAMANDER -DRARCH_CONSOLE
LIBDIR =
LDFLAGS =
LIBS = -lSceDisplay_stub -lSceGxm_stub -lSceNet_stub -lSceNetCtl_stub\
-lSceSysmodule_stub -lSceCtrl_stub -lSceAudio_stub -lSceFiber_stub\
-lScePower_stub -lSceRtc_stub -lSceCommonDialog_stub -lScePgf_stub \
LIBS = -lSceDisplay_stub -lSceGxm_stub -lSceNet_stub -lSceNetCtl_stub -lSceAppUtil_stub\
-lSceSysmodule_stub -lSceCtrl_stub -lSceHid_stub -lSceAudio_stub -lSceFiber_stub\
-lScePower_stub -lSceRtc_stub -lSceCommonDialog_stub -lScePgf_stub -lSceMotion_stub \
-lSceMotion_stub -lSceAppMgr_stub -lfreetype -lpng -lm -lc
ifeq ($(HAVE_FILE_LOGGER), 1)
@@ -35,8 +35,8 @@ CFLAGS += $(RARCH_DEFINES)
OBJS = frontend/frontend_salamander.o \
frontend/frontend_driver.o \
frontend/drivers/platform_psp.o \
frontend/drivers/platform_null.o \
libretro-common/file/file_path.o \
libretro-common/file/file_path_io.o \
libretro-common/string/stdstring.o \
libretro-common/lists/string_list.o \
libretro-common/lists/dir_list.o \
@@ -55,7 +55,7 @@ OBJS = frontend/frontend_salamander.o \
all: $(TARGET).vpk
%.vpk: eboot.bin
vita-mksfoex -s TITLE_ID=$(TITLE_ID) "$(TARGET)" param.sfo
vita-mksfoex -s TITLE_ID=$(TITLE_ID) "$(TARGET)" -d ATTRIBUTE2=12 param.sfo
vita-pack-vpk -s param.sfo -b eboot.bin $@
eboot.bin: $(TARGET).velf
+4 -4
View File
@@ -30,12 +30,12 @@ ELF2DOL = $(DEVKITPPC)/bin/elf2dol$(EXE_EXT)
DOL_TARGET := retroarch-salamander_wii.dol
ELF_TARGET := retroarch-salamander_wii.elf
INCLUDE := -I. -Ilibretro-common/include -Ideps/libz
INCLUDE := -I. -Ilibretro-common/include -Ilibretro-common/include/compat/zlib
ifeq ($(EXTERNAL_LIBOGC), 1)
INCLUDE += -I$(DEVKITPRO)/libogc/include
INCLUDE += -I$(DEVKITPRO)/libogc/include
LIBDIRS := -L$(DEVKITPRO)/libogc/lib/wii -L.
else
INCLUDE += -Iwii/libogc/include
INCLUDE += -Iwii/libogc/include
LIBDIRS := -Lwii/libogc/libs/wii -L.
endif
@@ -55,8 +55,8 @@ OBJ = frontend/frontend_salamander.o \
frontend/frontend_driver.o \
frontend/drivers/platform_gx.o \
frontend/drivers/platform_wii.o \
frontend/drivers/platform_null.o \
libretro-common/file/file_path.o \
libretro-common/file/file_path_io.o \
libretro-common/hash/rhash.o \
libretro-common/string/stdstring.o \
libretro-common/lists/string_list.o \
+143 -134
View File
@@ -1,4 +1,4 @@
TARGET := retroarch_wiiu
TARGET := retroarch_wiiu
BUILD_HBL_ELF = 1
BUILD_RPX = 1
@@ -10,7 +10,7 @@ WIIU_HID = 1
HAVE_RUNAHEAD = 1
WIIU_LOG_RPX = 0
BUILD_DIR = objs/wiiu
PC_DEVELOPMENT_TCP_PORT ?=
PC_DEVELOPMENT_TCP_PORT ?=
ifeq ($(SALAMANDER_BUILD),1)
BUILD_DIR := $(BUILD_DIR)-salamander
@@ -27,7 +27,13 @@ ifneq ($(V), 1)
Q := @
endif
DEFINES :=
OBJ :=
INCDIRS :=
#-----------------------------
# Features and object files
OBJ += wiiu/main.o
OBJ += wiiu/system/memory.o
OBJ += wiiu/system/atomic.o
@@ -37,23 +43,9 @@ OBJ += wiiu/fs/sd_fat_devoptab.o
OBJ += wiiu/fs/fs_utils.o
OBJ += wiiu/hbl.o
DEFINES :=
ifeq ($(WIIU_LOG_RPX),1)
defines += -DWIIU_LOG_RPX
endif
ifeq ($(WIIU_HID),1)
DEFINES += -DWIIU_HID
OBJ += input/drivers_joypad/wiiu/hidpad_driver.o
OBJ += input/drivers_hid/wiiu_hid.o
OBJ += input/connect/joypad_connection.o \
input/common/hid/hid_device_driver.o \
input/common/hid/device_wiiu_gca.o \
input/common/hid/device_ds3.o \
input/common/hid/device_ds4.o \
input/common/hid/device_null.o
endif
RPX_OBJ = $(BUILD_DIR)/wiiu/system/stubs_rpl.o
HBL_ELF_OBJ = $(BUILD_DIR)/wiiu/system/dynamic.o \
$(BUILD_DIR)/wiiu/system/stubs_elf.o
ifeq ($(SALAMANDER_BUILD),1)
DEFINES += -DRARCH_CONSOLE -DIS_SALAMANDER
@@ -61,11 +53,11 @@ ifeq ($(SALAMANDER_BUILD),1)
OBJ += frontend/frontend_salamander.o
OBJ += frontend/frontend_driver.o
OBJ += frontend/drivers/platform_wiiu.o
OBJ += frontend/drivers/platform_null.o
OBJ += libretro-common/encodings/encoding_utf.o
OBJ += libretro-common/compat/compat_strcasestr.o
OBJ += libretro-common/compat/fopen_utf8.o
OBJ += libretro-common/file/file_path.o
OBJ += libretro-common/file/file_path_io.o
OBJ += libretro-common/string/stdstring.o
OBJ += libretro-common/lists/string_list.o
OBJ += libretro-common/lists/dir_list.o
@@ -77,16 +69,20 @@ ifeq ($(SALAMANDER_BUILD),1)
OBJ += libretro-common/hash/rhash.o
OBJ += file_path_str.o
OBJ += verbosity.o
# $(SALAMANDER_BUILD),0
else
DEFINES += -DRARCH_INTERNAL
DEFINES += -DHAVE_KEYMAPPER
DEFINES += -DHAVE_ONLINE_UPDATER
DEFINES += -DHAVE_UPDATE_ASSETS
DEFINES += -DHAVE_UPDATE_CORES
DEFINES += -DHAVE_FILTERS_BUILTIN
DEFINES += -DHAVE_SLANG
DEFINES += -DHAVE_SHADERPIPELINE
ifeq ($(HAVE_RUNAHEAD),1)
DEFINES += -DHAVE_RUNAHEAD
DEFINES += -DHAVE_RUNAHEAD
endif
OBJ += wiiu/shader_utils.o
@@ -99,73 +95,140 @@ endif
OBJ += gfx/drivers/gx2_shaders/snow.o
OBJ += gfx/drivers/gx2_shaders/snow_simple.o
OBJ += gfx/drivers/gx2_shaders/snowflake.o
OBJ += gfx/drivers_shader/slang_preprocess.o
OBJ += gfx/drivers_shader/glslang_util.o
ifeq ($(GRIFFIN_BUILD), 1)
OBJ += griffin/griffin.o
DEFINES += -DHAVE_GRIFFIN=1 -DHAVE_MENU -DHAVE_RGUI -DHAVE_LIBRETRODB
DEFINES += -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA -DWANT_ZLIB -DHAVE_CC_RESAMPLER
DEFINES += -DHAVE_STB_FONT -DHAVE_STB_VORBIS -DHAVE_LANGEXTRA -DHAVE_LIBRETRODB -DHAVE_NETWORKING -DHAVE_NETPLAYDISCOVERY
# DEFINES += -DWANT_IFADDRS
# DEFINES += -DHAVE_FREETYPE
DEFINES += -DHAVE_XMB -DHAVE_MATERIALUI
OBJ += griffin/griffin.o
INCDIRS += -Ilibretro-common/include/compat/zlib
# for stb, libfat, iosuhax
INCDIRS += -Ideps -Ideps/libfat/include -Ideps/libiosuhax
# pad_functions uses wiiu/input.h
INCDIRS += -Iinput/include
INCDIRS += -Ideps/SPIRV-Cross
DEFINES += -DHAVE_AUDIOMIXER
DEFINES += -DHAVE_GRIFFIN=1 -DHAVE_MENU -DHAVE_CONFIGFILE -DHAVE_RGUI -DHAVE_LIBRETRODB
DEFINES += -DHAVE_ZLIB -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_RTGA -DHAVE_CC_RESAMPLER
DEFINES += -DHAVE_SPIRV_CROSS -DHAVE_SLANG
DEFINES += -DHAVE_STB_FONT -DHAVE_STB_VORBIS -DHAVE_LANGEXTRA -DHAVE_LIBRETRODB -DHAVE_NETWORKING -DHAVE_NETPLAYDISCOVERY
#DEFINES += -DWANT_IFADDRS
#DEFINES += -DHAVE_FREETYPE
DEFINES += -DHAVE_XMB -DHAVE_MATERIALUI
DEFINES += -DHAVE_HID
DEFINES += -DWANT_LIBFAT -DHAVE_LIBFAT -DWANT_IOSUHAX -DHAVE_IOSUHAX
DEFINES += -DSPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS
# $(GRIFFIN_BUILD),0
else
HAVE_MENU_COMMON = 1
HAVE_RTGA = 1
HAVE_RPNG = 1
HAVE_RJPEG = 1
HAVE_RBMP = 1
HAVE_MENU = 1
HAVE_RGUI = 1
HAVE_ZLIB = 1
HAVE_7ZIP = 1
HAVE_BUILTINZLIB = 0
HAVE_LIBRETRODB = 1
HAVE_MATERIALUI = 1
HAVE_XMB = 1
HAVE_STB_FONT = 1
# HAVE_FREETYPE = 1
HAVE_LANGEXTRA = 1
HAVE_LIBRETRODB = 1
HAVE_NETWORKING = 1
HAVE_NETPLAYDISCOVERY = 1
HAVE_CHEEVOS = 1
# WANT_IFADDRS = 1
HAVE_OVERLAY = 1
HAVE_STATIC_VIDEO_FILTERS = 1
HAVE_STATIC_AUDIO_FILTERS = 1
WANT_LIBFAT = 1
WANT_IOSUHAX = 1
HAVE_AUDIOMIXER = 1
HAVE_MENU_COMMON = 1
HAVE_RTGA = 1
HAVE_RPNG = 1
HAVE_RJPEG = 1
HAVE_RBMP = 1
HAVE_CONFIGFILE = 1
HAVE_MENU = 1
HAVE_RGUI = 1
HAVE_7ZIP = 1
HAVE_ZLIB = 1
HAVE_BUILTINZLIB = 0
HAVE_LIBRETRODB = 1
HAVE_MATERIALUI = 1
HAVE_XMB = 1
HAVE_STB_FONT = 1
#HAVE_FREETYPE = 1
HAVE_LANGEXTRA = 1
HAVE_LIBRETRODB = 1
HAVE_NETWORKING = 1
HAVE_NETPLAYDISCOVERY = 1
HAVE_CHEEVOS = 1
#WANT_IFADDRS = 1
HAVE_OVERLAY = 1
HAVE_SPIRV_CROSS = 1
HAVE_SLANG = 1
HAVE_VIDEO_LAYOUT = 0
HAVE_STATIC_VIDEO_FILTERS = 1
HAVE_STATIC_AUDIO_FILTERS = 1
WANT_LIBFAT = 1
WANT_IOSUHAX = 1
include Makefile.common
OBJ += gfx/drivers/gx2_gfx.o
OBJ += gfx/drivers_font/wiiu_font.o
OBJ += menu/drivers_display/menu_display_wiiu.o
OBJ += input/drivers/wiiu_input.o
OBJ += input/drivers_joypad/wiiu_joypad.o
OBJ += input/drivers_joypad/wiiu/wpad_driver.o
OBJ += input/drivers_joypad/wiiu/kpad_driver.o
OBJ += input/drivers_joypad/wiiu/pad_functions.o
OBJ += audio/drivers/wiiu_audio.o
OBJ += frontend/drivers/platform_wiiu.o
include Makefile.common
DEFINES += $(DEF_FLAGS)
INCDIRS += $(INCLUDE_DIRS)
endif
endif
OBJ := $(addprefix $(BUILD_DIR)/,$(OBJ))
#todo: remove -DWIIU and use the built-in macros instead (HW_WUP or __wiiu__).
DEFINES += -DWIIU -DMSB_FIRST -D__WUT__
#DEFINES += -D_GNU_SOURCE
#-----------------------------
# Compile flags
DEFINES += -DWIIU -DMSB_FIRST -D__WUT__ -DHW_WUP -D__wiiu__
DEFINES += -DHAVE_MAIN
DEFINES += -DRARCH_CONSOLE
ifeq ($(WIIU_LOG_RPX),1)
DEFINES += -DWIIU_LOG_RPX
endif
ifneq ($(PC_DEVELOPMENT_TCP_PORT),)
DEFINES += -DPC_DEVELOPMENT_TCP_PORT=$(PC_DEVELOPMENT_TCP_PORT)
endif
INCDIRS += -I.
INCDIRS += -Ilibretro-common/include
INCDIRS += -Iwiiu
INCDIRS += -Iwiiu/include
CFLAGS := -mcpu=750 -meabi -mhard-float
CFLAGS += -ffast-math -Werror=implicit-function-declaration
CFLAGS += -ffunction-sections -fdata-sections
#CFLAGS += -fomit-frame-pointer -mword-relocations
#CFLAGS += -Wall
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -g
else
CFLAGS += -O3
endif
ASFLAGS := $(CFLAGS) -mregnames
#-----------------------------
# Linking/library flags
LIBDIRS := -L.
LDFLAGS := $(CFLAGS)
ifeq ($(WHOLE_ARCHIVE_LINK), 1)
WHOLE_START := -Wl,--whole-archive
WHOLE_END := -Wl,--no-whole-archive
endif
LIBS := $(WHOLE_START) -lretro_wiiu $(WHOLE_END) -lm
# Use portlibs zlib if deps/ isn't being used
ifeq ($(HAVE_ZLIB),1)
ifeq ($(HAVE_BUILTINZLIB),0)
INCDIRS += -I$(DEVKITPRO)/portlibs/ppc/include
LIBDIRS += -L$(DEVKITPRO)/portlibs/ppc/lib
# Bonus: libpng for cores that need it
LIBS += -lpng -lz
endif
endif
LDFLAGS += -Wl,--gc-sections
RPX_LDFLAGS := -pie -fPIE
RPX_LDFLAGS += -z common-page-size=64 -z max-page-size=64
RPX_LDFLAGS += -T wiiu/link_rpl.ld
RPX_LDFLAGS += -nostartfiles
HBL_ELF_LDFLAGS := -T wiiu/link_elf.ld
#-----------------------------
# Compiler setup
ifeq ($(strip $(DEVKITPPC)),)
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPPC")
endif
@@ -173,7 +236,7 @@ ifeq ($(strip $(DEVKITPRO)),)
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPRO")
endif
export PATH := $(PATH):$(DEVKITPPC)/bin
export PATH := $(PATH):$(DEVKITPPC)/bin
PREFIX := powerpc-eabi-
@@ -194,63 +257,8 @@ else
ELF2RPL := $(ELF2RPL).exe
endif
INCDIRS := -I.
INCDIRS += -Ideps
INCDIRS += -Ideps/stb
INCDIRS += -Ideps/libz
INCDIRS += -Ideps/7zip
INCDIRS += -Ilibretro-common/include
INCDIRS += -Iinput/include
INCDIRS += -Iwiiu
INCDIRS += -Iwiiu/include
INCDIRS += -I$(DEVKITPRO)/portlibs/ppc/include
LIBDIRS := -L. -L$(DEVKITPRO)/portlibs/ppc/lib
CFLAGS := -mwup -mcpu=750 -meabi -mhard-float
LDFLAGS :=
ifeq ($(DEBUG), 1)
CFLAGS += -O0 -g
else
CFLAGS += -O3
endif
LDFLAGS := $(CFLAGS)
ASFLAGS := $(CFLAGS) -mregnames
CFLAGS += -ffast-math -Werror=implicit-function-declaration
#CFLAGS += -fomit-frame-pointer -mword-relocations
#CFLAGS += -Wall
ifeq ($(WHOLE_ARCHIVE_LINK), 1)
WHOLE_START := -Wl,--whole-archive
WHOLE_END := -Wl,--no-whole-archive
endif
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions
LDFLAGS += -Wl,--gc-sections
LIBS := $(WHOLE_START) -lretro_wiiu $(WHOLE_END) -lm -lpng -lz
ifneq ($(WANT_LIBFAT), 1)
LIBS += -lfat
endif
ifneq ($(WANT_IOSUHAX), 1)
LIBS += -liosuhax
endif
RPX_OBJ = $(BUILD_DIR)/wiiu/system/stubs_rpl.o
HBL_ELF_OBJ = $(BUILD_DIR)/wiiu/system/dynamic.o $(BUILD_DIR)/wiiu/system/stubs_elf.o
RPX_LDFLAGS := -pie -fPIE
RPX_LDFLAGS += -z common-page-size=64 -z max-page-size=64
RPX_LDFLAGS += -T wiiu/link_rpl.ld
RPX_LDFLAGS += -nostartfiles
HBL_ELF_LDFLAGS := -T wiiu/link_elf.ld
#-----------------------------
# Targets and build rules
TARGETS :=
ifeq ($(BUILD_RPX), 1)
@@ -314,10 +322,11 @@ $(BUILD_DIR)/$(TARGET).rpx: $(BUILD_DIR)/$(TARGET).rpx.elf $(ELF2RPL) .$(TARGET)
$(Q)-$(ELF2RPL) $< $@
clean:
rm -f $(OBJ) $(RPX_OBJ) $(HBL_ELF_OBJ) $(TARGET).elf $(TARGET).rpx.elf $(TARGET).rpx
rm -f $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).rpx.elf $(BUILD_DIR)/$(TARGET).rpx
rm -f .$(TARGET).elf.last .$(TARGET).rpx.elf.last .$(TARGET).rpx.last
rm -f $(OBJ:.o=.depend) $(RPX_OBJ:.o=.depend) $(HBL_ELF_OBJ:.o=.depend)
@$(if $(Q), echo $@,)
$(Q)rm -f $(OBJ) $(RPX_OBJ) $(HBL_ELF_OBJ) $(TARGET).elf $(TARGET).rpx.elf $(TARGET).rpx
$(Q)rm -f $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).rpx.elf $(BUILD_DIR)/$(TARGET).rpx
$(Q)rm -f .$(TARGET).elf.last .$(TARGET).rpx.elf.last .$(TARGET).rpx.last
$(Q)rm -f $(OBJ:.o=.depend) $(RPX_OBJ:.o=.depend) $(HBL_ELF_OBJ:.o=.depend)
.PHONY: clean all
.PRECIOUS: %.depend %.last
+19 -8
View File
@@ -1,5 +1,6 @@
TARGET = retroarch.exe
HAVE_AUDIOMIXER = 1
HAVE_DINPUT = 1
HAVE_XAUDIO = 1
HAVE_DSOUND = 1
@@ -13,6 +14,7 @@ HAVE_STDIN_CMD = 1
HAVE_COMMAND = 1
HAVE_THREADS = 1
HAVE_MENU = 1
HAVE_CONFIGFILE = 1
HAVE_RGUI = 1
HAVE_MATERIALUI = 1
HAVE_7ZIP = 1
@@ -32,9 +34,7 @@ HAVE_FREETYPE := 1
HAVE_FFMPEG := 0
HAVE_CG := 1
HAVE_LIBXML2 := 0
HAVE_ZLIB := 1
WANT_ZLIB := 1
HAVE_CC_RESAMPLER := 1
ifeq ($(HAVE_CG), 1)
@@ -46,11 +46,6 @@ FREETYPE_CFLAGS := -DHAVE_FREETYPE -Ifreetype2
FREETYPE_LIBS := -lfreetype
endif
ifeq ($(HAVE_LIBXML2), 1)
LIBXML2_CFLAGS := -Ilibxml2 -DHAVE_LIBXML2 -DHAVE_GLSL
LIBXML2_LIBS := -lxml2 -liconv
endif
ifeq ($(HAVE_SDL), 1)
SDL_LIBS := -lSDL
SDL_CFLAGS := -ISDL -DHAVE_SDL
@@ -62,6 +57,20 @@ SDL2_LIBS := -lSDL2
SDL2_CFLAGS := -ISDL2 -DHAVE_SDL2
endif
ifeq ($(HAVE_D3D8), 1)
D3D8_LIBS := -ld3d8
ifeq ($(HAVE_D3DX), 1)
D3DX8_LIBS := -ld3dx8
endif
endif
ifeq ($(HAVE_D3D9), 1)
D3D9_LIBS := -ld3d9
ifeq ($(HAVE_D3DX), 1)
D3DX9_LIBS := -ld3dx9
endif
endif
ifeq ($(HAVE_RSOUND), 1)
RSOUND_CFLAGS := -DHAVE_RSOUND
RSOUND_LIBS := -lrsound
@@ -86,7 +95,9 @@ OBJDIR := obj-w32
OS := Win32
OBJ :=
LIBS := -lm
DEFINES := -I. -Ilibretro-common/include -DRARCH_INTERNAL -DHAVE_OVERLAY
DEFINES :=
DEFINES += -I. -Ilibretro-common/include -Ilibretro-common/include/compat/zlib -DRARCH_INTERNAL -DHAVE_OVERLAY
#DEFINES += -DHAVE_VIDEO_LAYOUT
LDFLAGS := -L. -static-libgcc
include Makefile.common
+9 -9
View File
@@ -1,7 +1,7 @@
USAGE NOTES
===========
This driver is meant for devices with Allwinner SoCs with Mali400 3D block and a
This driver is meant for devices with Allwinner SoCs with Mali400 3D block and a
good fbdev implementation. It is derived from the old Android GLES driver.
It was meant to be used on Cubieboard/Cubieboard2/Cubietruck, but it should not
@@ -19,7 +19,7 @@ First we will clone and build the kernel:
git clone https://github.com/mireq/linux-sunxi.git -b sunxi-3.4 --depth 1
Now we edit drivers/video/sunxi/disp/dev_fb.c, and uncomment the line 1074:
// Fb_wait_for_vsync(info);
// Fb_wait_for_vsync(info);
It is assumed you have a cross-compiler installed, so we configure and build the kernel and modules:
@@ -50,7 +50,7 @@ Now we need the headers. We can get them from here:
http://malideveloper.arm.com/develop-for-mali/sdks/opengl-es-sdk-for-linux/#opengl-es-sdk-for-linux-download
Download whatever version you want. We just get the headers from here, not machine-dependant compiled code.
Download whatever version you want. We just get the headers from here, not machine-dependant compiled code.
Extract the files and copy the directories inside inc to /usr/include .
@@ -60,27 +60,27 @@ In the end you should have this on your system:
/usr/include/EGL/
eglext.h
egl.h
eglplatform.h
egl.h
eglplatform.h
fbdev_window.h
/usr/include/GLES/
glext.h
gl.h
gl.h
glplatform.h
/usr/include/GLES2
gl2ext.h
gl2.h
gl2.h
gl2platform.h
/usr/include/GLES3
gl3ext.h
gl3.h
gl3.h
gl3platform.h
To enable mali_fbdev you must configure RetroArch with --enable-gles and --enable-mali_fbdev.
This is an example of what you would use on a CubieBoard2 for a lightweight RetroArch:
./configure --enable-gles --enable-mali_fbdev --disable-x11 --disable-sdl2 --enable-floathard --disable-ffmpeg --disable-netplay --enable-udev --disable-sdl --disable-pulse --disable-oss --disable-freetype --disable-7zip --disable-libxml2
./configure --enable-gles --enable-mali_fbdev --disable-x11 --disable-sdl2 --enable-floathard --disable-ffmpeg --disable-netplay --enable-udev --disable-sdl --disable-pulse --disable-oss --disable-freetype --disable-7zip
NOTE: A TTY hack is used to auto-clean the console on exit, and the fbdev ioctls are used to retrieve
current video mode. Both things work good, but they are not exactly ideal solutions.
+31 -9
View File
@@ -8,15 +8,17 @@ Popular examples of implementations for this API includes video game system emul
more generalized 3D programs.
These programs are instantiated as dynamic libraries. We refer to these as "libretro cores".
![XMB menu driver](http://i.imgur.com/BMR1xxr.png "XMB menu driver")
![XMB menu driver](docs/XMB-main-menu.jpg "XMB menu driver")
![rgui menu driver](http://i.imgur.com/X3CbBKa.png "rgui menu driver")
![rgui menu driver](docs/rgui-main-menu.jpg "rgui menu driver")
![glui menu driver](http://i.imgur.com/ooqv8rw.png "glui menu driver")
![glui menu driver](docs/glui-main-menu.jpg "glui menu driver")
![ozone menu driver](docs/ozone-main-menu.jpg "ozone menu driver")
## libretro
[libretro](http://libretro.com) is an API that exposes generic audio/video/input callbacks.
[libretro](https://www.libretro.com) is an API that exposes generic audio/video/input callbacks.
A frontend for libretro (such as RetroArch) handles video output, audio output, input and application lifecycle.
A libretro core written in portable C or C++ can run seamlessly on many platforms with very little to no porting effort.
@@ -31,12 +33,12 @@ Latest binaries are currently hosted on the [buildbot](http://buildbot.libretro.
## Support
To reach developers, either make an issue here on GitHub, make a thread on the [forum](http://www.libretro.com/forums/), chat on [Discord](https://discord.gg/C4amCeV), or visit our IRC channel: #retroarch @ irc.freenode.org.
To reach developers, either make an issue here on GitHub, make a thread on the [forum](https://www.libretro.com/forums/), chat on [discord](https://discord.gg/C4amCeV), or visit our IRC channel: #retroarch @ irc.freenode.org. You could create a post in [Reddit](https://www.reddit.com/r/RetroArch/) with *Technical Support* flair.
## Documentation
See our [Documentation Center](https://docs.libretro.com/). On Unix, man-pages are provided.
More developer-centric stuff is found [here](https://github.com/libretro/libretro.github.com/wiki/Documentation-devs).
More developer-centric stuff is found [here](https://docs.libretro.com/development/libretro-overview/).
## Related projects
@@ -72,6 +74,7 @@ RetroArch has been ported to the following platforms:
- Haiku
- Solaris
- macOS (PPC, x86-32 and x86-64)
- PlayStation 2
- PlayStation 3
- PlayStation Portable
- PlayStation Vita
@@ -80,7 +83,7 @@ RetroArch has been ported to the following platforms:
- Nintendo GameCube
- Nintendo Wii
- Nintendo Wii U
- Nintendo 3DS
- Nintendo 3DS/2DS
- Nintendo Switch
- Nintendo NES/SNES Classic Edition
- Raspberry Pi
@@ -105,7 +108,6 @@ OSX port of RetroArch requires latest versions of XCode to build.
RetroArch can utilize these libraries if enabled:
- nvidia-cg-toolkit
- libxml2 (GLSL XML shaders)
- libfreetype2 (TTF font rendering on screen)
RetroArch needs at least one of these audio driver libraries:
@@ -148,7 +150,7 @@ Instructions for compiling and installing RetroArch can be found in the [Libretr
## CRT 15Khz Resolution Switching
CRT SwitchRes will turn on, on the fly. However, you will need to restart RetroArch to disable it. With CRT SwitchRes enable RetroArch will start in 2560 x 480 @ 60.
CRT SwitchRes will turn on, on the fly. However, you will need to restart RetroArch to disable it. With CRT SwitchRes enable RetroArch will start in 2560 x 480 @ 60.
If you are running Windows, before enabling the CRT SwitchRes options please make sure you have installed CRTEmudriver and installed some modelines. The minimum modelines for all games to switch correctly are:
@@ -257,3 +259,23 @@ These modelines are more accurate giving exact hz. However, some games may have
Some arcade resolutions can be very different from consumer CRTs. There is resolution detection to ensure MAME games will be displayed in the closest available resolution but drawn at their native resolution within this resolution. Meaning that the MAME game will look just like the original hardware.
MAME ROMs that run in a vertical aspect like DoDonPachi need to be rotated within MAME before resolution switching and aspect correction will work. Do this before enabling CRT SwitchRes so that RetroArch will run in your desktop resolution. Once you have rotated any games that may need it turn CRT SwitchRes on.
## Socials
The links below belong to our official channels. Links other than this may have been created by fans, independent members or followers. We seriously recommend using our original resources.
- [Website](https://www.retroarch.com/)
- [Blog](https://libretro.com/)
- [Facebook](https://www.facebook.com/libretro)
- [Twitter](https://twitter.com/libretro)
- [Reddit](https://www.reddit.com/r/RetroArch/)
- [YouTube](https://www.youtube.com/Libretro)
- [Google Post](https://posts.google.com/share/55Nhs2jG)
- [Steam](https://store.steampowered.com/app/1118310/RetroArch/)
- [YouTube Topic](https://www.youtube.com/channel/UC5q007PYyQPgin0HHbzF0zQ)
- [Patreon](https://www.patreon.com/libretro)
- [BOUNTYSOURCE](https://www.bountysource.com/teams/libretro/issues)
- [Discord](https://discord.gg/27Xxm2h)
- [Teespring](https://teespring.com/stores/retroarch)
- [Documentation](https://docs.libretro.com/)
- [Forum](https://forums.libretro.com/)
+11 -13
View File
@@ -1,6 +1,6 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - Daniel De Matteis
* Copyright (C) 2011-2016 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
@@ -14,30 +14,28 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _COCOA_METAL_UI
#define _COCOA_METAL_UI
#ifndef __RETROARCH_ACCESSIBILITY_H
#define __RETROARCH_ACCESSIBILITY_H
#include <stdint.h>
#include <stddef.h>
#include <sys/types.h>
#include <stdlib.h>
#include <boolean.h>
#include <retro_inline.h>
#include <retro_common_api.h>
#include "cocoa/cocoa_common_metal.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "../ui_companion_driver.h"
RETRO_BEGIN_DECLS
typedef struct ui_application_cocoa
{
void *empty;
} ui_application_cocoa_t;
bool is_accessibility_enabled(void);
typedef struct ui_window_cocoa
{
void *data;
} ui_window_cocoa_t;
bool accessibility_speak_priority(const char* speak_text, int priority);
RETRO_END_DECLS
-1897
View File
File diff suppressed because it is too large. Load diff
-323
View File
@@ -1,323 +0,0 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __AUDIO_DRIVER__H
#define __AUDIO_DRIVER__H
#include <stdint.h>
#include <stddef.h>
#include <sys/types.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <audio/audio_mixer.h>
#include "audio_defines.h"
RETRO_BEGIN_DECLS
typedef struct audio_mixer_stream
{
audio_mixer_sound_t *handle;
audio_mixer_voice_t *voice;
audio_mixer_stop_cb_t stop_cb;
enum audio_mixer_stream_type stream_type;
enum audio_mixer_type type;
enum audio_mixer_state state;
float volume;
void *buf;
char *name;
size_t bufsize;
} audio_mixer_stream_t;
typedef struct audio_mixer_stream_params
{
float volume;
enum audio_mixer_slot_selection_type slot_selection_type;
unsigned slot_selection_idx;
enum audio_mixer_stream_type stream_type;
enum audio_mixer_type type;
enum audio_mixer_state state;
void *buf;
char *basename;
size_t bufsize;
audio_mixer_stop_cb_t cb;
} audio_mixer_stream_params_t;
typedef struct audio_driver
{
/* Creates and initializes handle to audio driver.
*
* Returns: audio driver handle on success, otherwise NULL.
**/
void *(*init)(const char *device, unsigned rate,
unsigned latency, unsigned block_frames, unsigned *new_rate);
/*
* @data : Pointer to audio data handle.
* @buf : Audio buffer data.
* @size : Size of audio buffer.
*
* Write samples to audio driver.
*
* Write data in buffer to audio driver.
* A frame here is defined as one combined sample of left and right
* channels. (I.e. 44.1kHz, 16-bit stereo has 88.2k samples/s, and
* 44.1k frames/s.)
*
* Samples are interleaved in format LRLRLRLRLR ...
* If the driver returns true in use_float(), a floating point
* format will be used, with range [-1.0, 1.0].
* If not, signed 16-bit samples in native byte ordering will be used.
*
* This function returns the number of frames successfully written.
* If an error occurs, -1 should be returned.
* Note that non-blocking behavior that cannot write at this time
* should return 0 as returning -1 will terminate the driver.
*
* Unless said otherwise with set_nonblock_state(), all writes
* are blocking, and it should block till it has written all frames.
*/
ssize_t (*write)(void *data, const void *buf, size_t size);
/* Temporarily pauses the audio driver. */
bool (*stop)(void *data);
/* Resumes audio driver from the paused state. */
bool (*start)(void *data, bool is_shutdown);
/* Is the audio driver currently running? */
bool (*alive)(void *data);
/* Should we care about blocking in audio thread? Fast forwarding.
*
* If state is true, nonblocking operation is assumed.
* This is typically used for fast-forwarding. If driver cannot
* implement nonblocking writes, this can be disregarded, but should
* log a message to stderr.
* */
void (*set_nonblock_state)(void *data, bool toggle);
/* Stops and frees driver data. */
void (*free)(void *data);
/* Defines if driver will take standard floating point samples,
* or int16_t samples.
*
* If true is returned, the audio driver is capable of using
* floating point data. This will likely increase performance as the
* resampler unit uses floating point. The sample range is
* [-1.0, 1.0].
* */
bool (*use_float)(void *data);
/* Human-readable identifier. */
const char *ident;
/* Optional. Get audio device list (allocates, caller has to free this) */
void *(*device_list_new)(void *data);
/* Optional. Frees audio device list */
void (*device_list_free)(void *data, void *data2);
/* Optional. */
size_t (*write_avail)(void *data);
size_t (*buffer_size)(void *data);
} audio_driver_t;
void audio_driver_destroy_data(void);
void audio_driver_set_own_driver(void);
void audio_driver_unset_own_driver(void);
void audio_driver_suspend(void);
bool audio_driver_is_suspended(void);
void audio_driver_resume(void);
void audio_driver_set_active(void);
bool audio_driver_is_active(void);
void audio_driver_destroy(void);
void audio_driver_deinit_resampler(void);
bool audio_driver_free_devices_list(void);
bool audio_driver_new_devices_list(void);
bool audio_driver_enable_callback(void);
bool audio_driver_disable_callback(void);
/**
* audio_driver_find_handle:
* @index : index of driver to get handle to.
*
* Returns: handle to audio driver at index. Can be NULL
* if nothing found.
**/
const void *audio_driver_find_handle(int index);
/**
* audio_driver_find_ident:
* @index : index of driver to get handle to.
*
* Returns: Human-readable identifier of audio driver at index. Can be NULL
* if nothing found.
**/
const char *audio_driver_find_ident(int index);
void audio_driver_set_nonblocking_state(bool enable);
/**
* config_get_audio_driver_options:
*
* Get an enumerated list of all audio driver names, separated by '|'.
*
* Returns: string listing of all audio driver names, separated by '|'.
**/
const char* config_get_audio_driver_options(void);
void audio_driver_sample(int16_t left, int16_t right);
size_t audio_driver_sample_batch(const int16_t *data, size_t frames);
void audio_driver_sample_rewind(int16_t left, int16_t right);
size_t audio_driver_sample_batch_rewind(const int16_t *data, size_t frames);
bool audio_driver_mixer_extension_supported(const char *ext);
void audio_driver_dsp_filter_free(void);
void audio_driver_dsp_filter_init(const char *device);
void audio_driver_set_buffer_size(size_t bufsize);
bool audio_driver_get_devices_list(void **ptr);
void audio_driver_setup_rewind(void);
void audio_driver_monitor_adjust_system_rates(void);
bool audio_driver_set_callback(const void *data);
bool audio_driver_callback(void);
bool audio_driver_has_callback(void);
/* Sets audio monitor rate to new value. */
void audio_driver_monitor_set_rate(void);
bool audio_driver_find_driver(void);
bool audio_driver_toggle_mute(void);
bool audio_driver_start(bool is_shutdown);
bool audio_driver_stop(void);
bool audio_driver_owns_driver(void);
void audio_driver_unset_callback(void);
void audio_driver_frame_is_reverse(void);
void audio_set_float(enum audio_action action, float val);
void audio_set_bool(enum audio_action action, bool val);
void audio_unset_bool(enum audio_action action, bool val);
float *audio_get_float_ptr(enum audio_action action);
bool *audio_get_bool_ptr(enum audio_action action);
bool audio_driver_deinit(void);
bool audio_driver_init(void);
void audio_driver_menu_sample(void);
audio_mixer_stream_t *audio_driver_mixer_get_stream(unsigned i);
bool audio_driver_mixer_add_stream(audio_mixer_stream_params_t *params);
void audio_driver_mixer_play_stream(unsigned i);
void audio_driver_mixer_play_menu_sound(unsigned i);
void audio_driver_mixer_play_menu_sound_looped(unsigned i);
void audio_driver_mixer_play_stream_sequential(unsigned i);
void audio_driver_mixer_play_stream_looped(unsigned i);
void audio_driver_mixer_stop_stream(unsigned i);
float audio_driver_mixer_get_stream_volume(unsigned i);
void audio_driver_mixer_set_stream_volume(unsigned i, float vol);
void audio_driver_mixer_remove_stream(unsigned i);
enum audio_mixer_state audio_driver_mixer_get_stream_state(unsigned i);
const char *audio_driver_mixer_get_stream_name(unsigned i);
bool compute_audio_buffer_statistics(audio_statistics_t *stats);
void audio_driver_load_menu_sounds(void);
extern audio_driver_t audio_rsound;
extern audio_driver_t audio_audioio;
extern audio_driver_t audio_oss;
extern audio_driver_t audio_alsa;
extern audio_driver_t audio_alsathread;
extern audio_driver_t audio_tinyalsa;
extern audio_driver_t audio_roar;
extern audio_driver_t audio_openal;
extern audio_driver_t audio_opensl;
extern audio_driver_t audio_jack;
extern audio_driver_t audio_sdl;
extern audio_driver_t audio_xa;
extern audio_driver_t audio_pulse;
extern audio_driver_t audio_dsound;
extern audio_driver_t audio_wasapi;
extern audio_driver_t audio_coreaudio;
extern audio_driver_t audio_coreaudio3;
extern audio_driver_t audio_xenon360;
extern audio_driver_t audio_ps3;
extern audio_driver_t audio_gx;
extern audio_driver_t audio_ax;
extern audio_driver_t audio_psp;
extern audio_driver_t audio_ps2;
extern audio_driver_t audio_ctr_csnd;
extern audio_driver_t audio_ctr_dsp;
extern audio_driver_t audio_switch;
extern audio_driver_t audio_switch_thread;
extern audio_driver_t audio_rwebaudio;
extern audio_driver_t audio_null;
RETRO_END_DECLS
#endif
+6 -8
View File
@@ -55,8 +55,8 @@ static void audio_thread_loop(void *data)
if (!thr)
return;
RARCH_LOG("[Audio Thread]: Initializing audio driver.\n");
thr->driver_data = thr->driver->init(thr->device, thr->out_rate, thr->latency,
thr->driver_data = thr->driver->init(
thr->device, thr->out_rate, thr->latency,
thr->block_frames, thr->new_rate);
slock_lock(thr->lock);
thr->inited = thr->driver_data ? 1 : -1;
@@ -75,8 +75,6 @@ static void audio_thread_loop(void *data)
scond_wait(thr->cond, thr->lock);
slock_unlock(thr->lock);
RARCH_LOG("[Audio Thread]: Starting audio.\n");
for (;;)
{
slock_lock(thr->lock);
@@ -94,7 +92,8 @@ static void audio_thread_loop(void *data)
thr->driver->stop(thr->driver_data);
while (thr->stopped)
{
/* If we stop right after start, we might not be able to properly ack.
/* If we stop right after start,
* we might not be able to properly ack.
* Signal in the loop instead. */
thr->stopped_ack = true;
scond_signal(thr->cond);
@@ -108,7 +107,6 @@ static void audio_thread_loop(void *data)
audio_driver_callback();
}
RARCH_LOG("[Audio Thread]: Tearing down driver.\n");
thr->driver->free(thr->driver_data);
}
@@ -300,8 +298,8 @@ bool audio_init_thread(const audio_driver_t **out_driver,
if (!(thr->lock = slock_new()))
goto error;
thr->alive = true;
thr->stopped = true;
thr->alive = true;
thr->stopped = true;
if (!(thr->thread = sthread_create(audio_thread_loop, thr)))
goto error;
+1 -1
View File
@@ -19,7 +19,7 @@
#include <boolean.h>
#include "audio_driver.h"
#include "../retroarch.h"
/**
* audio_init_thread:
+136
View File
@@ -0,0 +1,136 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
#include <encodings/utf.h>
#include <lists/string_list.h>
#include "mmdevice_common.h"
#include "mmdevice_common_inline.h"
void *mmdevice_list_new(void *u)
{
HRESULT hr;
UINT i;
PROPVARIANT prop_var;
union string_list_elem_attr attr;
IMMDeviceEnumerator *enumerator = NULL;
IMMDeviceCollection *collection = NULL;
UINT dev_count = 0;
IMMDevice *device = NULL;
LPWSTR dev_id_wstr = NULL;
IPropertyStore *prop_store = NULL;
bool br = false;
bool prop_var_init = false;
char *dev_id_str = NULL;
char *dev_name_str = NULL;
struct string_list *sl = string_list_new();
if (!sl)
return NULL;
attr.i = 0;
#ifdef __cplusplus
hr = CoCreateInstance(CLSID_MMDeviceEnumerator, NULL, CLSCTX_ALL,
IID_IMMDeviceEnumerator, (void **)&enumerator);
#else
hr = CoCreateInstance(&CLSID_MMDeviceEnumerator, NULL, CLSCTX_ALL,
&IID_IMMDeviceEnumerator, (void **)&enumerator);
#endif
if (FAILED(hr))
goto error;
hr = _IMMDeviceEnumerator_EnumAudioEndpoints(enumerator,
eRender, DEVICE_STATE_ACTIVE, &collection);
if (FAILED(hr))
goto error;
hr = _IMMDeviceCollection_GetCount(collection, &dev_count);
if (FAILED(hr))
goto error;
for (i = 0; i < dev_count; ++i)
{
hr = _IMMDeviceCollection_Item(collection, i, &device);
if (FAILED(hr))
goto error;
hr = _IMMDevice_GetId(device, &dev_id_wstr);
if (FAILED(hr))
goto error;
if (!(dev_id_str = utf16_to_utf8_string_alloc(dev_id_wstr)))
goto error;
hr = _IMMDevice_OpenPropertyStore(device, STGM_READ, &prop_store);
if (FAILED(hr))
goto error;
PropVariantInit(&prop_var);
prop_var_init = true;
hr = _IPropertyStore_GetValue(
prop_store, PKEY_Device_FriendlyName,
&prop_var);
if (FAILED(hr))
goto error;
if (!(dev_name_str = utf16_to_utf8_string_alloc(prop_var.pwszVal)))
goto error;
br = string_list_append(sl, dev_name_str, attr);
if (!br)
goto error;
if (dev_id_str)
sl->elems[sl->size-1].userdata = dev_id_str;
PropVariantClear(&prop_var);
prop_var_init = false;
if (dev_id_wstr)
CoTaskMemFree(dev_id_wstr);
if (dev_name_str)
free(dev_name_str);
dev_name_str = NULL;
dev_id_wstr = NULL;
IFACE_RELEASE(prop_store);
IFACE_RELEASE(device);
}
IFACE_RELEASE(collection);
IFACE_RELEASE(enumerator);
return sl;
error:
if (dev_id_str)
free(dev_id_str);
if (dev_name_str)
free(dev_name_str);
dev_id_str = NULL;
dev_name_str = NULL;
if (prop_var_init)
PropVariantClear(&prop_var);
IFACE_RELEASE(prop_store);
if (dev_id_wstr)
CoTaskMemFree(dev_id_wstr);
dev_id_wstr = NULL;
IFACE_RELEASE(device);
IFACE_RELEASE(collection);
IFACE_RELEASE(enumerator);
if (sl)
string_list_free(sl);
return NULL;
}
@@ -1,29 +1,27 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2015-2017 - Andre Leiradella
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __RARCH_HTTPSERVR_H
#define __RARCH_HTTPSERVR_H
#include <retro_common_api.h>
RETRO_BEGIN_DECLS
int httpserver_init(unsigned port);
void httpserver_destroy(void);
RETRO_END_DECLS
#endif /* __RARCH_HTTPSERVR_H */
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _MMDEVICE_COMMON_H
#define _MMDEVICE_COMMON_H
#include <stdlib.h>
RETRO_BEGIN_DECLS
void *mmdevice_list_new(void *u);
RETRO_END_DECLS
#endif
+114
View File
@@ -0,0 +1,114 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _MMDEVICE_COMMON_INLINE_H
#define _MMDEVICE_COMMON_INLINE_H
#include <stdlib.h>
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT 0x0600
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winerror.h>
#include <propidl.h>
#include <initguid.h>
#include <mmdeviceapi.h>
#include <mmreg.h>
#include <audioclient.h>
#include <retro_common_api.h>
#ifdef _MSC_VER
DEFINE_GUID(IID_IAudioClient, 0x1CB9AD4C, 0xDBFA, 0x4C32, 0xB1, 0x78, 0xC2, 0xF5, 0x68, 0xA7, 0x03, 0xB2);
DEFINE_GUID(IID_IAudioRenderClient, 0xF294ACFC, 0x3146, 0x4483, 0xA7, 0xBF, 0xAD, 0xDC, 0xA7, 0xC2, 0x60, 0xE2);
DEFINE_GUID(IID_IMMDeviceEnumerator, 0xA95664D2, 0x9614, 0x4F35, 0xA7, 0x46, 0xDE, 0x8D, 0xB6, 0x36, 0x17, 0xE6);
DEFINE_GUID(CLSID_MMDeviceEnumerator, 0xBCDE0395, 0xE52F, 0x467C, 0x8E, 0x3D, 0xC4, 0x57, 0x92, 0x91, 0x69, 0x2E);
#undef KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
DEFINE_GUID(KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 0x00000003, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
#endif
DEFINE_PROPERTYKEY(PKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 14); /* DEVPROP_TYPE_STRING */
#ifdef __cplusplus
#define _IMMDeviceCollection_Item(This,nDevice,ppdevice) (This)->Item(nDevice,ppdevice)
#define _IAudioClient_Start(This) ( (This)->Start() )
#define _IAudioClient_Stop(This) ( (This)->Stop() )
#define _IAudioClient_GetCurrentPadding(This,pNumPaddingFrames) \
( (This)->GetCurrentPadding(pNumPaddingFrames) )
#define _IAudioRenderClient_GetBuffer(This,NumFramesRequested,ppData) \
( (This)->GetBuffer(NumFramesRequested,ppData) )
#define _IAudioRenderClient_ReleaseBuffer(This,NumFramesWritten,dwFlags) \
( (This)->ReleaseBuffer(NumFramesWritten,dwFlags) )
#define _IAudioClient_GetService(This,riid,ppv) ( (This)->GetService(riid,ppv) )
#define _IAudioClient_SetEventHandle(This,eventHandle) ( (This)->SetEventHandle(eventHandle) )
#define _IAudioClient_GetBufferSize(This,pNumBufferFrames) ( (This)->GetBufferSize(pNumBufferFrames) )
#define _IAudioClient_GetStreamLatency(This,phnsLatency) ( (This)->GetStreamLatency(phnsLatency) )
#define _IAudioClient_GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) ( (This)->GetDevicePeriod(phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) )
#define _IMMDevice_Activate(This,iid,dwClsCtx,pActivationParams,ppv) ((This)->Activate(iid,(dwClsCtx),pActivationParams,ppv))
#define _IMMDeviceEnumerator_EnumAudioEndpoints(This,dataFlow,dwStateMask,ppDevices) (This)->EnumAudioEndpoints(dataFlow,dwStateMask,ppDevices)
#define _IMMDeviceEnumerator_GetDefaultAudioEndpoint(This,dataFlow,role,ppEndpoint) (This)->GetDefaultAudioEndpoint(dataFlow,role,ppEndpoint)
#define _IMMDevice_OpenPropertyStore(This,stgmAccess,ppProperties) (This)->OpenPropertyStore(stgmAccess,ppProperties)
#define _IMMDevice_GetId(This,ppstrId) ((This)->GetId(ppstrId))
#define _IPropertyStore_GetValue(This,key,pv) ( (This)->GetValue(key,pv) )
#define _IMMDeviceCollection_GetCount(This,cProps) ( (This)->GetCount(cProps) )
#else
#define _IMMDeviceCollection_Item(This,nDevice,ppdevice) (This)->lpVtbl->Item(This,nDevice,ppdevice)
#define _IAudioClient_Start(This) ( (This)->lpVtbl -> Start(This) )
#define _IAudioClient_Stop(This) ( (This)->lpVtbl -> Stop(This) )
#define _IAudioClient_GetCurrentPadding(This,pNumPaddingFrames) \
( (This)->lpVtbl -> GetCurrentPadding(This,pNumPaddingFrames) )
#define _IAudioRenderClient_GetBuffer(This,NumFramesRequested,ppData) \
( (This)->lpVtbl -> GetBuffer(This,NumFramesRequested,ppData) )
#define _IAudioRenderClient_ReleaseBuffer(This,NumFramesWritten,dwFlags) \
( (This)->lpVtbl -> ReleaseBuffer(This,NumFramesWritten,dwFlags) )
#define _IAudioClient_GetService(This,riid,ppv) ( (This)->lpVtbl -> GetService(This,&(riid),ppv) )
#define _IAudioClient_SetEventHandle(This,eventHandle) ( (This)->lpVtbl -> SetEventHandle(This,eventHandle) )
#define _IAudioClient_GetBufferSize(This,pNumBufferFrames) ( (This)->lpVtbl -> GetBufferSize(This,pNumBufferFrames) )
#define _IAudioClient_GetStreamLatency(This,phnsLatency) ( (This)->lpVtbl -> GetStreamLatency(This,phnsLatency) )
#define _IAudioClient_GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) ( (This)->lpVtbl -> GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) )
#define _IMMDevice_Activate(This,iid,dwClsCtx,pActivationParams,ppv) ((This)->lpVtbl->Activate(This,&(iid),dwClsCtx,pActivationParams,ppv))
#define _IMMDeviceEnumerator_EnumAudioEndpoints(This,dataFlow,dwStateMask,ppDevices) (This)->lpVtbl->EnumAudioEndpoints(This,dataFlow,dwStateMask,ppDevices)
#define _IMMDeviceEnumerator_GetDefaultAudioEndpoint(This,dataFlow,role,ppEndpoint) (This)->lpVtbl->GetDefaultAudioEndpoint(This,dataFlow,role,ppEndpoint)
#define _IMMDevice_OpenPropertyStore(This,stgmAccess,ppProperties) (This)->lpVtbl->OpenPropertyStore(This,stgmAccess,ppProperties)
#define _IMMDevice_GetId(This,ppstrId) (This)->lpVtbl->GetId(This,ppstrId)
#define _IPropertyStore_GetValue(This,key,pv) ( (This)->lpVtbl -> GetValue(This,&(key),pv) )
#define _IMMDeviceCollection_GetCount(This,cProps) ( (This)->lpVtbl -> GetCount(This,cProps) )
#endif
#ifdef __cplusplus
#ifndef IFACE_RELEASE
#define IFACE_RELEASE(iface) \
if (iface) \
{ \
iface->Release(); \
iface = NULL; \
}
#endif
#else
#ifndef IFACE_RELEASE
#define IFACE_RELEASE(iface) \
if (iface) \
{ \
iface->lpVtbl->Release(iface);\
iface = NULL; \
}
#endif
#endif
#endif
+13 -2
View File
@@ -21,7 +21,7 @@
#include <alsa/asoundlib.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
typedef struct alsa
@@ -180,6 +180,7 @@ error:
#define BYTES_TO_FRAMES(bytes, frame_bits) ((bytes) * 8 / frame_bits)
#define FRAMES_TO_BYTES(frames, frame_bits) ((frames) * frame_bits / 8)
static bool alsa_start(void *data, bool is_shutdown);
static ssize_t alsa_write(void *data, const void *buf_, size_t size_)
{
alsa_t *alsa = (alsa_t*)data;
@@ -188,6 +189,12 @@ static ssize_t alsa_write(void *data, const void *buf_, size_t size_)
snd_pcm_sframes_t size = BYTES_TO_FRAMES(size_, alsa->frame_bits);
size_t frames_size = alsa->has_float ? sizeof(float) : sizeof(int16_t);
/* Workaround buggy menu code.
* If a write happens while we're paused, we might never progress. */
if (alsa->is_paused)
if (!alsa_start(alsa, false))
return -1;
if (alsa->nonblock)
{
while (size)
@@ -269,6 +276,8 @@ static bool alsa_alive(void *data)
static bool alsa_stop(void *data)
{
alsa_t *alsa = (alsa_t*)data;
if (alsa->is_paused)
return true;
if (alsa->can_pause
&& !alsa->is_paused)
@@ -293,6 +302,8 @@ static void alsa_set_nonblock_state(void *data, bool state)
static bool alsa_start(void *data, bool is_shutdown)
{
alsa_t *alsa = (alsa_t*)data;
if (!alsa->is_paused)
return true;
if (alsa->can_pause
&& alsa->is_paused)
@@ -361,7 +372,7 @@ static void *alsa_device_list_new(void *data)
n = hints;
while (*n != NULL)
while (*n)
{
char *name = snd_device_name_get_hint(*n, "NAME");
char *io = snd_device_name_get_hint(*n, "IOID");
+14 -14
View File
@@ -19,7 +19,7 @@
#include <sys/asoundlib.h>
#include <retro_math.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#define MAX_FRAG_SIZE 3072
#define DEFAULT_RATE 48000
@@ -41,7 +41,7 @@ typedef struct alsa
bool is_paused;
unsigned buf_size;
unsigned buf_count;
} alsa_t;
} alsa_qsa_t;
typedef long snd_pcm_sframes_t;
@@ -53,7 +53,7 @@ static void *alsa_qsa_init(const char *device,
snd_pcm_channel_info_t pi;
snd_pcm_channel_params_t params = {0};
snd_pcm_channel_setup_t setup = {0};
alsa_t *alsa = (alsa_t*)calloc(1, sizeof(alsa_t));
alsa_qsa_t *alsa = (alsa_qsa_t*)calloc(1, sizeof(alsa_qsa_t));
if (!alsa)
return NULL;
@@ -165,8 +165,8 @@ error:
static int check_pcm_status(void *data, int channel_type)
{
snd_pcm_channel_status_t status;
alsa_t *alsa = (alsa_t*)data;
int ret = EOK;
alsa_qsa_t *alsa = (alsa_qsa_t*)data;
int ret = EOK;
memset(&status, 0, sizeof (status));
status.channel = channel_type;
@@ -221,7 +221,7 @@ static int check_pcm_status(void *data, int channel_type)
static ssize_t alsa_qsa_write(void *data, const void *buf, size_t size)
{
alsa_t *alsa = (alsa_t*)data;
alsa_qsa_t *alsa = (alsa_qsa_t*)data;
snd_pcm_sframes_t written = 0;
while (size)
@@ -268,7 +268,7 @@ static ssize_t alsa_qsa_write(void *data, const void *buf, size_t size)
static bool alsa_qsa_stop(void *data)
{
alsa_t *alsa = (alsa_t*)data;
alsa_qsa_t *alsa = (alsa_qsa_t*)data;
if (alsa->can_pause && !alsa->is_paused)
{
@@ -284,7 +284,7 @@ static bool alsa_qsa_stop(void *data)
static bool alsa_qsa_alive(void *data)
{
alsa_t *alsa = (alsa_t*)data;
alsa_qsa_t *alsa = (alsa_qsa_t*)data;
if (alsa)
return !alsa->is_paused;
return false;
@@ -292,7 +292,7 @@ static bool alsa_qsa_alive(void *data)
static bool alsa_qsa_start(void *data, bool is_shutdown)
{
alsa_t *alsa = (alsa_t*)data;
alsa_qsa_t *alsa = (alsa_qsa_t*)data;
if (alsa->can_pause && alsa->is_paused)
{
@@ -313,7 +313,7 @@ static bool alsa_qsa_start(void *data, bool is_shutdown)
static void alsa_qsa_set_nonblock_state(void *data, bool state)
{
alsa_t *alsa = (alsa_t*)data;
alsa_qsa_t *alsa = (alsa_qsa_t*)data;
int err;
@@ -329,13 +329,13 @@ static void alsa_qsa_set_nonblock_state(void *data, bool state)
static bool alsa_qsa_use_float(void *data)
{
alsa_t *alsa = (alsa_t*)data;
alsa_qsa_t *alsa = (alsa_qsa_t*)data;
return alsa->has_float;
}
static void alsa_qsa_free(void *data)
{
alsa_t *alsa = (alsa_t*)data;
alsa_qsa_t *alsa = (alsa_qsa_t*)data;
if (alsa)
{
@@ -352,7 +352,7 @@ static void alsa_qsa_free(void *data)
static size_t alsa_qsa_write_avail(void *data)
{
alsa_t *alsa = (alsa_t*)data;
alsa_qsa_t *alsa = (alsa_qsa_t*)data;
size_t avail = (alsa->buf_count -
(int)alsa->buffered_blocks - 1) * alsa->buf_size +
(alsa->buf_size - (int)alsa->buffer_ptr);
@@ -361,7 +361,7 @@ static size_t alsa_qsa_write_avail(void *data)
static size_t alsa_qsa_buffer_size(void *data)
{
alsa_t *alsa = (alsa_t*)data;
alsa_qsa_t *alsa = (alsa_qsa_t*)data;
return alsa->buf_size * alsa->buf_count;
}
+6 -6
View File
@@ -24,7 +24,7 @@
#include <queues/fifo_queue.h>
#include <string/stdstring.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#define TRY_ALSA(x) if (x < 0) \
@@ -345,7 +345,7 @@ static size_t alsa_thread_buffer_size(void *data)
return alsa->buffer_size;
}
static void *alsa_device_list_new(void *data)
static void *alsa_thread_device_list_new(void *data)
{
void **hints, **n;
union string_list_elem_attr attr;
@@ -361,7 +361,7 @@ static void *alsa_device_list_new(void *data)
n = hints;
while (*n != NULL)
while (*n)
{
char *name = snd_device_name_get_hint(*n, "NAME");
char *io = snd_device_name_get_hint(*n, "IOID");
@@ -393,7 +393,7 @@ error:
return NULL;
}
static void alsa_device_list_free(void *data, void *array_list_data)
static void alsa_thread_device_list_free(void *data, void *array_list_data)
{
struct string_list *s = (struct string_list*)array_list_data;
@@ -413,8 +413,8 @@ audio_driver_t audio_alsathread = {
alsa_thread_free,
alsa_thread_use_float,
"alsathread",
alsa_device_list_new,
alsa_device_list_free,
alsa_thread_device_list_new,
alsa_thread_device_list_free,
alsa_thread_write_avail,
alsa_thread_buffer_size,
};
+9 -1
View File
@@ -27,7 +27,7 @@
#include "config.h"
#endif
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#define DEFAULT_DEV "/dev/audio"
@@ -47,6 +47,8 @@ static void *audioio_init(const char *device, unsigned rate, unsigned latency,
#ifdef AUMODE_PLAY_ALL
info.mode = AUMODE_PLAY_ALL;
#elif defined(AUMODE_PLAY)
info.mode = AUMODE_PLAY;
#endif
info.play.sample_rate = rate;
info.play.channels = 2;
@@ -104,8 +106,10 @@ static bool audioio_stop(void *data)
struct audio_info info;
int *fd = (int*)data;
#ifdef AUDIO_FLUSH
if (ioctl(*fd, AUDIO_FLUSH, NULL) < 0)
return false;
#endif
if (ioctl(*fd, AUDIO_GETINFO, &info) < 0)
return false;
@@ -120,8 +124,10 @@ static bool audioio_start(void *data, bool is_shutdown)
struct audio_info info;
int *fd = (int*)data;
#ifdef AUDIO_FLUSH
if (ioctl(*fd, AUDIO_FLUSH, NULL) < 0)
return false;
#endif
if (ioctl(*fd, AUDIO_GETINFO, &info) < 0)
return false;
@@ -159,7 +165,9 @@ static void audioio_free(void *data)
{
int *fd = (int*)data;
#ifdef AUDIO_FLUSH
(void)ioctl(*fd, AUDIO_FLUSH, NULL);
#endif
close(*fd);
free(fd);
+9 -3
View File
@@ -31,7 +31,7 @@
#include <retro_endianness.h>
#include <string/stdstring.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
typedef struct coreaudio
@@ -52,7 +52,9 @@ typedef struct coreaudio
size_t buffer_size;
} coreaudio_t;
#if TARGET_OS_IOS
static bool g_interrupted;
#endif
static void coreaudio_free(void *data)
{
@@ -243,7 +245,7 @@ static void *coreaudio_init(const char *device,
#else
comp = AudioComponentFindNext(NULL, &desc);
#endif
if (comp == NULL)
if (!comp)
goto error;
#if (defined(__MACH__) && (defined(__ppc__) || defined(__ppc64__)))
@@ -344,7 +346,11 @@ static ssize_t coreaudio_write(void *data, const void *buf_, size_t size)
const uint8_t *buf = (const uint8_t*)buf_;
size_t written = 0;
#if TARGET_OS_IOS
while (!g_interrupted && size > 0)
#else
while (size > 0)
#endif
{
size_t write_avail;
@@ -365,7 +371,7 @@ static ssize_t coreaudio_write(void *data, const void *buf_, size_t size)
break;
}
#if TARGET_OS_IPHONE
#if TARGET_OS_IOS
if (write_avail == 0 && !scond_wait_timeout(
dev->cond, dev->lock, 3000000))
g_interrupted = true;
+392 -382
View File
@@ -1,382 +1,392 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2019 - Stuart Carnie
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
#import <AVFoundation/AVFoundation.h>
#include <stdio.h>
#include <stdatomic.h>
#include <stdlib.h>
#include <memory.h>
#include "../audio_driver.h"
#pragma mark - ringbuffer
typedef struct ringbuffer
{
float *buffer;
size_t cap;
atomic_int len;
size_t writePtr;
size_t readPtr;
} ringbuffer_t;
typedef ringbuffer_t * ringbuffer_h;
static inline size_t rb_len(ringbuffer_h r)
{
return atomic_load_explicit(&r->len, memory_order_relaxed);
}
static inline size_t rb_cap(ringbuffer_h r)
{
return (r->readPtr + r->cap - r->writePtr) % r->cap;
}
static inline size_t rb_avail(ringbuffer_h r)
{
return r->cap - rb_len(r);
}
static inline void rb_advance_write(ringbuffer_h r)
{
r->writePtr = (r->writePtr + 1) % r->cap;
}
static inline void rb_advance_write_n(ringbuffer_h r, size_t n)
{
r->writePtr = (r->writePtr + n) % r->cap;
}
static inline void rb_advance_read(ringbuffer_h r)
{
r->readPtr = (r->readPtr + 1) % r->cap;
}
static inline void rb_len_add(ringbuffer_h r, int n)
{
atomic_fetch_add(&r->len, n);
}
static inline void rb_len_sub(ringbuffer_h r, int n)
{
atomic_fetch_sub(&r->len, n);
}
static void rb_init(ringbuffer_h r, size_t cap)
{
r->buffer = malloc(cap * sizeof(float));
r->cap = cap;
atomic_init(&r->len, 0);
r->writePtr = 0;
r->readPtr = 0;
}
static void rb_free(ringbuffer_h r)
{
free(r->buffer);
bzero(r, sizeof(*r));
}
#define UNLIKELY(x) __builtin_expect((x), 0)
#define LIKELY(x) __builtin_expect((x), 1)
static void rb_write_data(ringbuffer_h r, const float *data, size_t len)
{
size_t avail = rb_avail(r);
size_t n = MIN(len, avail);
size_t first_write = n;
size_t rest_write = 0;
if (r->writePtr + n > r->cap)
{
first_write = r->cap - r->writePtr;
rest_write = n - first_write;
}
memcpy(r->buffer + r->writePtr, data, first_write*sizeof(float));
memcpy(r->buffer, data + first_write, rest_write*sizeof(float));
rb_advance_write_n(r, n);
rb_len_add(r, (int)n);
}
static void rb_read_data(ringbuffer_h r, float *d0, float *d1, size_t len)
{
size_t need = len*2;
do {
size_t have = rb_len(r);
size_t n = MIN(have, need);
int i = 0;
for (; i < n/2; i++)
{
d0[i] = r->buffer[r->readPtr];
rb_advance_read(r);
d1[i] = r->buffer[r->readPtr];
rb_advance_read(r);
}
need -= n;
rb_len_sub(r, (int)n);
if (UNLIKELY(need > 0))
{
/* we got more data */
if (rb_len(r) > 0)
continue;
// underflow
const float quiet = 0.0f;
size_t fill = (need/2)*sizeof(float);
memset_pattern4(&d0[i], &quiet, fill);
memset_pattern4(&d1[i], &quiet, fill);
}
} while (0);
}
#pragma mark - CoreAudio3
static bool g_interrupted;
@interface CoreAudio3 : NSObject {
ringbuffer_t _rb;
dispatch_semaphore_t _sema;
AUAudioUnit *_au;
size_t _bufferSize;
BOOL _nonBlock;
}
@property (nonatomic, readwrite) BOOL nonBlock;
@property (nonatomic, readonly) BOOL paused;
@property (nonatomic, readonly) size_t writeAvailableInBytes;
@property (nonatomic, readonly) size_t bufferSizeInBytes;
- (instancetype)initWithRate:(NSUInteger)rate
latency:(NSUInteger)latency;
- (ssize_t)writeFloat:(const float *)data samples:(size_t)samples;
- (void)start;
- (void)stop;
@end
@implementation CoreAudio3
- (instancetype)initWithRate:(NSUInteger)rate
latency:(NSUInteger)latency {
if (self = [super init])
{
_sema = dispatch_semaphore_create(0);
_bufferSize = (latency * rate) / 1000;
_bufferSize *= 2; // stereo
rb_init(&_rb, _bufferSize);
AudioComponentDescription desc = {
.componentType = kAudioUnitType_Output,
.componentSubType = kAudioUnitSubType_DefaultOutput,
.componentManufacturer = kAudioUnitManufacturer_Apple,
};
NSError *err;
AUAudioUnit *au = [[AUAudioUnit alloc] initWithComponentDescription:desc error:&err];
if (err != nil)
return nil;
AVAudioFormat *format = au.outputBusses[0].format;
if (format.channelCount != 2)
return nil;
AVAudioFormat *renderFormat = [[AVAudioFormat alloc] initStandardFormatWithSampleRate:rate channels:2];
[au.inputBusses[0] setFormat:renderFormat error:&err];
if (err != nil)
return nil;
ringbuffer_h rb = &_rb;
__block dispatch_semaphore_t sema = _sema;
au.outputProvider = ^AUAudioUnitStatus(AudioUnitRenderActionFlags * actionFlags, const AudioTimeStamp * timestamp, AUAudioFrameCount frameCount, NSInteger inputBusNumber, AudioBufferList * inputData) {
rb_read_data(rb, inputData->mBuffers[0].mData, inputData->mBuffers[1].mData, frameCount);
dispatch_semaphore_signal(sema);
return 0;
};
[au allocateRenderResourcesAndReturnError:&err];
if (err != nil)
return nil;
_au = au;
RARCH_LOG("[CoreAudio3]: Using buffer size of %u bytes: (latency = %u ms)\n", (unsigned)self.bufferSizeInBytes, latency);
[self start];
}
return self;
}
- (void)dealloc {
rb_free(&_rb);
}
- (BOOL)paused {
return !_au.running;
}
- (size_t)bufferSizeInBytes {
return _bufferSize * sizeof(float);
}
- (size_t)writeAvailableInBytes {
return rb_avail(&_rb) * sizeof(float);
}
- (void)start {
NSError *err;
[_au startHardwareAndReturnError:&err];
}
- (void)stop {
[_au stopHardware];
}
- (ssize_t)writeFloat:(const float *)data samples:(size_t)samples {
size_t written = 0;
while (!g_interrupted && samples > 0)
{
size_t write_avail = rb_avail(&_rb);
if (write_avail > samples)
write_avail = samples;
rb_write_data(&_rb, data, write_avail);
data += write_avail;
written += write_avail;
samples -= write_avail;
if (_nonBlock)
break;
if (write_avail == 0)
dispatch_semaphore_wait(_sema, DISPATCH_TIME_FOREVER);
}
return written;
}
@end
static void coreaudio3_free(void *data)
{
CoreAudio3 *dev = (__bridge_transfer CoreAudio3 *)data;
if (dev == nil)
return;
[dev stop];
dev = nil;
}
static void *coreaudio3_init(const char *device,
unsigned rate, unsigned latency,
unsigned block_frames,
unsigned *new_rate)
{
CoreAudio3 *dev = [[CoreAudio3 alloc] initWithRate:rate
latency:latency];
*new_rate = rate;
return (__bridge_retained void *)dev;
}
static ssize_t coreaudio3_write(void *data, const void *buf_, size_t size)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
return [dev writeFloat:(const float *)buf_ samples:size/sizeof(float)] * sizeof(float);
}
static void coreaudio3_set_nonblock_state(void *data, bool state)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return;
dev.nonBlock = state;
}
static bool coreaudio3_alive(void *data)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return NO;
return !dev.paused;
}
static bool coreaudio3_stop(void *data)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return NO;
[dev stop];
return dev.paused;
}
static bool coreaudio3_start(void *data, bool is_shutdown)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return NO;
[dev start];
return !dev.paused;
}
static bool coreaudio3_use_float(void *data)
{
return YES;
}
static size_t coreaudio3_write_avail(void *data)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return 0;
return dev.writeAvailableInBytes;
}
static size_t coreaudio3_buffer_size(void *data)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return 0;
return dev.bufferSizeInBytes;
}
audio_driver_t audio_coreaudio3 = {
coreaudio3_init,
coreaudio3_write,
coreaudio3_stop,
coreaudio3_start,
coreaudio3_alive,
coreaudio3_set_nonblock_state,
coreaudio3_free,
coreaudio3_use_float,
"coreaudio3",
coreaudio3_write_avail,
coreaudio3_buffer_size,
};
/* RetroArch - A frontend for libretro.
* Copyright (C) 2019 - Stuart Carnie
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
#import <AVFoundation/AVFoundation.h>
#include <stdio.h>
#include <stdatomic.h>
#include <stdlib.h>
#include <memory.h>
#include "../../retroarch.h"
#pragma mark - ringbuffer
typedef struct ringbuffer
{
float *buffer;
size_t cap;
atomic_int len;
size_t writePtr;
size_t readPtr;
} ringbuffer_t;
typedef ringbuffer_t * ringbuffer_h;
static inline size_t rb_len(ringbuffer_h r)
{
return atomic_load_explicit(&r->len, memory_order_relaxed);
}
static inline size_t rb_cap(ringbuffer_h r)
{
return (r->readPtr + r->cap - r->writePtr) % r->cap;
}
static inline size_t rb_avail(ringbuffer_h r)
{
return r->cap - rb_len(r);
}
static inline void rb_advance_write(ringbuffer_h r)
{
r->writePtr = (r->writePtr + 1) % r->cap;
}
static inline void rb_advance_write_n(ringbuffer_h r, size_t n)
{
r->writePtr = (r->writePtr + n) % r->cap;
}
static inline void rb_advance_read(ringbuffer_h r)
{
r->readPtr = (r->readPtr + 1) % r->cap;
}
static inline void rb_len_add(ringbuffer_h r, int n)
{
atomic_fetch_add(&r->len, n);
}
static inline void rb_len_sub(ringbuffer_h r, int n)
{
atomic_fetch_sub(&r->len, n);
}
static void rb_init(ringbuffer_h r, size_t cap)
{
r->buffer = malloc(cap * sizeof(float));
r->cap = cap;
atomic_init(&r->len, 0);
r->writePtr = 0;
r->readPtr = 0;
}
static void rb_free(ringbuffer_h r)
{
free(r->buffer);
memset(r, 0, sizeof(*r));
}
#define UNLIKELY(x) __builtin_expect((x), 0)
#define LIKELY(x) __builtin_expect((x), 1)
static void rb_write_data(ringbuffer_h r, const float *data, size_t len)
{
size_t avail = rb_avail(r);
size_t n = MIN(len, avail);
size_t first_write = n;
size_t rest_write = 0;
if (r->writePtr + n > r->cap)
{
first_write = r->cap - r->writePtr;
rest_write = n - first_write;
}
memcpy(r->buffer + r->writePtr, data, first_write*sizeof(float));
memcpy(r->buffer, data + first_write, rest_write*sizeof(float));
rb_advance_write_n(r, n);
rb_len_add(r, (int)n);
}
static void rb_read_data(ringbuffer_h r,
float *d0, float *d1, size_t len)
{
size_t need = len * 2;
do {
size_t have = rb_len(r);
size_t n = MIN(have, need);
int i = 0;
for (; i < n/2; i++)
{
d0[i] = r->buffer[r->readPtr];
rb_advance_read(r);
d1[i] = r->buffer[r->readPtr];
rb_advance_read(r);
}
need -= n;
rb_len_sub(r, (int)n);
if (UNLIKELY(need > 0))
{
const float quiet = 0.0f;
size_t fill;
/* we got more data */
if (rb_len(r) > 0)
continue;
/* underflow */
fill = (need/2)*sizeof(float);
memset_pattern4(&d0[i], &quiet, fill);
memset_pattern4(&d1[i], &quiet, fill);
}
} while (0);
}
#pragma mark - CoreAudio3
static bool g_interrupted;
@interface CoreAudio3 : NSObject {
ringbuffer_t _rb;
dispatch_semaphore_t _sema;
AUAudioUnit *_au;
size_t _bufferSize;
BOOL _nonBlock;
}
@property (nonatomic, readwrite) BOOL nonBlock;
@property (nonatomic, readonly) BOOL paused;
@property (nonatomic, readonly) size_t writeAvailableInBytes;
@property (nonatomic, readonly) size_t bufferSizeInBytes;
- (instancetype)initWithRate:(NSUInteger)rate
latency:(NSUInteger)latency;
- (ssize_t)writeFloat:(const float *)data samples:(size_t)samples;
- (void)start;
- (void)stop;
@end
@implementation CoreAudio3
- (instancetype)initWithRate:(NSUInteger)rate
latency:(NSUInteger)latency {
if (self = [super init])
{
NSError *err;
AUAudioUnit *au;
AudioComponentDescription desc;
AVAudioFormat *format, *renderFormat;
_sema = dispatch_semaphore_create(0);
_bufferSize = (latency * rate) / 1000;
_bufferSize *= 2; /* stereo */
rb_init(&_rb, _bufferSize);
desc.componentType = kAudioUnitType_Output;
desc.componentSubType = kAudioUnitSubType_DefaultOutput;
desc.componentManufacturer = kAudioUnitManufacturer_Apple;
au = [[AUAudioUnit alloc] initWithComponentDescription:desc error:&err];
if (err != nil)
return nil;
format = au.outputBusses[0].format;
if (format.channelCount != 2)
return nil;
renderFormat = [[AVAudioFormat alloc] initStandardFormatWithSampleRate:rate channels:2];
[au.inputBusses[0] setFormat:renderFormat error:&err];
if (err != nil)
return nil;
ringbuffer_h rb = &_rb;
__block dispatch_semaphore_t sema = _sema;
au.outputProvider = ^AUAudioUnitStatus(AudioUnitRenderActionFlags * actionFlags, const AudioTimeStamp * timestamp, AUAudioFrameCount frameCount, NSInteger inputBusNumber, AudioBufferList * inputData)
{
rb_read_data(rb, inputData->mBuffers[0].mData, inputData->mBuffers[1].mData, frameCount);
dispatch_semaphore_signal(sema);
return 0;
};
[au allocateRenderResourcesAndReturnError:&err];
if (err != nil)
return nil;
_au = au;
RARCH_LOG("[CoreAudio3]: Using buffer size of %u bytes: (latency = %u ms)\n", (unsigned)self.bufferSizeInBytes, latency);
[self start];
}
return self;
}
- (void)dealloc {
rb_free(&_rb);
}
- (BOOL)paused {
return !_au.running;
}
- (size_t)bufferSizeInBytes {
return _bufferSize * sizeof(float);
}
- (size_t)writeAvailableInBytes {
return rb_avail(&_rb) * sizeof(float);
}
- (void)start {
NSError *err;
[_au startHardwareAndReturnError:&err];
}
- (void)stop {
[_au stopHardware];
}
- (ssize_t)writeFloat:(const float *)data samples:(size_t)samples {
size_t written = 0;
while (!g_interrupted && samples > 0)
{
size_t write_avail = rb_avail(&_rb);
if (write_avail > samples)
write_avail = samples;
rb_write_data(&_rb, data, write_avail);
data += write_avail;
written += write_avail;
samples -= write_avail;
if (_nonBlock)
break;
if (write_avail == 0)
dispatch_semaphore_wait(_sema, DISPATCH_TIME_FOREVER);
}
return written;
}
@end
static void coreaudio3_free(void *data)
{
CoreAudio3 *dev = (__bridge_transfer CoreAudio3 *)data;
if (dev == nil)
return;
[dev stop];
dev = nil;
}
static void *coreaudio3_init(const char *device,
unsigned rate, unsigned latency,
unsigned block_frames,
unsigned *new_rate)
{
CoreAudio3 *dev = [[CoreAudio3 alloc] initWithRate:rate
latency:latency];
*new_rate = rate;
return (__bridge_retained void *)dev;
}
static ssize_t coreaudio3_write(void *data,
const void *buf_, size_t size)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
return [dev writeFloat:(const float *)
buf_ samples:size/sizeof(float)] * sizeof(float);
}
static void coreaudio3_set_nonblock_state(void *data, bool state)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return;
dev.nonBlock = state;
}
static bool coreaudio3_alive(void *data)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return NO;
return !dev.paused;
}
static bool coreaudio3_stop(void *data)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return NO;
[dev stop];
return dev.paused;
}
static bool coreaudio3_start(void *data, bool is_shutdown)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return NO;
[dev start];
return !dev.paused;
}
static bool coreaudio3_use_float(void *data)
{
return YES;
}
static size_t coreaudio3_write_avail(void *data)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return 0;
return dev.writeAvailableInBytes;
}
static size_t coreaudio3_buffer_size(void *data)
{
CoreAudio3 *dev = (__bridge CoreAudio3 *)data;
if (dev == nil)
return 0;
return dev.bufferSizeInBytes;
}
audio_driver_t audio_coreaudio3 = {
coreaudio3_init,
coreaudio3_write,
coreaudio3_stop,
coreaudio3_start,
coreaudio3_alive,
coreaudio3_set_nonblock_state,
coreaudio3_free,
coreaudio3_use_float,
"coreaudio3",
NULL, /* device_list_new */
NULL, /* device_list_free */
coreaudio3_write_avail,
coreaudio3_buffer_size,
};
+5 -5
View File
@@ -19,11 +19,11 @@
#include <retro_miscellaneous.h>
#include <retro_timers.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
typedef struct
{
bool nonblocking;
bool nonblock;
bool playing;
int16_t* l;
int16_t* r;
@@ -180,7 +180,7 @@ static ssize_t ctr_csnd_audio_write(void *data, const void *buf, size_t size)
(((ctr->pos - ctr->playpos ) & CTR_CSND_AUDIO_COUNT_MASK) < (CTR_CSND_AUDIO_COUNT >> 4)) ||
(((ctr->playpos - ctr->pos) & CTR_CSND_AUDIO_COUNT_MASK) < (size >> 2)))
{
if (ctr->nonblocking)
if (ctr->nonblock)
ctr->pos = (ctr->playpos + (CTR_CSND_AUDIO_COUNT >> 1)) & CTR_CSND_AUDIO_COUNT_MASK;
else
{
@@ -189,7 +189,7 @@ static ssize_t ctr_csnd_audio_write(void *data, const void *buf, size_t size)
retro_sleep(1);
ctr_csnd_audio_update_playpos(ctr);
}while (((ctr->playpos - ctr->pos) & CTR_CSND_AUDIO_COUNT_MASK) < (CTR_CSND_AUDIO_COUNT >> 1)
|| (((ctr->pos - ctr->playpos) & CTR_CSND_AUDIO_COUNT_MASK) < (CTR_CSND_AUDIO_COUNT >> 4)));
|| (((ctr->pos - ctr->playpos) & CTR_CSND_AUDIO_COUNT_MASK) < (CTR_CSND_AUDIO_COUNT >> 4)));
}
}
@@ -265,7 +265,7 @@ static void ctr_csnd_audio_set_nonblock_state(void *data, bool state)
{
ctr_csnd_audio_t* ctr = (ctr_csnd_audio_t*)data;
if (ctr)
ctr->nonblocking = state;
ctr->nonblock = state;
}
static bool ctr_csnd_audio_use_float(void *data)
+4 -4
View File
@@ -17,12 +17,12 @@
#include <string.h>
#include <malloc.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../ctr/ctr_debug.h"
typedef struct
{
bool nonblocking;
bool nonblock;
bool playing;
int channel;
ndspWaveBuf dsp_buf;
@@ -102,7 +102,7 @@ static ssize_t ctr_dsp_audio_write(void *data, const void *buf, size_t size)
(((ctr->pos - sample_pos ) & CTR_DSP_AUDIO_COUNT_MASK) < (CTR_DSP_AUDIO_COUNT >> 4)) ||
(((sample_pos - ctr->pos) & CTR_DSP_AUDIO_COUNT_MASK) < (size >> 2)))
{
if (ctr->nonblocking)
if (ctr->nonblock)
ctr->pos = (sample_pos + (CTR_DSP_AUDIO_COUNT >> 1)) & CTR_DSP_AUDIO_COUNT_MASK;
else
{
@@ -173,7 +173,7 @@ static void ctr_dsp_audio_set_nonblock_state(void *data, bool state)
{
ctr_dsp_audio_t* ctr = (ctr_dsp_audio_t*)data;
if (ctr)
ctr->nonblocking = state;
ctr->nonblock = state;
}
static bool ctr_dsp_audio_use_float(void *data)
+186 -98
View File
@@ -35,9 +35,11 @@
#ifdef HAVE_THREADS
#include <rthreads/rthreads.h>
#endif
#include <lists/string_list.h>
#include <queues/fifo_queue.h>
#include <string/stdstring.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#ifdef _XBOX
@@ -73,17 +75,15 @@ typedef struct dsound
volatile bool thread_alive;
} dsound_t;
/* Forward declarations */
static void *dsound_list_new(void *u);
static INLINE unsigned write_avail(unsigned read_ptr,
unsigned write_ptr, unsigned buffer_size)
{
return (read_ptr + buffer_size - write_ptr) % buffer_size;
}
static INLINE void get_positions(dsound_t *ds, DWORD *read_ptr, DWORD *write_ptr)
{
IDirectSoundBuffer_GetCurrentPosition(ds->dsb, read_ptr, write_ptr);
}
#define CHUNK_SIZE 256
struct audio_lock
@@ -94,54 +94,42 @@ struct audio_lock
DWORD size2;
};
static INLINE bool grab_region(dsound_t *ds, uint32_t write_ptr,
struct audio_lock *region)
static bool grab_region(dsound_t *ds, uint32_t write_ptr,
struct audio_lock *region, HRESULT res)
{
const char *err = NULL;
HRESULT res = IDirectSoundBuffer_Lock(ds->dsb, write_ptr, CHUNK_SIZE,
&region->chunk1, &region->size1, &region->chunk2, &region->size2, 0);
if (res == DSERR_BUFFERLOST)
{
res = IDirectSoundBuffer_Restore(ds->dsb);
if (res != DS_OK)
#ifdef DEBUG
RARCH_WARN("[DirectSound error]: %s\n", "DSERR_BUFFERLOST");
#endif
if ((res = IDirectSoundBuffer_Restore(ds->dsb)) != DS_OK)
return false;
res = IDirectSoundBuffer_Lock(ds->dsb, write_ptr, CHUNK_SIZE,
&region->chunk1, &region->size1, &region->chunk2, &region->size2, 0);
if (res != DS_OK)
if ((res = IDirectSoundBuffer_Lock(ds->dsb, write_ptr, CHUNK_SIZE,
&region->chunk1, &region->size1, &region->chunk2, &region->size2, 0)) != DS_OK)
return false;
return true;
}
#ifdef DEBUG
switch (res)
{
case DSERR_BUFFERLOST:
err = "DSERR_BUFFERLOST";
break;
case DSERR_INVALIDCALL:
err = "DSERR_INVALIDCALL";
RARCH_WARN("[DirectSound error]: %s\n", "DSERR_INVALIDCALL");
break;
case DSERR_INVALIDPARAM:
err = "DSERR_INVALIDPARAM";
RARCH_WARN("[DirectSound error]: %s\n", "DSERR_INVALIDPARAM");
break;
case DSERR_PRIOLEVELNEEDED:
err = "DSERR_PRIOLEVELNEEDED";
RARCH_WARN("[DirectSound error]: %s\n", "DSERR_PRIOLEVELNEEDED");
break;
default:
return true;
break;
}
#endif
RARCH_WARN("[DirectSound error]: %s\n", err);
return false;
}
static INLINE void release_region(dsound_t *ds, const struct audio_lock *region)
{
IDirectSoundBuffer_Unlock(ds->dsb, region->chunk1,
region->size1, region->chunk2, region->size2);
}
#ifdef HAVE_THREADS
static void dsound_thread(void *data)
#else
@@ -153,15 +141,17 @@ static DWORD CALLBACK dsound_thread(PVOID data)
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL);
get_positions(ds, NULL, &write_ptr);
IDirectSoundBuffer_GetCurrentPosition(ds->dsb, NULL, &write_ptr);
write_ptr = (write_ptr + ds->buffer_size / 2) % ds->buffer_size;
while (ds->thread_alive)
{
HRESULT res;
bool is_pull = false;
struct audio_lock region;
DWORD read_ptr, avail, fifo_avail;
get_positions(ds, &read_ptr, NULL);
IDirectSoundBuffer_GetCurrentPosition(ds->dsb, &read_ptr, NULL);
avail = write_avail(read_ptr, write_ptr, ds->buffer_size);
EnterCriticalSection(&ds->crit);
@@ -181,23 +171,23 @@ static DWORD CALLBACK dsound_thread(PVOID data)
continue;
}
if (!grab_region(ds, write_ptr, &region))
if ((res = IDirectSoundBuffer_Lock(ds->dsb, write_ptr, CHUNK_SIZE,
&region.chunk1, &region.size1, &region.chunk2, &region.size2, 0)) != DS_OK)
{
ds->thread_alive = false;
SetEvent(ds->event);
break;
if (!grab_region(ds, write_ptr, &region, res))
{
ds->thread_alive = false;
SetEvent(ds->event);
break;
}
}
if (fifo_avail < CHUNK_SIZE)
{
/* Got space to write, but nothing in FIFO (underrun),
* fill block with silence. */
memset(region.chunk1, 0, region.size1);
memset(region.chunk2, 0, region.size2);
release_region(ds, &region);
write_ptr = (write_ptr + region.size1 + region.size2) % ds->buffer_size;
}
else
{
@@ -210,11 +200,16 @@ static DWORD CALLBACK dsound_thread(PVOID data)
fifo_read(ds->buffer, region.chunk2, region.size2);
LeaveCriticalSection(&ds->crit);
release_region(ds, &region);
write_ptr = (write_ptr + region.size1 + region.size2) % ds->buffer_size;
SetEvent(ds->event);
is_pull = true;
}
IDirectSoundBuffer_Unlock(ds->dsb, region.chunk1,
region.size1, region.chunk2, region.size2);
write_ptr = (write_ptr + region.size1 + region.size2)
% ds->buffer_size;
if (is_pull)
SetEvent(ds->event);
}
ExitThread(0);
@@ -308,52 +303,99 @@ static void dsound_free(void *data)
free(ds);
}
struct dsound_dev
{
unsigned device;
unsigned total_count;
LPGUID guid;
};
static BOOL CALLBACK enumerate_cb(LPGUID guid, LPCSTR desc, LPCSTR module, LPVOID context)
{
struct dsound_dev *dev = (struct dsound_dev*)context;
union string_list_elem_attr attr;
struct string_list *list = (struct string_list*)context;
RARCH_LOG("\t%u: %s\n", dev->total_count, desc);
attr.i = 0;
string_list_append(list, desc, attr);
if (guid)
{
unsigned i;
LPGUID guid_copy = (LPGUID)malloc(sizeof(GUID) * 1);
guid_copy->Data1 = guid->Data1;
guid_copy->Data2 = guid->Data2;
guid_copy->Data3 = guid->Data3;
for (i = 0; i < 8; i++)
guid_copy->Data4[i] = guid->Data4[i];
list->elems[list->size-1].userdata = guid_copy;
}
if (dev->device == dev->total_count)
dev->guid = guid;
dev->total_count++;
return TRUE;
}
static void *dsound_init(const char *device, unsigned rate, unsigned latency,
static void dsound_set_wavefmt(WAVEFORMATEX *wfx,
unsigned channels, unsigned samplerate)
{
wfx->wFormatTag = WAVE_FORMAT_PCM;
wfx->nBlockAlign = channels * sizeof(int16_t);
wfx->wBitsPerSample = 16;
wfx->nChannels = channels;
wfx->nSamplesPerSec = samplerate;
wfx->nAvgBytesPerSec = wfx->nSamplesPerSec * wfx->nBlockAlign;
wfx->cbSize = 0;
}
static void *dsound_init(const char *dev, unsigned rate, unsigned latency,
unsigned block_frames,
unsigned *new_rate)
{
WAVEFORMATEX wfx = {0};
DSBUFFERDESC bufdesc = {0};
struct dsound_dev dev = {0};
dsound_t *ds = (dsound_t*)calloc(1, sizeof(*ds));
LPGUID selected_device = NULL;
WAVEFORMATEX wfx = {0};
DSBUFFERDESC bufdesc = {0};
int32_t idx_found = -1;
struct string_list *list = (struct string_list*)dsound_list_new(NULL);
dsound_t *ds = (dsound_t*)calloc(1, sizeof(*ds));
if (!ds)
goto error;
InitializeCriticalSection(&ds->crit);
if (device)
dev.device = strtoul(device, NULL, 0);
if (dev)
{
/* Search for device name first */
if (list && list->elems)
{
if (list->elems)
{
unsigned i;
for (i = 0; i < list->size; i++)
{
if (string_is_equal(dev, list->elems[i].data))
{
idx_found = i;
selected_device = (LPGUID)list->elems[idx_found].userdata;
break;
}
}
/* Index was not found yet based on name string,
* just assume id is a one-character number index. */
RARCH_LOG("DirectSound devices:\n");
#ifndef _XBOX
#ifdef UNICODE
DirectSoundEnumerate((LPDSENUMCALLBACKW)enumerate_cb, &dev);
#else
DirectSoundEnumerate((LPDSENUMCALLBACKA)enumerate_cb, &dev);
#endif
#endif
if (idx_found == -1 && isdigit(dev[0]))
{
idx_found = strtoul(dev, NULL, 0);
RARCH_LOG("[DirectSound]: Fallback, device index is a single number index instead: %d.\n", idx_found);
if (DirectSoundCreate(dev.guid, &ds->ds, NULL) != DS_OK)
if (idx_found != -1)
{
if (idx_found < (int32_t)list->size)
{
RARCH_LOG("[DirectSound]: Corresponding name: %s\n", list->elems[idx_found].data);
selected_device = (LPGUID)list->elems[idx_found].userdata;
}
}
}
}
}
}
if (DirectSoundCreate(selected_device, &ds->ds, NULL) != DS_OK)
goto error;
#ifndef _XBOX
@@ -361,12 +403,7 @@ static void *dsound_init(const char *device, unsigned rate, unsigned latency,
goto error;
#endif
wfx.wFormatTag = WAVE_FORMAT_PCM;
wfx.nChannels = 2;
wfx.nSamplesPerSec = rate;
wfx.wBitsPerSample = 16;
wfx.nBlockAlign = 2 * sizeof(int16_t);
wfx.nAvgBytesPerSec = rate * 2 * sizeof(int16_t);
dsound_set_wavefmt(&wfx, 2, rate);
ds->buffer_size = (latency * wfx.nAvgBytesPerSec) / 1000;
ds->buffer_size /= CHUNK_SIZE;
@@ -407,10 +444,13 @@ static void *dsound_init(const char *device, unsigned rate, unsigned latency,
if (!dsound_start_thread(ds))
goto error;
string_list_free(list);
return ds;
error:
RARCH_ERR("[DirectSound] Error occurred in init.\n");
if (list)
string_list_free(list);
dsound_free(ds);
return NULL;
}
@@ -464,27 +504,49 @@ static ssize_t dsound_write(void *data, const void *buf_, size_t size)
if (!ds->thread_alive)
return -1;
while (size > 0)
if (ds->nonblock)
{
size_t avail;
if (size > 0)
{
size_t avail;
EnterCriticalSection(&ds->crit);
avail = fifo_write_avail(ds->buffer);
if (avail > size)
avail = size;
EnterCriticalSection(&ds->crit);
avail = fifo_write_avail(ds->buffer);
if (avail > size)
avail = size;
fifo_write(ds->buffer, buf, avail);
LeaveCriticalSection(&ds->crit);
fifo_write(ds->buffer, buf, avail);
LeaveCriticalSection(&ds->crit);
buf += avail;
size -= avail;
written += avail;
buf += avail;
size -= avail;
written += avail;
}
}
else
{
while (size > 0)
{
size_t avail;
if (ds->nonblock || !ds->thread_alive)
break;
EnterCriticalSection(&ds->crit);
avail = fifo_write_avail(ds->buffer);
if (avail > size)
avail = size;
if (avail == 0)
WaitForSingleObject(ds->event, INFINITE);
fifo_write(ds->buffer, buf, avail);
LeaveCriticalSection(&ds->crit);
buf += avail;
size -= avail;
written += avail;
if (!ds->thread_alive)
break;
if (avail == 0)
WaitForSingleObject(ds->event, INFINITE);
}
}
return written;
@@ -512,6 +574,32 @@ static bool dsound_use_float(void *data)
return false;
}
static void *dsound_list_new(void *u)
{
struct string_list *sl = string_list_new();
if (!sl)
return NULL;
#ifndef _XBOX
#ifdef UNICODE
DirectSoundEnumerate((LPDSENUMCALLBACKW)enumerate_cb, sl);
#else
DirectSoundEnumerate((LPDSENUMCALLBACKA)enumerate_cb, sl);
#endif
#endif
return sl;
}
static void dsound_device_list_free(void *u, void *slp)
{
struct string_list *sl = (struct string_list*)slp;
if (sl)
string_list_free(sl);
}
audio_driver_t audio_dsound = {
dsound_init,
dsound_write,
@@ -522,8 +610,8 @@ audio_driver_t audio_dsound = {
dsound_free,
dsound_use_float,
"dsound",
NULL,
NULL,
dsound_list_new,
dsound_device_list_free,
dsound_write_avail,
dsound_buffer_size,
};
+1 -1
View File
@@ -27,7 +27,7 @@
#include <boolean.h>
#include <retro_inline.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../defines/gx_defines.h"
typedef struct
+14 -14
View File
@@ -25,8 +25,7 @@
#include <boolean.h>
#include <rthreads/rthreads.h>
#include "../audio_driver.h"
#include "../../configuration.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#define FRAMES(x) (x / (sizeof(float) * 2))
@@ -97,13 +96,13 @@ static void shutdown_cb(void *data)
#endif
}
static int parse_ports(char **dest_ports, const char **jports)
static int parse_ports(const char *audio_device,
char **dest_ports, const char **jports)
{
int i;
char *save = NULL;
int parsed = 0;
settings_t *settings = config_get_ptr();
char *audio_device_cpy = strdup(settings->arrays.audio_device);
char *audio_device_cpy = strdup(audio_device);
const char *con = strtok_r(audio_device_cpy, ",", &save);
if (con)
@@ -146,7 +145,8 @@ static size_t find_buffersize(jack_t *jd, int latency, unsigned out_rate)
return buffer_frames * sizeof(jack_default_audio_sample_t);
}
static void *ja_init(const char *device, unsigned rate, unsigned latency,
static void *ja_init(const char *device,
unsigned rate, unsigned latency,
unsigned block_frames,
unsigned *new_rate)
{
@@ -166,7 +166,7 @@ static void *ja_init(const char *device, unsigned rate, unsigned latency,
#endif
jd->client = jack_client_open("RetroArch", JackNullOption, NULL);
if (jd->client == NULL)
if (!jd->client)
goto error;
*new_rate = jack_get_sample_rate(jd->client);
@@ -176,14 +176,14 @@ static void *ja_init(const char *device, unsigned rate, unsigned latency,
jd->ports[0] = jack_port_register(jd->client, "left", JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0);
jd->ports[1] = jack_port_register(jd->client, "right", JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput, 0);
if (jd->ports[0] == NULL || jd->ports[1] == NULL)
if (!jd->ports[0] || !jd->ports[1])
{
RARCH_ERR("[JACK]: Failed to register ports.\n");
goto error;
}
jports = jack_get_ports(jd->client, NULL, NULL, JackPortIsPhysical | JackPortIsInput);
if (jports == NULL)
if (!jports)
{
RARCH_ERR("[JACK]: Failed to get ports.\n");
goto error;
@@ -196,14 +196,14 @@ static void *ja_init(const char *device, unsigned rate, unsigned latency,
for (i = 0; i < 2; i++)
{
jd->buffer[i] = jack_ringbuffer_create(bufsize);
if (jd->buffer[i] == NULL)
if (!jd->buffer[i])
{
RARCH_ERR("[JACK]: Failed to create buffers.\n");
goto error;
}
}
parsed = parse_ports(dest_ports, jports);
parsed = parse_ports(device, dest_ports, jports);
if (jack_activate(jd->client) < 0)
{
@@ -229,7 +229,7 @@ static void *ja_init(const char *device, unsigned rate, unsigned latency,
error:
for (i = 0; i < parsed; i++)
free(dest_ports[i]);
if (jports != NULL)
if (jports)
jack_free(jports);
free(jd);
return NULL;
@@ -334,14 +334,14 @@ static void ja_free(void *data)
jd->shutdown = true;
if (jd->client != NULL)
if (jd->client)
{
jack_deactivate(jd->client);
jack_client_close(jd->client);
}
for (i = 0; i < 2; i++)
if (jd->buffer[i] != NULL)
if (jd->buffer[i])
jack_ringbuffer_free(jd->buffer[i]);
#ifdef HAVE_THREADS
-96
View File
@@ -1,96 +0,0 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../audio_driver.h"
#include "../../verbosity.h"
static void *null_audio_init(const char *device, unsigned rate, unsigned latency,
unsigned block_frames,
unsigned *new_rate)
{
RARCH_ERR("Using the null audio driver. RetroArch will be silent.\n");
(void)device;
(void)rate;
(void)latency;
(void)new_rate;
return (void*)-1;
}
static void null_audio_free(void *data)
{
(void)data;
}
static ssize_t null_audio_write(void *data, const void *buf, size_t size)
{
(void)data;
(void)buf;
return size;
}
static bool null_audio_stop(void *data)
{
(void)data;
return true;
}
static bool null_audio_alive(void *data)
{
(void)data;
return true;
}
static bool null_audio_start(void *data, bool is_shutdown)
{
(void)data;
return true;
}
static void null_audio_set_nonblock_state(void *data, bool state)
{
(void)data;
(void)state;
}
static bool null_audio_use_float(void *data)
{
(void)data;
return true;
}
static size_t null_audio_write_avail(void *data)
{
(void)data;
return 0;
}
audio_driver_t audio_null = {
null_audio_init,
null_audio_write,
null_audio_stop,
null_audio_start,
null_audio_alive,
null_audio_set_nonblock_state,
null_audio_free,
null_audio_use_float,
"null",
NULL,
NULL,
null_audio_write_avail,
NULL
};
+2 -2
View File
@@ -33,7 +33,7 @@
#include <retro_miscellaneous.h>
#include <retro_timers.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#define BUFSIZE 1024
@@ -115,7 +115,7 @@ static void *al_init(const char *device, unsigned rate, unsigned latency,
al->buffers = (ALuint*)calloc(al->num_buffers, sizeof(ALuint));
al->res_buf = (ALuint*)calloc(al->num_buffers, sizeof(ALuint));
if (al->buffers == NULL || al->res_buf == NULL)
if (!al->buffers || !al->res_buf)
goto error;
alGenSources(1, &al->source);
+2 -2
View File
@@ -21,7 +21,7 @@
#include <rthreads/rthreads.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
/* Helper macros, COM-style. */
#define SLObjectItf_Realize(a, ...) ((*(a))->Realize(a, __VA_ARGS__))
@@ -152,7 +152,7 @@ static void *sl_init(const char *device, unsigned rate, unsigned latency,
fmt_pcm.formatType = SL_DATAFORMAT_PCM;
fmt_pcm.numChannels = 2;
fmt_pcm.samplesPerSec = rate * 1000; // Samplerate is in milli-Hz.
fmt_pcm.samplesPerSec = rate * 1000; /* Samplerate is in milli-Hz. */
fmt_pcm.bitsPerSample = 16;
fmt_pcm.containerSize = 16;
fmt_pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT;
+1 -1
View File
@@ -33,7 +33,7 @@
#include "config.h"
#endif
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#ifdef HAVE_OSS_BSD
+21 -141
View File
@@ -21,98 +21,33 @@
#include <kernel.h>
#include <audsrv.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#define AUDIO_BUFFER 128 * 1024
#define AUDIO_CHANNELS 2
#define AUDIO_BITS 16
typedef struct ps2_audio
{
fifo_buffer_t* buffer;
bool nonblocking;
volatile bool running;
int worker_thread;
int lock;
int cond_lock;
/* TODO/FIXME - nonblock is not implemented */
bool nonblock;
bool running;
} ps2_audio_t;
static ps2_audio_t *backup_ps2;
static u8 audioThreadStack[4 * 1024] __attribute__ ((aligned(16)));
#define AUDIO_OUT_BUFFER 2 * 1024
#define AUDIO_BUFFER 64 * 1024
#define AUDIO_CHANNELS 2
#define AUDIO_BITS 16
#define AUDIO_PRIORITY 0x7F /* LOWER VALUE GRATHER PRIORITY*/
static void audioMainLoop(void *data)
{
char out_tmp[AUDIO_OUT_BUFFER];
ps2_audio_t* ps2 = backup_ps2;
while (ps2->running)
{
size_t size;
WaitSema(ps2->lock);
size = MIN(fifo_read_avail(ps2->buffer), sizeof(out_tmp));
fifo_read(ps2->buffer, out_tmp, size);
iSignalSema(ps2->lock);
iSignalSema(ps2->cond_lock);
audsrv_wait_audio(size);
audsrv_play_audio(out_tmp, size);
}
audsrv_stop_audio();
ExitDeleteThread();
}
static void audioCreateThread(ps2_audio_t *ps2)
{
int ret;
ee_thread_t thread;
thread.func=&audioMainLoop;
thread.stack=audioThreadStack;
thread.stack_size=sizeof(audioThreadStack);
thread.gp_reg=&_gp;
thread.initial_priority=AUDIO_PRIORITY;
thread.attr=thread.option=0;
/*Backup the PS2 content to be used in the thread */
backup_ps2 = ps2;
ps2->running = true;
ps2->worker_thread = CreateThread(&thread);
if (ps2->worker_thread >= 0)
{
ret = StartThread(ps2->worker_thread, NULL);
if (ret < 0)
printf("sound_init: StartThread returned %d\n", ret);
}
else
printf("CreateThread failed: %d\n", ps2->worker_thread);
}
static void audioStopNDeleteThread(ps2_audio_t *ps2)
{
ps2->running = false;
if (ps2->worker_thread)
ps2->worker_thread = 0;
}
static void audioConfigure(ps2_audio_t *ps2, unsigned rate)
{
int err;
struct audsrv_fmt_t format;
format.bits = AUDIO_BITS;
format.freq = rate;
format.bits = AUDIO_BITS;
format.freq = rate;
format.channels = AUDIO_CHANNELS;
err = audsrv_set_format(&format);
err = audsrv_set_format(&format);
if (err){
if (err)
{
printf("set format returned %d\n", err);
printf("audsrv returned error string: %s\n", audsrv_get_error_string());
}
@@ -120,23 +55,6 @@ static void audioConfigure(ps2_audio_t *ps2, unsigned rate)
audsrv_set_volume(MAX_VOLUME);
}
static void audioCreateSemas(ps2_audio_t *ps2)
{
ee_sema_t lock_info;
ee_sema_t cond_lock_info;
lock_info.max_count = 1;
lock_info.init_count = 1;
lock_info.option = 0;
ps2->lock = CreateSema(&lock_info);
cond_lock_info.init_count = 1;
cond_lock_info.max_count = 1;
cond_lock_info.option = 0;
ps2->cond_lock = CreateSema(&cond_lock_info);
}
static void *ps2_audio_init(const char *device,
unsigned rate, unsigned latency,
unsigned block_frames,
@@ -147,10 +65,7 @@ static void *ps2_audio_init(const char *device,
if (!ps2)
return NULL;
ps2->buffer = fifo_new(AUDIO_BUFFER);
audioConfigure(ps2, rate);
audioCreateSemas(ps2);
audioCreateThread(ps2);
return ps2;
}
@@ -158,24 +73,11 @@ static void *ps2_audio_init(const char *device,
static void ps2_audio_free(void *data)
{
ps2_audio_t* ps2 = (ps2_audio_t*)data;
if(!ps2)
if (!ps2)
return;
if(ps2->running){
audioStopNDeleteThread(ps2);
if (ps2->lock){
iDeleteSema(ps2->lock);
ps2->lock = 0;
}
if (ps2->cond_lock){
iDeleteSema(ps2->cond_lock);
ps2->cond_lock = 0;
}
}
fifo_free(ps2->buffer);
ps2->running = false;
audsrv_stop_audio();
free(ps2);
}
@@ -186,20 +88,7 @@ static ssize_t ps2_audio_write(void *data, const void *buf, size_t size)
if (!ps2->running)
return -1;
if (ps2->nonblocking)
{
if (fifo_write_avail(ps2->buffer) < size)
return 0;
}
while (fifo_write_avail(ps2->buffer) < size)
WaitSema(ps2->cond_lock);
WaitSema(ps2->lock);
fifo_write(ps2->buffer, buf, size);
iSignalSema(ps2->lock);
return size;
return audsrv_play_audio(buf, size);
}
static bool ps2_audio_alive(void *data)
@@ -220,8 +109,8 @@ static bool ps2_audio_stop(void *data)
if (ps2)
{
audioStopNDeleteThread(ps2);
audsrv_stop_audio();
ps2->running = false;
}
return stop;
@@ -233,10 +122,7 @@ static bool ps2_audio_start(void *data, bool is_shutdown)
bool start = true;
if (ps2)
{
if (!ps2->running && !ps2->worker_thread)
audioCreateThread(ps2);
}
ps2->running = true;
return start;
}
@@ -246,7 +132,7 @@ static void ps2_audio_set_nonblock_state(void *data, bool toggle)
ps2_audio_t* ps2 = (ps2_audio_t*)data;
if (ps2)
ps2->nonblocking = toggle;
ps2->nonblock = toggle;
}
static bool ps2_audio_use_float(void *data)
@@ -259,13 +145,7 @@ static size_t ps2_audio_write_avail(void *data)
ps2_audio_t* ps2 = (ps2_audio_t*)data;
if (ps2 && ps2->running)
{
size_t size;
WaitSema(ps2->lock);
size = AUDIO_BUFFER - fifo_read_avail(ps2->buffer);
iSignalSema(ps2->lock);
return size;
}
return AUDIO_BUFFER;
return 0;
}
+4 -4
View File
@@ -19,7 +19,7 @@
#include <queues/fifo_queue.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../defines/ps3_defines.h"
@@ -29,7 +29,7 @@
typedef struct
{
uint32_t audio_port;
bool nonblocking;
bool nonblock;
bool started;
volatile bool quit_thread;
fifo_buffer_t *buffer;
@@ -150,7 +150,7 @@ static ssize_t ps3_audio_write(void *data, const void *buf, size_t size)
{
ps3_audio_t *aud = data;
if (aud->nonblocking)
if (aud->nonblock)
{
if (fifo_write_avail(aud->buffer) < size)
return 0;
@@ -200,7 +200,7 @@ static void ps3_audio_set_nonblock_state(void *data, bool toggle)
{
ps3_audio_t *aud = data;
if (aud)
aud->nonblocking = toggle;
aud->nonblock = toggle;
}
static void ps3_audio_free(void *data)
+10 -11
View File
@@ -40,11 +40,11 @@
#define SceUID uint32_t
#endif
#include "../audio_driver.h"
#include "../../retroarch.h"
typedef struct psp_audio
{
bool nonblocking;
bool nonblock;
uint32_t* buffer;
uint32_t* zeroBuffer;
@@ -167,7 +167,7 @@ static void *psp_audio_init(const char *device,
psp->cond_lock = slock_new();
psp->cond = scond_new();
psp->nonblocking = false;
psp->nonblock = false;
psp->running = true;
psp->worker_thread = sthread_create(audioMainLoop, psp);
@@ -186,7 +186,7 @@ static void psp_audio_free(void *data)
psp->running = false;
sthread_join(psp->worker_thread);
}
if (psp->cond)
scond_free(psp->cond);
if (psp->fifo_lock)
@@ -202,18 +202,18 @@ static void psp_audio_free(void *data)
static ssize_t psp_audio_write(void *data, const void *buf, size_t size)
{
psp_audio_t* psp = (psp_audio_t*)data;
psp_audio_t* psp = (psp_audio_t*)data;
uint16_t write_pos = psp->write_pos;
uint16_t sampleCount = size / sizeof(uint32_t);
if (!psp->running)
return -1;
if (psp->nonblocking)
if (psp->nonblock)
{
if (AUDIO_BUFFER_SIZE - ((uint16_t)
(psp->write_pos - psp->read_pos) & AUDIO_BUFFER_SIZE_MASK) < size)
return 0;
(psp->write_pos - psp->read_pos) & AUDIO_BUFFER_SIZE_MASK) < size)
return 0;
}
slock_lock(psp->cond_lock);
@@ -241,7 +241,6 @@ static ssize_t psp_audio_write(void *data, const void *buf, size_t size)
slock_unlock(psp->fifo_lock);
return size;
}
static bool psp_audio_alive(void *data)
@@ -288,7 +287,7 @@ static void psp_audio_set_nonblock_state(void *data, bool toggle)
{
psp_audio_t* psp = (psp_audio_t*)data;
if (psp)
psp->nonblocking = toggle;
psp->nonblock = toggle;
}
static bool psp_audio_use_float(void *data)
+12 -1
View File
@@ -23,7 +23,7 @@
#include <retro_miscellaneous.h>
#include <retro_endianness.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
typedef struct
@@ -237,12 +237,19 @@ error:
return NULL;
}
static bool pulse_start(void *data, bool is_shutdown);
static ssize_t pulse_write(void *data, const void *buf_, size_t size)
{
pa_t *pa = (pa_t*)data;
const uint8_t *buf = (const uint8_t*)buf_;
size_t written = 0;
/* Workaround buggy menu code.
* If a write happens while we're paused, we might never progress. */
if (pa->is_paused)
if (!pulse_start(pa, false))
return -1;
pa_threaded_mainloop_lock(pa->mainloop);
while (size)
{
@@ -270,6 +277,8 @@ static bool pulse_stop(void *data)
{
bool ret;
pa_t *pa = (pa_t*)data;
if (pa->is_paused)
return true;
RARCH_LOG("[PulseAudio]: Pausing.\n");
@@ -296,6 +305,8 @@ static bool pulse_start(void *data, bool is_shutdown)
{
bool ret;
pa_t *pa = (pa_t*)data;
if (!pa->is_paused)
return true;
RARCH_LOG("[PulseAudio]: Unpausing.\n");
+2 -2
View File
@@ -23,7 +23,7 @@
#include <boolean.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
typedef struct
@@ -45,7 +45,7 @@ static void *ra_init(const char *device, unsigned rate, unsigned latency,
(void)latency;
if ((vss = roar_vs_new_simple(device, "RetroArch", rate, 2, ROAR_CODEC_PCM_S, 16, ROAR_DIR_PLAY, &err)) == NULL)
if (!(vss = roar_vs_new_simple(device, "RetroArch", rate, 2, ROAR_CODEC_PCM_S, 16, ROAR_DIR_PLAY, &err)))
{
RARCH_ERR("RoarAudio: \"%s\"\n", roar_vs_strerr(err));
free(roar);
+2 -2
View File
@@ -21,7 +21,7 @@
#include <queues/fifo_queue.h>
#include <rthreads/rthreads.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "rsound.h"
typedef struct rsd
@@ -165,7 +165,7 @@ static bool rs_stop(void *data)
static void rs_set_nonblock_state(void *data, bool state)
{
rsd_t *rsd = (rsd_t*)data;
rsd_t *rsd = (rsd_t*)data;
rsd->nonblock = state;
}
+1 -1
View File
@@ -106,7 +106,7 @@ enum rsd_format
RSD_S32_NE = 0x1000,
RSD_U32_LE = 0x2000,
RSD_U32_BE = 0x4000,
RSD_U32_NE = 0x8000,
RSD_U32_NE = 0x8000
};
/* Defines operations that can be used with rsd_set_param() */
+1 -1
View File
@@ -18,7 +18,7 @@
#include <unistd.h>
#include <boolean.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
/* forward declarations */
unsigned RWebAudioSampleRate(void);
+6 -6
View File
@@ -14,20 +14,20 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <boolean.h>
#include <rthreads/rthreads.h>
#include <queues/fifo_queue.h>
#include <retro_inline.h>
#include <retro_math.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "SDL.h"
#include "SDL_audio.h"
+26 -21
View File
@@ -20,7 +20,7 @@
#include <stdint.h>
#include "switch_audio_compat.h"
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#ifdef HAVE_LIBNX
@@ -32,7 +32,9 @@
static const int sample_rate = 48000;
static const int max_num_samples = sample_rate;
static const int num_channels = 2;
#ifndef HAVE_LIBNX
static const size_t sample_buffer_size = ((max_num_samples * num_channels * sizeof(uint16_t)) + 0xfff) & ~0xfff;
#endif
typedef struct
{
@@ -92,27 +94,27 @@ static ssize_t switch_audio_write(void *data, const void *buf, size_t size)
if (!swa->current_buffer)
{
if (swa->blocking)
/* no buffer, nonblocking... */
if (!swa->blocking)
return 0;
while (!swa->current_buffer)
{
while(swa->current_buffer == NULL)
{
uint32_t handle_idx = 0;
num = 0;
#ifndef HAVE_LIBNX
uint32_t handle_idx = 0;
#endif
num = 0;
#ifdef HAVE_LIBNX
if (audoutWaitPlayFinish(&swa->current_buffer, &num, U64_MAX) != 0) { }
if (audoutWaitPlayFinish(&swa->current_buffer, &num, U64_MAX) != 0) { }
#else
svcWaitSynchronization(&handle_idx, &swa->event, 1, 33333333);
svcResetSignal(swa->event);
svcWaitSynchronization(&handle_idx, &swa->event, 1, 33333333);
svcResetSignal(swa->event);
if (switch_audio_ipc_output_get_released_buffer(swa, num) != 0)
return -1;
if (switch_audio_ipc_output_get_released_buffer(swa, num) != 0)
return -1;
#endif
}
}
else
/* no buffer, nonblocking... */
return 0;
}
swa->current_buffer->data_size = 0;
@@ -120,7 +122,7 @@ static ssize_t switch_audio_write(void *data, const void *buf, size_t size)
if (to_write > switch_audio_buffer_size(NULL) - swa->current_buffer->data_size)
to_write = switch_audio_buffer_size(NULL) - swa->current_buffer->data_size;
#ifndef HAVE_LIBNX
memcpy(((uint8_t*) swa->current_buffer->sample_data) + swa->current_buffer->data_size, buf, to_write);
#else
@@ -137,7 +139,7 @@ static ssize_t switch_audio_write(void *data, const void *buf, size_t size)
}
swa->last_append = svcGetSystemTick();
return to_write;
}
@@ -238,7 +240,9 @@ static void *switch_audio_init(const char *device,
{
unsigned i;
char names[8][0x20];
#ifndef HAVE_LIBNX
uint32_t num_names = 0;
#endif
switch_audio_t *swa = (switch_audio_t*) calloc(1, sizeof(*swa));
if (!swa)
@@ -297,7 +301,7 @@ static void *switch_audio_init(const char *device,
swa->buffers[i].data_offset = 0;
swa->buffers[i].buffer = memalign(0x1000, switch_audio_buffer_size(NULL));
if (swa->buffers[i].buffer == NULL)
if (!swa->buffers[i].buffer)
goto fail_audio_output;
memset(swa->buffers[i].buffer, 0, switch_audio_buffer_size(NULL));
@@ -306,7 +310,7 @@ static void *switch_audio_init(const char *device,
swa->buffers[i].unknown = 0;
swa->buffers[i].sample_data = alloc_pages(sample_buffer_size, switch_audio_buffer_size(NULL), NULL);
if (swa->buffers[i].sample_data == NULL)
if (!swa->buffers[i].sample_data)
goto fail_audio_output;
#endif
@@ -328,15 +332,16 @@ static void *switch_audio_init(const char *device,
swa->is_paused = true;
RARCH_LOG("[Audio]: Audio initialized\n");
return swa;
fail_audio_output:
/* TODO/FIXME - fix libnx codepath */
#ifndef HAVE_LIBNX
audio_ipc_output_close(&swa->output);
#endif
fail_audio_ipc:
#endif
/* TODO/FIXME - fix libnx codepath */
#ifndef HAVE_LIBNX
audio_ipc_finalize();
+1 -1
View File
@@ -17,7 +17,7 @@ typedef Thread compat_thread;
typedef CondVar compat_condvar;
#define compat_thread_create(thread, func, data, stack_size, prio, cpu) \
threadCreate(thread, func, data, stack_size, prio, cpu)
threadCreate(thread, func, data, NULL, stack_size, prio, cpu)
#define compat_thread_start(thread) \
threadStart(thread)
#define compat_thread_join(thread) \
+368
View File
@@ -0,0 +1,368 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2019 - misson20000
* Copyright (C) 2019 - m4xw
* Copyright (C) 2019 - lifajucejo
* Copyright (C) 2019 - p-sam
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <string.h>
#include <malloc.h>
#include <stdint.h>
#include <switch.h>
#include "../../retroarch.h"
#include "../../verbosity.h"
#define BUFFER_COUNT 5
static const int sample_rate = 48000;
static const int num_channels = 2;
static const uint8_t sink_channels[] = { 0, 1 };
static const AudioRendererConfig audio_renderer_config =
{
.output_rate = AudioRendererOutputRate_48kHz,
.num_voices = 24,
.num_effects = 0,
.num_sinks = 1,
.num_mix_objs = 1,
.num_mix_buffers = 2,
};
typedef struct
{
AudioDriver drv;
void* mempool;
AudioDriverWaveBuf wavebufs[BUFFER_COUNT];
AudioDriverWaveBuf* current_wavebuf;
void* current_pool_ptr;
size_t current_size;
size_t buffer_size;
size_t samples;
Mutex update_lock;
bool nonblock;
} libnx_audren_t;
static void *libnx_audren_audio_init(
const char *device, unsigned rate, unsigned latency,
unsigned block_frames,
unsigned *new_rate)
{
unsigned i, j;
libnx_audren_t *aud;
Result rc;
int mpid;
size_t mempool_size;
unsigned real_latency;
RARCH_LOG("[Audio]: Using libnx_audren driver\n");
aud = (libnx_audren_t*)calloc(1, sizeof(libnx_audren_t));
if (!aud)
{
RARCH_ERR("[Audio]: struct alloc failed\n");
goto fail;
}
real_latency = MAX(5, latency);
RARCH_LOG("[Audio]: real_latency is %u\n", real_latency);
aud->nonblock = !block_frames;
aud->buffer_size = (real_latency * sample_rate / 1000);
aud->samples = (aud->buffer_size / num_channels / sizeof(int16_t));
aud->current_size = 0;
*new_rate = sample_rate;
mempool_size = (aud->buffer_size * BUFFER_COUNT + (AUDREN_MEMPOOL_ALIGNMENT-1)) &~ (AUDREN_MEMPOOL_ALIGNMENT-1);
aud->mempool = memalign(AUDREN_MEMPOOL_ALIGNMENT, mempool_size);
if (!aud->mempool)
{
RARCH_ERR("[Audio]: mempool alloc failed\n");
goto fail;
}
rc = audrenInitialize(&audio_renderer_config);
if (R_FAILED(rc))
{
RARCH_ERR("[Audio]: audrenInitialize: %x\n", rc);
goto fail;
}
rc = audrvCreate(&aud->drv, &audio_renderer_config, num_channels);
if (R_FAILED(rc))
{
RARCH_ERR("[Audio]: audrvCreate: %x\n", rc);
goto fail_init;
}
for(i = 0; i < BUFFER_COUNT; i++)
{
aud->wavebufs[i].data_raw = aud->mempool;
aud->wavebufs[i].size = mempool_size;
aud->wavebufs[i].start_sample_offset = i * aud->samples;
aud->wavebufs[i].end_sample_offset = aud->wavebufs[i].start_sample_offset + aud->samples;
}
aud->current_wavebuf = NULL;
mpid = audrvMemPoolAdd(&aud->drv, aud->mempool, mempool_size);
audrvMemPoolAttach(&aud->drv, mpid);
audrvDeviceSinkAdd(&aud->drv, AUDREN_DEFAULT_DEVICE_NAME, num_channels, sink_channels);
rc = audrenStartAudioRenderer();
if (R_FAILED(rc))
{
RARCH_ERR("[Audio]: audrenStartAudioRenderer: %x\n", rc);
}
audrvVoiceInit(&aud->drv, 0, num_channels, PcmFormat_Int16, sample_rate);
audrvVoiceSetDestinationMix(&aud->drv, 0, AUDREN_FINAL_MIX_ID);
for(i = 0; i < num_channels; i++)
{
for(j = 0; j < num_channels; j++)
{
audrvVoiceSetMixFactor(&aud->drv, 0, i == j ? 1.0f : 0.0f, i, j);
}
}
mutexInit(&aud->update_lock);
*new_rate = sample_rate;
return aud;
fail_init:
audrenExit();
fail:
if (aud)
{
if (aud->mempool)
free(aud->mempool);
free(aud);
}
return NULL;
}
static size_t libnx_audren_audio_buffer_size(void *data)
{
libnx_audren_t *aud = (libnx_audren_t*)data;
if (!aud)
return 0;
return aud->buffer_size;
}
static ssize_t libnx_audren_audio_get_free_wavebuf_idx(libnx_audren_t* aud)
{
unsigned i;
for (i = 0; i < BUFFER_COUNT; i++)
{
if (
aud->wavebufs[i].state == AudioDriverWaveBufState_Free
|| aud->wavebufs[i].state == AudioDriverWaveBufState_Done)
return i;
}
return -1;
}
static size_t libnx_audren_audio_append(
libnx_audren_t* aud, const void *buf, size_t size)
{
void *dstbuf = NULL;
ssize_t free_idx = -1;
if (!aud->current_wavebuf)
{
free_idx = libnx_audren_audio_get_free_wavebuf_idx(aud);
if (free_idx == -1)
return 0;
aud->current_wavebuf = &aud->wavebufs[free_idx];
aud->current_pool_ptr = aud->mempool + (free_idx * aud->buffer_size);
aud->current_size = 0;
}
if (size > aud->buffer_size - aud->current_size)
size = aud->buffer_size - aud->current_size;
dstbuf = aud->current_pool_ptr + aud->current_size;
memcpy(dstbuf, buf, size);
armDCacheFlush(dstbuf, size);
aud->current_size += size;
if (aud->current_size == aud->buffer_size)
{
audrvVoiceAddWaveBuf(&aud->drv, 0, aud->current_wavebuf);
mutexLock(&aud->update_lock);
audrvUpdate(&aud->drv);
mutexUnlock(&aud->update_lock);
if (!audrvVoiceIsPlaying(&aud->drv, 0))
{
audrvVoiceStart(&aud->drv, 0);
}
aud->current_wavebuf = NULL;
}
return size;
}
static ssize_t libnx_audren_audio_write(void *data,
const void *buf, size_t size)
{
libnx_audren_t *aud = (libnx_audren_t*)data;
size_t written = 0;
if (!aud)
return -1;
if (aud->nonblock)
{
while(written < size)
{
written += libnx_audren_audio_append(
aud, buf + written, size - written);
if (written != size)
break;
}
}
else
{
while(written < size)
{
written += libnx_audren_audio_append(
aud, buf + written, size - written);
if (written != size)
{
mutexLock(&aud->update_lock);
audrvUpdate(&aud->drv);
mutexUnlock(&aud->update_lock);
audrenWaitFrame();
}
}
}
return written;
}
static bool libnx_audren_audio_stop(void *data)
{
libnx_audren_t *aud = (libnx_audren_t*)data;
if (!aud)
return false;
audrvVoiceStop(&aud->drv, 0);
return true;
}
static bool libnx_audren_audio_start(void *data, bool is_shutdown)
{
(void)is_shutdown;
libnx_audren_t *aud = (libnx_audren_t*)data;
if (!aud)
return false;
audrvVoiceStart(&aud->drv, 0);
return true;
}
static bool libnx_audren_audio_alive(void *data)
{
libnx_audren_t *aud = (libnx_audren_t*)data;
if (!aud)
return false;
return true;
}
static void libnx_audren_audio_free(void *data)
{
libnx_audren_t *aud = (libnx_audren_t*)data;
if (!aud)
return;
audrvVoiceStop(&aud->drv, 0);
audrvClose(&aud->drv);
audrenExit();
if (aud->mempool)
{
free(aud->mempool);
}
free(aud);
}
static bool libnx_audren_audio_use_float(void *data)
{
(void)data;
return false; /* force S16 */
}
static size_t libnx_audren_audio_write_avail(void *data)
{
libnx_audren_t *aud = (libnx_audren_t*)data;
size_t avail;
if (!aud || !aud->current_wavebuf)
return 0;
avail = aud->buffer_size - aud->current_size;
return avail;
}
static void libnx_audren_audio_set_nonblock_state(void *data, bool state)
{
libnx_audren_t *aud = (libnx_audren_t*)data;
if (!aud)
return;
aud->nonblock = state;
}
audio_driver_t audio_switch_libnx_audren = {
libnx_audren_audio_init,
libnx_audren_audio_write,
libnx_audren_audio_stop,
libnx_audren_audio_start,
libnx_audren_audio_alive,
libnx_audren_audio_set_nonblock_state,
libnx_audren_audio_free,
libnx_audren_audio_use_float,
"switch_audren",
NULL, /* device_list_new */
NULL, /* device_list_free */
libnx_audren_audio_write_avail,
libnx_audren_audio_buffer_size,
};
@@ -0,0 +1,440 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2019 - p-sam
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <string.h>
#include <malloc.h>
#include <stdint.h>
#include <switch.h>
#include <queues/fifo_queue.h>
#include "../../retroarch.h"
#include "../../verbosity.h"
#include "../../tasks/tasks_internal.h"
#define BUFFER_COUNT 5
static const int sample_rate = 48000;
static const int num_channels = 2;
static const uint8_t sink_channels[] = { 0, 1 };
static const size_t thread_stack_size = 1024 * 8;
static const int thread_preferred_cpu = 2;
static const AudioRendererConfig audio_renderer_config =
{
.output_rate = AudioRendererOutputRate_48kHz,
.num_voices = 24,
.num_effects = 0,
.num_sinks = 1,
.num_mix_objs = 1,
.num_mix_buffers = 2,
};
typedef struct
{
AudioDriver drv;
void* mempool;
AudioDriverWaveBuf wavebufs[BUFFER_COUNT];
size_t buffer_size;
size_t samples;
bool nonblock;
fifo_buffer_t* fifo;
Mutex fifo_lock;
CondVar fifo_condvar;
Mutex fifo_condlock;
Thread thread;
volatile bool running;
volatile bool paused;
} libnx_audren_thread_t;
static void thread_job(void* data)
{
unsigned i;
libnx_audren_thread_t *aud = (libnx_audren_thread_t*)data;
size_t available = 0;
size_t current_size = 0;
size_t written_tmp = 0;
AudioDriverWaveBuf* current_wavebuf = NULL;
void* current_pool_ptr = NULL;
void* dstbuf = NULL;
if (!aud)
return;
while (aud->running)
{
if (!current_wavebuf)
{
for (i = 0; i < BUFFER_COUNT; i++)
{
if (aud->wavebufs[i].state == AudioDriverWaveBufState_Free
|| aud->wavebufs[i].state == AudioDriverWaveBufState_Done)
{
current_wavebuf = &aud->wavebufs[i];
current_pool_ptr = aud->mempool + (i * aud->buffer_size);
current_size = 0;
break;
}
}
}
if (current_wavebuf)
{
mutexLock(&aud->fifo_lock);
available = aud->paused ? 0 : fifo_read_avail(aud->fifo);
written_tmp = MIN(available, aud->buffer_size - current_size);
dstbuf = current_pool_ptr + current_size;
if (written_tmp > 0)
fifo_read(aud->fifo, dstbuf, written_tmp);
mutexUnlock(&aud->fifo_lock);
if (written_tmp > 0)
{
condvarWakeAll(&aud->fifo_condvar);
current_size += written_tmp;
armDCacheFlush(dstbuf, written_tmp);
}
if (current_size == aud->buffer_size)
{
audrvVoiceAddWaveBuf(&aud->drv, 0, current_wavebuf);
audrvUpdate(&aud->drv);
if (!audrvVoiceIsPlaying(&aud->drv, 0))
{
audrvVoiceStart(&aud->drv, 0);
}
current_wavebuf = NULL;
}
svcSleepThread(1000UL);
}
else
{
audrvUpdate(&aud->drv);
audrenWaitFrame();
}
}
}
static void *libnx_audren_thread_audio_init(const char *device, unsigned rate, unsigned latency,
unsigned block_frames,
unsigned *new_rate)
{
unsigned i, j;
libnx_audren_thread_t *aud;
Result rc;
int mpid;
size_t mempool_size;
unsigned real_latency;
uint32_t thread_priority;
RARCH_LOG("[Audio]: Using libnx_audren_thread driver\n");
aud = (libnx_audren_thread_t*)calloc(1, sizeof(libnx_audren_thread_t));
if (!aud)
{
RARCH_ERR("[Audio]: struct alloc failed\n");
goto fail;
}
real_latency = MAX(latency, 5);
RARCH_LOG("[Audio]: real_latency is %u\n", real_latency);
aud->running = true;
aud->paused = false;
aud->nonblock = !block_frames;
aud->buffer_size = (real_latency * sample_rate / 1000);
aud->samples = (aud->buffer_size / num_channels / sizeof(int16_t));
mempool_size = (aud->buffer_size * BUFFER_COUNT +
(AUDREN_MEMPOOL_ALIGNMENT-1)) &~ (AUDREN_MEMPOOL_ALIGNMENT-1);
aud->mempool = memalign(AUDREN_MEMPOOL_ALIGNMENT, mempool_size);
if (!aud->mempool)
{
RARCH_ERR("[Audio]: mempool alloc failed\n");
goto fail;
}
rc = audrenInitialize(&audio_renderer_config);
if (R_FAILED(rc))
{
RARCH_ERR("[Audio]: audrenInitialize: %x\n", rc);
goto fail;
}
rc = audrvCreate(&aud->drv, &audio_renderer_config, num_channels);
if (R_FAILED(rc))
{
RARCH_ERR("[Audio]: audrvCreate: %x\n", rc);
goto fail_init;
}
for (i = 0; i < BUFFER_COUNT; i++)
{
aud->wavebufs[i].data_raw = aud->mempool;
aud->wavebufs[i].size = mempool_size;
aud->wavebufs[i].start_sample_offset = i * aud->samples;
aud->wavebufs[i].end_sample_offset = aud->wavebufs[i].start_sample_offset + aud->samples;
}
mpid = audrvMemPoolAdd(&aud->drv, aud->mempool, mempool_size);
audrvMemPoolAttach(&aud->drv, mpid);
audrvDeviceSinkAdd(&aud->drv, AUDREN_DEFAULT_DEVICE_NAME,
num_channels, sink_channels);
rc = audrenStartAudioRenderer();
if (R_FAILED(rc))
{
RARCH_ERR("[Audio]: audrenStartAudioRenderer: %x\n", rc);
}
audrvVoiceInit(&aud->drv, 0, num_channels, PcmFormat_Int16, sample_rate);
audrvVoiceSetDestinationMix(&aud->drv, 0, AUDREN_FINAL_MIX_ID);
for (i = 0; i < num_channels; i++)
{
for (j = 0; j < num_channels; j++)
{
audrvVoiceSetMixFactor(&aud->drv, 0, i == j ? 1.0f : 0.0f, i, j);
}
}
aud->fifo = fifo_new(aud->buffer_size);
if (!aud->fifo)
{
RARCH_ERR("[Audio]: fifo alloc failed\n");
goto fail_drv;
}
mutexInit(&aud->fifo_lock);
condvarInit(&aud->fifo_condvar);
mutexInit(&aud->fifo_condlock);
svcGetThreadPriority(&thread_priority, CUR_THREAD_HANDLE);
rc = threadCreate(&aud->thread, &thread_job,
(void*)aud, NULL, thread_stack_size,
thread_priority - 1, thread_preferred_cpu);
if (R_FAILED(rc))
{
RARCH_ERR("[Audio]: threadCreate: %x\n", rc);
goto fail_drv;
}
rc = threadStart(&aud->thread);
if (R_FAILED(rc))
{
RARCH_ERR("[Audio]: threadStart: %x\n", rc);
threadClose(&aud->thread);
goto fail_drv;
}
*new_rate = sample_rate;
return aud;
fail_drv:
audrvClose(&aud->drv);
fail_init:
audrenExit();
fail:
if (aud)
{
if (aud->mempool)
free(aud->mempool);
free(aud);
}
return NULL;
}
static size_t libnx_audren_thread_audio_buffer_size(void *data)
{
libnx_audren_thread_t *aud = (libnx_audren_thread_t*)data;
if (!aud)
return 0;
return aud->buffer_size;
}
static ssize_t libnx_audren_thread_audio_write(void *data,
const void *buf, size_t size)
{
libnx_audren_thread_t *aud = (libnx_audren_thread_t*)data;
size_t available, written, written_tmp;
if (!aud || !aud->running)
return -1;
if (aud->paused)
return 0;
if (aud->nonblock)
{
mutexLock(&aud->fifo_lock);
available = fifo_write_avail(aud->fifo);
written = MIN(available, size);
if (written > 0)
fifo_write(aud->fifo, buf, written);
mutexUnlock(&aud->fifo_lock);
}
else
{
written = 0;
while (written < size && aud->running)
{
mutexLock(&aud->fifo_lock);
available = fifo_write_avail(aud->fifo);
if (available)
{
written_tmp = MIN(size - written, available);
fifo_write(aud->fifo, (const char*)buf + written, written_tmp);
mutexUnlock(&aud->fifo_lock);
written += written_tmp;
}
else
{
mutexUnlock(&aud->fifo_lock);
mutexLock(&aud->fifo_condlock);
condvarWait(&aud->fifo_condvar, &aud->fifo_condlock);
mutexUnlock(&aud->fifo_condlock);
}
}
}
return written;
}
static bool libnx_audren_thread_audio_stop(void *data)
{
libnx_audren_thread_t *aud = (libnx_audren_thread_t*)data;
if (!aud)
return false;
aud->paused = true;
return true;
}
static bool libnx_audren_thread_audio_start(void *data, bool is_shutdown)
{
(void)is_shutdown;
libnx_audren_thread_t *aud = (libnx_audren_thread_t*)data;
if (!aud)
return false;
aud->paused = false;
return true;
}
static bool libnx_audren_thread_audio_alive(void *data)
{
libnx_audren_thread_t *aud = (libnx_audren_thread_t*)data;
if (!aud)
return false;
return true;
}
static void libnx_audren_thread_audio_free(void *data)
{
libnx_audren_thread_t *aud = (libnx_audren_thread_t*)data;
if (!aud)
return;
aud->running = false;
mutexUnlock(&aud->fifo_lock);
threadWaitForExit(&aud->thread);
threadClose(&aud->thread);
audrvVoiceStop(&aud->drv, 0);
audrvClose(&aud->drv);
audrenExit();
if (aud->mempool)
{
free(aud->mempool);
}
if (aud->fifo)
{
fifo_clear(aud->fifo);
fifo_free(aud->fifo);
}
free(aud);
}
static bool libnx_audren_thread_audio_use_float(void *data)
{
(void)data;
return false; /* force S16 */
}
static size_t libnx_audren_thread_audio_write_avail(void *data)
{
libnx_audren_thread_t *aud = (libnx_audren_thread_t*)data;
size_t available;
if (!aud)
return 0;
mutexLock(&aud->fifo_lock);
available = fifo_write_avail(aud->fifo);
mutexUnlock(&aud->fifo_lock);
return available;
}
static void libnx_audren_thread_audio_set_nonblock_state(void *data, bool state)
{
libnx_audren_thread_t *aud = (libnx_audren_thread_t*)data;
if (!aud)
return;
aud->nonblock = state;
}
audio_driver_t audio_switch_libnx_audren_thread = {
libnx_audren_thread_audio_init,
libnx_audren_thread_audio_write,
libnx_audren_thread_audio_stop,
libnx_audren_thread_audio_start,
libnx_audren_thread_audio_alive,
libnx_audren_thread_audio_set_nonblock_state,
libnx_audren_thread_audio_free,
libnx_audren_thread_audio_use_float,
"switch_audren_thread",
NULL, /* device_list_new */
NULL, /* device_list_free */
libnx_audren_thread_audio_write_avail,
libnx_audren_thread_audio_buffer_size,
};
+10 -9
View File
@@ -28,7 +28,7 @@
#endif
#include <queues/fifo_queue.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#include "../../tasks/tasks_internal.h"
@@ -39,7 +39,6 @@ static const size_t thread_stack_size = 1024 * 8;
static const int thread_preferred_cpu = 2;
static const int channel_count = 2;
static const size_t sample_size = sizeof(uint16_t);
static const size_t frame_size = channel_count * sample_size;
#define AUDIO_BUFFER_COUNT 2
@@ -53,7 +52,7 @@ typedef struct
size_t fifoSize;
volatile bool running;
bool nonblocking;
bool nonblock;
bool is_paused;
compat_audio_out_buffer buffers[AUDIO_BUFFER_COUNT];
@@ -144,15 +143,17 @@ static void *switch_thread_audio_init(const char *device, unsigned rate, unsigne
Result rc;
unsigned i;
uint32_t prio;
#ifndef HAVE_LIBNX
char names[8][0x20];
uint32_t num_names = 0;
#endif
switch_thread_audio_t *swa = (switch_thread_audio_t *)calloc(1, sizeof(*swa));
if (!swa)
return NULL;
swa->running = true;
swa->nonblocking = true;
swa->nonblock = true;
swa->is_paused = true;
swa->latency = MAX(latency, 8);
@@ -217,7 +218,7 @@ static void *switch_thread_audio_init(const char *device, unsigned rate, unsigne
swa->buffers[i].data_size = swa->buffers[i].buffer_size;
swa->buffers[i].buffer = memalign(0x1000, swa->buffers[i].buffer_size);
if (swa->buffers[i].buffer == NULL)
if (!swa->buffers[i].buffer)
goto fail;
memset(swa->buffers[i].buffer, 0, swa->buffers[i].buffer_size);
@@ -228,7 +229,7 @@ static void *switch_thread_audio_init(const char *device, unsigned rate, unsigne
swa->buffers[i].data_size = swa->buffers[i].buffer_size;
swa->buffers[i].sample_data = alloc_pages(swa->buffers[i].buffer_size, swa->buffers[i].buffer_size, NULL);
if (swa->buffers[i].sample_data == NULL)
if (!swa->buffers[i].sample_data)
goto fail_audio_output;
memset(swa->buffers[i].sample_data, 0, swa->buffers[i].buffer_size);
@@ -237,7 +238,7 @@ static void *switch_thread_audio_init(const char *device, unsigned rate, unsigne
if (switch_audio_ipc_output_append_buffer(swa, &swa->buffers[i]) != 0)
goto fail_audio_output;
}
compat_mutex_create(&swa->fifoLock);
swa->fifo = fifo_new(swa->fifoSize);
@@ -345,7 +346,7 @@ static ssize_t switch_thread_audio_write(void *data, const void *buf, size_t siz
if (!swa || !swa->running)
return 0;
if (swa->nonblocking)
if (swa->nonblock)
{
compat_mutex_lock(&swa->fifoLock);
avail = fifo_write_avail(swa->fifo);
@@ -397,7 +398,7 @@ static void switch_thread_audio_set_nonblock_state(void *data, bool state)
switch_thread_audio_t *swa = (switch_thread_audio_t *)data;
if (swa)
swa->nonblocking = state;
swa->nonblock = state;
}
static bool switch_thread_audio_use_float(void *data)
+80 -81
View File
@@ -64,7 +64,7 @@
#include <retro_inline.h>
#include <retro_endianness.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
/* Implementation tinyalsa pcm */
@@ -174,17 +174,17 @@
#define SNDRV_PCM_IOCTL_LINK _IOW('A', 0x60, int)
#define SNDRV_PCM_IOCTL_UNLINK _IO('A', 0x61)
#define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED (( snd_pcm_access_t) 0) /* interleaved mmap */
#define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED (( snd_pcm_access_t) 1) /* noninterleaved mmap */
#define SNDRV_PCM_ACCESS_MMAP_COMPLEX (( snd_pcm_access_t) 2) /* complex mmap */
#define SNDRV_PCM_ACCESS_RW_INTERLEAVED (( snd_pcm_access_t) 3) /* readi/writei */
#define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED (( snd_pcm_access_t) 4) /* readn/writen */
#define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED (( tinyalsa_snd_pcm_access_t) 0) /* interleaved mmap */
#define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED (( tinyalsa_snd_pcm_access_t) 1) /* noninterleaved mmap */
#define SNDRV_PCM_ACCESS_MMAP_COMPLEX (( tinyalsa_snd_pcm_access_t) 2) /* complex mmap */
#define SNDRV_PCM_ACCESS_RW_INTERLEAVED (( tinyalsa_snd_pcm_access_t) 3) /* readi/writei */
#define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED (( tinyalsa_snd_pcm_access_t) 4) /* readn/writen */
#define SNDRV_PCM_ACCESS_LAST SNDRV_PCM_ACCESS_RW_NONINTERLEAVED
#define SNDRV_PCM_SUBFORMAT_STD (( snd_pcm_subformat_t) 0)
#define SNDRV_PCM_SUBFORMAT_STD (( tinyalsa_snd_pcm_subformat_t) 0)
#define SNDRV_PCM_SUBFORMAT_LAST SNDRV_PCM_SUBFORMAT_STD
#define SNDRV_PCM_SUBFORMAT_STD (( snd_pcm_subformat_t) 0)
#define SNDRV_PCM_SUBFORMAT_STD (( tinyalsa_snd_pcm_subformat_t) 0)
#define SNDRV_PCM_SUBFORMAT_LAST SNDRV_PCM_SUBFORMAT_STD
#define SNDRV_PCM_INFO_MMAP 0x00000001 /* hardware supports mmap */
#define SNDRV_PCM_INFO_MMAP_VALID 0x00000002 /* period data are valid during transfer */
@@ -203,15 +203,15 @@
#define SNDRV_PCM_INFO_NO_PERIOD_WAKEUP 0x00800000 /* period wakeup can be disabled */
#define SNDRV_PCM_INFO_HAS_WALL_CLOCK 0x01000000 /* has audio wall clock for audio/system time sync */
#define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000 /* internal kernel flag - FIFO size is in frames */
#define SNDRV_PCM_STATE_OPEN (( snd_pcm_state_t) 0) /* stream is open */
#define SNDRV_PCM_STATE_SETUP (( snd_pcm_state_t) 1) /* stream has a setup */
#define SNDRV_PCM_STATE_PREPARED (( snd_pcm_state_t) 2) /* stream is ready to start */
#define SNDRV_PCM_STATE_RUNNING (( snd_pcm_state_t) 3) /* stream is running */
#define SNDRV_PCM_STATE_XRUN (( snd_pcm_state_t) 4) /* stream reached an xrun */
#define SNDRV_PCM_STATE_DRAINING (( snd_pcm_state_t) 5) /* stream is draining */
#define SNDRV_PCM_STATE_PAUSED (( snd_pcm_state_t) 6) /* stream is paused */
#define SNDRV_PCM_STATE_SUSPENDED (( snd_pcm_state_t) 7) /* hardware is suspended */
#define SNDRV_PCM_STATE_DISCONNECTED (( snd_pcm_state_t) 8) /* hardware is disconnected */
#define SNDRV_PCM_STATE_OPEN (( tinyalsa_snd_pcm_state_t) 0) /* stream is open */
#define SNDRV_PCM_STATE_SETUP (( tinyalsa_snd_pcm_state_t) 1) /* stream has a setup */
#define SNDRV_PCM_STATE_PREPARED (( tinyalsa_snd_pcm_state_t) 2) /* stream is ready to start */
#define SNDRV_PCM_STATE_RUNNING (( tinyalsa_snd_pcm_state_t) 3) /* stream is running */
#define SNDRV_PCM_STATE_XRUN (( tinyalsa_snd_pcm_state_t) 4) /* stream reached an xrun */
#define SNDRV_PCM_STATE_DRAINING (( tinyalsa_snd_pcm_state_t) 5) /* stream is draining */
#define SNDRV_PCM_STATE_PAUSED (( tinyalsa_snd_pcm_state_t) 6) /* stream is paused */
#define SNDRV_PCM_STATE_SUSPENDED (( tinyalsa_snd_pcm_state_t) 7) /* hardware is suspended */
#define SNDRV_PCM_STATE_DISCONNECTED (( tinyalsa_snd_pcm_state_t) 8) /* hardware is disconnected */
#define SNDRV_PCM_STATE_LAST SNDRV_PCM_STATE_DISCONNECTED
#define SNDRV_PCM_HW_PARAM_ACCESS 0 /* Access type */
@@ -237,53 +237,53 @@
#define SNDRV_PCM_HW_PARAMS_EXPORT_BUFFER (1<<1) /* export buffer */
#define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1<<2) /* disable period wakeups */
#define SNDRV_PCM_FORMAT_S8 (( snd_pcm_format_t) 0)
#define SNDRV_PCM_FORMAT_U8 (( snd_pcm_format_t) 1)
#define SNDRV_PCM_FORMAT_S16_LE (( snd_pcm_format_t) 2)
#define SNDRV_PCM_FORMAT_S16_BE (( snd_pcm_format_t) 3)
#define SNDRV_PCM_FORMAT_U16_LE (( snd_pcm_format_t) 4)
#define SNDRV_PCM_FORMAT_U16_BE (( snd_pcm_format_t) 5)
#define SNDRV_PCM_FORMAT_S24_LE (( snd_pcm_format_t) 6) /* low three bytes */
#define SNDRV_PCM_FORMAT_S24_BE (( snd_pcm_format_t) 7) /* low three bytes */
#define SNDRV_PCM_FORMAT_U24_LE (( snd_pcm_format_t) 8) /* low three bytes */
#define SNDRV_PCM_FORMAT_U24_BE (( snd_pcm_format_t) 9) /* low three bytes */
#define SNDRV_PCM_FORMAT_S32_LE (( snd_pcm_format_t) 10)
#define SNDRV_PCM_FORMAT_S32_BE (( snd_pcm_format_t) 11)
#define SNDRV_PCM_FORMAT_U32_LE (( snd_pcm_format_t) 12)
#define SNDRV_PCM_FORMAT_U32_BE (( snd_pcm_format_t) 13)
#define SNDRV_PCM_FORMAT_FLOAT_LE (( snd_pcm_format_t) 14) /* 4-byte float, IEEE-754 32-bit, range -1.0 to 1.0 */
#define SNDRV_PCM_FORMAT_FLOAT_BE (( snd_pcm_format_t) 15) /* 4-byte float, IEEE-754 32-bit, range -1.0 to 1.0 */
#define SNDRV_PCM_FORMAT_FLOAT64_LE (( snd_pcm_format_t) 16) /* 8-byte float, IEEE-754 64-bit, range -1.0 to 1.0 */
#define SNDRV_PCM_FORMAT_FLOAT64_BE (( snd_pcm_format_t) 17) /* 8-byte float, IEEE-754 64-bit, range -1.0 to 1.0 */
#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE (( snd_pcm_format_t) 18) /* IEC-958 subframe, Little Endian */
#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE (( snd_pcm_format_t) 19) /* IEC-958 subframe, Big Endian */
#define SNDRV_PCM_FORMAT_MU_LAW (( snd_pcm_format_t) 20)
#define SNDRV_PCM_FORMAT_A_LAW (( snd_pcm_format_t) 21)
#define SNDRV_PCM_FORMAT_IMA_ADPCM (( snd_pcm_format_t) 22)
#define SNDRV_PCM_FORMAT_MPEG (( snd_pcm_format_t) 23)
#define SNDRV_PCM_FORMAT_GSM (( snd_pcm_format_t) 24)
#define SNDRV_PCM_FORMAT_SPECIAL (( snd_pcm_format_t) 31)
#define SNDRV_PCM_FORMAT_S24_3LE (( snd_pcm_format_t) 32) /* in three bytes */
#define SNDRV_PCM_FORMAT_S24_3BE (( snd_pcm_format_t) 33) /* in three bytes */
#define SNDRV_PCM_FORMAT_U24_3LE (( snd_pcm_format_t) 34) /* in three bytes */
#define SNDRV_PCM_FORMAT_U24_3BE (( snd_pcm_format_t) 35) /* in three bytes */
#define SNDRV_PCM_FORMAT_S20_3LE (( snd_pcm_format_t) 36) /* in three bytes */
#define SNDRV_PCM_FORMAT_S20_3BE (( snd_pcm_format_t) 37) /* in three bytes */
#define SNDRV_PCM_FORMAT_U20_3LE (( snd_pcm_format_t) 38) /* in three bytes */
#define SNDRV_PCM_FORMAT_U20_3BE (( snd_pcm_format_t) 39) /* in three bytes */
#define SNDRV_PCM_FORMAT_S18_3LE (( snd_pcm_format_t) 40) /* in three bytes */
#define SNDRV_PCM_FORMAT_S18_3BE (( snd_pcm_format_t) 41) /* in three bytes */
#define SNDRV_PCM_FORMAT_U18_3LE (( snd_pcm_format_t) 42) /* in three bytes */
#define SNDRV_PCM_FORMAT_U18_3BE (( snd_pcm_format_t) 43) /* in three bytes */
#define SNDRV_PCM_FORMAT_G723_24 (( snd_pcm_format_t) 44) /* 8 samples in 3 bytes */
#define SNDRV_PCM_FORMAT_G723_24_1B (( snd_pcm_format_t) 45) /* 1 sample in 1 byte */
#define SNDRV_PCM_FORMAT_G723_40 (( snd_pcm_format_t) 46) /* 8 Samples in 5 bytes */
#define SNDRV_PCM_FORMAT_G723_40_1B (( snd_pcm_format_t) 47) /* 1 sample in 1 byte */
#define SNDRV_PCM_FORMAT_DSD_U8 (( snd_pcm_format_t) 48) /* DSD, 1-byte samples DSD (x8) */
#define SNDRV_PCM_FORMAT_DSD_U16_LE (( snd_pcm_format_t) 49) /* DSD, 2-byte samples DSD (x16), little endian */
#define SNDRV_PCM_FORMAT_DSD_U32_LE (( snd_pcm_format_t) 50) /* DSD, 4-byte samples DSD (x32), little endian */
#define SNDRV_PCM_FORMAT_DSD_U16_BE (( snd_pcm_format_t) 51) /* DSD, 2-byte samples DSD (x16), big endian */
#define SNDRV_PCM_FORMAT_DSD_U32_BE (( snd_pcm_format_t) 52) /* DSD, 4-byte samples DSD (x32), big endian */
#define SNDRV_PCM_FORMAT_S8 (( tinyalsa_snd_pcm_format_t) 0)
#define SNDRV_PCM_FORMAT_U8 (( tinyalsa_snd_pcm_format_t) 1)
#define SNDRV_PCM_FORMAT_S16_LE (( tinyalsa_snd_pcm_format_t) 2)
#define SNDRV_PCM_FORMAT_S16_BE (( tinyalsa_snd_pcm_format_t) 3)
#define SNDRV_PCM_FORMAT_U16_LE (( tinyalsa_snd_pcm_format_t) 4)
#define SNDRV_PCM_FORMAT_U16_BE (( tinyalsa_snd_pcm_format_t) 5)
#define SNDRV_PCM_FORMAT_S24_LE (( tinyalsa_snd_pcm_format_t) 6) /* low three bytes */
#define SNDRV_PCM_FORMAT_S24_BE (( tinyalsa_snd_pcm_format_t) 7) /* low three bytes */
#define SNDRV_PCM_FORMAT_U24_LE (( tinyalsa_snd_pcm_format_t) 8) /* low three bytes */
#define SNDRV_PCM_FORMAT_U24_BE (( tinyalsa_snd_pcm_format_t) 9) /* low three bytes */
#define SNDRV_PCM_FORMAT_S32_LE (( tinyalsa_snd_pcm_format_t) 10)
#define SNDRV_PCM_FORMAT_S32_BE (( tinyalsa_snd_pcm_format_t) 11)
#define SNDRV_PCM_FORMAT_U32_LE (( tinyalsa_snd_pcm_format_t) 12)
#define SNDRV_PCM_FORMAT_U32_BE (( tinyalsa_snd_pcm_format_t) 13)
#define SNDRV_PCM_FORMAT_FLOAT_LE (( tinyalsa_snd_pcm_format_t) 14) /* 4-byte float, IEEE-754 32-bit, range -1.0 to 1.0 */
#define SNDRV_PCM_FORMAT_FLOAT_BE (( tinyalsa_snd_pcm_format_t) 15) /* 4-byte float, IEEE-754 32-bit, range -1.0 to 1.0 */
#define SNDRV_PCM_FORMAT_FLOAT64_LE (( tinyalsa_snd_pcm_format_t) 16) /* 8-byte float, IEEE-754 64-bit, range -1.0 to 1.0 */
#define SNDRV_PCM_FORMAT_FLOAT64_BE (( tinyalsa_snd_pcm_format_t) 17) /* 8-byte float, IEEE-754 64-bit, range -1.0 to 1.0 */
#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE (( tinyalsa_snd_pcm_format_t) 18) /* IEC-958 subframe, Little Endian */
#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE (( tinyalsa_snd_pcm_format_t) 19) /* IEC-958 subframe, Big Endian */
#define SNDRV_PCM_FORMAT_MU_LAW (( tinyalsa_snd_pcm_format_t) 20)
#define SNDRV_PCM_FORMAT_A_LAW (( tinyalsa_snd_pcm_format_t) 21)
#define SNDRV_PCM_FORMAT_IMA_ADPCM (( tinyalsa_snd_pcm_format_t) 22)
#define SNDRV_PCM_FORMAT_MPEG (( tinyalsa_snd_pcm_format_t) 23)
#define SNDRV_PCM_FORMAT_GSM (( tinyalsa_snd_pcm_format_t) 24)
#define SNDRV_PCM_FORMAT_SPECIAL (( tinyalsa_snd_pcm_format_t) 31)
#define SNDRV_PCM_FORMAT_S24_3LE (( tinyalsa_snd_pcm_format_t) 32) /* in three bytes */
#define SNDRV_PCM_FORMAT_S24_3BE (( tinyalsa_snd_pcm_format_t) 33) /* in three bytes */
#define SNDRV_PCM_FORMAT_U24_3LE (( tinyalsa_snd_pcm_format_t) 34) /* in three bytes */
#define SNDRV_PCM_FORMAT_U24_3BE (( tinyalsa_snd_pcm_format_t) 35) /* in three bytes */
#define SNDRV_PCM_FORMAT_S20_3LE (( tinyalsa_snd_pcm_format_t) 36) /* in three bytes */
#define SNDRV_PCM_FORMAT_S20_3BE (( tinyalsa_snd_pcm_format_t) 37) /* in three bytes */
#define SNDRV_PCM_FORMAT_U20_3LE (( tinyalsa_snd_pcm_format_t) 38) /* in three bytes */
#define SNDRV_PCM_FORMAT_U20_3BE (( tinyalsa_snd_pcm_format_t) 39) /* in three bytes */
#define SNDRV_PCM_FORMAT_S18_3LE (( tinyalsa_snd_pcm_format_t) 40) /* in three bytes */
#define SNDRV_PCM_FORMAT_S18_3BE (( tinyalsa_snd_pcm_format_t) 41) /* in three bytes */
#define SNDRV_PCM_FORMAT_U18_3LE (( tinyalsa_snd_pcm_format_t) 42) /* in three bytes */
#define SNDRV_PCM_FORMAT_U18_3BE (( tinyalsa_snd_pcm_format_t) 43) /* in three bytes */
#define SNDRV_PCM_FORMAT_G723_24 (( tinyalsa_snd_pcm_format_t) 44) /* 8 samples in 3 bytes */
#define SNDRV_PCM_FORMAT_G723_24_1B (( tinyalsa_snd_pcm_format_t) 45) /* 1 sample in 1 byte */
#define SNDRV_PCM_FORMAT_G723_40 (( tinyalsa_snd_pcm_format_t) 46) /* 8 Samples in 5 bytes */
#define SNDRV_PCM_FORMAT_G723_40_1B (( tinyalsa_snd_pcm_format_t) 47) /* 1 sample in 1 byte */
#define SNDRV_PCM_FORMAT_DSD_U8 (( tinyalsa_snd_pcm_format_t) 48) /* DSD, 1-byte samples DSD (x8) */
#define SNDRV_PCM_FORMAT_DSD_U16_LE (( tinyalsa_snd_pcm_format_t) 49) /* DSD, 2-byte samples DSD (x16), little endian */
#define SNDRV_PCM_FORMAT_DSD_U32_LE (( tinyalsa_snd_pcm_format_t) 50) /* DSD, 4-byte samples DSD (x32), little endian */
#define SNDRV_PCM_FORMAT_DSD_U16_BE (( tinyalsa_snd_pcm_format_t) 51) /* DSD, 2-byte samples DSD (x16), big endian */
#define SNDRV_PCM_FORMAT_DSD_U32_BE (( tinyalsa_snd_pcm_format_t) 52) /* DSD, 4-byte samples DSD (x32), big endian */
#define SNDRV_PCM_FORMAT_LAST SNDRV_PCM_FORMAT_DSD_U32_BE
#define SNDRV_MASK_MAX 256
@@ -427,10 +427,10 @@ enum
typedef unsigned long snd_pcm_uframes_t;
typedef signed long snd_pcm_sframes_t;
typedef int snd_pcm_hw_param_t;
typedef int __bitwise snd_pcm_access_t;
typedef int __bitwise snd_pcm_subformat_t;
typedef int __bitwise snd_pcm_state_t;
typedef int __bitwise snd_pcm_format_t;
typedef int __bitwise tinyalsa_snd_pcm_access_t;
typedef int __bitwise tinyalsa_snd_pcm_subformat_t;
typedef int __bitwise tinyalsa_snd_pcm_state_t;
typedef int __bitwise tinyalsa_snd_pcm_format_t;
/** A bit mask of 256 bits (32 bytes) that describes some hardware parameters of a PCM */
struct pcm_mask
@@ -448,11 +448,11 @@ union snd_pcm_sync_id
struct snd_pcm_mmap_status
{
snd_pcm_state_t state; /* RO: state - SNDRV_PCM_STATE_XXXX */
tinyalsa_snd_pcm_state_t state; /* RO: state - SNDRV_PCM_STATE_XXXX */
int pad1; /* Needed for 64 bit alignment */
snd_pcm_uframes_t hw_ptr; /* RO: hw ptr (0...boundary-1) */
struct timespec tstamp; /* Timestamp */
snd_pcm_state_t suspended_state; /* RO: suspended stream state */
tinyalsa_snd_pcm_state_t suspended_state; /* RO: suspended stream state */
struct timespec audio_tstamp; /* from sample counter or wall clock */
};
@@ -591,7 +591,7 @@ struct snd_xfern
struct snd_pcm_status
{
snd_pcm_state_t state; /* stream state */
tinyalsa_snd_pcm_state_t state; /* stream state */
struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
struct timespec tstamp; /* reference timestamp */
snd_pcm_uframes_t appl_ptr; /* appl ptr */
@@ -600,7 +600,7 @@ struct snd_pcm_status
snd_pcm_uframes_t avail; /* number of frames available */
snd_pcm_uframes_t avail_max; /* max frames available on hw since last status */
snd_pcm_uframes_t overrange; /* count of ADC (capture) overrange detections from last status */
snd_pcm_state_t suspended_state; /* suspended stream state */
tinyalsa_snd_pcm_state_t suspended_state; /* suspended stream state */
__u32 reserved_alignment; /* must be filled with zero */
struct timespec audio_tstamp; /* from sample counter or wall clock */
unsigned char reserved[56-sizeof(struct timespec)]; /* must be filled with zero */
@@ -808,7 +808,7 @@ static unsigned int pcm_get_channels(const struct pcm *pcm)
* */
static const struct pcm_config * pcm_get_config(const struct pcm *pcm)
{
if (pcm == NULL)
if (!pcm)
return NULL;
return &pcm->config;
}
@@ -929,7 +929,7 @@ static int pcm_set_config(struct pcm *pcm, const struct pcm_config *config)
struct snd_pcm_sw_params sparams;
struct snd_pcm_hw_params params;
if (pcm == NULL)
if (!pcm)
return -EFAULT;
if (config)
@@ -1293,7 +1293,7 @@ static int pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail,
*/
static int pcm_is_ready(const struct pcm *pcm)
{
if (pcm != NULL)
if (pcm)
return pcm->fd >= 0;
return 0;
}
@@ -1582,7 +1582,7 @@ static const struct pcm_mask *pcm_params_get_mask(const struct pcm_params *pcm_p
{
int p;
struct snd_pcm_hw_params *params = (struct snd_pcm_hw_params *)pcm_params;
if (params == NULL)
if (!params)
return NULL;
p = pcm_param_to_alsa(param);
@@ -2169,10 +2169,9 @@ static void * tinyalsa_init(const char *devicestr, unsigned rate,
unsigned int device = 0;
unsigned int frames_per_ms = 0;
unsigned int orig_rate = rate;
unsigned int max_rate, min_rate;
unsigned int max_rate, min_rate, buffer_size;
float initial_latency;
snd_pcm_uframes_t buffer_size;
struct pcm_config config;
tinyalsa_t *tinyalsa = (tinyalsa_t*)calloc(1, sizeof(tinyalsa_t));
@@ -2186,7 +2185,7 @@ static void * tinyalsa_init(const char *devicestr, unsigned rate,
RARCH_LOG("[TINYALSA]: Using card: %u, device: %u.\n", card, device);
tinyalsa->params = pcm_params_get(card, device, PCM_OUT);
if (tinyalsa->params == NULL)
if (!tinyalsa->params)
{
RARCH_ERR("[TINYALSA]: params: Cannot open audio device.\n");
goto error;
@@ -2225,7 +2224,7 @@ static void * tinyalsa_init(const char *devicestr, unsigned rate,
tinyalsa->pcm = pcm_open(card, device, PCM_OUT, &config);
if (tinyalsa->pcm == NULL)
if (!tinyalsa->pcm)
{
RARCH_ERR("[TINYALSA]: Failed to allocate memory for pcm.\n");
goto error;
@@ -2258,7 +2257,7 @@ static void * tinyalsa_init(const char *devicestr, unsigned rate,
RARCH_LOG("[TINYALSA]: Can pause: %s.\n", tinyalsa->can_pause ? "yes" : "no");
RARCH_LOG("[TINYALSA]: Audio rate: %uHz.\n", config.rate);
RARCH_LOG("[TINYALSA]: Buffer size: %u frames.\n", buffer_size);
RARCH_LOG("[TINYALSA]: Buffer size: %u bytes.\n", tinyalsa->buffer_size);
RARCH_LOG("[TINYALSA]: Buffer size: %u bytes.\n", (unsigned int)tinyalsa->buffer_size);
RARCH_LOG("[TINYALSA]: Frame size: %u bytes.\n", tinyalsa->frame_bits / 8);
RARCH_LOG("[TINYALSA]: Latency: %ums.\n", buffer_size * 1000 / (rate * 4));
+246 -397
View File
@@ -15,139 +15,21 @@
#include <stdlib.h>
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT 0x0600
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winerror.h>
#include <propidl.h>
#include <initguid.h>
#include <mmdeviceapi.h>
#include <mmreg.h>
#include <audioclient.h>
#ifdef _MSC_VER
DEFINE_GUID(IID_IAudioClient, 0x1CB9AD4C, 0xDBFA, 0x4C32, 0xB1, 0x78, 0xC2, 0xF5, 0x68, 0xA7, 0x03, 0xB2);
DEFINE_GUID(IID_IAudioRenderClient, 0xF294ACFC, 0x3146, 0x4483, 0xA7, 0xBF, 0xAD, 0xDC, 0xA7, 0xC2, 0x60, 0xE2);
DEFINE_GUID(IID_IMMDeviceEnumerator, 0xA95664D2, 0x9614, 0x4F35, 0xA7, 0x46, 0xDE, 0x8D, 0xB6, 0x36, 0x17, 0xE6);
DEFINE_GUID(CLSID_MMDeviceEnumerator, 0xBCDE0395, 0xE52F, 0x467C, 0x8E, 0x3D, 0xC4, 0x57, 0x92, 0x91, 0x69, 0x2E);
#undef KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
DEFINE_GUID(KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 0x00000003, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
#endif
#include <lists/string_list.h>
#include <queues/fifo_queue.h>
#include <string/stdstring.h>
#include "../audio_driver.h"
#include "../common/mmdevice_common.h"
#include "../common/mmdevice_common_inline.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#include "../../configuration.h"
DEFINE_PROPERTYKEY(PKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 14); /* DEVPROP_TYPE_STRING */
#ifdef __cplusplus
#define _IMMDeviceCollection_Item(This,nDevice,ppdevice) (This)->Item(nDevice,ppdevice)
#define _IAudioClient_Start(This) ( (This)->Start() )
#define _IAudioClient_Stop(This) ( (This)->Stop() )
#define _IAudioClient_GetCurrentPadding(This,pNumPaddingFrames) \
( (This)->GetCurrentPadding(pNumPaddingFrames) )
#define _IAudioRenderClient_GetBuffer(This,NumFramesRequested,ppData) \
( (This)->GetBuffer(NumFramesRequested,ppData) )
#define _IAudioRenderClient_ReleaseBuffer(This,NumFramesWritten,dwFlags) \
( (This)->ReleaseBuffer(NumFramesWritten,dwFlags) )
#define _IAudioClient_GetService(This,riid,ppv) ( (This)->GetService(riid,ppv) )
#define _IAudioClient_SetEventHandle(This,eventHandle) ( (This)->SetEventHandle(eventHandle) )
#define _IAudioClient_GetBufferSize(This,pNumBufferFrames) ( (This)->GetBufferSize(pNumBufferFrames) )
#define _IAudioClient_GetStreamLatency(This,phnsLatency) ( (This)->GetStreamLatency(phnsLatency) )
#define _IAudioClient_GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) ( (This)->GetDevicePeriod(phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) )
#define _IMMDevice_Activate(This,iid,dwClsCtx,pActivationParams,ppv) ((This)->Activate(iid,(dwClsCtx),pActivationParams,ppv))
#define _IMMDeviceEnumerator_EnumAudioEndpoints(This,dataFlow,dwStateMask,ppDevices) (This)->EnumAudioEndpoints(dataFlow,dwStateMask,ppDevices)
#define _IMMDeviceEnumerator_GetDefaultAudioEndpoint(This,dataFlow,role,ppEndpoint) (This)->GetDefaultAudioEndpoint(dataFlow,role,ppEndpoint)
#define _IMMDevice_OpenPropertyStore(This,stgmAccess,ppProperties) (This)->OpenPropertyStore(stgmAccess,ppProperties)
#define _IMMDevice_GetId(This,ppstrId) ((This)->GetId(ppstrId))
#define _IPropertyStore_GetValue(This,key,pv) ( (This)->GetValue(key,pv) )
#define _IMMDeviceCollection_GetCount(This,cProps) ( (This)->GetCount(cProps) )
#else
#define _IMMDeviceCollection_Item(This,nDevice,ppdevice) (This)->lpVtbl->Item(This,nDevice,ppdevice)
#define _IAudioClient_Start(This) ( (This)->lpVtbl -> Start(This) )
#define _IAudioClient_Stop(This) ( (This)->lpVtbl -> Stop(This) )
#define _IAudioClient_GetCurrentPadding(This,pNumPaddingFrames) \
( (This)->lpVtbl -> GetCurrentPadding(This,pNumPaddingFrames) )
#define _IAudioRenderClient_GetBuffer(This,NumFramesRequested,ppData) \
( (This)->lpVtbl -> GetBuffer(This,NumFramesRequested,ppData) )
#define _IAudioRenderClient_ReleaseBuffer(This,NumFramesWritten,dwFlags) \
( (This)->lpVtbl -> ReleaseBuffer(This,NumFramesWritten,dwFlags) )
#define _IAudioClient_GetService(This,riid,ppv) ( (This)->lpVtbl -> GetService(This,&(riid),ppv) )
#define _IAudioClient_SetEventHandle(This,eventHandle) ( (This)->lpVtbl -> SetEventHandle(This,eventHandle) )
#define _IAudioClient_GetBufferSize(This,pNumBufferFrames) ( (This)->lpVtbl -> GetBufferSize(This,pNumBufferFrames) )
#define _IAudioClient_GetStreamLatency(This,phnsLatency) ( (This)->lpVtbl -> GetStreamLatency(This,phnsLatency) )
#define _IAudioClient_GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) ( (This)->lpVtbl -> GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) )
#define _IMMDevice_Activate(This,iid,dwClsCtx,pActivationParams,ppv) ((This)->lpVtbl->Activate(This,&(iid),dwClsCtx,pActivationParams,ppv))
#define _IMMDeviceEnumerator_EnumAudioEndpoints(This,dataFlow,dwStateMask,ppDevices) (This)->lpVtbl->EnumAudioEndpoints(This,dataFlow,dwStateMask,ppDevices)
#define _IMMDeviceEnumerator_GetDefaultAudioEndpoint(This,dataFlow,role,ppEndpoint) (This)->lpVtbl->GetDefaultAudioEndpoint(This,dataFlow,role,ppEndpoint)
#define _IMMDevice_OpenPropertyStore(This,stgmAccess,ppProperties) (This)->lpVtbl->OpenPropertyStore(This,stgmAccess,ppProperties)
#define _IMMDevice_GetId(This,ppstrId) (This)->lpVtbl->GetId(This,ppstrId)
#define _IPropertyStore_GetValue(This,key,pv) ( (This)->lpVtbl -> GetValue(This,&(key),pv) )
#define _IMMDeviceCollection_GetCount(This,cProps) ( (This)->lpVtbl -> GetCount(This,cProps) )
#endif
#define WASAPI_WARN(bool_exp, err_str, warn_exp) \
if (!(bool_exp)) { \
RARCH_WARN("[WASAPI]: %s.\n", err_str); \
warn_exp; }
#define WASAPI_CHECK(bool_exp, err_str, err_exp) \
if (!(bool_exp)) { \
RARCH_ERR("[WASAPI]: %s.\n", err_str); \
err_exp; }
#define WASAPI_HR_CHECK(hr, fun_str, err_exp) \
if (FAILED(hr)) { \
RARCH_ERR("[WASAPI]: %s failed with error 0x%.8X.\n", fun_str, hr); \
err_exp; }
#define WASAPI_HR_WARN(hr, fun_str, warn_exp) \
if (FAILED(hr)) { \
RARCH_WARN("[WASAPI]: %s failed with error 0x%.8X.\n", fun_str, hr); \
warn_exp; }
#define WASAPI_SR_CHECK(bool_exp, fun_str, err_exp) \
if (!(bool_exp)) { \
RARCH_ERR("[WASAPI]: %s failed with error %d.\n", fun_str, GetLastError()); \
err_exp; }
#ifdef __cplusplus
#define WASAPI_RELEASE(iface) \
if(iface) \
{ \
iface->Release(); \
iface = NULL; \
}
#else
#define WASAPI_RELEASE(iface) \
if(iface) \
{ \
iface->lpVtbl->Release(iface);\
iface = NULL; \
}
#endif
#define WASAPI_FREE(ptr)\
if(ptr) {\
free(ptr);\
ptr = NULL; }\
#define WASAPI_CO_FREE(ptr)\
if(ptr) {\
CoTaskMemFree(ptr);\
ptr = NULL; }\
typedef struct
{
bool exclusive;
bool blocking;
bool nonblock;
bool running;
size_t frame_size; /* 4 or 8 only */
size_t engine_buffer_size;
@@ -158,38 +40,6 @@ typedef struct
fifo_buffer_t *buffer; /* NULL in unbuffered shared mode */
} wasapi_t;
static bool wasapi_check_device_id(IMMDevice *device, const char *id)
{
HRESULT hr;
bool result = false;
LPWSTR dev_id = NULL, dev_cmp_id = NULL;
int id_length = MultiByteToWideChar(CP_ACP, 0, id, -1, NULL, 0);
WASAPI_SR_CHECK(id_length > 0, "MultiByteToWideChar", goto error);
dev_cmp_id = (LPWSTR)malloc(id_length * sizeof(WCHAR));
WASAPI_CHECK(dev_cmp_id, "Out of memory", goto error);
id_length = MultiByteToWideChar(CP_ACP, 0, id, -1, dev_cmp_id, id_length);
WASAPI_SR_CHECK(id_length > 0, "MultiByteToWideChar", goto error);
hr = _IMMDevice_GetId(device, &dev_id);
WASAPI_HR_CHECK(hr, "IMMDevice::GetId", goto error);
result = lstrcmpW(dev_cmp_id, dev_id) == 0 ? true : false;
WASAPI_CO_FREE(dev_id);
WASAPI_FREE(dev_cmp_id);
return result;
error:
WASAPI_CO_FREE(dev_id);
WASAPI_FREE(dev_cmp_id);
return false;
}
static IMMDevice *wasapi_init_device(const char *id)
{
HRESULT hr;
@@ -214,48 +64,85 @@ static IMMDevice *wasapi_init_device(const char *id)
hr = CoCreateInstance(&CLSID_MMDeviceEnumerator, NULL, CLSCTX_ALL,
&IID_IMMDeviceEnumerator, (void **)&enumerator);
#endif
WASAPI_HR_CHECK(hr, "CoCreateInstance", goto error);
if (FAILED(hr))
goto error;
if (id)
{
int32_t idx_found = -1;
struct string_list *list = (struct string_list*)mmdevice_list_new(NULL);
/* Search for device name first */
if (list)
{
if (list->elems)
{
unsigned i;
for (i = 0; i < list->size; i++)
{
RARCH_LOG("[WASAPI]: %d : %s\n", i, list->elems[i].data);
if (string_is_equal(id, list->elems[i].data))
{
idx_found = i;
break;
}
}
/* Index was not found yet based on name string,
* just assume id is a one-character number index. */
if (idx_found == -1 && isdigit(id[0]))
{
idx_found = strtoul(id, NULL, 0);
RARCH_LOG("[WASAPI]: Fallback, device index is a single number index instead: %d.\n", idx_found);
}
}
string_list_free(list);
}
if (idx_found == -1)
idx_found = 0;
hr = _IMMDeviceEnumerator_EnumAudioEndpoints(enumerator,
eRender, DEVICE_STATE_ACTIVE, &collection);
WASAPI_HR_CHECK(hr, "IMMDeviceEnumerator::EnumAudioEndpoints",
goto error);
if (FAILED(hr))
goto error;
hr = _IMMDeviceCollection_GetCount(collection, &dev_count);
WASAPI_HR_CHECK(hr, "IMMDeviceCollection::GetCount", goto error);
if (FAILED(hr))
goto error;
for (i = 0; i < dev_count; ++i)
{
hr = _IMMDeviceCollection_Item(collection, i, &device);
WASAPI_HR_CHECK(hr, "IMMDeviceCollection::Item", continue);
if (FAILED(hr))
goto error;
if (wasapi_check_device_id(device, id))
if (i == idx_found)
break;
WASAPI_RELEASE(device);
IFACE_RELEASE(device);
}
}
else
{
hr = _IMMDeviceEnumerator_GetDefaultAudioEndpoint(
enumerator, eRender, eConsole, &device);
WASAPI_HR_CHECK(hr, "IMMDeviceEnumerator::GetDefaultAudioEndpoint",
goto error);
if (FAILED(hr))
goto error;
}
if (!device)
goto error;
WASAPI_RELEASE(collection);
WASAPI_RELEASE(enumerator);
IFACE_RELEASE(collection);
IFACE_RELEASE(enumerator);
return device;
error:
WASAPI_RELEASE(collection);
WASAPI_RELEASE(enumerator);
IFACE_RELEASE(collection);
IFACE_RELEASE(enumerator);
if (id)
{
@@ -271,7 +158,7 @@ error:
static unsigned wasapi_pref_rate(unsigned i)
{
const unsigned r[] = { 48000, 44100, 96000, 192000 };
const unsigned r[] = { 48000, 44100, 96000, 192000, 32000 };
if (i >= sizeof(r) / sizeof(unsigned))
return 0;
@@ -317,7 +204,8 @@ static IAudioClient *wasapi_init_client_sh(IMMDevice *device,
HRESULT hr = _IMMDevice_Activate(device,
IID_IAudioClient,
CLSCTX_ALL, NULL, (void**)&client);
WASAPI_HR_CHECK(hr, "IMMDevice::Activate", return NULL);
if (FAILED(hr))
return NULL;
/* once for float, once for pcm (requested first) */
for (i = 0; i < 2; ++i)
@@ -346,11 +234,12 @@ static IAudioClient *wasapi_init_client_sh(IMMDevice *device,
if (hr == AUDCLNT_E_ALREADY_INITIALIZED)
{
HRESULT hr;
WASAPI_RELEASE(client);
IFACE_RELEASE(client);
hr = _IMMDevice_Activate(device,
IID_IAudioClient,
CLSCTX_ALL, NULL, (void**)&client);
WASAPI_HR_CHECK(hr, "IMMDevice::Activate", return NULL);
if (FAILED(hr))
return NULL;
#ifdef __cplusplus
hr = client->Initialize(AUDCLNT_SHAREMODE_SHARED,
@@ -375,7 +264,8 @@ static IAudioClient *wasapi_init_client_sh(IMMDevice *device,
}
}
WASAPI_HR_CHECK(hr, "IAudioClient::Initialize", goto error);
if (FAILED(hr))
goto error;
*float_fmt = float_fmt_res;
*rate = rate_res;
@@ -383,7 +273,7 @@ static IAudioClient *wasapi_init_client_sh(IMMDevice *device,
return client;
error:
WASAPI_RELEASE(client);
IFACE_RELEASE(client);
return NULL;
}
@@ -402,10 +292,12 @@ static IAudioClient *wasapi_init_client_ex(IMMDevice *device,
HRESULT hr = _IMMDevice_Activate(device,
IID_IAudioClient,
CLSCTX_ALL, NULL, (void**)&client);
WASAPI_HR_CHECK(hr, "IMMDevice::Activate", return NULL);
if (FAILED(hr))
return NULL;
hr = _IAudioClient_GetDevicePeriod(client, NULL, &minimum_period);
WASAPI_HR_CHECK(hr, "IAudioClient::GetDevicePeriod", goto error);
if (FAILED(hr))
goto error;
/* buffer_duration is in 100ns units */
buffer_duration = latency * 10000.0;
@@ -438,13 +330,15 @@ static IAudioClient *wasapi_init_client_ex(IMMDevice *device,
if (hr == AUDCLNT_E_BUFFER_SIZE_NOT_ALIGNED)
{
hr = _IAudioClient_GetBufferSize(client, &buffer_length);
WASAPI_HR_CHECK(hr, "IAudioClient::GetBufferSize", goto error);
if (FAILED(hr))
goto error;
WASAPI_RELEASE(client);
IFACE_RELEASE(client);
hr = _IMMDevice_Activate(device,
IID_IAudioClient,
CLSCTX_ALL, NULL, (void**)&client);
WASAPI_HR_CHECK(hr, "IMMDevice::Activate", return NULL);
if (FAILED(hr))
return NULL;
buffer_duration = 10000.0 * 1000.0 / rate_res * buffer_length + 0.5;
#ifdef __cplusplus
@@ -459,11 +353,12 @@ static IAudioClient *wasapi_init_client_ex(IMMDevice *device,
}
if (hr == AUDCLNT_E_ALREADY_INITIALIZED)
{
WASAPI_RELEASE(client);
IFACE_RELEASE(client);
hr = _IMMDevice_Activate(device,
IID_IAudioClient,
CLSCTX_ALL, NULL, (void**)&client);
WASAPI_HR_CHECK(hr, "IMMDevice::Activate", return NULL);
if (FAILED(hr))
return NULL;
#ifdef __cplusplus
hr = client->Initialize(AUDCLNT_SHAREMODE_EXCLUSIVE,
@@ -477,11 +372,11 @@ static IAudioClient *wasapi_init_client_ex(IMMDevice *device,
}
if (hr != AUDCLNT_E_UNSUPPORTED_FORMAT)
{
WASAPI_WARN(hr != AUDCLNT_E_DEVICE_IN_USE,
"Device already in use", goto error);
if (hr == AUDCLNT_E_DEVICE_IN_USE)
goto error;
WASAPI_WARN(hr != AUDCLNT_E_EXCLUSIVE_MODE_NOT_ALLOWED,
"Exclusive mode disabled", goto error);
if (hr == AUDCLNT_E_EXCLUSIVE_MODE_NOT_ALLOWED)
goto error;
i = 2; /* break from outer loop too */
break;
@@ -494,7 +389,8 @@ static IAudioClient *wasapi_init_client_ex(IMMDevice *device,
}
}
WASAPI_HR_CHECK(hr, "IAudioClient::Initialize", goto error);
if (FAILED(hr))
goto error;
*float_fmt = float_fmt_res;
*rate = rate_res;
@@ -502,7 +398,7 @@ static IAudioClient *wasapi_init_client_ex(IMMDevice *device,
return client;
error:
WASAPI_RELEASE(client);
IFACE_RELEASE(client);
return NULL;
}
@@ -538,7 +434,8 @@ static IAudioClient *wasapi_init_client(IMMDevice *device, bool *exclusive,
}
}
WASAPI_CHECK(client, "Failed to initialize client", return NULL);
if (!client)
return NULL;
/* next calls are allowed to fail (we losing info only) */
@@ -594,13 +491,15 @@ static void *wasapi_init(const char *dev_id, unsigned rate, unsigned latency,
BYTE *dest = NULL;
settings_t *settings = config_get_ptr();
bool float_format = settings->bools.audio_wasapi_float_format;
bool exclusive_mode = settings->bools.audio_wasapi_exclusive_mode;
int sh_buffer_length = settings->ints.audio_wasapi_sh_buffer_length;
wasapi_t *w = (wasapi_t*)calloc(1, sizeof(wasapi_t));
w->exclusive = settings->bools.audio_wasapi_exclusive_mode;
WASAPI_CHECK(w, "Out of memory", return NULL);
if (!w)
return NULL;
w->device = wasapi_init_device(dev_id);
w->exclusive = exclusive_mode;
w->device = wasapi_init_device(dev_id);
if (!w->device && dev_id)
w->device = wasapi_init_device(NULL);
if (!w->device)
@@ -612,14 +511,17 @@ static void *wasapi_init(const char *dev_id, unsigned rate, unsigned latency,
goto error;
hr = _IAudioClient_GetBufferSize(w->client, &frame_count);
WASAPI_HR_CHECK(hr, "IAudioClient::GetBufferSize", goto error);
if (FAILED(hr))
goto error;
w->frame_size = float_format ? 8 : 4;
w->frame_size = float_format ? 8 : 4;
w->engine_buffer_size = frame_count * w->frame_size;
if (w->exclusive)
{
w->buffer = fifo_new(w->engine_buffer_size);
WASAPI_CHECK(w->buffer, "Out of memory", goto error);
if (!w->buffer)
goto error;
RARCH_LOG("[WASAPI]: Intermediate buffer length is %u frames (%.1fms).\n",
frame_count, (double)frame_count * 1000.0 / rate);
@@ -629,13 +531,15 @@ static void *wasapi_init(const char *dev_id, unsigned rate, unsigned latency,
if (sh_buffer_length < 0)
{
hr = _IAudioClient_GetDevicePeriod(w->client, &dev_period, NULL);
WASAPI_HR_CHECK(hr, "IAudioClient::GetDevicePeriod", goto error);
if (FAILED(hr))
goto error;
sh_buffer_length = dev_period * rate / 10000000;
}
w->buffer = fifo_new(sh_buffer_length * w->frame_size);
WASAPI_CHECK(w->buffer, "Out of memory", goto error);
if (!w->buffer)
goto error;
RARCH_LOG("[WASAPI]: Intermediate buffer length is %u frames (%.1fms).\n",
sh_buffer_length, (double)sh_buffer_length * 1000.0 / rate);
@@ -646,34 +550,40 @@ static void *wasapi_init(const char *dev_id, unsigned rate, unsigned latency,
}
w->write_event = CreateEventA(NULL, FALSE, FALSE, NULL);
WASAPI_SR_CHECK(w->write_event, "CreateEventA", goto error);
if (!w->write_event)
goto error;
hr = _IAudioClient_SetEventHandle(w->client, w->write_event);
WASAPI_HR_CHECK(hr, "IAudioClient::SetEventHandle", goto error);
if (FAILED(hr))
goto error;
hr = _IAudioClient_GetService(w->client,
IID_IAudioRenderClient, (void**)&w->renderer);
WASAPI_HR_CHECK(hr, "IAudioClient::GetService", goto error);
if (FAILED(hr))
goto error;
hr = _IAudioRenderClient_GetBuffer(w->renderer, frame_count, &dest);
WASAPI_HR_CHECK(hr, "IAudioRenderClient::GetBuffer", goto error);
if (FAILED(hr))
goto error;
hr = _IAudioRenderClient_ReleaseBuffer(
w->renderer, frame_count,
AUDCLNT_BUFFERFLAGS_SILENT);
WASAPI_HR_CHECK(hr, "IAudioRenderClient::ReleaseBuffer", goto error);
if (FAILED(hr))
goto error;
hr = _IAudioClient_Start(w->client);
WASAPI_HR_CHECK(hr, "IAudioClient::Start", goto error);
w->running = true;
w->blocking = settings->bools.audio_sync;
if (FAILED(hr))
goto error;
w->running = true;
w->nonblock = !settings->bools.audio_sync;
return w;
error:
WASAPI_RELEASE(w->renderer);
WASAPI_RELEASE(w->client);
WASAPI_RELEASE(w->device);
IFACE_RELEASE(w->renderer);
IFACE_RELEASE(w->client);
IFACE_RELEASE(w->device);
if (w->write_event)
CloseHandle(w->write_event);
if (w->buffer)
@@ -687,15 +597,16 @@ static bool wasapi_flush(wasapi_t * w, const void * data, size_t size)
{
BYTE *dest = NULL;
UINT32 frame_count = size / w->frame_size;
HRESULT hr = _IAudioRenderClient_GetBuffer(
w->renderer, frame_count, &dest);
WASAPI_HR_CHECK(hr, "IAudioRenderClient::GetBuffer", return false)
if (FAILED(_IAudioRenderClient_GetBuffer(
w->renderer, frame_count, &dest)))
return false;
memcpy(dest, data, size);
hr = _IAudioRenderClient_ReleaseBuffer(
w->renderer, frame_count,
0);
WASAPI_HR_CHECK(hr, "IAudioRenderClient::ReleaseBuffer", return false);
if (FAILED(_IAudioRenderClient_ReleaseBuffer(
w->renderer, frame_count,
0)))
return false;
return true;
}
@@ -704,23 +615,76 @@ static bool wasapi_flush_buffer(wasapi_t * w, size_t size)
{
BYTE *dest = NULL;
UINT32 frame_count = size / w->frame_size;
HRESULT hr = _IAudioRenderClient_GetBuffer(
w->renderer, frame_count, &dest);
WASAPI_HR_CHECK(hr, "IAudioRenderClient::GetBuffer", return false)
if (FAILED(_IAudioRenderClient_GetBuffer(
w->renderer, frame_count, &dest)))
return false;
fifo_read(w->buffer, dest, size);
hr = _IAudioRenderClient_ReleaseBuffer(
if (FAILED(_IAudioRenderClient_ReleaseBuffer(
w->renderer, frame_count,
0);
WASAPI_HR_CHECK(hr, "IAudioRenderClient::ReleaseBuffer", return false);
0)))
return false;
return true;
}
static ssize_t wasapi_write_sh_buffer(wasapi_t *w, const void * data, size_t size)
{
ssize_t written = -1;
UINT32 padding = 0;
size_t write_avail = fifo_write_avail(w->buffer);
if (!write_avail)
{
size_t read_avail = 0;
if (!(WaitForSingleObject(w->write_event, INFINITE) == WAIT_OBJECT_0))
return -1;
if (FAILED(_IAudioClient_GetCurrentPadding(w->client, &padding)))
return -1;
read_avail = fifo_read_avail(w->buffer);
write_avail = w->engine_buffer_size - padding * w->frame_size;
written = read_avail < write_avail ? read_avail : write_avail;
if (written)
if (!wasapi_flush_buffer(w, written))
return -1;
}
write_avail = fifo_write_avail(w->buffer);
written = size < write_avail ? size : write_avail;
if (written)
fifo_write(w->buffer, data, written);
return written;
}
static ssize_t wasapi_write_sh(wasapi_t *w, const void * data, size_t size)
{
DWORD ir;
HRESULT hr;
size_t write_avail = 0;
ssize_t written = -1;
UINT32 padding = 0;
if (!(WaitForSingleObject(w->write_event, INFINITE) == WAIT_OBJECT_0))
return -1;
if (FAILED(_IAudioClient_GetCurrentPadding(w->client, &padding)))
return -1;
write_avail = w->engine_buffer_size - padding * w->frame_size;
if (!write_avail)
return 0;
written = size < write_avail ? size : write_avail;
if (written)
if (!wasapi_flush(w, data, written))
return -1;
return written;
}
static ssize_t wasapi_write_sh_nonblock(wasapi_t *w, const void * data, size_t size)
{
size_t write_avail = 0;
ssize_t written = -1;
UINT32 padding = 0;
@@ -731,24 +695,15 @@ static ssize_t wasapi_write_sh(wasapi_t *w, const void * data, size_t size)
if (!write_avail)
{
size_t read_avail = 0;
if (w->blocking)
{
ir = WaitForSingleObject(w->write_event, INFINITE);
WASAPI_SR_CHECK(ir == WAIT_OBJECT_0, "WaitForSingleObject", return -1);
}
hr = _IAudioClient_GetCurrentPadding(w->client, &padding);
WASAPI_HR_CHECK(hr, "IAudioClient::GetCurrentPadding", return -1);
if (FAILED(_IAudioClient_GetCurrentPadding(w->client, &padding)))
return -1;
read_avail = fifo_read_avail(w->buffer);
write_avail = w->engine_buffer_size - padding * w->frame_size;
written = read_avail < write_avail ? read_avail : write_avail;
if (written)
{
if (!wasapi_flush_buffer(w, written))
return -1;
}
}
write_avail = fifo_write_avail(w->buffer);
@@ -758,46 +713,30 @@ static ssize_t wasapi_write_sh(wasapi_t *w, const void * data, size_t size)
}
else
{
if (w->blocking)
{
ir = WaitForSingleObject(w->write_event, INFINITE);
WASAPI_SR_CHECK(ir == WAIT_OBJECT_0, "WaitForSingleObject", return -1);
}
if (FAILED(_IAudioClient_GetCurrentPadding(w->client, &padding)))
return -1;
hr = _IAudioClient_GetCurrentPadding(w->client, &padding);
WASAPI_HR_CHECK(hr, "IAudioClient::GetCurrentPadding", return -1);
write_avail = w->engine_buffer_size - padding * w->frame_size;
if (!write_avail)
if (!(write_avail = w->engine_buffer_size - padding * w->frame_size))
return 0;
written = size < write_avail ? size : write_avail;
if (written)
{
if (!wasapi_flush(w, data, written))
return -1;
}
}
return written;
}
static ssize_t wasapi_write_ex(wasapi_t *w, const void * data, size_t size)
static ssize_t wasapi_write_ex(wasapi_t *w, const void * data, size_t size, DWORD ms)
{
ssize_t writen = 0;
ssize_t written = 0;
size_t write_avail = fifo_write_avail(w->buffer);
if (!write_avail)
{
DWORD ir = WaitForSingleObject(
w->write_event, w->blocking ? INFINITE : 0);
if (ir != WAIT_OBJECT_0 && w->blocking)
{
RARCH_ERR("[WASAPI]: WaitForSingleObject failed with error %d.\n", GetLastError());
if (WaitForSingleObject(w->write_event, ms) != WAIT_OBJECT_0)
return -1;
}
if (ir != WAIT_OBJECT_0)
return 0;
if (!wasapi_flush_buffer(w, w->engine_buffer_size))
return -1;
@@ -805,34 +744,56 @@ static ssize_t wasapi_write_ex(wasapi_t *w, const void * data, size_t size)
write_avail = w->engine_buffer_size;
}
writen = size < write_avail ? size : write_avail;
fifo_write(w->buffer, data, writen);
written = size < write_avail ? size : write_avail;
fifo_write(w->buffer, data, written);
return writen;
return written;
}
static ssize_t wasapi_write(void *wh, const void *data, size_t size)
{
size_t written;
wasapi_t *w = (wasapi_t*)wh;
size_t written = 0;
wasapi_t *w = (wasapi_t*)wh;
if (w->blocking)
if (w->nonblock)
{
if (w->exclusive)
return wasapi_write_ex(w, data, size, 0);
return wasapi_write_sh_nonblock(w, data, size);
}
if (w->exclusive)
{
ssize_t ir;
for (written = 0, ir = -1; written < size; written += ir)
for (ir = -1; written < size; written += ir)
{
if (w->exclusive)
ir = wasapi_write_ex(w, (char*)data + written, size - written);
else
ir = wasapi_write_sh(w, (char*)data + written, size - written);
ir = wasapi_write_ex(w, (char*)data + written, size - written, INFINITE);
if (ir == -1)
return -1;
}
}
else if (w->exclusive)
written = wasapi_write_ex(w, data, size);
else
written = wasapi_write_sh(w, data, size);
{
ssize_t ir;
if (w->buffer)
{
for (ir = -1; written < size; written += ir)
{
ir = wasapi_write_sh_buffer(w, (char*)data + written, size - written);
if (ir == -1)
return -1;
}
}
else
{
for (ir = -1; written < size; written += ir)
{
ir = wasapi_write_sh(w, (char*)data + written, size - written);
if (ir == -1)
return -1;
}
}
}
return written;
}
@@ -840,8 +801,8 @@ static ssize_t wasapi_write(void *wh, const void *data, size_t size)
static bool wasapi_stop(void *wh)
{
wasapi_t *w = (wasapi_t*)wh;
HRESULT hr = _IAudioClient_Stop(w->client);
WASAPI_HR_CHECK(hr, "IAudioClient::Stop", return !w->running);
if (FAILED(_IAudioClient_Stop(w->client)))
return !w->running;
w->running = false;
@@ -856,7 +817,8 @@ static bool wasapi_start(void *wh, bool u)
if (hr == AUDCLNT_E_NOT_STOPPED)
return true;
WASAPI_HR_CHECK(hr, "IAudioClient::Start", return w->running);
if (FAILED(hr))
return w->running;
w->running = true;
@@ -876,7 +838,7 @@ static void wasapi_set_nonblock_state(void *wh, bool nonblock)
RARCH_LOG("[WASAPI]: Sync %s.\n", nonblock ? "off" : "on");
w->blocking = !nonblock;
w->nonblock = nonblock;
}
static void wasapi_free(void *wh)
@@ -885,11 +847,11 @@ static void wasapi_free(void *wh)
wasapi_t *w = (wasapi_t*)wh;
HANDLE write_event = w->write_event;
WASAPI_RELEASE(w->renderer);
IFACE_RELEASE(w->renderer);
if (w->client)
_IAudioClient_Stop(w->client);
WASAPI_RELEASE(w->client);
WASAPI_RELEASE(w->device);
IFACE_RELEASE(w->client);
IFACE_RELEASE(w->device);
if (w->buffer)
fifo_free(w->buffer);
free(w);
@@ -901,7 +863,8 @@ static void wasapi_free(void *wh)
}
/* If event isn't signaled log and leak */
WASAPI_CHECK(ir == WAIT_OBJECT_0, "Memory leak in wasapi_free", return);
if (!(ir == WAIT_OBJECT_0))
return;
CloseHandle(write_event);
}
@@ -913,138 +876,24 @@ static bool wasapi_use_float(void *wh)
return w->frame_size == 8;
}
static void *wasapi_device_list_new(void *u)
{
HRESULT hr;
UINT i;
PROPVARIANT prop_var;
int ir;
union string_list_elem_attr attr;
IMMDeviceEnumerator *enumerator = NULL;
IMMDeviceCollection *collection = NULL;
UINT dev_count = 0;
IMMDevice *device = NULL;
LPWSTR dev_id_wstr = NULL;
IPropertyStore *prop_store = NULL;
bool prop_var_init = false;
bool br = false;
char *dev_id_str = NULL;
char *dev_name_str = NULL;
struct string_list *sl = string_list_new();
WASAPI_CHECK(sl, "string_list_new failed", return NULL);
attr.i = 0;
#ifdef __cplusplus
hr = CoCreateInstance(CLSID_MMDeviceEnumerator, NULL, CLSCTX_ALL,
IID_IMMDeviceEnumerator, (void **)&enumerator);
#else
hr = CoCreateInstance(&CLSID_MMDeviceEnumerator, NULL, CLSCTX_ALL,
&IID_IMMDeviceEnumerator, (void **)&enumerator);
#endif
WASAPI_HR_CHECK(hr, "CoCreateInstance", goto error);
hr = _IMMDeviceEnumerator_EnumAudioEndpoints(enumerator,
eRender, DEVICE_STATE_ACTIVE, &collection);
WASAPI_HR_CHECK(hr, "IMMDeviceEnumerator::EnumAudioEndpoints", goto error);
hr = _IMMDeviceCollection_GetCount(collection, &dev_count);
WASAPI_HR_CHECK(hr, "IMMDeviceCollection::GetCount", goto error);
for (i = 0; i < dev_count; ++i)
{
hr = _IMMDeviceCollection_Item(collection, i, &device);
WASAPI_HR_CHECK(hr, "IMMDeviceCollection::Item", goto error);
hr = _IMMDevice_GetId(device, &dev_id_wstr);
WASAPI_HR_CHECK(hr, "IMMDevice::GetId", goto error);
ir = WideCharToMultiByte(CP_ACP, 0, dev_id_wstr, -1,
NULL, 0, NULL, NULL);
WASAPI_SR_CHECK(ir, "WideCharToMultiByte", goto error);
dev_id_str = (char *)malloc(ir);
WASAPI_CHECK(dev_id_str, "Out of memory", goto error);
ir = WideCharToMultiByte(CP_ACP, 0, dev_id_wstr, -1,
dev_id_str, ir, NULL, NULL);
WASAPI_SR_CHECK(ir, "WideCharToMultiByte", goto error);
hr = _IMMDevice_OpenPropertyStore(device, STGM_READ, &prop_store);
WASAPI_HR_CHECK(hr, "IMMDevice::OpenPropertyStore", goto error);
PropVariantInit(&prop_var);
prop_var_init = true;
hr = _IPropertyStore_GetValue(prop_store, PKEY_Device_FriendlyName,
&prop_var);
WASAPI_HR_CHECK(hr, "IPropertyStore::GetValue", goto error);
ir = WideCharToMultiByte(CP_ACP, 0, prop_var.pwszVal, -1,
NULL, 0, NULL, NULL);
WASAPI_SR_CHECK(ir, "WideCharToMultiByte", goto error);
dev_name_str = (char *)malloc(ir);
WASAPI_CHECK(dev_name_str, "Out of memory", goto error);
ir = WideCharToMultiByte(CP_ACP, 0, prop_var.pwszVal, -1,
dev_name_str, ir, NULL, NULL);
WASAPI_SR_CHECK(ir, "WideCharToMultiByte", goto error);
RARCH_LOG("[WASAPI]: %s %s\n", dev_name_str, dev_id_str);
br = string_list_append(sl, dev_id_str, attr);
WASAPI_CHECK(br, "string_list_append failed", goto error);
PropVariantClear(&prop_var);
prop_var_init = false;
WASAPI_CO_FREE(dev_id_wstr);
WASAPI_FREE(dev_id_str);
WASAPI_FREE(dev_name_str);
WASAPI_RELEASE(prop_store);
WASAPI_RELEASE(device);
}
WASAPI_RELEASE(collection);
WASAPI_RELEASE(enumerator);
return sl;
error:
WASAPI_FREE(dev_id_str);
WASAPI_FREE(dev_name_str);
if (prop_var_init)
PropVariantClear(&prop_var);
WASAPI_RELEASE(prop_store);
WASAPI_CO_FREE(dev_id_wstr);
WASAPI_RELEASE(device);
WASAPI_RELEASE(collection);
WASAPI_RELEASE(enumerator);
if (sl)
string_list_free(sl);
RARCH_ERR("[WASAPI]: Device enumeration failed.\n");
return NULL;
}
static void wasapi_device_list_free(void *u, void *slp)
{
struct string_list *sl = (struct string_list*)slp;
string_list_free(sl);
if (sl)
string_list_free(sl);
}
static size_t wasapi_write_avail(void *wh)
{
HRESULT hr;
wasapi_t *w = (wasapi_t*)wh;
UINT32 padding = 0;
if (w->buffer)
return fifo_write_avail(w->buffer);
hr = _IAudioClient_GetCurrentPadding(w->client, &padding);
WASAPI_HR_CHECK(hr, "IAudioClient::GetCurrentPadding", return 0);
if (FAILED(_IAudioClient_GetCurrentPadding(w->client, &padding)))
return 0;
return w->engine_buffer_size - padding * w->frame_size;
}
@@ -1069,7 +918,7 @@ audio_driver_t audio_wasapi = {
wasapi_free,
wasapi_use_float,
"wasapi",
wasapi_device_list_new,
mmdevice_list_new,
wasapi_device_list_free,
wasapi_write_avail,
wasapi_buffer_size
+46 -42
View File
@@ -21,17 +21,17 @@
#include <wiiu/os.h>
#include <wiiu/ax.h>
#include "wiiu/wiiu_dbg.h"
#include "wiiu/system/memory.h"
#include "../../wiiu/wiiu_dbg.h"
#include "../../wiiu/system/memory.h"
#include "audio/audio_driver.h"
#include "../../retroarch.h"
typedef struct
{
AXMVoice* mvoice;
uint16_t* buffer_l;
uint16_t* buffer_r;
bool nonblocking;
bool nonblock;
uint32_t pos;
uint32_t written;
@@ -56,17 +56,19 @@ typedef struct
static volatile ax_audio_t *wiiu_cb_ax = NULL;
void wiiu_ax_callback(void)
{
ax_audio_t *ax = NULL;
/*possibly called before unregister */
if(wiiu_cb_ax == NULL)
if (!wiiu_cb_ax)
return;
ax_audio_t *ax = (ax_audio_t*)wiiu_cb_ax;
if(AXIsMultiVoiceRunning(ax->mvoice))
ax = (ax_audio_t*)wiiu_cb_ax;
if (AXIsMultiVoiceRunning(ax->mvoice))
{
if(OSUninterruptibleSpinLock_Acquire(&ax->spinlock))
if (OSUninterruptibleSpinLock_Acquire(&ax->spinlock))
{
/* Buffer underrun, stop playback to let it fill up */
if(ax->written < AX_AUDIO_SAMPLE_MIN)
if (ax->written < AX_AUDIO_SAMPLE_MIN)
AXSetMultiVoiceState(ax->mvoice, AX_VOICE_STATE_STOPPED);
ax->written -= AX_AUDIO_SAMPLE_COUNT;
OSUninterruptibleSpinLock_Release(&ax->spinlock);
@@ -100,7 +102,7 @@ static void* ax_audio_init(const char* device, unsigned rate, unsigned latency,
return NULL;
}
ax->buffer_l = MEM1_alloc(AX_AUDIO_SIZE, 0x100);
ax->buffer_l = MEM1_alloc(AX_AUDIO_SIZE, 0x100);
ax->buffer_r = MEM1_alloc(AX_AUDIO_SIZE, 0x100);
memset(ax->buffer_l,0,AX_AUDIO_SIZE);
memset(ax->buffer_r,0,AX_AUDIO_SIZE);
@@ -166,9 +168,9 @@ static bool ax_audio_stop(void* data)
static int ax_audio_limit(int in)
{
if(in < 0)
if (in < 0)
in += AX_AUDIO_COUNT;
else if(in >= AX_AUDIO_COUNT)
else if (in >= AX_AUDIO_COUNT)
in -= AX_AUDIO_COUNT;
return in;
}
@@ -183,57 +185,58 @@ static bool ax_audio_start(void* data, bool is_shutdown)
return true;
/* Set back to playing on enough buffered data */
if(ax->written > AX_AUDIO_SAMPLE_LOAD)
if (ax->written > AX_AUDIO_SAMPLE_LOAD)
{
AXSetMultiVoiceCurrentOffset(ax->mvoice, ax_audio_limit(ax->pos - ax->written));
AXSetMultiVoiceState(ax->mvoice, AX_VOICE_STATE_PLAYING);
}
return true;
}
static ssize_t ax_audio_write(void* data, const void* buf, size_t size)
{
uint32_t i;
size_t countAvail = 0;
size_t count_avail = 0;
ax_audio_t* ax = (ax_audio_t*)data;
const uint16_t* src = buf;
size_t count = size >> 2;
if(!size || (size & 0x3))
if (!size || (size & 0x3))
return 0;
if(count > AX_AUDIO_MAX_FREE)
if (count > AX_AUDIO_MAX_FREE)
count = AX_AUDIO_MAX_FREE;
countAvail = ((ax->written > AX_AUDIO_MAX_FREE) ? 0 : (AX_AUDIO_MAX_FREE - ax->written));
count_avail = ((ax->written > AX_AUDIO_MAX_FREE) ? 0 : (AX_AUDIO_MAX_FREE - ax->written));
if (ax->nonblocking)
if (ax->nonblock)
{
/* Not enough available for 3ms of data */
if(countAvail < AX_AUDIO_SAMPLE_COUNT)
if (count_avail < AX_AUDIO_SAMPLE_COUNT)
count = 0;
}
else if(countAvail < count)
else if (count_avail < count)
{
/* Sync, wait for free memory */
while(AXIsMultiVoiceRunning(ax->mvoice) && (countAvail < count))
while(AXIsMultiVoiceRunning(ax->mvoice) && (count_avail < count))
{
OSYieldThread(); /* Gives threads with same priority time to run */
countAvail = (ax->written > AX_AUDIO_MAX_FREE ? 0 : (AX_AUDIO_MAX_FREE - ax->written));
count_avail = (ax->written > AX_AUDIO_MAX_FREE ? 0 : (AX_AUDIO_MAX_FREE - ax->written));
}
}
/* Over available space, do as much as possible */
if(count > countAvail)
count = countAvail;
if (count > count_avail)
count = count_avail;
/* make sure we have input size */
if(count > 0)
if (count > 0)
{
/* write in new data */
size_t startPos = ax->pos;
int flushP2needed = 0;
int flushP2 = 0;
size_t start_pos = ax->pos;
int flush_p2_needed = 0;
int flush_p2 = 0;
for (i = 0; i < (count << 1); i += 2)
{
@@ -242,30 +245,31 @@ static ssize_t ax_audio_write(void* data, const void* buf, size_t size)
ax->pos = ax_audio_limit(ax->pos + 1);
/* wrapped around, make sure to store cache */
if(ax->pos == 0)
if (ax->pos == 0)
{
flushP2needed = 1;
flushP2 = ((count << 1) - i);
DCStoreRangeNoSync(ax->buffer_l+startPos, (AX_AUDIO_COUNT-startPos) << 1);
DCStoreRangeNoSync(ax->buffer_r+startPos, (AX_AUDIO_COUNT-startPos) << 1);
flush_p2_needed = 1;
flush_p2 = ((count << 1) - i);
DCStoreRangeNoSync(ax->buffer_l + start_pos,
(AX_AUDIO_COUNT - start_pos) << 1);
DCStoreRangeNoSync(ax->buffer_r + start_pos, (AX_AUDIO_COUNT - start_pos) << 1);
}
}
/* standard cache store case */
if(!flushP2needed)
if (!flush_p2_needed)
{
DCStoreRangeNoSync(ax->buffer_l+startPos, count << 1);
DCStoreRange(ax->buffer_r+startPos, count << 1);
DCStoreRangeNoSync(ax->buffer_l + start_pos, count << 1);
DCStoreRange(ax->buffer_r + start_pos, count << 1);
}
/* store the rest after wrap */
else if(flushP2 > 0)
else if (flush_p2 > 0)
{
DCStoreRangeNoSync(ax->buffer_l, flushP2);
DCStoreRange(ax->buffer_r, flushP2);
DCStoreRangeNoSync(ax->buffer_l, flush_p2);
DCStoreRange(ax->buffer_r, flush_p2);
}
/* add in new audio data */
if(OSUninterruptibleSpinLock_Acquire(&ax->spinlock))
if (OSUninterruptibleSpinLock_Acquire(&ax->spinlock))
{
ax->written += count;
OSUninterruptibleSpinLock_Release(&ax->spinlock);
@@ -276,7 +280,7 @@ static ssize_t ax_audio_write(void* data, const void* buf, size_t size)
*
* checks if it can be started
*/
if(!AXIsMultiVoiceRunning(ax->mvoice))
if (!AXIsMultiVoiceRunning(ax->mvoice))
ax_audio_start(ax, false);
/* return what was actually copied */
@@ -294,7 +298,7 @@ static void ax_audio_set_nonblock_state(void* data, bool state)
ax_audio_t* ax = (ax_audio_t*)data;
if (ax)
ax->nonblocking = state;
ax->nonblock = state;
}
static bool ax_audio_use_float(void* data)
+177 -94
View File
@@ -20,7 +20,6 @@
#endif
#endif
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
@@ -28,6 +27,9 @@
#include <compat/msvc.h>
#include <retro_miscellaneous.h>
#include <string/stdstring.h>
#include <encodings/utf.h>
#include <lists/string_list.h>
#if defined(_MSC_VER) && (_WIN32_WINNT <= _WIN32_WINNT_WIN2K)
/* needed for CoInitializeEx */
@@ -36,7 +38,11 @@
#include "xaudio.h"
#include "../audio_driver.h"
#if (_WIN32_WINNT >= 0x0602 /*_WIN32_WINNT_WIN8*/)
#include "../common/mmdevice_common.h"
#endif
#include "../../retroarch.h"
#include "../../verbosity.h"
typedef struct xaudio2 xaudio2_t;
@@ -59,6 +65,9 @@ typedef struct
size_t bufsize;
} xa_t;
/* Forward declarations */
static void *xa_list_new(void *u);
#if defined(__cplusplus) && !defined(CINTERFACE)
struct xaudio2 : public IXAudio2VoiceCallback
#else
@@ -126,29 +135,6 @@ const struct IXAudio2VoiceCallbackVtbl voice_vtable = {
};
#endif
#if 0
static void xaudio2_enumerate_devices(xaudio2_t *xa)
{
uint32_t dev_count = 0;
unsigned i = 0;
(void)xa;
(void)i;
(void)dev_count;
#ifndef _XBOX
IXAudio2_GetDeviceCount(xa->pXAudio2, &dev_count);
fprintf(stderr, "XAudio2 devices:\n");
for (i = 0; i < dev_count; i++)
{
XAUDIO2_DEVICE_DETAILS dev_detail;
IXAudio2_GetDeviceDetails(xa->pXAudio2, i, &dev_detail);
fwprintf(stderr, L"\t%u: %s\n", i, dev_detail.DisplayName);
}
#endif
}
#endif
static void xaudio2_set_wavefmt(WAVEFORMATEX *wfx,
unsigned channels, unsigned samplerate)
{
@@ -197,20 +183,22 @@ static void xaudio2_free(xaudio2_t *handle)
}
static xaudio2_t *xaudio2_new(unsigned samplerate, unsigned channels,
size_t size, unsigned device)
size_t size, const char *device)
{
xaudio2_t *handle = NULL;
WAVEFORMATEX wfx = {0};
int32_t idx_found = -1;
WAVEFORMATEX wfx = {0};
struct string_list *list = NULL;
#if defined(__cplusplus) && !defined(CINTERFACE)
handle = new xaudio2;
xaudio2_t *handle = new xaudio2;
#else
handle = (xaudio2_t*)calloc(1, sizeof(*handle));
xaudio2_t *handle = (xaudio2_t*)calloc(1, sizeof(*handle));
#endif
if (!handle)
goto error;
list = (struct string_list*)xa_list_new(NULL);
#if !defined(__cplusplus) || defined(CINTERFACE)
handle->lpVtbl = &voice_vtable;
#endif
@@ -218,11 +206,56 @@ static xaudio2_t *xaudio2_new(unsigned samplerate, unsigned channels,
if (FAILED(XAudio2Create(&handle->pXAudio2, 0, XAUDIO2_DEFAULT_PROCESSOR)))
goto error;
if (device)
{
/* Search for device name first */
if (list && list->elems)
{
if (list->elems)
{
unsigned i;
for (i = 0; i < list->size; i++)
{
if (string_is_equal(device, list->elems[i].data))
{
idx_found = i;
break;
}
}
/* Index was not found yet based on name string,
* just assume id is a one-character number index. */
if (idx_found == -1)
{
if (isdigit(device[0]))
{
RARCH_LOG("[XAudio2]: Fallback, device index is a single number index instead: %d.\n", idx_found);
idx_found = strtoul(device, NULL, 0);
}
}
}
}
}
if (idx_found == -1)
idx_found = 0;
#if (_WIN32_WINNT >= 0x0602 /*_WIN32_WINNT_WIN8*/)
if (FAILED(IXAudio2_CreateMasteringVoice(handle->pXAudio2, &handle->pMasterVoice, channels, samplerate, 0, device, NULL, AudioCategory_GameEffects)))
goto error;
{
wchar_t *temp = NULL;
if (device)
temp = utf8_to_utf16_string_alloc((const char*)list->elems[idx_found].userdata);
if (FAILED(IXAudio2_CreateMasteringVoice(handle->pXAudio2, &handle->pMasterVoice, channels, samplerate, 0, (LPCWSTR)(uintptr_t)temp, NULL, AudioCategory_GameEffects)))
{
free(temp);
goto error;
}
if (temp)
free(temp);
}
#else
if (FAILED(IXAudio2_CreateMasteringVoice(handle->pXAudio2, &handle->pMasterVoice, channels, samplerate, 0, device, NULL)))
if (FAILED(IXAudio2_CreateMasteringVoice(handle->pXAudio2, &handle->pMasterVoice, channels, samplerate, 0, idx_found, NULL)))
goto error;
#endif
@@ -247,16 +280,65 @@ static xaudio2_t *xaudio2_new(unsigned samplerate, unsigned channels,
XAUDIO2_COMMIT_NOW)))
goto error;
if (list)
string_list_free(list);
return handle;
error:
if (list)
string_list_free(list);
xaudio2_free(handle);
return NULL;
}
static size_t xaudio2_write(xaudio2_t *handle, const uint8_t *buffer, size_t bytes_)
static void *xa_init(const char *device, unsigned rate, unsigned latency,
unsigned block_frames,
unsigned *new_rate)
{
unsigned bytes = bytes_;
size_t bufsize;
xa_t *xa = (xa_t*)calloc(1, sizeof(*xa));
if (!xa)
return NULL;
if (latency < 8)
latency = 8; /* Do not allow shenanigans. */
bufsize = latency * rate / 1000;
RARCH_LOG("[XAudio2]: Requesting %u ms latency, using %d ms latency.\n",
latency, (int)bufsize * 1000 / rate);
xa->bufsize = bufsize * 2 * sizeof(float);
xa->xa = xaudio2_new(rate, 2, xa->bufsize, device);
if (!xa->xa)
{
RARCH_ERR("Failed to init XAudio2.\n");
free(xa);
return NULL;
}
return xa;
}
static ssize_t xa_write(void *data, const void *buf, size_t size)
{
unsigned bytes;
xa_t *xa = (xa_t*)data;
xaudio2_t *handle = xa->xa;
const uint8_t *buffer = (const uint8_t*)buf;
if (xa->nonblock)
{
size_t avail = XAUDIO2_WRITE_AVAILABLE(xa->xa);
if (avail == 0)
return 0;
if (avail < size)
size = avail;
}
bytes = size;
while (bytes)
{
@@ -289,7 +371,11 @@ static size_t xaudio2_write(xaudio2_t *handle, const uint8_t *buffer, size_t byt
if (FAILED(IXAudio2SourceVoice_SubmitSourceBuffer(
handle->pSourceVoice, &xa2buffer, NULL)))
{
if (size > 0)
return -1;
return 0;
}
InterlockedIncrement((LONG volatile*)&handle->buffers);
handle->bufptr = 0;
@@ -297,62 +383,7 @@ static size_t xaudio2_write(xaudio2_t *handle, const uint8_t *buffer, size_t byt
}
}
return bytes_;
}
static void *xa_init(const char *device, unsigned rate, unsigned latency,
unsigned block_frames,
unsigned *new_rate)
{
size_t bufsize;
unsigned device_index = 0;
xa_t *xa = (xa_t*)calloc(1, sizeof(*xa));
if (!xa)
return NULL;
if (latency < 8)
latency = 8; /* Do not allow shenanigans. */
bufsize = latency * rate / 1000;
RARCH_LOG("XAudio2: Requesting %u ms latency, using %d ms latency.\n",
latency, (int)bufsize * 1000 / rate);
xa->bufsize = bufsize * 2 * sizeof(float);
if (device)
device_index = strtoul(device, NULL, 0);
xa->xa = xaudio2_new(rate, 2, xa->bufsize, device_index);
if (!xa->xa)
{
RARCH_ERR("Failed to init XAudio2.\n");
free(xa);
return NULL;
}
return xa;
}
static ssize_t xa_write(void *data, const void *buf, size_t size)
{
size_t ret;
xa_t *xa = (xa_t*)data;
if (xa->nonblock)
{
size_t avail = XAUDIO2_WRITE_AVAILABLE(xa->xa);
if (avail == 0)
return 0;
if (avail < size)
size = avail;
}
ret = xaudio2_write(xa->xa, (const uint8_t*)buf, size);
if (ret == 0 && size > 0)
return -1;
return ret;
return size;
}
static bool xa_stop(void *data)
@@ -414,6 +445,58 @@ static size_t xa_buffer_size(void *data)
return xa->bufsize;
}
static void xa_device_list_free(void *u, void *slp)
{
struct string_list *sl = (struct string_list*)slp;
if (sl)
string_list_free(sl);
}
static void *xa_list_new(void *u)
{
#if defined(_XBOX) || !(_WIN32_WINNT >= 0x0602 /*_WIN32_WINNT_WIN8*/)
unsigned i;
union string_list_elem_attr attr;
uint32_t dev_count = 0;
IXAudio2 *ixa2 = NULL;
struct string_list *sl = string_list_new();
if (!sl)
return NULL;
attr.i = 0;
if (FAILED(XAudio2Create(&ixa2, 0, XAUDIO2_DEFAULT_PROCESSOR)))
return NULL;
IXAudio2_GetDeviceCount(ixa2, &dev_count);
for (i = 0; i < dev_count; i++)
{
XAUDIO2_DEVICE_DETAILS dev_detail;
if (IXAudio2_GetDeviceDetails(ixa2, i, &dev_detail) == S_OK)
{
char *str = utf16_to_utf8_string_alloc(dev_detail.DisplayName);
if (str)
{
string_list_append(sl, str, attr);
free(str);
}
}
}
IXAudio2_Release(ixa2);
return sl;
#elif defined(__WINRT__)
return NULL;
#else
return mmdevice_list_new(u);
#endif
}
audio_driver_t audio_xa = {
xa_init,
xa_write,
@@ -424,8 +507,8 @@ audio_driver_t audio_xa = {
xa_free,
xa_use_float,
"xaudio",
NULL,
NULL,
xa_list_new,
xa_device_list_free,
xa_write_avail,
xa_buffer_size,
};
+2
View File
@@ -314,6 +314,8 @@ DECLARE_INTERFACE_(IXAudio2, IUnknown)
#define IXAudio2MasteringVoice_DestroyVoice(handle) handle->DestroyVoice()
#define IXAudio2_Release(handle) handle->Release()
#define IXAudio2_CreateSourceVoice(handle, a, b, c, d, e, f, g) handle->CreateSourceVoice(a, b, c, d, e, f, g)
#define IXAudio2_GetDeviceCount(handle, puCount) (handle)->GetDeviceCount(puCount)
#define IXAudio2_GetDeviceDetails(handle, Index,pDeviceDetails) (handle)->GetDeviceDetails(Index, pDeviceDetails)
#define IXAudio2_CreateMasteringVoice(handle, a, b, c, d, e, f) handle->CreateMasteringVoice(a, b, c, d, e, f)
#define IXAudio2SourceVoice_Start(handle, a, b) handle->Start(a, b)
#else
+905 -1301
View File
File diff suppressed because it is too large. Load diff
+10 -10
View File
@@ -21,7 +21,7 @@
#include <retro_inline.h>
#include "../audio_driver.h"
#include "../../retroarch.h"
#define SOUND_FREQUENCY 48000
#define MAX_BUFFER 2048
@@ -66,7 +66,15 @@ static ssize_t xenon360_audio_write(void *data, const void *buf, size_t size)
for (i = 0; i < (size >> 2); i++)
xa->buffer[i] = bswap_32(in_buf[i]);
if (!xa->nonblock)
if (xa->nonblock)
{
if (xenon_sound_get_unplayed() < MAX_BUFFER)
{
xenon_sound_submit(xa->buffer, size);
written = size;
}
}
else
{
while (xenon_sound_get_unplayed() >= MAX_BUFFER)
{
@@ -78,14 +86,6 @@ static ssize_t xenon360_audio_write(void *data, const void *buf, size_t size)
xenon_sound_submit(xa->buffer, size);
written = size;
}
else
{
if (xenon_sound_get_unplayed() < MAX_BUFFER)
{
xenon_sound_submit(xa->buffer, size);
written = size;
}
}
return written;
}
+2 -2
View File
@@ -149,7 +149,7 @@ done:
}
static void *resampler_CC_init(const struct resampler_config *config,
double bandwidth_mod,
double bandwidth_mod,
enum resampler_quality quality,
resampler_simd_mask_t mask)
{
@@ -488,7 +488,7 @@ static void resampler_CC_process(void *re_, struct resampler_data *data)
}
static void *resampler_CC_init(const struct resampler_config *config,
double bandwidth_mod,
double bandwidth_mod,
enum resampler_quality quality,
resampler_simd_mask_t mask)
{
@@ -78,7 +78,6 @@
# d23: (temp) # d31: buffer[6]
# (temp) # buffer[7]
resampler_CC_downsample_neon:
_resampler_CC_downsample_neon:
@@ -89,7 +88,6 @@ push {r4}
mov r4, r0
veor q0, q0, q0
vmov.f32 s1, #1.0
vmov.f32 s2, #2.0
@@ -102,18 +100,15 @@ vmov.f32 q5, #1.0
vmov.f32 q6, #3.0
vmov.f32 q7, #0.25
vldr s5, [r2, #32]
vdiv.f32 s6, s20, s4
vadd.f32 s7, s6, s8
vdup.f32 q4, d2[0]
vmin.f32 q4, q4, q5
lsl r3, #3
add r3, r3, r1
cmp r3, r1
beq 3f
1:
@@ -199,7 +194,6 @@ vpop {q4,q5,q6,q7}
bx lr
.align 4
.globl resampler_CC_upsample_neon
#ifndef __MACH__
@@ -256,7 +250,6 @@ bx lr
# d23: (temp) # d31: buffer[6]
# (temp) # buffer[7]
resampler_CC_upsample_neon:
_resampler_CC_upsample_neon:
@@ -267,7 +260,6 @@ push {r4}
mov r4, r0
veor q0, q0, q0
vmov.f32 s0, #1.0
vmov.f32 s2, #-1.0
@@ -280,18 +272,15 @@ vmov.f32 q5, #1.0
vmov.f32 q6, #3.0
vmov.f32 q7, #0.25
vldr s5, [r2, #32]
vdiv.f32 s6, s20, s4
vadd.f32 s7, s6, s8
vdup.f32 q4, d2[0]
vmin.f32 q4, q4, q5
lsl r3, #3
add r3, r3, r1
cmp r3, r1
beq 4f
1:
@@ -356,7 +345,6 @@ vst1.f32 d20, [r4, :64]!
vadd.f32 s5, s5, s6
vcmpe.f32 s5, s20
vmrs APSR_nzcv, fpscr
blt 2b
@@ -368,7 +356,6 @@ vsub.f32 s5, s5, s20
cmp r3, r1
bne 1b
4:
vst1.f32 {q14-q15}, [r2, :256]
vstr s5, [r2, #32]
+7 -7
View File
@@ -234,7 +234,7 @@ static int rsnd_connect_server( rsound_t *rd )
if (!isdigit(rd->host[0]))
{
struct hostent *host = gethostbyname(rd->host);
if (host == NULL)
if (!host)
return -1;
addr.sin_addr.s_addr = inet_addr(host->h_addr_list[0]);
@@ -295,7 +295,7 @@ static int rsnd_send_header_info(rsound_t *rd)
/* Defines the size of a wave header */
#define HEADER_SIZE 44
char *header = calloc(1, HEADER_SIZE);
if (header == NULL)
if (!header)
{
RSD_ERR("[RSound] Could not allocate memory.");
return -1;
@@ -472,7 +472,7 @@ static int rsnd_get_backend_info ( rsound_t *rd )
if ( rd->fifo_buffer != NULL )
fifo_free(rd->fifo_buffer);
rd->fifo_buffer = fifo_new (rd->buffer_size);
if ( rd->fifo_buffer == NULL )
if (!rd->fifo_buffer)
{
RSD_ERR("[RSound] Failed to create FIFO buffer.\n");
return -1;
@@ -963,7 +963,7 @@ static int rsnd_close_ctl(rsound_t *rd)
return -1;
subchar = strrchr(buf, 'R');
if ( subchar == NULL )
if (!subchar)
index = 0;
else
{
@@ -1023,7 +1023,7 @@ static int rsnd_update_server_info(rsound_t *rd)
temp[RSD_PROTO_CHUNKSIZE] = '\0';
if ( (substr = strstr(temp, "RSD")) == NULL )
if (!(substr = strstr(temp, "RSD")))
return -1;
// Jump over "RSD" in header
@@ -1038,7 +1038,7 @@ static int rsnd_update_server_info(rsound_t *rd)
// We only bother if this is an INFO message.
substr = strstr(temp, "INFO");
if ( substr == NULL )
if (!substr)
continue;
// Jump over "INFO" in header
@@ -1548,7 +1548,7 @@ int rsd_pause(rsound_t* rsound, int enable)
int rsd_init(rsound_t** rsound)
{
*rsound = calloc(1, sizeof(rsound_t));
if ( *rsound == NULL )
if (*rsound == NULL)
return -1;
retro_assert(rsound != NULL);
+2 -3
View File
@@ -86,7 +86,7 @@ SECTIONS
KEEP (*(.fini))
. = ALIGN(32); /* REQUIRED. LD is flaky without it. */
} = 0
PROVIDE (__etext = .);
PROVIDE (_etext = .);
PROVIDE (etext = .);
@@ -167,7 +167,6 @@ SECTIONS
.jcr : { KEEP (*(.jcr)) }
.got : { *(.got.plt) *(.got) }
/* We want the small data sections together, so single-instruction offsets
can access them all, and initialized data all before uninitialized, so
we can shorten the on-disk segment size. */
@@ -182,7 +181,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
.sbss :
{
__sbss_start = .;
+2 -3
View File
@@ -97,7 +97,7 @@ SECTIONS
KEEP (*(.fini))
. = ALIGN(32); /* REQUIRED. LD is flaky without it. */
} = 0
PROVIDE (__etext = .);
PROVIDE (_etext = .);
PROVIDE (etext = .);
@@ -178,7 +178,6 @@ SECTIONS
.jcr : { KEEP (*(.jcr)) }
.got : { *(.got.plt) *(.got) }
/* We want the small data sections together, so single-instruction offsets
can access them all, and initialized data all before uninitialized, so
we can shorten the on-disk segment size. */
@@ -193,7 +192,7 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
.sbss :
{
__sbss_start = .;
+1 -1
View File
@@ -56,7 +56,7 @@ void exitspawn_kernel(const char *fileName, SceSize args, void *argp)
game_param.unk5 = 0x10000;
int k1 = pspSdkSetK1(0);
//sceKernelSuspendAllUserThreads();
//sceKernelSuspendAllUserThreads();
int ret = sceKernelLoadExecVSHMs2(fileName, &game_param);
pspSdkSetK1(k1);
}
+11 -4
View File
@@ -4,9 +4,11 @@
#include <psp2/kernel/sysmem.h>
#include <psp2/kernel/threadmgr.h>
static int _newlib_heap_memblock;
static unsigned _newlib_heap_size;
static char *_newlib_heap_base, *_newlib_heap_end, *_newlib_heap_cur;
#define RAM_THRESHOLD 0x1000000 // Memory left to the system for threads and other internal stuffs
int _newlib_heap_memblock;
unsigned _newlib_heap_size;
char *_newlib_heap_base, *_newlib_heap_end, *_newlib_heap_cur;
static char _newlib_sbrk_mutex[32] __attribute__ ((aligned (8)));
static int _newlib_vm_memblock;
@@ -50,11 +52,16 @@ void _init_vita_heap(void) {
if (sceKernelCreateLwMutex((struct SceKernelLwMutexWork*)_newlib_sbrk_mutex, "sbrk mutex", 0, 0, 0) < 0) {
goto failure;
}
// Always allocating the max avaliable USER_RW mem on the system
SceKernelFreeMemorySizeInfo info;
info.size = sizeof(SceKernelFreeMemorySizeInfo);
sceKernelGetFreeMemorySize(&info);
if (&_newlib_heap_size_user != NULL) {
_newlib_heap_size = _newlib_heap_size_user;
}else{
_newlib_heap_size = 192 * 1024 * 1024;
_newlib_heap_size = info.size_user - RAM_THRESHOLD;
}
_newlib_heap_size -= _newlib_vm_size;
-251
View File
@@ -1,251 +0,0 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <string.h>
#ifdef HAVE_CONFIG_H
#include "../config.h"
#endif
#include "camera_driver.h"
#include "../configuration.h"
#include "../driver.h"
#include "../retroarch.h"
#include "../list_special.h"
#include "../verbosity.h"
static const camera_driver_t *camera_drivers[] = {
#ifdef HAVE_V4L2
&camera_v4l2,
#endif
#ifdef EMSCRIPTEN
&camera_rwebcam,
#endif
#ifdef ANDROID
&camera_android,
#endif
#if defined(HAVE_AVFOUNDATION)
#if defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH)
&camera_avfoundation,
#endif
#endif
&camera_null,
NULL,
};
static struct retro_camera_callback camera_cb;
static const camera_driver_t *camera_driver = NULL;
static void *camera_data = NULL;
static bool camera_driver_active = false;
static bool camera_driver_data_own = false;
/**
* camera_driver_find_handle:
* @idx : index of driver to get handle to.
*
* Returns: handle to camera driver at index. Can be NULL
* if nothing found.
**/
const void *camera_driver_find_handle(int idx)
{
const void *drv = camera_drivers[idx];
if (!drv)
return NULL;
return drv;
}
/**
* camera_driver_find_ident:
* @idx : index of driver to get handle to.
*
* Returns: Human-readable identifier of camera driver at index. Can be NULL
* if nothing found.
**/
const char *camera_driver_find_ident(int idx)
{
const camera_driver_t *drv = camera_drivers[idx];
if (!drv)
return NULL;
return drv->ident;
}
/**
* config_get_camera_driver_options:
*
* Get an enumerated list of all camera driver names,
* separated by '|'.
*
* Returns: string listing of all camera driver names,
* separated by '|'.
**/
const char* config_get_camera_driver_options(void)
{
return char_list_new_special(STRING_LIST_CAMERA_DRIVERS, NULL);
}
void driver_camera_stop(void)
{
camera_driver_ctl(RARCH_CAMERA_CTL_START, NULL);
}
bool driver_camera_start(void)
{
return camera_driver_ctl(RARCH_CAMERA_CTL_START, NULL);
}
void camera_driver_poll(void)
{
if (!camera_cb.caps)
return;
if (!camera_driver || !camera_driver->poll || !camera_data)
return;
camera_driver->poll(camera_data,
camera_cb.frame_raw_framebuffer,
camera_cb.frame_opengl_texture);
}
bool camera_driver_ctl(enum rarch_camera_ctl_state state, void *data)
{
settings_t *settings = config_get_ptr();
switch (state)
{
case RARCH_CAMERA_CTL_DESTROY:
camera_driver_active = false;
camera_driver_data_own = false;
camera_driver = NULL;
camera_data = NULL;
break;
case RARCH_CAMERA_CTL_SET_OWN_DRIVER:
camera_driver_data_own = true;
break;
case RARCH_CAMERA_CTL_UNSET_OWN_DRIVER:
camera_driver_data_own = false;
break;
case RARCH_CAMERA_CTL_OWNS_DRIVER:
return camera_driver_data_own;
case RARCH_CAMERA_CTL_SET_ACTIVE:
camera_driver_active = true;
break;
case RARCH_CAMERA_CTL_FIND_DRIVER:
{
int i;
driver_ctx_info_t drv;
drv.label = "camera_driver";
drv.s = settings->arrays.camera_driver;
driver_ctl(RARCH_DRIVER_CTL_FIND_INDEX, &drv);
i = (int)drv.len;
if (i >= 0)
camera_driver = (const camera_driver_t*)camera_driver_find_handle(i);
else
{
if (verbosity_is_enabled())
{
unsigned d;
RARCH_ERR("Couldn't find any camera driver named \"%s\"\n",
settings->arrays.camera_driver);
RARCH_LOG_OUTPUT("Available camera drivers are:\n");
for (d = 0; camera_driver_find_handle(d); d++)
RARCH_LOG_OUTPUT("\t%s\n", camera_driver_find_ident(d));
RARCH_WARN("Going to default to first camera driver...\n");
}
camera_driver = (const camera_driver_t*)camera_driver_find_handle(0);
if (!camera_driver)
retroarch_fail(1, "find_camera_driver()");
}
}
break;
case RARCH_CAMERA_CTL_UNSET_ACTIVE:
camera_driver_active = false;
break;
case RARCH_CAMERA_CTL_IS_ACTIVE:
return camera_driver_active;
case RARCH_CAMERA_CTL_DEINIT:
if (camera_data && camera_driver)
{
if (camera_cb.deinitialized)
camera_cb.deinitialized();
if (camera_driver->free)
camera_driver->free(camera_data);
}
camera_data = NULL;
break;
case RARCH_CAMERA_CTL_STOP:
if ( camera_driver
&& camera_driver->stop
&& camera_data)
camera_driver->stop(camera_data);
break;
case RARCH_CAMERA_CTL_START:
if (camera_driver && camera_data && camera_driver->start)
{
if (settings->bools.camera_allow)
return camera_driver->start(camera_data);
runloop_msg_queue_push(
"Camera is explicitly disabled.\n", 1, 180, false);
}
break;
case RARCH_CAMERA_CTL_SET_CB:
{
struct retro_camera_callback *cb =
(struct retro_camera_callback*)data;
camera_cb = *cb;
}
break;
case RARCH_CAMERA_CTL_INIT:
/* Resource leaks will follow if camera is initialized twice. */
if (camera_data)
return false;
camera_driver_ctl(RARCH_CAMERA_CTL_FIND_DRIVER, NULL);
if (!camera_driver)
return false;
camera_data = camera_driver->init(
*settings->arrays.camera_device ? settings->arrays.camera_device : NULL,
camera_cb.caps,
settings->uints.camera_width ?
settings->uints.camera_width : camera_cb.width,
settings->uints.camera_height ?
settings->uints.camera_height : camera_cb.height);
if (!camera_data)
{
RARCH_ERR("Failed to initialize camera driver. Will continue without camera.\n");
camera_driver_ctl(RARCH_CAMERA_CTL_UNSET_ACTIVE, NULL);
}
if (camera_cb.initialized)
camera_cb.initialized();
break;
default:
break;
}
return true;
}
-113
View File
@@ -1,113 +0,0 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __CAMERA_DRIVER__H
#define __CAMERA_DRIVER__H
#include <stdint.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <libretro.h>
RETRO_BEGIN_DECLS
enum rarch_camera_ctl_state
{
RARCH_CAMERA_CTL_NONE = 0,
RARCH_CAMERA_CTL_DESTROY,
RARCH_CAMERA_CTL_DEINIT,
RARCH_CAMERA_CTL_SET_OWN_DRIVER,
RARCH_CAMERA_CTL_UNSET_OWN_DRIVER,
RARCH_CAMERA_CTL_OWNS_DRIVER,
RARCH_CAMERA_CTL_SET_ACTIVE,
RARCH_CAMERA_CTL_UNSET_ACTIVE,
RARCH_CAMERA_CTL_IS_ACTIVE,
RARCH_CAMERA_CTL_FIND_DRIVER,
RARCH_CAMERA_CTL_SET_CB,
RARCH_CAMERA_CTL_STOP,
RARCH_CAMERA_CTL_START,
RARCH_CAMERA_CTL_INIT
};
typedef struct camera_driver
{
/* FIXME: params for initialization - queries for resolution,
* framerate, color format which might or might not be honored. */
void *(*init)(const char *device, uint64_t buffer_types,
unsigned width, unsigned height);
void (*free)(void *data);
bool (*start)(void *data);
void (*stop)(void *data);
/* Polls the camera driver.
* Will call the appropriate callback if a new frame is ready.
* Returns true if a new frame was handled. */
bool (*poll)(void *data,
retro_camera_frame_raw_framebuffer_t frame_raw_cb,
retro_camera_frame_opengl_texture_t frame_gl_cb);
const char *ident;
} camera_driver_t;
extern camera_driver_t camera_v4l2;
extern camera_driver_t camera_android;
extern camera_driver_t camera_rwebcam;
extern camera_driver_t camera_avfoundation;
extern camera_driver_t camera_null;
/**
* config_get_camera_driver_options:
*
* Get an enumerated list of all camera driver names,
* separated by '|'.
*
* Returns: string listing of all camera driver names,
* separated by '|'.
**/
const char* config_get_camera_driver_options(void);
/**
* camera_driver_find_handle:
* @index : index of driver to get handle to.
*
* Returns: handle to camera driver at index. Can be NULL
* if nothing found.
**/
const void *camera_driver_find_handle(int index);
/**
* camera_driver_find_ident:
* @index : index of driver to get handle to.
*
* Returns: Human-readable identifier of camera driver at index. Can be NULL
* if nothing found.
**/
const char *camera_driver_find_ident(int index);
void driver_camera_stop(void);
bool driver_camera_start(void);
void camera_driver_poll(void);
bool camera_driver_ctl(enum rarch_camera_ctl_state state, void *data);
RETRO_END_DECLS
#endif
Loaded 100 of 3936 files, more files were not shown because too many files have changed in this diff. Show more