Connor McLaughlin
8dd36f4474
CommonHostInterface: Fix translatability of widescreen hack toggle message
2021-05-20 12:19:23 +10:00
ValadAmoleo
057c264d97
Widescreen Hotkey ( #2080 )
...
* Widescreen Hotkey
Added the ability to toggle Widescreen Hack and set the Aspect Ratio via a hotkey.
This is in response to Discussion #1912 (https://github.com/stenzek/duckstation/discussions/1912 )
* Widescreen Hotkey Uses Settings
The Widescreen Hotkey now looks at the user's global or game settings when toggling. This means:
When disabling the widescreen hack it uses a non-wide ratio as set by the user if available or auto if unavailable.
When enabling the widescreen hack it uses a wide ratio as set by the user if available or 16:9 if unavailable.
* Avoids loading the entire settings now.
Specifically loads the aspect ratio setting.
2021-05-20 12:19:23 +10:00
Connor McLaughlin
e226464a35
GameSettings: Add GPU renderer and 8MB RAM options
2021-05-08 03:45:14 +10:00
Connor McLaughlin
e84fe4d948
D3D11HostDisplay: Fix alpha channel of lightgun crosshair
2021-05-08 03:24:18 +10:00
Connor McLaughlin
8a39969a61
SDLControllerInterface: Prevent crash with out-of-range buttons
2021-05-08 03:24:18 +10:00
Connor McLaughlin
e5a6103f74
ControllerInterface: Move axes/constants to derived class
2021-05-08 03:24:18 +10:00
Connor McLaughlin
9ff1f153be
CommonHostInterface: Remove some rarely used default hotkeys
2021-05-08 03:24:18 +10:00
Connor McLaughlin
e382df0d41
Support expanding RAM to 8MB (dev console)
2021-05-03 12:43:33 +10:00
Connor McLaughlin
19b84cbe4d
GameList: Support getting covers without list entry
2021-05-02 14:57:52 +10:00
Connor McLaughlin
44f29da40f
CommonHostInterface: Fix OSD messages not clearing on shutdown
2021-05-01 13:37:29 +10:00
Connor McLaughlin
e8fece60cf
CommonHostInterface: Fix crash booting exe/psf from file
2021-05-01 02:58:43 +10:00
Connor McLaughlin
864e7f0c91
GameSettings: Add custom aspect ratios
2021-04-30 02:53:03 +10:00
Connor McLaughlin
256f272768
Support custom and match display aspect ratios
2021-04-30 02:53:03 +10:00
Connor McLaughlin
48bc152a63
Vulkan/SwapChain: Ensure returned height is at least 1x1
2021-04-30 02:53:03 +10:00
Connor McLaughlin
c2916e0719
System: Render save state screenshots at fixed resolution
...
Fixes delays when saving state at high internal resolution.
2021-04-28 02:51:44 +10:00
Connor McLaughlin
67adc986ab
VulkanHostDisplay: Fix incorrect screenshot size rendering when specified
2021-04-28 02:51:44 +10:00
Connor McLaughlin
6767fa1e5f
OpenGLHostDisplay: Disable scissor test before rendering
...
Fixes uncleared screen sections in OpenGL renderer.
2021-04-28 02:51:44 +10:00
Connor McLaughlin
e6383286d9
D3D11HostDisplay: Make screenshots/display rendering opaque
2021-04-28 02:51:44 +10:00
iFarbod
0f8128cc23
Fix width and height checks for fullscreen swapchain
...
Height is being compared against Width somehow, this is wrong..
2021-04-26 22:33:28 +04:30
Connor McLaughlin
1e44c2f3d0
GameSettings: Add trait to force LUT fastmem
...
Should help with games like CMR2 and Lagnacure (which are
constantly invalidating code), and THPS series (which use
memory mirrors).
2021-04-27 03:16:44 +10:00
Connor McLaughlin
46d19eeb1f
Android: Allow opening/getting files relative to downloads directory
2021-04-24 16:19:13 +10:00
Connor McLaughlin
8f821c776c
FullscreenUI: Fix compile with cheevos compile-time disabled
2021-04-22 15:52:11 +10:00
Connor McLaughlin
cc6ef01926
CMake: Add missing rapidjson dependency for frontend-common
2021-04-22 15:44:31 +10:00
Connor McLaughlin
558978b7f2
GameDatabase: Fix incorrect entries returned from short serials
2021-04-22 13:40:48 +10:00
Silent
712a11fb71
Hotkey Settings: Fix a missing space in Change Disc
2021-04-21 23:57:15 +02:00
Connor McLaughlin
a7017783e4
dep/rurl: Enlarge username buffers
2021-04-21 01:55:10 +10:00
Connor McLaughlin
704c160c35
CommonHostInterface: Add CPU overclock toggle hotkey
2021-04-20 16:06:34 +10:00
Connor McLaughlin
49cd62aa6e
Merge pull request #1996 from jpchow26/master
...
Update game_database.cpp
2021-04-20 12:27:06 +10:00
Connor McLaughlin
045eb8be76
HTTPDownloaderCurl: Set CURL_NOSIGNAL and block SIGPIPE
2021-04-20 12:25:28 +10:00
jpchow26
c86ff987eb
Update game_database.cpp
...
fix windows build with missing include
2021-04-19 16:46:35 -04:00
Connor McLaughlin
c4891af00e
GameList: Fix broken cover-by-file-title detection
2021-04-18 19:00:27 +10:00
Connor McLaughlin
a6cd7f383a
Merge pull request #1984 from ggrtk/cubeb-persist
...
CubebAudioStream: Set CUBEB_STREAM_PREF_PERSIST flag
2021-04-18 13:53:09 +10:00
Connor McLaughlin
021a3677f9
Merge pull request #1975 from soaresden/master
...
Duckstation - Adding F8 to change discs
2021-04-18 13:52:39 +10:00
Connor McLaughlin
64bd840195
Update common_host_interface.cpp
2021-04-18 13:52:17 +10:00
Albert Liu
e9e4d4174b
CubebAudioStream: Set CUBEB_STREAM_PREF_PERSIST flag
...
This is required for getting default IAudioClient behavior on the WASAPI
backend.
2021-04-17 20:37:49 -07:00
soaresden
b0bd4b8cfe
Adding Shortcut to Change Disc
...
Adding ShortCut to F8
simplifying
simplifying the code
2021-04-17 19:16:43 +02:00
Connor McLaughlin
2a8fd2f60b
GameList: Fix database getting unloaded and lost on double refresh
2021-04-18 01:36:21 +10:00
Connor McLaughlin
03f3f0369c
GameList: Reduce number of system calls when scanning
2021-04-17 21:52:26 +10:00
Connor McLaughlin
2985c395df
GameList: Fix uninitialized fields of PSF/EXE
2021-04-17 21:52:26 +10:00
Connor McLaughlin
8ad0f78ef7
CommonHostInterface: Prefer serial from database, not image
2021-04-17 21:52:26 +10:00
Connor McLaughlin
ff14e8aede
Add JSON game database to replace dat parsing
2021-04-17 17:04:23 +10:00
Connor McLaughlin
3c83ef4939
NoGUI: Fail startup if font atlas creation fails
2021-04-10 14:59:59 +10:00
Connor McLaughlin
deeb861918
CommonHostInterface: Fix rumble not applying to non-first controller
2021-04-08 11:33:59 +10:00
Connor McLaughlin
19ca102b40
VulkanHostDisplay: Handle surface loss gracefully
...
Also skips a full swap chain recreate on resize.
2021-04-08 03:07:10 +10:00
Connor McLaughlin
72e6291107
HTTPDownloader: Drop user agent from base class
2021-04-04 13:30:28 +10:00
Connor McLaughlin
4062d6c015
Cheevos: Provide OS and arch in user agent
2021-04-04 13:02:02 +10:00
Connor McLaughlin
d41b5be908
HTTPDownloader: Fix user agent sending on Windows/Android
2021-04-04 12:55:03 +10:00
Connor McLaughlin
251043f11a
OSD: Add controller input display overlay
2021-04-04 04:08:42 +10:00
Connor McLaughlin
6c59e769ed
FullscreenUI: Fix double display of stats with debug menu
2021-04-03 02:53:28 +10:00
Connor McLaughlin
924756860e
HostDisplay: Support refresh rate queries on all platforms except Mac
2021-04-03 02:53:28 +10:00
Connor McLaughlin
872a9b95c7
Android: Remove quick menu hotkey
...
It has its own quick menu hotkey.
2021-04-01 02:29:59 +10:00
C.W. Betts
b8e85798a6
Fix wrong printflike for FormattedError in Cheevos.
2021-03-29 14:04:23 -06:00
C.W. Betts
fb7a8886f1
Add more printflike macros.
2021-03-29 13:56:19 -06:00
Connor McLaughlin
a9c026f06a
Settings: Rename 'FPS' to 'Game Frame Rate'
2021-03-28 13:47:53 +10:00
Connor McLaughlin
e9aab649e5
GameList: Bump cache version
...
Force playlists to re-scan.
2021-03-27 17:31:20 +10:00
Connor McLaughlin
5aa70cf797
Settings: Add memory card directory option
2021-03-27 15:18:29 +10:00
Connor McLaughlin
50d712c3fe
CDImage: Support sub-images, use subimages for m3u
2021-03-27 15:18:29 +10:00
Connor McLaughlin
573aa6d9cc
FullscreenUI: Fix missing window title with playlist
2021-03-27 13:44:59 +10:00
Connor McLaughlin
f1fb7383b7
DInputControllerInterface: Support diagonals in hat
2021-03-25 13:50:13 +10:00
Connor McLaughlin
11dcba1b68
CDImage: Use Error class for complex errors
2021-03-19 01:58:00 +10:00
Connor McLaughlin
4c76d88728
Cheevos: Fix panic when logging in with fullscreen UI disabled
2021-03-17 00:51:13 +10:00
Albert Liu
46ff2b553d
CDImage: Add support for loading PBP images
2021-03-15 20:06:39 -07:00
Connor McLaughlin
a0086851ce
Qt: Fix double-clicking psexes/psfs in game list
2021-03-16 01:59:17 +10:00
Connor McLaughlin
299ba60b8d
XInput: Fix trigger magnitude being doubled
2021-03-16 01:59:17 +10:00
Connor McLaughlin
a8fd4d5bbd
HTTPDownloaderWinHttp: Hopefully fix issue on Windows <8.1
2021-03-15 01:46:26 +10:00
Connor McLaughlin
ee171465ea
CommonHostInterface: Move controller ID parsing to interface
2021-03-14 19:32:03 +10:00
Connor McLaughlin
6bced299f4
Android: Add AndroidHTTPDownloader class
2021-03-14 02:21:15 +10:00
Connor McLaughlin
566ecaf209
Cheevos: Remove redundant message on login
2021-03-14 02:21:05 +10:00
Connor McLaughlin
658184f85f
GameSettings: Fix SSAA always showing on Android
2021-03-14 02:19:51 +10:00
Connor McLaughlin
fa03038cef
Cheevos: Clear login timestamp on logout
2021-03-14 02:01:48 +10:00
Connor McLaughlin
28e52e53e7
FullscreenUI: Allow tweaking notification vertical position
2021-03-14 02:01:48 +10:00
Silent
6350bb0e36
Hook up plurality to OSD messages
2021-03-12 21:40:24 +01:00
Connor McLaughlin
e10271e18b
GameList: Allow webp covers
...
Currently only enabled for Qt/Android, nogui lacks a decoder.
2021-03-12 03:06:11 +10:00
Connor McLaughlin
7241876cc7
CommonHostInterface: Fix -settings on cmdline not applying
2021-03-12 03:02:57 +10:00
Connor McLaughlin
14a98c3c9e
CommonHostInterface: Fix reset settings not saving on startup
2021-03-12 03:02:45 +10:00
Connor McLaughlin
eca0b51008
GameSettings: Fix incorrect key for texture filter load from ini
2021-03-12 02:18:50 +10:00
Connor McLaughlin
272daedc46
GameSettings: Don't display message for icache force enable
...
This likely isn't something the user has explicitly enabled, therefore
no need to spam them with the override.
2021-03-09 17:24:46 +10:00
Silent
435a848559
FullscreenUI: Close menus on Cancel button edge only
...
Now requires the button to be released, THEN pressed
2021-03-08 20:42:32 +01:00
Silent
3849ec449b
Revert "CommonHostInterface: Use key-release to open quick menu"
...
This reverts commit e0161c3bb2f5e5f4e9d7f9569ba86010899c08c5.
2021-03-08 20:16:38 +01:00
Connor McLaughlin
e0161c3bb2
CommonHostInterface: Use key-release to open quick menu
...
Fixes auto closing when it's bound to escape.
2021-03-08 11:45:48 +10:00
Connor McLaughlin
e2694b2570
Cheevos: Fix unlimited fast forward in hardcode mode
2021-03-08 11:44:02 +10:00
Connor McLaughlin
5e0ebb5d5f
SDLControllerInterface: Don't crash on unbound hat index
2021-03-08 02:48:18 +10:00
Connor McLaughlin
1893bfd248
Cheevos: Don't choke on long passwords
2021-03-08 01:53:26 +10:00
Connor McLaughlin
39498cda10
FullscreenUI: Make right click on binding clear it
2021-03-08 01:53:26 +10:00
Connor McLaughlin
627f147a90
Support compiling for FreeBSD
2021-03-07 19:35:02 +10:00
Connor McLaughlin
3f5d6ee025
CommonHostInterface: FixIncompatibleSettings() should be marked override
2021-03-07 17:35:02 +10:00
Connor McLaughlin
753dd0480f
CDImage: Add support for loading mds/mdf images
2021-03-07 16:26:15 +10:00
Connor McLaughlin
6bbb1128b6
System: Hash executable for game code when system.cnf missing
2021-03-07 02:47:00 +10:00
Connor McLaughlin
ac4dd11fa0
CDImage: Add support for ECM images
2021-03-07 02:47:00 +10:00
Connor McLaughlin
ae17ade117
FullscreenUI: Add missing stretch/internal res screenshot options
2021-03-06 02:22:35 +10:00
Connor McLaughlin
359d1509be
Qt: Add option for internal/window resolution screenshots
2021-03-06 02:22:28 +10:00
Connor McLaughlin
2aea58d056
HostDisplay: Add method to render screenshots at window size
2021-03-06 02:21:27 +10:00
Connor McLaughlin
757bef7b6d
Common/D3D11: Stride should be byte width
2021-03-06 02:21:27 +10:00
Connor McLaughlin
767343ca22
FullscreenUI: Prevent quick menu opening over other windows
2021-03-05 01:12:56 +10:00
Connor McLaughlin
05ac272c3f
GameSettings: Add multitap mode
2021-03-03 21:45:03 +10:00
Connor McLaughlin
6ecf828171
Cheevos: Ignore unofficial achievements for now
2021-03-03 19:44:29 +10:00
Connor McLaughlin
7dbc759619
Cheevos: Implement hardcore mode
2021-03-03 19:14:01 +10:00
Connor McLaughlin
7a05b4f98e
XInputControllerInterface: Support fullscreen UI navigation
2021-03-03 03:07:38 +10:00
Connor McLaughlin
738bf9be9f
FullscreenUI: Make achievements/settings/load state closable with controller
2021-03-03 03:07:38 +10:00
Connor McLaughlin
99ff0e64c5
FullscreenUI: Don't draw fps/pause overlay over windows
2021-03-03 03:06:13 +10:00
Connor McLaughlin
b45891f21a
FullscreenUI: Make achievements window pause game
2021-03-03 03:06:13 +10:00
Connor McLaughlin
2088fa599e
HTTPDownloaderCurl: Send user agent and cleanup
2021-03-03 03:06:13 +10:00
Connor McLaughlin
f47f99b62d
FullscreenUI: Make achievement list collapsable
2021-03-03 03:06:13 +10:00
Connor McLaughlin
9cc079223c
FullscreenUI: Fix achievement list scrolling off screen
2021-03-03 03:06:13 +10:00
Connor McLaughlin
c58227752d
CommonHostInterface: Move save state on exit logic to base class
2021-03-03 01:14:05 +10:00
Connor McLaughlin
7645ca3836
HTTPDownloader: Log error code for WinHttpOpen() failure
2021-03-02 15:18:02 +10:00
Albert Liu
3482313e2f
Multitap: Add option to enable only on port 2
2021-03-01 14:59:59 -08:00
Connor McLaughlin
4df9778e85
FullscreenUI: Fix OSD showing over debug menu
2021-03-01 02:21:04 +10:00
Connor McLaughlin
10c3506f1a
Cheevos: Linux support
2021-02-28 19:01:16 +10:00
Connor McLaughlin
98be448140
Cheevos: Support logging in while disabled
2021-02-28 19:00:37 +10:00
Connor McLaughlin
bc9ca302b8
FullscreenUI: Fix debug menu being occluded
2021-02-28 16:30:09 +10:00
Connor McLaughlin
a48fa4097b
CommonHostInterface: Fix key inputs getting stuck with modifiers
2021-02-28 04:03:48 +10:00
Connor McLaughlin
faa8ed0031
CMake: Make evdev optional
2021-02-27 20:53:00 +10:00
Connor McLaughlin
47e26b1ad3
FullscreenUI: Put cover images through the texture cache
2021-02-27 16:25:42 +10:00
Connor McLaughlin
4380992591
Fix a couple of typos in translation sources
2021-02-27 16:21:36 +10:00
Albert Liu
f9dc1a7e80
Core: Add Multitap support
2021-02-26 21:04:12 -08:00
Connor McLaughlin
b4e4e5891d
Qt: Fix controller navigation for fullscreen UI
2021-02-27 01:17:44 +10:00
Connor McLaughlin
0ec2c87a0e
Implement RetroAchivements
2021-02-27 00:44:53 +10:00
Connor McLaughlin
ef524d7dea
FrontendCommon: Add HTTPDownloader class
2021-02-27 00:44:50 +10:00
Albert Liu
07ad4f63fa
FullscreenUI: Update type cache when controller type is changed
2021-02-24 20:32:32 -08:00
Connor McLaughlin
bfb575cf40
Qt: Improve handling of exclusive fullscreen loss
...
Exclusive fullscreen will be re-requested automatically when the window
regains focus.
2021-02-25 12:51:45 +10:00
Connor McLaughlin
defea38a60
FullscreenUI: Add fullscreen/close buttons to landing window
2021-02-25 02:20:33 +10:00
Connor McLaughlin
1969a10034
FullscreenUI: Fix placeholder logo showing up
2021-02-25 02:20:33 +10:00
Connor McLaughlin
f023c1bcde
FullscreenUI: Add 'Pause on Menu' option
2021-02-25 02:20:33 +10:00
Connor McLaughlin
b56b438f1f
FullscreenUI: Only show debug menu bar in NoGUI
2021-02-25 02:20:33 +10:00
Chris
dd3d5dbd86
Allow keyboard binding in nogui/fullscreen mode ( #1679 )
...
* Allow keyboard binding in nogui/fullscreen mode
2021-02-25 02:05:33 +10:00
Connor McLaughlin
0d0a7eac1f
ImGuiFullscreen: Add animations for notifications
2021-02-24 01:22:04 +10:00
Connor McLaughlin
6e80c882df
FullscreenUI: Allow vertical scaling
2021-02-24 01:22:04 +10:00
Connor McLaughlin
a7e4d55d02
Move game settings apply to CommonHostInterface
2021-02-24 01:22:04 +10:00
Connor McLaughlin
28fdc5537f
FullscreenUI: Draw quick menu at screen bounds, not scaled bounds
2021-02-24 01:22:04 +10:00
Connor McLaughlin
8318cdb3c1
Move ImGui setup to common, and enable fullscreen UI in Qt
2021-02-24 01:22:03 +10:00
Connor McLaughlin
d0f6ff03a5
FullscreenUI: Remove local pointer to SettingsInterface
2021-02-24 01:21:43 +10:00
Connor McLaughlin
1fc53ff622
CommonHostInterface: Move settings interface pointer to base class
2021-02-24 01:21:43 +10:00
Connor McLaughlin
7e1fe166ee
FullscreenUI: Add notifications API
2021-02-24 01:21:43 +10:00
Connor McLaughlin
7501e89b7a
System: Add path/image to game change notification
2021-02-24 01:21:43 +10:00
Connor McLaughlin
77090865c1
OSD: Draw shadows on stats overlays (FPS/Resolution)
...
Makes it more visible on white backgrounds.
2021-02-24 01:21:43 +10:00
Connor McLaughlin
175abd4914
CommonHostInterface: Filter OSD messages in acquire for disabled case
2021-02-24 01:21:43 +10:00
Connor McLaughlin
75776f9b33
Merge pull request #1657 from CookiePLMonster/savestate-ui-legend
...
Save State UI: Add legend showing hotkeys
2021-02-24 01:21:24 +10:00
Silent
78f9136fb8
Save State UI: Cache legend strings
2021-02-22 19:34:51 +01:00
Connor McLaughlin
caae06dbf4
Merge pull request #1646 from piepacker/jake/osd_locking_opt
...
optimize locking mechanism for OSD messages (deadlock-proofing)
2021-02-22 12:21:12 +10:00
Silent
e361b9f012
Save State UI: Make the widget translatable
2021-02-19 20:14:33 +01:00
Silent
82a217570c
Save State UI: Add legend showing hotkeys
2021-02-19 20:14:00 +01:00
Connor McLaughlin
1b544ae350
GameList: Slight optimization to scanning
2021-02-19 01:37:56 +10:00
Connor McLaughlin
cacf12c209
FileSystem: Migrate component extractors to std::string_view
2021-02-19 01:37:56 +10:00
Connor McLaughlin
8c7aec2edf
CommonHostInterface: Ensure game list is loaded before booting
...
Fixes a possible race/crash when starting with a filename in NoGUI.
2021-02-19 01:37:56 +10:00
Connor McLaughlin
e7b9309567
GameSettings: Add PGXP projection precision
2021-02-18 02:19:43 +10:00
Connor McLaughlin
7641bbf5f2
UI: Shuffle around PGXP settings
2021-02-18 02:08:48 +10:00
Connor McLaughlin
09805c1f80
FullscreenUI: Fix controller navigation in disc change
2021-02-18 02:08:47 +10:00
Jake Stine
c3c4181074
optimize locking mechanism for OSD messages, use EnumerateOSDMessages more generally
2021-02-15 16:53:40 -08:00
Silent
82469ac425
Fix a missing comma in the PGXP message
...
+ translations fixed to account for that
2021-02-15 23:36:39 +01:00