Connor McLaughlin
b2595a3b3b
Qt: Fix volume slider slowing down emulation
2020-07-21 20:10:17 +10:00
Connor McLaughlin
2fb00faa67
Qt: Delay settings save by one second
2020-07-21 20:10:11 +10:00
Connor McLaughlin
68d98af497
Qt: Remove usage of QString where possible for settings
2020-07-21 20:10:06 +10:00
Albert Liu
4e2b3189b0
Qt: Replace QtSettingsInterface with INISettingsInterface
2020-07-16 20:35:49 -07:00
Albert Liu
9d6325f828
QtHostInterface: Fix compiler warning
2020-07-16 20:32:42 -07:00
Connor McLaughlin
1ed57a9fdf
Qt: Hook up mouse events to ImGui
2020-07-13 02:39:59 +10:00
Connor McLaughlin
97a946bd62
CommonHostInterface: Implement frame step hotkey
2020-07-08 02:05:36 +10:00
Connor McLaughlin
5274fa32ac
Qt: Pump events on main thread when waiting for init
2020-07-06 02:47:33 +10:00
Connor McLaughlin
f396a2c373
Renderers: Make shader cache path a prefix instead of directory
2020-07-04 22:14:07 +10:00
Connor McLaughlin
4dc9e10777
HostInterface: Support per-controller-type settings
2020-07-01 00:56:46 +10:00
Connor McLaughlin
2a38090e7a
HostDisplay: Move most backend logic to FrontendCommon
2020-06-30 03:03:56 +10:00
Connor McLaughlin
77291096db
Settings: Add GPU adapter option and hook up to D3D11/Vulkan
2020-06-20 03:34:19 +10:00
Connor McLaughlin
49a9f01327
Qt: Support Vulkan
2020-06-19 00:18:53 +10:00
Connor McLaughlin
075380f8e0
Move most helper logic from base HostInterface to FrontendCommon
2020-06-09 02:35:37 +10:00
Connor McLaughlin
6acd8b27dd
Qt: Prevent lag disabling power on buttons when starting
2020-06-06 03:44:57 +10:00
Connor McLaughlin
2156236f52
Frontends: Use common GL context wrapper
2020-05-25 15:02:44 +10:00
Connor McLaughlin
e6d52ce6de
Qt: Add Resume button
2020-05-23 15:03:00 +10:00
Connor McLaughlin
e24e4c20e1
Qt: Fix pause button getting locked on after restarting game
2020-05-23 15:01:36 +10:00
Connor McLaughlin
dfe0dcb56c
Qt: Split memory card/controller config, make bindings scroll
2020-05-20 23:26:26 +10:00
Connor McLaughlin
c8a00c58eb
Qt: Add Remove Disc option to change disc menu
2020-05-20 02:32:19 +10:00
Connor McLaughlin
2d6bdc1f82
Qt: Fix rumble not stopping on power off
2020-05-01 16:42:47 +10:00
Connor McLaughlin
d8ab587153
HostInterface: Modify settings loading interface to support per-frontend settings
2020-05-01 01:01:50 +10:00
Connor McLaughlin
55fc3fffd9
Qt: Add integer upscaling option
2020-05-01 01:00:29 +10:00
Connor McLaughlin
828513409f
Qt: Remove unnecessary log spam
2020-04-30 17:46:33 +10:00
Connor McLaughlin
dac114fa4e
Qt: Use coarse timer for background controller polling
...
Fixes high idle CPU usage.
2020-04-30 12:34:14 +10:00
Connor McLaughlin
d80aaf3880
Qt: Fix possible race/crash on shutdown
2020-04-29 16:52:06 +10:00
Connor McLaughlin
b56546d8ad
Qt: Always poll controllers even when not running
...
Fixes pause hotkey not unpausing when bound to controller.
2020-04-29 13:28:09 +10:00
Connor McLaughlin
1000cb30a9
HostDisplay: Track mouse position
2020-04-26 17:36:49 +10:00
Connor McLaughlin
3723cd5867
Qt: Mouse button binding support
2020-04-26 17:23:42 +10:00
Connor McLaughlin
9e2331c52a
Qt: Redraw window immediately when switching between fullscreen/windowed
...
Fixes content not showing when displaying a popup message.
2020-04-25 14:30:10 +10:00
Connor McLaughlin
1dd2e0f498
Qt: Fix assertion tripping when starting fullscreen 2nd time
2020-04-25 14:30:10 +10:00
Connor McLaughlin
ea3c0b65cf
Qt: Refactor render widget state transitions
...
Recreate widget each time. Fixes fullscreen mode switches on D3D11 and
hopefully Wayland.
2020-04-22 21:13:53 +10:00
Connor McLaughlin
8a5e955ba3
Qt: Add input profile support
2020-04-15 01:44:16 +10:00
Connor McLaughlin
d9ebb975b2
CommonHostInterface: Reimplement controller rumble support
...
Even better than before, supports separate motor control.
2020-04-14 16:34:42 +10:00
Connor McLaughlin
67f2eb3fed
Qt: Fix -fullscreen not working
2020-04-13 22:37:24 +10:00
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.
2020-04-13 22:17:09 +10:00
Connor McLaughlin
e91d760175
HostInterface: Fix crash on startup with controller connected
2020-04-06 12:18:33 +10:00
Connor McLaughlin
e7640d5367
HostInterface: Make SetUserDirectory() overridable by frontends
2020-04-05 22:59:06 +10:00
Connor McLaughlin
11e8a91e30
CommonHostInterface: Simplify fullscreen toggle
2020-04-05 22:58:54 +10:00
Connor McLaughlin
bf6c1c4866
Qt: Implement render-to-seperate-window and render-to-main toggle
2020-04-05 22:58:47 +10:00
Connor McLaughlin
cbb9b96537
System: Include buffer swap time in frame time measurement
2020-03-24 00:20:56 +10:00
Connor McLaughlin
1d9bcb2a48
Qt: Force redraw the display when restoring after minimized
2020-03-22 21:50:49 +10:00
Connor McLaughlin
7e36195f44
HostInterface: Enable on-screen FPS/VPS/Speed display via config
2020-03-22 13:20:08 +10:00
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.
2020-03-22 00:49:46 +10:00
Connor McLaughlin
afe2f96474
Qt: Fix display not updating after resize when paused
...
Fixes #104 .
2020-03-18 22:27:45 +10:00
Connor McLaughlin
282998d0bb
Qt: Add screenshot button
2020-03-16 00:06:39 +10:00
Connor McLaughlin
fe2e6561d3
Qt: Add audio dumping options
2020-03-15 22:04:32 +10:00
Connor McLaughlin
21ecf231d9
Qt: Show game list scanning progress visually
2020-03-12 15:32:34 +10:00
Connor McLaughlin
0e3bcfa7b5
Qt/HostInterface: Track main window pointer
2020-03-12 15:32:30 +10:00
Connor McLaughlin
8f39a0f154
Qt: Properly implement "Start Fullscreen"
2020-03-12 13:53:58 +10:00
Connor McLaughlin
2480624cbe
Qt: Replace QWindow for display with QWidget base
...
Not as elegant, but it solves the input focus issue.
2020-03-12 13:53:51 +10:00
Connor McLaughlin
e8a5259e68
Qt: Show save times in save state menu as well
2020-03-12 13:51:23 +10:00
Connor McLaughlin
2004de7170
Qt: Fix controller rebinding not registering when paused
2020-03-06 21:55:10 +10:00
Connor McLaughlin
69f03959aa
Qt: Implement context menu in game list
2020-03-02 11:08:16 +10:00
Connor McLaughlin
0c40903f74
Qt: Fix double mutex lock on controller type change
...
Fixes #39 .
2020-03-02 11:05:13 +10:00
Connor McLaughlin
fcc0ae9571
GPU: Implement "Crop Mode" (none, overscan, all borders)
2020-02-28 17:01:01 +10:00
Connor McLaughlin
f35970fcac
FrontendCommon: Move input binding and some other logic from Qt to common
2020-02-28 17:00:09 +10:00
Connor McLaughlin
509f26ad7e
Qt: Add some more default hotkeys (fullscreen/pause/poweroff)
...
Along with the previous commit, fixes #32
2020-02-26 19:31:12 +10:00
Connor McLaughlin
e4ff8b0936
Qt: Add power off hotkey and confirmation message
2020-02-26 19:26:20 +10:00
Connor McLaughlin
27c9f2d834
Qt: Add a method for the emulation thread to focus the display widget
2020-02-26 19:26:14 +10:00
Connor McLaughlin
e9dea6e0f7
HostInterface: Add a ConfirmMessage() method
2020-02-26 19:25:57 +10:00
Connor McLaughlin
460ff24248
Qt: Support SDL audio backend
2020-02-25 23:40:46 +10:00
Connor McLaughlin
262331504f
Qt: Support binding controller axes
2020-02-18 00:06:28 +09:00
Connor McLaughlin
208928b6dc
Qt: Fix load state menu not refreshing after save
2020-02-16 00:15:18 +09:00
Connor McLaughlin
06f4d72631
FrontendCommon: Use SDL_InitSubSystem() for lazy initialization
2020-02-16 00:15:05 +09:00
Connor McLaughlin
6d945439eb
Qt: Fix possible crash/race when startup fails
2020-02-16 00:14:56 +09:00
Connor McLaughlin
59cf799491
Qt: Implement controller interface/binding
2020-02-16 00:14:53 +09:00
Connor McLaughlin
e01cf0dccb
Frontends: Implement auto save on exit/resume
2020-02-16 00:14:49 +09:00
Connor McLaughlin
5f3be68028
HostInterface: Notify host when controller types change
2020-02-16 00:14:44 +09:00
Connor McLaughlin
1e009133ae
Rename 'Default' audio backend to 'SDL'
2020-02-16 00:14:35 +09:00
Connor McLaughlin
d17f0a3923
Qt: Implement disc change in QtHostInterface
2020-02-16 00:14:33 +09:00
Connor McLaughlin
e5740a5632
Qt: Pass QStrings by reference in HostInterface
2020-02-16 00:14:30 +09:00
Connor McLaughlin
fd8ed08307
Move more logic from frontend to base HostInterface
2020-02-16 00:14:28 +09:00
Connor McLaughlin
1ce1e016ae
Qt: Implement save state menus
2020-02-16 00:14:04 +09:00
Connor McLaughlin
d7f8884291
Qt: Fix compilation under clang-9
...
Fixes #23 .
2020-02-13 16:54:09 +09:00
Connor McLaughlin
2bf6912f39
Qt: Simplify emulation thread loop
2020-02-09 22:16:37 +09:00
Connor McLaughlin
c820ddba79
HostInterface: Move throttle and perf stats to System class
2020-02-09 22:16:25 +09:00
Connor McLaughlin
faf2308695
Settings: Move set defaults to HostInterface so it can use user paths
2020-01-24 14:52:04 +10:00
Connor McLaughlin
1ed187fd57
Qt: Add hotkey for increasing/decreasing resolution scale
2020-01-24 14:51:57 +10:00
Connor McLaughlin
8148486a9f
Qt: Add hotkey to toggle software rendering
2020-01-24 14:51:55 +10:00
Connor McLaughlin
f2231d6669
HostInterface: Move setting update logic to base class
2020-01-24 14:51:52 +10:00
Connor McLaughlin
687772c4da
HostDisplay: Move some derived class fields to base class
2020-01-24 14:51:36 +10:00
Connor McLaughlin
736d85b0f3
Qt: Implement display linear filtering
2020-01-24 14:51:34 +10:00
Connor McLaughlin
abf48b6cc2
Qt: Update GPU settings when enhancements are changed
2020-01-24 14:51:33 +10:00
Connor McLaughlin
2694181811
Qt: Hook up HostInterface::Report{Error,Message}
2020-01-24 14:51:30 +10:00
Connor McLaughlin
19cd91a684
Qt: Fix crash on exit when boot fails
2020-01-24 14:51:28 +10:00
Connor McLaughlin
b4c06fdcc6
GameList: Auto set cache/database path from user directory
2020-01-24 14:51:09 +10:00
Connor McLaughlin
feb48899c3
Qt: Don't double-create game list
2020-01-24 14:51:07 +10:00
Connor McLaughlin
77b282862f
HostInterface: Move running title info to System
2020-01-24 14:51:05 +10:00
Connor McLaughlin
b3db3a1cc0
HostInterface: Share settings between SDL and Qt frontends
2020-01-24 14:51:03 +10:00
Connor McLaughlin
069bdd471c
Qt: Stub saving resume state when powering off
2020-01-24 14:50:54 +10:00
Connor McLaughlin
f2d5ce74df
Qt: Fix bug where render window is not focused leaving fullscreen
2020-01-24 14:50:47 +10:00
Connor McLaughlin
20b60e0f01
Qt: Update window title/save states from running title
2020-01-24 14:50:46 +10:00
Connor McLaughlin
d343743768
Qt: Safer GPU renderer switching
2020-01-24 14:49:51 +10:00
Connor McLaughlin
c5282b99e1
Qt: Thread-safe QSettings access and updating
2020-01-24 14:49:49 +10:00
Connor McLaughlin
9562cbea56
Frontends: Add frame time performance counters
2020-01-24 14:49:47 +10:00
Connor McLaughlin
b9538a55f5
Settings: Add option for creating a debug GPU device
2020-01-19 14:54:19 +10:00
Connor McLaughlin
28efc50a04
Qt: Fix worker thread lockup on shutdown
2020-01-11 14:21:08 +10:00
Connor McLaughlin
d52d6252a9
Qt: Remove QAudioOutput-based audio stream
2020-01-11 14:04:58 +10:00
Connor McLaughlin
8f6ac437ab
Frontends: Add cubeb as audio backend option
2020-01-11 13:51:44 +10:00