Commit Graph

104 Commits (1b5f8db2fc72f5682800ebd49b347ab8607dea7b)

Author SHA1 Message Date
Connor McLaughlin 49a9f01327 Qt: Support Vulkan 5 years ago
Connor McLaughlin 075380f8e0 Move most helper logic from base HostInterface to FrontendCommon 5 years ago
Connor McLaughlin 6acd8b27dd Qt: Prevent lag disabling power on buttons when starting 5 years ago
Connor McLaughlin 2156236f52 Frontends: Use common GL context wrapper 5 years ago
Connor McLaughlin e6d52ce6de Qt: Add Resume button 5 years ago
Connor McLaughlin e24e4c20e1 Qt: Fix pause button getting locked on after restarting game 5 years ago
Connor McLaughlin dfe0dcb56c Qt: Split memory card/controller config, make bindings scroll 5 years ago
Connor McLaughlin c8a00c58eb Qt: Add Remove Disc option to change disc menu 5 years ago
Connor McLaughlin 2d6bdc1f82 Qt: Fix rumble not stopping on power off 5 years ago
Connor McLaughlin d8ab587153 HostInterface: Modify settings loading interface to support per-frontend settings 5 years ago
Connor McLaughlin 55fc3fffd9 Qt: Add integer upscaling option 5 years ago
Connor McLaughlin 828513409f Qt: Remove unnecessary log spam 5 years ago
Connor McLaughlin dac114fa4e Qt: Use coarse timer for background controller polling
Fixes high idle CPU usage.
5 years ago
Connor McLaughlin d80aaf3880 Qt: Fix possible race/crash on shutdown 5 years ago
Connor McLaughlin b56546d8ad Qt: Always poll controllers even when not running
Fixes pause hotkey not unpausing when bound to controller.
5 years ago
Connor McLaughlin 1000cb30a9 HostDisplay: Track mouse position 5 years ago
Connor McLaughlin 3723cd5867 Qt: Mouse button binding support 5 years ago
Connor McLaughlin 9e2331c52a Qt: Redraw window immediately when switching between fullscreen/windowed
Fixes content not showing when displaying a popup message.
5 years ago
Connor McLaughlin 1dd2e0f498 Qt: Fix assertion tripping when starting fullscreen 2nd time 5 years ago
Connor McLaughlin ea3c0b65cf Qt: Refactor render widget state transitions
Recreate widget each time. Fixes fullscreen mode switches on D3D11 and
hopefully Wayland.
5 years ago
Connor McLaughlin 8a5e955ba3 Qt: Add input profile support 5 years ago
Connor McLaughlin d9ebb975b2 CommonHostInterface: Reimplement controller rumble support
Even better than before, supports separate motor control.
5 years ago
Connor McLaughlin 67f2eb3fed Qt: Fix -fullscreen not working 5 years ago
Connor McLaughlin 81cf4b469f Frontends: Add shared command line interface
Also provides batch mode and automatic fullscreen switching.

  -help: Displays this information and exits.
  -version: Displays version information and exits.
  -batch: Enables batch mode (exits after powering off)
  -fastboot: Force fast boot for provided filename
  -slowboot: Force slow boot for provided filename
  -resume: Load resume save state. If a boot filename is provided,
    that game's resume state will be loaded, otherwise the most
    recent resume save state will be loaded.
  -state <index>: Loads specified save state by index. If a boot
    filename is provided, a per-game state will be loaded, otherwise
    a global state will be loaded.
  -statefile <filename>: Loads state from the specified filename.
    No boot filename is required with this option.
  -fullscreen: Enters fullscreen mode immediately after starting.
  -nofullscreen: Prevents fullscreen mode from triggering if enabled.
  -portable: Forces "portable mode", data in same directory.
  --: Signals that no more arguments will follow and the remaining
    parameters make up the filename. Use when the filename contains
    spaces or starts with a dash.
5 years ago
Connor McLaughlin e91d760175 HostInterface: Fix crash on startup with controller connected 5 years ago
Connor McLaughlin e7640d5367 HostInterface: Make SetUserDirectory() overridable by frontends 5 years ago
Connor McLaughlin 11e8a91e30 CommonHostInterface: Simplify fullscreen toggle 5 years ago
Connor McLaughlin bf6c1c4866 Qt: Implement render-to-seperate-window and render-to-main toggle 5 years ago
Connor McLaughlin cbb9b96537 System: Include buffer swap time in frame time measurement 5 years ago
Connor McLaughlin 1d9bcb2a48 Qt: Force redraw the display when restoring after minimized 5 years ago
Connor McLaughlin 7e36195f44 HostInterface: Enable on-screen FPS/VPS/Speed display via config 5 years ago
Connor McLaughlin 29a09a3685 Introduce ControllerInterface class, port SDL interface over
This breaks controller support in the SDL frontend until it's ported
over to the common interface.
5 years ago
Connor McLaughlin afe2f96474 Qt: Fix display not updating after resize when paused
Fixes #104.
5 years ago
Connor McLaughlin 282998d0bb Qt: Add screenshot button 5 years ago
Connor McLaughlin fe2e6561d3 Qt: Add audio dumping options 5 years ago
Connor McLaughlin 21ecf231d9 Qt: Show game list scanning progress visually 5 years ago
Connor McLaughlin 0e3bcfa7b5 Qt/HostInterface: Track main window pointer 5 years ago
Connor McLaughlin 8f39a0f154 Qt: Properly implement "Start Fullscreen" 5 years ago
Connor McLaughlin 2480624cbe Qt: Replace QWindow for display with QWidget base
Not as elegant, but it solves the input focus issue.
5 years ago
Connor McLaughlin e8a5259e68 Qt: Show save times in save state menu as well 5 years ago
Connor McLaughlin 2004de7170 Qt: Fix controller rebinding not registering when paused 5 years ago
Connor McLaughlin 69f03959aa Qt: Implement context menu in game list 5 years ago
Connor McLaughlin 0c40903f74 Qt: Fix double mutex lock on controller type change
Fixes #39.
5 years ago
Connor McLaughlin fcc0ae9571 GPU: Implement "Crop Mode" (none, overscan, all borders) 5 years ago
Connor McLaughlin f35970fcac FrontendCommon: Move input binding and some other logic from Qt to common 5 years ago
Connor McLaughlin 509f26ad7e Qt: Add some more default hotkeys (fullscreen/pause/poweroff)
Along with the previous commit, fixes #32
5 years ago
Connor McLaughlin e4ff8b0936 Qt: Add power off hotkey and confirmation message 5 years ago
Connor McLaughlin 27c9f2d834 Qt: Add a method for the emulation thread to focus the display widget 5 years ago
Connor McLaughlin e9dea6e0f7 HostInterface: Add a ConfirmMessage() method 5 years ago
Connor McLaughlin 460ff24248 Qt: Support SDL audio backend 5 years ago