Commit graph

839 commits

Author SHA1 Message Date
Connor McLaughlin 1e6abc1d64 OpenGLHostDisplay: Don't assert when reading back last query 2022-09-18 12:02:38 +10:00
Connor McLaughlin ef3ad91ad0 FullscreenUI: Various improvements 2022-09-17 15:56:05 +10:00
Connor McLaughlin 14af29d398 ImGuiManager: Show additional CPU settings 2022-09-17 15:56:05 +10:00
Connor McLaughlin 0b3461338c HostDisplay: Use streaming for sw renderer display 2022-09-13 17:50:42 +10:00
Connor McLaughlin bf76780f11 GameList: Add cover downloader 2022-09-13 17:50:42 +10:00
Connor McLaughlin bec0d6e7df HostDisplay: Add GPU usage statistics 2022-09-03 14:17:51 +10:00
Ronnie Sahlberg 81cf59bc21 PBP: The PBP extension needs to be upper-case.
EBOOT.PBP is an archive format used for PS1 Classics games on PSP and PS3
(and PS4 and probably also PS5)
On PSP case does not matter since the file will be stored in a FAT
filesystem but on PS3 it does matter as it will be stored in a UFS2
filesystem which is case sensitive.

EBOOT.PBP files from the official PS Store comes wrapped in a PKG container
and installes as EBOOT.PBP uppercase. Thus other tools that create
EBOOT.PBP files also create them in uppercase such as POP-FE and PSX2PSP.

