aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
AgeCommit message (Collapse)Author
2023-03-30applet: controller: Implement cancel buttongerman77
2023-03-29service: am: Improve profile select appletNarr the Reg
2023-03-29Merge pull request #9505 from liamwhite/request-exitliamwhite
applets: implement RequestExit
2023-03-27qt: Fix log softlockNarr the Reg
2023-03-25qt: implement RequestExit for appletsLiam
2023-03-12general: fix spelling mistakesLiam
2023-03-05main: (Windows) Set the current timer resolution to the maximumMorph
Increases the precision of thread sleeps on Windows.
2023-02-18Merge pull request #9815 from german77/qt-mouseliamwhite
Qt: Fix mouse scalling
2023-02-16yuzu: Shutdown game on restart to reload per game configNarr the Reg
2023-02-16yuzu: Write to config file on important config changesNarr the Reg
2023-02-16input_common: Split mouse input into individual devicesNarr the Reg
2023-02-15Merge pull request #9796 from liamwhite/currentliamwhite
general: rename CurrentProcess to ApplicationProcess
2023-02-15Merge pull request #9782 from arades79/fix-consexpr-value-declaration-usageliamwhite
Fix consexpr value declaration usage
2023-02-14Revert "main: Fix borderless fullscreen for high dpi scaled displays"liamwhite
2023-02-14remove static from pointer sized or smaller types for aesthetics, change ↵arades79
constexpr static to static constexpr for consistency Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation ↵arades79
where possible Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-13general: rename CurrentProcess to ApplicationProcessLiam
2023-02-12main: Fix borderless fullscreen for high dpi scaled displaysMorph
On Windows, a borderless window will be treated the same as exclusive fullscreen when the window geometry matches the physical dimensions of the screen. However, with High DPI scaling, when the devicePixelRatioF() is > 1, the borderless window apparently is not treated as exclusive fullscreen and functions correctly. One can verify and replicate this behavior by using a high resolution (4K) display, and switching between 100% and 200% scaling in Windows' display settings. At 100%, without the addition of 1, it is treated as exclusive fullscreen. At 200%, with or without the addition of 1, it is treated as borderless windowed. Therefore, we can use (read: abuse) this difference in behavior to fix this issue for those with higher resolution displays when the Qt scaling ratio is > 1. Should this behavior be changed in the future, please revisit this workaround.
2023-02-09main: Re-add QtWebEngine zoom factorMorph
For some reason, I had removed this in https://github.com/yuzu-emu/yuzu/pull/4949/commits/ad6cec71ecd61aa2533d9efa89b68837516f8464 This should fix any improperly scaled web applets.
2023-02-06Merge pull request #4949 from Morph1984/hidpi-temp-fixliamwhite
main: Enable High DPI fixes for Qt >= 5.14
2023-02-06Merge pull request #9644 from SaiKai/volume_quicksettingbunnei
add volume quicksetting with volume slider
2023-02-04remove disambiguation argument from mute textJonas Gutenschwager
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2023-01-27Merge pull request #9539 from Wollnashorn/opengl-fsrliamwhite
video_core/opengl: Added FSR upscaling filter to the OpenGL renderer
2023-01-26video_core/opengl: Add FSR upscaling filter to the OpenGL rendererWollnashorn
2023-01-25main: Convert to device independent coordinates for scalingMorph
devicePixelRatioF() returns the scaling ratio when high dpi scaling is enabled. When high dpi scaling is enabled, the raw screen coordinate system is scaled to device independent coordinates.
2023-01-25main: Use passthrough scaling for non-windows OSesMorph
They should be better than windows when handling fractional scaling ratios.
2023-01-25main: Enable High DPI fixes for Qt >= 5.14Morph
This uses Qt's new high DPI application attributes for scaling the current window. However, these aren't perfect as scaling with non integer scales will cause artifacts in UI, icons and other elements. Therefore, we use a heuristic to select an appropriate integer scale value depending on the current screen resolution and applies this to the application.
2023-01-25main: Only set AA_DisableWindowContextHelpButton below Qt6Morph
This is fortunately disabled by default on Qt6, so we just have to check whether we are compiling with Qt6 or not.
2023-01-25main: Globally disable the "?" button on dialogsMorph
Sets the AA_DisableWindowContextHelpButton attribute to disable this useless button globally.
2023-01-22qt: add option to disable controller appletEBADBEEF
- add checkbox to disable the controller applet UI - when controller applet is disabled, use the yuzu-cmd fallback controller applet that applies controller config based on rules - See https://github.com/yuzu-emu/yuzu/issues/8552 for some discussion
2023-01-19add volume quicksetting with volume sliderJonas Gutenschwager
2023-01-10Merge pull request #9565 from MonsterDruide1/tas-multiplayer-lengthsliamwhite
TAS: Show all script lengths for multiplayer
2023-01-07TAS: Show all script lengths for multiplayerMonsterDruide1
2023-01-06qt: additional fixes for reentrant shutdownLiam
2023-01-05video_core/vulkan: Driver pipeline cache will now be deleted with the shader ↵Wollnashorn
cache
2022-12-24qt: prevent reentrant shutdownLiam
2022-12-23Merge pull request #9476 from liamwhite/async-shutdownliamwhite
qt: continue event loop during game close
2022-12-21qt: exit properly on guest-initiated closeLiam
2022-12-21qt: use main window as close overlay parentLiam
2022-12-20qt: continue event loop during game closeLiam
2022-12-20Merge pull request #9463 from liamwhite/manager-eventsliamwhite
EmuThread: refactor
2022-12-18yuzu: Remember last selected directorygerman77
2022-12-17qt: use _exit instead of exit on SIGINTLiam
2022-12-17EmuThread: refactorLiam
2022-12-17Merge pull request #9454 from liamwhite/wayland-eglMai
qt: handle wayland-egl platform name
2022-12-16Merge pull request #8605 from devsnek/graceful-shutdownliamwhite
let games gracefully exit
2022-12-16Merge pull request #6769 from lat9nq/create-shortcut-2liamwhite
yuzu qt, common: Add option to create game shortcuts on Linux
2022-12-16qt: handle wayland-egl platform nameLiam
2022-12-13main: Address review feedbacklat9nq
Moves icon path to ~/.local/share/icons, though I'm opting to avoid using the game title for the icon and desktop entry name as that would cause filenames such as "yuzu-cadence-of-hyrule-crypt-of-the-necrodancer-featuring-the-legend-of-zelda-demo.desktop".
2022-12-13yuzu qt: Create shortcuts on Linuxlat9nq
This creates a Desktop Entry file and a PNG icon for the entry when the user right-clicks a game and selects "Create Shortcut -> Create {Application,Desktop} Shortcut". This uses the current executable's path to create the shortcut. yuzu qt: Add more error checking and OS gating for shortcuts main: Remove FreeBSD gating for shortcuts I'm not going to test FreeBSD, so I don't know if they follow Freedesktop.org or not. I just have to let someone else verify that it works there and let them enable it. main: Move shortcut function to its own function This function should really be in a common library, at least among frontends. main: Remove image manip references main: Fix difference in MinGW and native GCC versions main: Fix negation in creat shortcut Addresses review comment Co-authored-by: Jan Beich <jbeich@FreeBSD.org> main: Re-enable freedesktop shorcuts for FreeBSD