Commit Graph

1413 Commits

Author SHA1 Message Date
warmenhoven
f5a2d1598a
Make sure to call steam_poll. (#15050) 2023-03-03 01:53:16 +01:00
warmenhoven
9c2f908d44
Fix initial blurriness on Metal (#15002)
This reverts #14963 and part of #14942. Instead of forcing a size
change on mac the way we do on tvos, bring back the old way of making
two setContentSize calls.
2023-02-21 20:09:21 +01:00
libretroadmin
6728d5a2fa (Subsystem) Cleanups 2023-02-19 12:15:45 +01:00
warmenhoven
c242586ea7
tvOS improvements (#14983)
The initial popup screen advertising the web server did not prevent
keys from passing through, so interactions with the alert would also
be handled by the menu. The alert would pop up any time there was a
network reconfiguration; now it only pops up once per run. Added a way
to turn off the webserver advertisement alert permanently.

Also fixed a bug around filtering the Siri remote out, and turning
controllers off while the app is running.
2023-02-15 11:59:06 +01:00
warmenhoven
ac2cceb905
Fix a few mac windowed mode settings (#14942)
* Use "Remember window position and size" setting (fixes #14806)
* Implement window opacity
* Enable "Show window decorations" toggle
* Hide "Disable composition" option (osx does not support disabling composition)
2023-02-03 07:32:30 +01:00
warmenhoven
10ace666e1
On iOS, pause while in background (#14907) 2023-01-26 20:10:01 +01:00
warmenhoven
4d5bea1208
Vulkan video driver on iOS (#14902) 2023-01-25 16:17:01 +01:00
libretroadmin
e798f99fea Several RARCH_CTL switches don't belong to retroarch state but
runloop state, hence remove
2023-01-22 20:16:14 +01:00
libretroadmin
e10361ed52 Header include cleanups for driver.h 2023-01-09 15:28:15 +01:00
reallibretroadmin
3ae8e35d0e (iOS) Buildfix and cleanup some unused variables 2023-01-09 01:54:45 +01:00
libretroadmin
daa9e352cc Remove asserts 2023-01-09 00:51:05 +01:00
libretroadmin
8a3686df58 Revert "Header cleanups - don't include retroarch.h everywhere"
This reverts commit 0e3b478f8c.
2023-01-08 09:05:46 +01:00
libretroadmin
0e3b478f8c Header cleanups - don't include retroarch.h everywhere 2023-01-08 08:56:57 +01:00
Eric Warmenhoven
ab27029f2b Fix #14789
The change to apply shaders would be executed and then a command to
apply shaders would immeidately be enqueued, to run asynchronously
after the current event handler, which then did exactly the same
thing, creating a busy loop.
2023-01-07 10:53:30 +01:00
retroNUC
6e81098132 Add Achievements Visibility submenu options
- Startup Summary split off from Verbose Mode, added option to hide for games with zero core cheevos
- Some existing options moved into this submenu
- Leaderboard-related options coming in future PR
2023-01-05 19:51:55 +01:00
libretroadmin
7aab4e3d71 Move apple_view_type to apple_platform.h 2023-01-05 19:35:15 +01:00
reallibretroadmin
d36bd9e677 Silence some warnings found in Xcode 2023-01-05 09:27:45 +01:00
Eric Warmenhoven
860ffb2b6a Fix for fullscreen GL driver in Metal OSX build
After calling enterFullScreenMode on the GL view, it becomes the "key"
window, meaning it gets all of the input. This is problematic as that
view doesn't forward the input on to the input driver.
2023-01-05 01:21:15 +01:00
retroNUC
d24cdbfb15
Allow repositioning of RetroAchievement notifications (#14777)
* Allow repositioning of achievement notifications

* PS4/ORBIS build fix

Would have thought cheevos-related notification code was wrapped in HAVE_CHEEVOS, but guess not.
2022-12-30 16:55:38 +01:00
libretroadmin
03e71e651f (iOS) Get rid of this dead code - remnants of when we had a companion UI 2022-11-24 19:57:45 +01:00
libretroadmin
64f22ae2b2 (Qt) Style nits 2022-11-23 23:04:43 +01:00
libretroadmin
f8043f847e (Qt) Remove some if 0 code blocks 2022-11-23 17:34:52 +01:00
libretroadmin
16e0319e2e Remove unnecessary function ui_companion_set_foreground 2022-11-23 06:18:20 +01:00
libretroadmin
9bbe6992e2 (UI Companion) simplify boolean code by replacing it with flags 2022-11-23 06:14:56 +01:00
libretroadmin
c39770e23c ui_browser_window_state_t - bools never used - remove 2022-11-23 06:00:20 +01:00
libretroadmin
7dfaae58f9 (UI) Cleanups; style nits 2022-11-23 05:08:15 +01:00
Richard
c0926ad1a1
feat(iOS13): Pointer Movement Accuracy (#14641)
Co-authored-by: Richard <rf2222222@github.com>
2022-11-18 19:45:36 +01:00
Ruben Nine
2e73b87328
Fix broken fullscreen mode in macOS Ventura by setting NS_WINDOW_COLLECTION_BEHAVIOR_FULLSCREEN_PRIMARY TO 1 << 7 as defined by NSWindowCollectionBehaviorFullScreenPrimary. (#14556) 2022-10-28 07:20:07 +02:00
LibretroAdmin
d0b3c1742d (Video) use flags for FBO passes, GL2 renderchain, etc 2022-10-26 21:21:21 +02:00
LibretroAdmin
46c2a9b950 (Cocoa) small style nits; don't use NSLog 2022-10-26 17:36:58 +02:00
LibretroAdmin
299875f8b6 (Qt) Cleanups 2022-10-25 18:12:19 +02:00
LibretroAdmin
069de60efc (Qt) Remove SSL/TLS check at startup 2022-10-25 15:42:29 +02:00
LibretroAdmin
18ea6fa81e Turn more boolean variables into flags for runloop
- Get rid of RARCH_CTL_IS_INITED, use runloop_get_flags instead
2022-10-24 18:16:00 +02:00
LibretroAdmin
da68e73f94 Get rid of some RARCH_CTL_ commands 2022-10-10 20:14:54 +02:00
LibretroAdmin
d100e73780 Use more runloop flags 2022-10-10 08:59:27 +02:00
Bernhard Schelling
c9bbe7683f
Add View feature (#14467)
* Add View feature
Add saving of a filter set in the Explore menu into a so called "View" file which then gets listed alongside playlists.
This also adds the ability to filter a category by range in the Explore menu and not just filter on exact matches.

* Menu improvements for explore and views

* Collapse ozone sidebar in view

* Fix problems with the sidebar in explore/view

* Ignore view files in the Qt playlists menu

* Add missing semicolon

* Support downloading thumbnails in views
2022-10-10 06:36:02 +02:00
LibretroAdmin
479e3b23d9 Turn content_get_status into content_get_flags 2022-10-09 20:32:39 +02:00
LibretroAdmin
fcbd72dbf3
Use flags pt4 (#14497)
* * Use flags for rarch_state
* Get rid of ^M linebreaks in retroarch_types.h

* Buildfixes for consoles

* (audio driver) use flags instead of bools

* (video) Use flags instead of bools

* Rewrite input driver state bools into flags
2022-10-08 10:39:15 +02:00
LibretroAdmin
0a8ff5d15d (menu_setting) enforce_minrange and enforce_maxrange become flags,
and make remainder of minrange/maxrange local variables of type
float
2022-10-03 02:28:12 +02:00
LibretroAdmin
ace21d28f7 Fix C++ comments 2022-10-01 17:56:16 +02:00
LibretroAdmin
84868ab21f (Setting) Windowed scale should be an integer instead of float 2022-09-05 04:03:04 +02:00
LibretroAdmin
8776c79a60 Fix 'inconsistent instance variable specification' error for OSX 10.5 / Xcode 3.1.4 2022-08-24 11:46:02 +02:00
23rd
9663e4b4f1
Fixed items of system top menu bar on macOS. (#14288)
The second attempt.
This reverts commit e1caf32817.
2022-08-24 03:57:43 +02:00
LibretroAdmin
e769436876 (word wrap functions in stdstring.c) Avoid implicit strlens, caller
should pass the 'length' to the function instead
2022-08-23 17:06:01 +02:00
Cthulhu-throwaway
908667d97a
(Netplay) Removal of older unused code (#14312) 2022-08-11 23:17:33 +02:00
LibretroAdmin
e1caf32817
Revert "Fixed items of system top menu bar on macOS. (#14271)" (#14279)
This reverts commit 7068eebe0c.
2022-08-04 17:56:26 +02:00
23rd
7068eebe0c
Fixed items of system top menu bar on macOS. (#14271) 2022-08-04 15:47:30 +02:00
LibretroAdmin
b2634ea588 * Create fill_pathname_join_special - and specify fill_pathname_join
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +02:00
LibretroAdmin
e7f3432e48 Replace some trivial strlcat usage - use return value of preceding
strlcpy then simply append the extension to it at this location
2022-08-04 03:45:09 +02:00
Sergei Trofimovich
f5ee9e74ba
ui/drivers/cocoa: fix -fno-common build (#14204)
`llvm-11` changed the default from `-fcommon` to `-fno-common`:
  https://reviews.llvm.org/D75056

As a result build fails as:

    LD retroarch
    duplicate symbol '_apple_platform' in:
        obj-unix/release/ui/drivers/ui_cocoa.o
        obj-unix/release/ui/drivers/cocoa/cocoa_common.o
    duplicate symbol '_apple_platform' in:
        obj-unix/release/ui/drivers/ui_cocoa.o
        obj-unix/release/gfx/drivers_context/cocoa_gl_ctx.o
    ld: 2 duplicate symbols for architecture x86_64

The change moves `apple_platform` definition from `apple_platform.h`
to `cocoa_common.m` leaving only declaration in `apple_platform.h`.
2022-07-23 10:24:46 +02:00