Change the *.pbp file selector filter to *.PBP so that the file selector
will find these files on platforms with case-sensitive filesystems.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2022-09-03 13:56:30 +10:00
Connor McLaughlin 26159981ce FullscreenUI: Add more missing options 2022-09-03 13:39:59 +10:00
Connor McLaughlin 28363af3ff FullscreenUI: Add more missing options 2022-08-29 19:19:50 +10:00
Connor McLaughlin d2d2e3ae6e FullscreenUI: Add load/save input profile 2022-08-27 16:52:36 +10:00
Connor McLaughlin 8990ade721 ImguiManager: Fix some missed FA glyphs 2022-08-27 16:52:30 +10:00
Connor McLaughlin 3a5bf6d29b System: Move overlay checking to common 2022-08-27 16:52:24 +10:00
Connor McLaughlin ea8d779962 ImguiManager: Only rasterize font awesome glyphs which we need 2022-08-26 23:30:45 +10:00
Connor McLaughlin 1aa7facda8 Frontends: Pick best render API based on renderer
Stops unnecessary display recreation in big picture UI.
2022-08-26 23:30:45 +10:00
Connor McLaughlin cab51c6764 FullscreenUI: Re-enable most previously-missing settings 2022-08-26 01:26:55 +10:00
Connor McLaughlin bfafa95f65 EvdevInputSource: Migrate to new abstractions 2022-08-25 00:55:58 +10:00
Connor McLaughlin 7277d29ff9 Host: Move CreateDisplayForAPI() into common code 2022-08-25 00:55:58 +10:00
Connor McLaughlin c320e8cf57 Achievements: Misc fixes 2022-08-22 20:01:04 +10:00
Connor McLaughlin 7bbacd2392 Misc: Remove unused code 2022-08-22 19:55:38 +10:00
Connor McLaughlin c7e8233b7b System: Move present skip check to core 2022-08-19 00:07:14 +10:00
Connor McLaughlin de21ff250c CommonHost: Default fullscreen hotkey to F11 2022-08-19 00:07:10 +10:00
Dolphin 01f0c1ff3d fix OSD message about ChallengeMode to be translatable 2022-08-18 00:54:08 +09:00
Dolphin ff09edf3d7 fix AchievementSummary/Notification font issue for ja/zh-cn 2022-08-18 00:54:08 +09:00
Connor McLaughlin 2703880d69 GameList: Fix building on 32-bit ARM 2022-08-16 21:22:59 +10:00
Connor McLaughlin 16d15f5c65 InputManager: Don't load bindings for inactive multitap ports 2022-08-16 00:05:46 +10:00
Connor McLaughlin c656f5cbd7 InputManager: Fix parsing sensor/accelerometer binding 2022-08-16 00:05:46 +10:00
Connor McLaughlin 5b2c18e27c SPU: Convert to namespace 2022-08-15 17:22:23 +10:00
Connor McLaughlin 4688277987 SwapChain: Reduce buffer count from 3 to 2 2022-08-10 17:08:59 +10:00
Connor McLaughlin a5f18ae325 InputManager: Fix macros not being copied in profile 2022-08-10 17:08:59 +10:00
Connor McLaughlin 795ddee79c Qt: Fix relative mode for PSMouse 2022-08-10 17:08:59 +10:00
Connor McLaughlin ddbe28830e Qt: Fix incorrect mouse button event being fired
Fixes left click bindings.
2022-08-10 17:08:59 +10:00
Connor McLaughlin 916900be5d Misc: More warning fixes 2022-08-10 14:33:31 +10:00
Connor McLaughlin 477bb3d554 Misc: Clean up a few warnings 2022-08-10 13:41:13 +10:00
Connor McLaughlin 7be1ad0289 FullscreenUI: Move resources and add lightweight Android version 2022-08-10 13:05:28 +10:00
Connor McLaughlin a35e1b7a25 Achievements: Fix requests being sent when not logged in 2022-08-10 13:04:20 +10:00
Connor McLaughlin a017806c6e GameList: Fix title of files not in database 2022-08-10 13:03:40 +10:00
Connor McLaughlin 1109a81b8a InputManager: Fix unchangable input while paused/frame stepping 2022-08-05 18:14:38 +10:00
Connor McLaughlin 1289064316 Settings: Drop audio sync option
Not relevant since time stretching was added.
2022-08-05 17:57:47 +10:00
Connor McLaughlin 57c1ca97f7 Qt: Hook up audio driver selection 2022-08-05 17:50:28 +10:00
Connor McLaughlin 06ecc50797 System: Fix CPU usage not showing for sw-renderer-for-readbacks 2022-08-05 17:17:29 +10:00
Connor McLaughlin 8f314c8d49 System: Fix vsync resetting on pause and fast forward on boot 2022-08-05 17:09:44 +10:00
Connor McLaughlin fd3de15589 ImGuiManager: Include renderer in enhancement info 2022-08-05 17:09:25 +10:00
Connor McLaughlin 25d2148ae4 Misc: Necessary emucore changes for Android 2022-08-05 17:05:21 +10:00
Connor McLaughlin bdb486ccaa Settings: Fix build without cubeb 2022-08-04 21:39:15 +10:00
Connor McLaughlin 31a17cd3c6 FrontendCommon: Remove SDLInitializer
Not needed anymore.
2022-08-04 21:35:32 +10:00
Connor McLaughlin ea65c0970c FrontendCommon: Drop SDL2 audio output 2022-08-04 21:34:16 +10:00
Connor McLaughlin 679f1a51db CommonHost: Fix volume hotkeys 2022-08-04 21:20:26 +10:00
Connor McLaughlin 3505ca26e0 SaveStateSelectorUI: Fix loading/saving without popup 2022-07-31 17:33:03 +10:00
Connor McLaughlin 0006c54c46 Build: Add Mac dependencies and fix packaging 2022-07-31 16:00:37 +10:00
Connor McLaughlin a899ca88f2 Build: Make OpenGL/Vulkan renderers optional
And disabled on Windows/arm64.
2022-07-31 01:14:28 +10:00
Connor McLaughlin 89659db7ee Path: Unicode handling and tests for SanitizeFileName 2022-07-30 21:46:14 +10:00
Connor McLaughlin a48ee3282a FullscreenUI: Re-enable cheat list/toggle analog 2022-07-30 12:58:03 +10:00
Connor McLaughlin eb569df025 GameList: Fix setting covers via right click 2022-07-30 00:47:49 +10:00
Connor McLaughlin 25b17f1422 FullscreenUI: Add new audio options 2022-07-29 22:30:02 +10:00
Connor McLaughlin 79c401740c FullscreenUI: Fix changing per-game settings not updating 2022-07-29 22:20:07 +10:00
Connor McLaughlin 68b5dd869c SPU: Add time stretched audio output 2022-07-28 22:10:47 +10:00
Connor McLaughlin 97506a811e ImGuiManager: Fix default OSD scale 2022-07-28 22:10:47 +10:00
Connor McLaughlin 6386004b2c FullscreenUI: Fix incorrect vsync state on unpause 2022-07-26 21:46:18 +10:00
Connor McLaughlin 8af4f4f01a Common: ScopeGuard -> ScopedGuard 2022-07-26 18:37:16 +10:00
Connor McLaughlin 29a5ac5d80 D3DHostDisplay: Fix starting in exclusive fullscreen 2022-07-24 17:43:56 +10:00
Silent 3040ce7bbd
FullscreenUI: Untangle Escape button behaviour
Now it doesn't race against Open Pause Menu
2022-07-23 11:38:46 +02:00
Connor McLaughlin f07a6c243d FullscreenUI: Make version text less ugly 2022-07-23 13:59:59 +10:00
Connor McLaughlin 9b22f0564f Misc: Remove backported license text
For anyone trying to start drama, I have copyright over this code and
never signed a CLA, therefore can relicense it how I see fit (in this
case is no license, i.e. no rights, although the entire DuckStation as
is currently distributed is GPLv3).
2022-07-23 13:55:09 +10:00
Connor McLaughlin be03998be0 System: Fix title not showing for non-database discs 2022-07-23 13:55:09 +10:00
Connor McLaughlin cac9c3fe04 CommonHost: Default escape to opening pause menu 2022-07-23 13:55:09 +10:00
Connor McLaughlin 65991899eb InputManager: Fix default value of SDL input source 2022-07-23 13:55:09 +10:00
Connor McLaughlin 11c0b7467b ImGuiManager: Fix OSD drawing under fsui 2022-07-23 13:55:08 +10:00
Connor McLaughlin a5f5be1a60 Qt: Fix directory setting changes 2022-07-23 01:28:19 +10:00
Connor McLaughlin 78bddd7fe9 Achievements: Crash fix on error 2022-07-23 00:52:03 +10:00
Connor McLaughlin 68121c0f6b Qt: Fix rendering at unthrottled framerate while paused 2022-07-23 00:41:36 +10:00
Connor McLaughlin 23ea7b92bc Qt: Fix saved language setting 2022-07-22 23:48:22 +10:00
Connor McLaughlin 91fcb56148 Qt: Fix crash on scanning empty directory 2022-07-22 23:33:59 +10:00
Connor McLaughlin 701780e2ef Qt: Regression fixes 2022-07-22 22:53:06 +10:00
Connor McLaughlin 853e9a8a6a Qt: Fix updater 2022-07-22 21:51:00 +10:00
Connor McLaughlin b42b5501f6 UI: Massive revamp, new features and improvements 2022-07-22 21:19:54 +10:00
Connor McLaughlin af91fcf195 Backport more common classes 2022-07-21 17:29:58 +10:00
Connor McLaughlin 462eb2c155 Add Host/HostSettings 2022-07-21 17:29:58 +10:00
Connor McLaughlin 6a6ab6529a Backport SettingsInterface 2022-07-21 17:29:58 +10:00
Connor McLaughlin 0c0bd4c995 dep: Update imgui to v1.88 2022-07-21 17:29:58 +10:00
Connor McLaughlin b7fbde31a7 Move utility classes from common to own static lib 2022-07-21 17:29:58 +10:00
Connor McLaughlin d2ca454576 Sync filesystem.h/path.h 2022-07-21 17:29:57 +10:00
Connor McLaughlin f89529015c dep: Move Vulkan loader to common 2022-07-21 17:29:57 +10:00
Connor McLaughlin fd3507c16d Core: Replace Timestamp usage with fmt 2022-07-21 17:29:57 +10:00
Connor McLaughlin b5bf3593c4 ByteStream: Move routines from FileSystem to ByteStream 2022-07-21 17:29:57 +10:00
Silent 3a70e4d57d
Add keys to more OSD messages:
* Resolution scale
* Multisampling
* Switching software/hardware rendering
* Switching PGXP CPU
* Switching post processing
* Switching widescreen hack
2022-05-09 23:42:28 +02:00
Connor McLaughlin 9a5ef2d0a2 Cheevos: Add RAIntergration support 2022-04-18 19:13:33 +10:00
Connor McLaughlin a55b5022c7 System: Include cheevos state in save states 2022-03-27 16:59:02 +10:00
Connor McLaughlin 584525cb11 Cheevos: Move to core 2022-03-27 16:59:02 +10:00
Connor McLaughlin c43df29abc ImGuiFullscreen: Move to core 2022-03-27 16:59:02 +10:00
Connor McLaughlin d5128a5ea9 HTTPDownloader: Move to common 2022-03-27 16:59:02 +10:00
Silent 9414f68f51
Add Cheevos::GetAchievementProgressText
Measured achievements formatting is now up to rcheevos,
not DuckStation
2022-01-07 16:59:36 +01:00
Silent 9c91af6dfa
Update to rcheevos v10.2.0
Leaderboard rurl hacks are now replaced by proper calls
2022-01-07 16:21:37 +01:00
Connor McLaughlin 61f7e99508 CommonHostInterface: Add speed control hotkeys 2021-11-26 11:31:59 +10:00
Connor McLaughlin 928e492963 HostInterface: Add keys to a bunch of OSD messages 2021-11-26 11:31:59 +10:00
Connor McLaughlin 7522304360 HostInterface: Add keyed OSD messages 2021-11-26 11:31:59 +10:00
Connor McLaughlin 287b1e1abc D3D12HostDisplay: IDXGIDevice is not a parent of ID3D12Device 2021-10-29 14:00:30 +10:00
Connor McLaughlin 25f69e7f8c CDROM: Special case immediate GetlocP after play/read before int
Fixes CDDA in Mad Panic Coaster.
2021-10-29 13:16:42 +10:00
Connor McLaughlin ccf5006bc8
Merge pull request #2668 from CookiePLMonster/dump-verification
Implement image verification
2021-10-25 17:30:20 +10:00
Connor McLaughlin ff34fb22e5 CommonHostInterface: Save/load autofire to input profiles 2021-10-25 17:27:41 +10:00
Connor McLaughlin 3b66acd395 CommonHostInterface: Remove unused variable in DrawEnhancementsOverlay 2021-10-25 17:27:41 +10:00
Silent 85ea9a629a
Add image verification
"Verify Dump" is now removed, now both hash calculation
and image verification are done in one step.
After a successful hash calculation, the button is replaced with
a "Search on Redump.org" button that opens a web browser
on Redump's search page.
2021-10-23 22:19:39 +02:00
Connor McLaughlin c0a29f7bfd Fix a few warnings over the place 2021-09-26 09:56:17 +10:00
Connor McLaughlin bacd834840 Cheevos: Use safe memory access routines 2021-09-15 12:24:33 +10:00
Silent 4fb39b6d9e
CommonHostInterface: Fix broken word wrap in DrawOSDMessages 2021-09-13 22:45:41 +02:00
Connor McLaughlin d1977b20a4 SDLControllerInterface: Fix compilation on older SDL versions (ugh) 2021-09-08 11:46:04 +10:00
Connor McLaughlin 4b31806bc9 SDLControllerInterface: Add option for PS4/PS5 enhanced mode 2021-09-08 11:29:25 +10:00
Silent 6c70d7b8b3
Cheats: Call ApplyOnDisable on disabling cheats from the list
Fixes an inconsistency in disabling cheats between the list
and the Cheat Manager.
2021-08-25 18:15:32 +02:00
Connor McLaughlin abe9c0d438 GameList: Use display name for exe/psf titles 2021-08-21 16:58:10 +10:00
Connor McLaughlin 521d20bcd2 CommonHostInterface: Add display enhancement settings option 2021-08-15 14:23:20 +10:00
Connor McLaughlin bba6ad4a84 CommonHostInterface: Remove EnumerateOSDMessages() 2021-08-15 14:23:20 +10:00
Connor McLaughlin e6ea6358a0 CommonHostInterface: De-duplicate OSD messages from FS UI 2021-08-15 14:23:20 +10:00
Connor McLaughlin 4d9aa5ecdf CommonHostInterface: De-duplicate stats overlay from FS UI 2021-08-15 14:23:20 +10:00
Connor McLaughlin eaad87ab4f CommonHostInterface: Make timer resolution increased static 2021-08-15 14:23:20 +10:00
Connor McLaughlin 28d3c0768a NoGUI: Move default quick menu bind out of CommonHostInterface 2021-08-15 14:23:20 +10:00
Connor McLaughlin 929aa2f3d1 OpenGLHostDisplay: Fix 16-bit display on GLES2 2021-08-12 21:31:40 +10:00
Connor McLaughlin 3f3607548f CommonHostInterface: Make status indicators toggleable 2021-08-12 21:31:40 +10:00
Connor McLaughlin 1acaff2160 CommonHostInterface: Add FF/Rewind/Pause indicators to non-fullscreen-UI 2021-08-12 21:31:40 +10:00
Connor McLaughlin 4f190aa902 CommonHostInterface: Move fonts/logo to resources directory 2021-08-12 21:31:40 +10:00
Connor McLaughlin 50a09384e1 CommonHostInterface: Add onscreen indicator for rewind 2021-08-07 12:07:04 +10:00
Connor McLaughlin 8bea6e1530 GPU/Vulkan: Fix warnings introduced by #2438 2021-08-07 12:01:02 +10:00
Connor McLaughlin 653453b1ee CommonHostInterface: Silence fast forward/turbo messages when using FS UI 2021-08-07 11:59:35 +10:00
Connor McLaughlin c6c9abcb1c
Merge pull request #2438 from Wunkolo/vk-debug
GPU/Vulkan: Add debug utility functions
2021-08-07 11:32:20 +10:00
Wunkolo 98089180c0 GPU/Vulkan: Add debug utility functions
Adds a way to set the name of vulkan
objects, and automatically determining their `VkObjectType` enum value
at compile-time. As well as a utility-object for creating debug-scopes
for `VkQueue` and `VkCommandBuffer` objects. `DebugScope` objects will
automatically emit `Begin` and `End` commands within the ctor and dtor
and allow for C++ scopes to name and color sections of a vulkan command.
These DebugScopes are also able to be nested within each other and will
automatically pick a color depending on the current recursive depth.

