745 Commits

Author SHA1 Message Date
Connor McLaughlin
25c52f97d4 CMake: Include Vulkan headers 2022-07-25 01:06:24 +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
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
f6b3652ae6 Add MemorySettingsInterface 2022-07-21 17:29:58 +10:00
Connor McLaughlin
6a6ab6529a Backport SettingsInterface 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
Connor McLaughlin
d81e156a29 dep: Add build config for fmt 2022-07-21 17:29:57 +10:00
Connor McLaughlin
b3c3d5d954 Sync string_util.cpp 2022-07-21 17:29:57 +10:00
Connor McLaughlin
5d097da160 CDImageCHD: Implement precaching 2022-04-03 21:09:36 +10:00
Connor McLaughlin
9ab64ecdb3 CDImage: Add Precache() method 2022-04-03 21:09:36 +10:00
Connor McLaughlin
bceca040d9 dep/libchdr: Remove libFLAC dependency 2022-04-03 21:09:36 +10:00
Ronnie Sahlberg
f7a3358b1f pbp: pstitleimg sections are allowed also for single disc games
Multidisc games are stored inside the EBOOT.PBP file as
A)
pstitleimg
psisoimg
psisoimg
...

Single disk games can be stored in two different formats, with or
without a pstitleimg section, i.e. as

B)
pstitleimg
psisoimg

or

C)
psisoimg

Fix a conditional in duckstation that incorrectly flags B) as an error.
These types of EBOOT.PBP files can be created by the pop-fe utility.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2022-03-29 21:36:39 +10:00
Connor McLaughlin
07d331deca
Merge pull request #2814 from CookiePLMonster/y2038
Fix a Y2038 bug in UnixTimeToFileTime
2022-03-27 17:47:35 +10:00
Connor McLaughlin
a55537ec1b D3D12/Builders: Fix incorrect depth write mask 2022-03-27 17:38:48 +10:00
Connor McLaughlin
a55b5022c7 System: Include cheevos state in save states 2022-03-27 16:59:02 +10:00
Connor McLaughlin
d5128a5ea9 HTTPDownloader: Move to common 2022-03-27 16:59:02 +10:00
Connor McLaughlin
cb51ab7197 Misc: Purge unused definitions 2022-03-27 16:59:02 +10:00
Silent
e43f2ddddb
Fix a Y2038 bug in UnixTimeToFileTime 2022-03-26 16:49:02 +01:00
Connor McLaughlin
bee50481f5 CDImageMDS: Possible fix for multi-track images 2021-12-25 14:28:33 +10:00
Connor McLaughlin
592a591b5f FileSystem: Get rid of trailing nulls in GetWorkingDirectory() 2021-12-25 14:28:33 +10:00
Connor McLaughlin
7c769b1941 CDImageDevice: Don't add out-of-file pregaps to audio tracks 2021-11-26 11:31:59 +10:00
Connor McLaughlin
827048eeda CDImageDevice: Fix printing of track summary 2021-11-26 11:31:59 +10:00
Connor McLaughlin
c54c5f1b95 Common/CueParser: Remove redundant check for CATALOG 2021-11-10 13:38:06 +10:00
Connor McLaughlin
fca4a2ec28 Common/FileSystem: Fix a couple of warnings from #2716 2021-11-10 13:18:30 +10:00
Connor McLaughlin
e6741dad9b Common/Timestamp: Use tuple for comparison operators 2021-11-10 13:00:32 +10:00
Connor McLaughlin
13453ee6d8
Merge pull request #2715 from stenzek/pvd-hash
System: Use exe hash plus pvd hash for image hash code
2021-11-10 12:34:55 +10:00
Connor McLaughlin
a8a0a50af7 ISOReader: Make fields public/accessible 2021-11-09 12:54:07 +10:00
Evgeniy Dushistov
39a9997fd0
Fix usage of free for stack variable
Based on warning from pvs static analyzer (https://habr.com/ru/company/pvs-studio/blog/586700/)
2021-11-07 20:43:41 +03:00
Connor McLaughlin
425dee2f0b CDImage: Fix tracks not getting brought across in CopyTOC() 2021-11-05 15:19:21 +10:00
Silent
b7f73a42be
CDImageCueSheet: Fix cuesheets with absolute paths 2021-10-30 11:17:41 +02:00
Connor McLaughlin
58f05498e5 Common/ProgressCallback: Elide some redundant updates 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
f0c5b049bb DRMDisplay: Should include common types not core types 2021-10-25 17:27:41 +10:00
Connor McLaughlin
2194004662 CDImageDevice: Fix gcc warning 2021-10-25 17:15:56 +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
Silent
e38ee512f3
Fix progress bar not starting from 0 when verifying the data track 2021-10-23 21:46:57 +02:00
Connor McLaughlin
c0a29f7bfd Fix a few warnings over the place 2021-09-26 09:56:17 +10:00
Connor McLaughlin
bbcf1c67d1 Common/Vulkan: Fix compiling on 32-bit 2021-08-24 11:57:16 +10:00
Connor McLaughlin
7eceee6a20 CDImage: Use display name for playlist titles 2021-08-21 16:58:10 +10:00
Connor McLaughlin
e45f15ef41 FileSystem: Implement StatFile/FileExists/DirectoryExists for scoped storage 2021-08-18 00:18:03 +10:00
Connor McLaughlin
f0cb8cdc5c GL/Texture: Don't set max level on GLES2 2021-08-12 21:31:40 +10:00
Connor McLaughlin
8bea6e1530 GPU/Vulkan: Fix warnings introduced by #2438 2021-08-07 12:01:02 +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
642f8041e9 Common/Log: Fix compilation on Android 2021-07-30 17:01:07 +10:00
Connor McLaughlin
b948bb0750 CDImageDevice: Fix invalid TOC for multi-track discs 2021-07-29 14:00:47 +10:00