Age | Commit message (Collapse) | Author |
|
In testing future versions of Qt I forgot to compile with `YUZU_USE_QT_WEB_ENGINE`, so with that flag enabled there are two issues that cropped up.
1. yuzu currently uses setRequestInterceptor, added in Qt 5.6, deprecated in 5.13 with this explaination at https://doc.qt.io/qt-5/qwebengineprofile-obsolete.html
Interceptors installed with this method will call QWebEngineUrlRequestInterceptor::interceptRequest on the I/O thread. Therefore the user has to provide thread-safe interaction with the other user classes. For a duration of this call ui thread is blocked. Use setUrlRequestInterceptor instead.
2. QWebEngineSettings::globalSettings() pointer no longer exists in later versions of Qt
From what I can tell, QtNXWebEngineView doesn't need to set these globally,
when we make changes to settings(), QtWebEngineView::page() creates the page
object if it doesn't exist yet. I don't see the page object being destroyed
or otherwise replaced, except via destroying the QtNXWebEngineView object.
The globalSettings() make sense if Pages or Views objects are being
created outside of yuzu's control.
To test this I've compared what BrowseNX and Odyssey's Action guide do in mainline 1049 and this PR.
For now we're going to go up the chain to QWebEngineProfile::defaultProfile()->settings()
|
|
The class is used polymorphically, so it's undefined behavior to delete
instances of GDBStubA64 and GDBStubA32 from the base class pointer.
|
|
log the MSVC runtime version when running on MSVC build
|
|
deprecate usage of QDesktopWidget for going fullscreen
|
|
retranslate the game list placeholder
|
|
gpu_thread: Move to bounded queue
|
|
general: Set renderer_backend's default to Vulkan
|
|
This might be useful information, not 100% sure.
[ 0.958068] Frontend <Info> yuzu\main.cpp:GMainWindow:275: yuzu Version: yuzu Development Build | master-0b9ef3c0b-dirty
[ 0.958095] Frontend <Info> yuzu\main.cpp:LogRuntimes:220: MSVC Compiler: 1931 Runtime: 14.32.31326.0
|
|
This is the "Double-click to add a new folder to the game list" message
that shows up when users first launch yuzu and is most likely never seen
again. Previously this message was not re-translated.
|
|
ui: Status bars dock button becomes DOCKED/HANDHELD button
|
|
UI: Translate hotkey labels in configuration
|
|
Update some files with Qt 5.15.2 best practices in mind
|
|
|
|
Follow-up fixes for NVFlinger rewrite (Part 3)
|
|
|
|
|
|
Idea works as follows, while going fullscreen we compare the current window geometry with
available screens and ask for an intersection rectangle, we go fullscreen where most of
the window is located
GuessCurrentScreen could also potentially be used to see which screen
the window is on for dynamic DPI handling
|
|
Logging: Report Post Windows 10 2004 versions, like Windows 11
|
|
common: consolidate ELF structure definitions
|
|
|
|
gdbstub: add missing library list query
|
|
|
|
service: hid: Improve stub of IRS
|
|
|
|
|
|
|
|
Counter type 0 actually releases the semaphore payload rather than a constant zero as was previously thought. This is required by Skyrim.
|
|
gdbstub: Support reading guest thread names
|
|
|
|
gdbstub: fix target descriptions
|
|
core/debugger: Improved stepping mechanism and misc fixes
|
|
|
|
For people not used to the Yuzu UI it's not always clear if the emulated
console is docked or not. The other items update their text when clicked,
this PR brings the DOCK button in line with this.
DOCK -> DOCKED or HANDHELD
|
|
fix UI opening fullscreen after certain crashes
|
|
core/debugger: Define defaulted virtual destructors
|
|
Resolves an MSVC warning where a virtual destructor is not defined in the base class with virtual functions.
|
|
|
|
Otherwise, the addition promotes the returned value to an int instead of keeping it as a u8.
|
|
Sometimes when yuzu crashes, it restarts with the games list in fullscreen,
which would be fine, except there isn't an easy way to exit this.
It also doesn't occur often enough for qt-config.ini files to be in good supply.
UILayout\geometry value in qt-config.ini is the culprit,
at least for the one provided.
Proposed fix is to simply check isFullScreen when yuzu is starting up,
and take it out of full screen immediately
|
|
|
|
|
|
Service: hid: Several improvements and implementations
|
|
Co-authored-by: Schplee <24275329+Schplee@users.noreply.github.com>
|
|
Prevents possible issues if someone were to open yuzu repeatedly over
and over again.
|
|
Being able to catch and handle a Vulkan exception is not what this is
for.
|
|
|
|
This does a few things in order to make the default setting Vulkan
workable.
- When yuzu boots, it just opens the Vulkan library.
- If it works, all good and we continue with Vulkan as the default.
- If something breaks, a new file in the config directory will be left
behind (this is deleted normally).
- If Vulkan is not working, has_broken_vulkan is set to true.
- The first time this happens, a warning is displayed to notify the
user.
- This forces use of OpenGL, and Vulkan cannot be selected.
- The Shader Backend selector is made accessible for use in custom
configurations.
- To disable has_broken_vulkan, the user needs to press a button in
Graphics Configuration to manually run the Vulkan device
enumeration.
|
|
|
|
|
|
Two reasons for this:
1. Out of 7 connections, 6 are in ConfigureMotionTouch::ConnectEvents,
this is the outlier.
2. Qt6 doesn't moc the connection properly
|