These functions are all null-stubbed in non-debug compilations.
2021-08-01 10:56:56 -07:00
Connor McLaughlin b9d238d28b CommonHostInterface: Fix crash in FS UI when scale changes 2021-08-02 00:54:00 +10:00
Connor McLaughlin b8bd545ee9 CommonHostInterface: Fix debug console toggling not applying 2021-07-29 13:44:48 +10:00
Connor McLaughlin 0af334bba5 Qt: Fix game properties being inaccessible in batch mode 2021-07-27 18:24:54 +10:00
Connor McLaughlin 21938e14c6 CPU/Recompiler: Implement block linking 2021-07-24 13:07:11 +10:00
Connor McLaughlin 607cb8dbb7 VulkanHostDisplay: Don't crash when headless 2021-07-23 18:33:52 +10:00
Connor McLaughlin 09c65b48b8 D3D12HostDisplay: Fix headless rendering 2021-07-23 18:08:57 +10:00
Connor McLaughlin be9427499b D3D11HostDisplay: Fix headless rendering 2021-07-23 18:07:30 +10:00
Connor McLaughlin e17c93ab04 D3D12HostDisplay: Fix incorrect resource state in DownloadTexture() 2021-07-22 13:58:03 +10:00
Connor McLaughlin cebf8957e6 D3D12HostDisplay: Implement RenderScreenshot() 2021-07-22 13:58:03 +10:00
Connor McLaughlin a747e15ac7 D3D12HostDisplay: Fix possible panic on fullscreen switch 2021-07-22 13:36:08 +10:00
Connor McLaughlin 3cc7802897 GameList: Scan hidden files 2021-07-21 20:26:00 +10:00
Connor McLaughlin b01d49fa52 CommonHostInterface: Enable rewind for Android 2021-07-17 20:14:40 +10:00
Connor McLaughlin efaf3d6ce5 Qt: Display warning before allowing cheats 2021-07-17 15:13:35 +10:00
Connor McLaughlin 21460c1924 FullscreenUI: Disable exclusive fullscreen resolution for UWP
It's not supported.
2021-07-16 23:34:39 +10:00
Connor McLaughlin ab9109f3b1 FullscreenUI: Add undo load state to load menu 2021-07-13 22:41:29 +10:00
Connor McLaughlin 921c5cdfbf CommonHostInterface: Always wait for audio buffer fill
Fixes underflows on booting, at the cost of enforcing the
user-configured minimum latency.
2021-07-13 22:41:29 +10:00
Connor McLaughlin 5fa07999e7 D3D12HostDisplay: Fix debug violation in DestroyRenderSurface() 2021-07-13 14:17:04 +10:00
Silent 382595ff71
Fix POST messages
Fixes rich presence in RetroAchievements
2021-07-12 20:36:33 +02:00
Connor McLaughlin a32ef4a963 CDROMAsyncReader: Support reading ahead more sectors 2021-07-12 21:14:06 +10:00
Connor McLaughlin b10379fc7c FullscreenUI: Fix swapped audio/enhancement titles 2021-07-11 17:20:41 +10:00
Connor McLaughlin efd4c70664 XAudio2OutputStream: Fix volume not applying 2021-07-11 17:19:29 +10:00
Connor McLaughlin b0adcb5ea6 FrontendCommon: Add HTTPDownloaderUWP 2021-07-11 15:20:38 +10:00
Connor McLaughlin 99018b51b4 FrontendCommon: Support UWP in helper classes 2021-07-11 15:20:38 +10:00
Connor McLaughlin 281f7c5789 Build: Add UWP configurations 2021-07-11 14:13:59 +10:00
Connor McLaughlin 4bec982ca8 D3D12HostDisplay: Fix incorrect height when streaming updates 2021-07-11 13:43:47 +10:00
Connor McLaughlin 14e7f8fd13 GPU: Add D3D12 renderer 2021-07-10 21:45:10 +10:00
Connor McLaughlin 5da9edceb9 Build: Unify MSBuild options in props files 2021-07-10 21:45:10 +10:00