aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
AgeCommit message (Collapse)Author
2022-07-27implement pause on system suspend (#8585)snek
2022-07-27Merge pull request #8592 from devsnek/sig-handlerssnek
exit gracefully on sigint/sigterm
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-07-25network: Move global state into a seperate classFearlessTobi
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2022-07-25yuzu: Hide multiplayer button and room statusFearlessTobi
2022-07-25yuzu: Add ui files for multiplayer roomsFearlessTobi
2022-07-25Merge pull request #8564 from lat9nq/dinner-forkbunnei
yuzu: Streamline broken Vulkan handling
2022-07-23yuzu: Hook qt camera to camera drivergerman77
2022-07-22Project AndioKelebek1
2022-07-17implement resume messageGus Caplan
2022-07-16yuzu: settings: Remove framerate cap and merge unlocked framerate setting.bunnei
- These were all somewhat redundant.
2022-07-10startup_checks: Implement unix side codelat9nq
Wow fork() is nice, isn't it?
2022-07-10yuzu: Simplify broken Vulkan handlinglat9nq
2022-07-10yuzu: Check Vulkan on startup with a childlat9nq
2022-07-10yuzu: Rename check_vulkan to startup_checkslat9nq
2022-06-14main: Eliminate variable shadowingMorph
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 #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-10Merge pull request #8405 from Docteh/dock_undockMai M
ui: Status bars dock button becomes DOCKED/HANDHELD button
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-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-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