summaryrefslogtreecommitdiff
path: root/src/yuzu
AgeCommit message (Collapse)Author
2022-06-14Merge pull request #8383 from Morph1984/shadow-of-the-pastMai
yuzu: Make variable shadowing a compile-time error
2022-06-14main: Eliminate variable shadowingMorph
2022-06-14wait_tree: Eliminate variable shadowingMorph
2022-06-14configure_ringcon: Eliminate variable shadowingMorph
2022-06-14configure_touch_from_button: Eliminate variable shadowingMorph
2022-06-14configure_per_game: Eliminate variable shadowingMorph
2022-06-14configure_input_player: Eliminate variable shadowingMorph
2022-06-14configure_dialog: Eliminate variable shadowingMorph
2022-06-14bootmanager: Eliminate variable shadowingMorph
2022-06-14game_list: Eliminate variable shadowingMorph
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-06-13yuzu: Eliminate variable shadowingMorph
2022-06-13Merge pull request #8446 from liamwhite/cmd-gdbMorph
core/debugger: support operation in yuzu-cmd
2022-06-11Merge pull request #8353 from Docteh/msvc_report_runtimeMai M
log the MSVC runtime version when running on MSVC build
2022-06-11Merge pull request #8427 from Docteh/deprecate_qdesktopMai M
deprecate usage of QDesktopWidget for going fullscreen
2022-06-11Merge pull request #8449 from Docteh/translate_placeholderMai M
retranslate the game list placeholder
2022-06-11Merge pull request #8393 from lat9nq/default-vulkanbunnei
general: Set renderer_backend's default to Vulkan
2022-06-10log the MSVC runtime version when running on MSVC buildKyle Kienapfel
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
2022-06-10UI: retranslate the game list placeholderKyle Kienapfel
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.
2022-06-10Merge pull request #8405 from Docteh/dock_undockMai M
ui: Status bars dock button becomes DOCKED/HANDHELD button
2022-06-10Merge pull request #8333 from Docteh/translate_hotkeysMai M
UI: Translate hotkey labels in configuration
2022-06-10Merge pull request #8318 from Docteh/cmake-qt56-entryMai M
Update some files with Qt 5.15.2 best practices in mind
2022-06-10core/debugger: fix a number of shutdown deadlocksLiam
2022-06-05deprecate usage of QDesktopWidget for going fullscreenKyle Kienapfel
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
2022-06-05Merge pull request #8367 from Docteh/say_win11bunnei
Logging: Report Post Windows 10 2004 versions, like Windows 11
2022-06-04configure_graphics: Remove unused includelat9nq
2022-06-01Merge pull request #8402 from liamwhite/better-stepMorph
core/debugger: Improved stepping mechanism and misc fixes
2022-06-01ui: Status bars dock button becomes dock/undock buttonKyle Kienapfel
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
2022-06-01Merge pull request #8400 from Docteh/fullscreen_glitchbunnei
fix UI opening fullscreen after certain crashes
2022-06-01core/debugger: Improved stepping mechanism and misc fixesLiam
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-29motion touch ui: move remaining connection out of .ui fileKyle K
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
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-29Merge pull request #8339 from Docteh/about_iconbunnei
about dialog: Fix yuzu icon
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-28yuzu-qt: Call -Wl,--subsystem,windows directlylat9nq
-mwindows doesn't work with Clang. tpoechtrager/wclang resolves this by just using MinGW-GCC to link the executable, however this prevents us from using LLVM-exclusive tools when building yuzu. Solution is to send the linker argument we need from -mwindows directly to the linker. From https://gcc-help.gcc.gnu.narkive.com/FogklN5J/gcc-wl-subsystem-windows-mwindows-options
2022-05-23input_common: touch: Rewrite touch driver to support multiple touch pointsgerman77
2022-05-18UI: Translate hotkey labels in configurationKyle K
Another request from GillianMC. The translated strings have been placed in a separate "Hotkeys" context as an alternative to having to add the tr function to the Config class, or adding them to ConfigureHotkeys context which is quite long. The English strings get attached to the items in the Action column as "data", and are used for RetranslateUI and saving the hotkey configuration.
2022-05-16qt_software_keyboard: Address review feedbacklat9nq
Use auto and a more descriptive variable name. Secondly, fix some C++ misconceptions or constructing too many objects. Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com> Co-authored-by: Lioncash <mathew1800@gmail.com>
2022-05-16about dialog: Fix the logo in a multiplatform wayKyle K
The Icon was renamed in #8283 for Linux builds, and the fix proposed in #8312 would in turn break the icon for Windows users. I've decided to fix the aboutdialog.ui file via qtcreator. I'm not sure its important to have the yuzu icon inside the About dialog grabbed from the local Qt theme, but I've reword how the code works for that, and we can just delete those lines. I've also thrown the yuzu.png through pngcrush to remove this warning libpng warning: iCCP: known incorrect sRGB profile Credit to abouvier for bringing bug up.
2022-05-15main: Use Common::U16StringFromBufferlat9nq
See ffd3afcf2
2022-05-15qt_software_keyboard: Use Common::U16StringFromBufferlat9nq
See ffd3afcf2
2022-05-08VideoCore: Add option to dump the macros.Fernando Sahmkow
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2022-05-03Merge pull request #8272 from german77/stick_rangebunnei
yuzu: config: Improve analog stick mapping
2022-05-01ui: retranslate the network tabKyle K
Looks like it was just missed when it was added, as currently the Network Tab only has one item RetranslateUI is used more commonly throughout the project