summaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
AgeCommit message (Collapse)Author
2022-06-01Merge pull request #8400 from Docteh/fullscreen_glitchbunnei
fix UI opening fullscreen after certain crashes
2022-05-31fix UI opening fullscreen after certain crashesKyle Kienapfel
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
2022-06-01core/debugger: Implement new GDB stub debuggerLiam
2022-05-30main: Insert warning text on broken Vulkanlat9nq
Co-authored-by: Schplee <24275329+Schplee@users.noreply.github.com>
2022-05-30main: Save config on broken Vulkan detectlat9nq
Prevents possible issues if someone were to open yuzu repeatedly over and over again.
2022-05-30yuzu-qt: Make has_broken_vulkan only for crasheslat9nq
Being able to catch and handle a Vulkan exception is not what this is for.
2022-05-30yuzu-qt: Attempt to workaround broken Vulkan installationslat9nq
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.
2022-05-29Update some files with Qt 5.15.2 best practices in mindKyle K
There was some discussion about updating to Qt6 and I figured I would work on some smaller parts. For Windows platform the WinMain function has moved from the Qt5::WinMain to a new one called Qt6::EntryPointPrivate Also Qt5 supports versionless CMake targets https://www.qt.io/blog/versionless-cmake-targets-qt-5.15 These other changes in this commit are to support Qt6, but in ways that don't mess with Qt5. src/yuzu/bootmanager.cpp: Qt6 complains about not being able to know to use QPoint or QPointF, picking QPoint src/yuzu/bootmanager.h: Qt6 prefers that QStringList.h be included rather than an empty class definition src/yuzu/configuration/configure_system.cpp: toULongLong intends to return unsigned 64 bit integer, but Settings::values.rng_seed is only 32 bits wide src/yuzu/game_list.cpp: Qt6 returns a different datatype for QStringList.length than Qt5, it used to be int, but in Qt6 its now qsizetype src/yuzu/loading_screen.cpp: Qt5's for QStyleOption.init say to switch to initFrom. The QStyleOption.init doesn't exist in Qt6 src/yuzu/main.cpp: Another QPointer and QStringList.size, lets standardize on size()
2022-05-28Logging: Report Post Windows 10 2004 versions, like Windows 11Kyle K
Qt5 and Qt6 don't really do a good job of reporting Windows versions past the 2004 version. Current: Windows 10 Version 2009 This Patch: Windows 10 Version 21H1 (Build 19043.1706) Also: Windows 11 Version 21H2 (Build 22000.675) Fixes: #8362
2022-05-15main: Use Common::U16StringFromBufferlat9nq
See ffd3afcf2
2022-04-23hotkeys: Trigger actions on a separate threadNarr the Reg
2022-04-19Prevent the mouse cursor from leaving the window when mouse panning is enabledPurple
2022-04-12ui: Touching QPalette::Text broke dark -> light UI. don't doKyle K
2022-04-11ui: Set Link Color when setting themeKyle K
Long story short, QT doesn't allow the link colors to be set via their stylesheets. There are two ways to work with this, specify the color manually for every link (See the About dialog) The other way is to change the default palette. IsDarkTheme is copy/pasted from src/yuzu/debugger/wait_tree.cpp
2022-03-28yuzu: Only override fullscreen setting if gamepath or argument is providedgerman77
2022-03-23Merge pull request #8035 from lat9nq/disable-web-appletbunnei
yuzu qt: Disable the web applet by default
2022-03-21applets: Rename Mii to MiiEditMorph
2022-03-20yuzu: Reduce unused includesameerj
2022-03-17yuzu qt: Save disable_web_applet settinglat9nq
The web applet causes multiple issues with the rest of the application. Disable it by default and add a debug option to re-enable it until a proper solution can be found.
2022-03-17main: Update Disable Web Applet warninglat9nq
2022-03-17yuzu: Move disable_web_applet to UISettingslat9nq
2022-03-16Merge pull request #7964 from german77/miiiibunnei
applet: mii: Simple implementation of mii applet
2022-03-11cpu_detect: Add additional x86 flags and telemetryWunkolo
Adds detection of additional CPU flags to cpu_detect and additions to telemetry output. This is not exhaustive but guided by features that [dynarmic utilizes](https://github.com/merryhime/dynarmic/blob/bcfe377aaa5138af740e90af5be7a7dff7b62a52/src/dynarmic/backend/x64/host_feature.h#L12-L33) as well as features that are currently utilized but not reported to telemetry(invariant_tsc). This is intended to guide future optimizations. AVX512 in particular is broken up into its individual subsets and some other processor features such as [sha](https://en.wikipedia.org/wiki/Intel_SHA_extensions) and [gfni](https://en.wikipedia.org/wiki/AVX-512#GFNI) are added to have some forward-facing data-points. What used to be a single `CPU_Extension_x64_AVX512` telemetry field is also broken up into individual `CPU_Extension_x64_AVX512{F,VL,CD,...}` fields.
2022-02-28applet: mii: Simple implementation of mii appletgerman77
2022-02-20yuzu: Remove amiibos on drag and dropgerman77
2022-02-19Merge pull request #7867 from german77/amiibobunnei
nfp: Improve amiibo support
2022-02-10Merge pull request #7852 from Morph1984/new-uuidbunnei
common: Revise and fix the UUID implementation
2022-02-08nfp: Address compiler issuesgerman77
2022-02-08yuzu: Allow to open and remove the amiibogerman77
2022-02-06yuzu: Mute audio when in backgroundgerman77
2022-02-06yuzu: Add docked, GPU accuracy and adapting filter hotkeysgerman77
2022-02-05profile: Migrate to the new UUID implementationMorph
2022-02-03main: Always remove the frameless window flag when restoring UI stateMorph
For unknown reasons, this flag may persist after the application has been closed. Removing this flag when restoring the UI state ensures that a frameless window will not be shown on startup.
2022-02-01yuzu: Disable auto repeat on hotkeys againNarr the Reg
2022-01-15yuzu: Add volume up/down hotkeysgerman77
2022-01-15yuzu: Remove speed limit hotkeysgerman77
2022-01-13Merge pull request #7690 from Morph1984/increase-file-limit-winbunnei
yuzu: main: Increase the open file limit on Windows to 8192
2022-01-09yuzu: main: Increase the open file limit on Windows to 8192Morph
This is a temporary solution for now to accommodate for mods containing more than 4096 files.
2022-01-06yuzu: Add controller hotkeysgerman77
2022-01-01yuzu: Fix UI elements not updating correctlygerman77
2021-12-22main: reword inhibit reasonliushuyu
2021-12-22main: fix wake lock in Flatpak ...liushuyu
... by using the XDP system
2021-12-19main: Refactor to reduce code duplication in ShowFullscreen()ameerj
2021-12-19main: Make render window borderless fullscreen toggle on the monitor it ↵ameerj
resides in Toggling borderless fullscreen on the separate render window made it fullscreen on the monitor which the main yuzu window resided in. This change allows the render window to go fullscreen on the monitor it resides in, independent of the main window location.
2021-12-15Merge pull request #7532 from goldenx86/patch-3bunnei
Update video core popup
2021-12-16Suggestions from CrusadingNinjaMatías Locatti
2021-12-16Changed linkMatías Locatti
2021-12-14yuzu/main: Fix host memory byte units. GB to GiBWunkolo
I have `134850146304` bytes of ram and Yuzu was saying that I had `125.59 GB` of ram. But `125.59` is actually the amount of gi**bi**bytes I have. In gi**ga**bytes I would have `134.9`. Additionally, I changed the `1024 / 1024 / 1024` here into the `_GiB` user-literals that I added a while ago(#6519). https://www.wolframalpha.com/input/?i=134850146304+bytes
2021-12-07Merge pull request #7506 from heinermann/focus_crashMai M
Fixed #7502
2021-12-06main: Update video core popupMatías Locatti
Old version had formatting issues, and I want to provide an answer to the most common reason this pops up in the first place, outdated drivers.