Commit graph

228 commits

Author SHA1 Message Date
DarthMew
3f073cab62
Remove unused compare statement 2022-02-08 02:39:56 +01:00
Nikos Chantziaras
0cca23ff30
Add CHD precache support
This uses the chd_precache() function of libchdr which just loads the
CHD image to memory without decompressing it. So this is "weaker" than
the full preload to RAM option, which fully decompresses the CHD image,
but it still solves the problem of having the CHD images stored on
unreliable network storage. It's also much faster, since CHDs are quite
slow to decompress in whole.

The main point of this is to be able to use M3U files to run multi-disc
games and still be able to work around unreliable storage. The full
preload to RAM option does not work with M3U files. This option does.

CHD precache is ignored (and the option disabled in the UI) if the full
preload to RAM option is enabled.
2022-02-04 21:40:28 +02:00
DarthMew
bbd7398028 Pull https://github.com/stenzek/duckstation/pull/2804 2022-01-30 00:00:05 +01:00
DarthMew
b967c36514 Merge branch 'master' of https://github.com/stenzek/duckstation 2021-12-25 13:48:05 +01:00
Connor McLaughlin
4513c7a23d System: Invalidate instead of flushing code cache on memory state 2021-12-25 14:28:33 +10:00
Connor McLaughlin
fe2062ff9f System: Warning fix 2021-12-25 14:28:32 +10:00
DarthMew
474ed01441 Merge https://github.com/stenzek/duckstation 2021-11-26 12:54:55 +01:00
Connor McLaughlin
c346dfe8a4 SPU: Drop OOB register warnings to dev level 2021-11-26 11:31:59 +10:00
DarthMew
f79179a9ef Separate software renderer upscaling into a separate option, and disable software upscale values for Android to prevent crashing 2021-11-11 20:00:49 +01:00
DarthMew
c33cc1c2b5
Merge branch 'stenzek:master' into master 2021-11-10 13:55:53 +01:00
Connor McLaughlin
14eecae680 System: Use exe hash plus pvd hash for image hash code 2021-11-09 12:54:30 +10:00
DarthMew
a67d269b92
Merge branch 'stenzek:master' into master 2021-11-06 13:50:45 +01:00
Connor McLaughlin
946481c2aa System: Add a workaround for PSF files with incorrect header 2021-11-06 10:48:23 +10:00
DarthMew
a320681bf4 Sync with upstream 2021-10-25 23:32:25 +02:00
Connor McLaughlin
355d7664d2 System: Fix unused variable warning 2021-10-25 17:27:41 +10:00
DarthMew
be4783514a reapply swanstation commits to latest upstream 2021-10-14 23:30:13 +02:00
Connor McLaughlin
75e9506803 System: Get rid of double GPU reset 2021-08-24 11:57:11 +10:00
Connor McLaughlin
c4f0dafb1f System: Don't time memory load/save states by default
Reduces log spam.
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
Jean-André Santoni
b1c10b52bb Fix memcards 2021-07-27 23:30:11 +07:00
Jean-André Santoni
30093984cc Add back GetMediaSubImagePath 2021-07-27 19:44:58 +07:00
Connor McLaughlin
29bc0c950a System: Reset before loading save state on boot 2021-07-24 13:07:09 +10:00
Connor McLaughlin
0000750527 System: Fix rewind rate with vsync off 2021-07-17 20:14:40 +10:00
Anderson_Cardoso
41fc84ae51
Update information about SBI file
A simple update message to make it more clear for end users in regard SBI files.
2021-07-14 10:55:07 -03:00
Connor McLaughlin
14e7f8fd13 GPU: Add D3D12 renderer 2021-07-10 21:45:10 +10:00
Connor McLaughlin
8f3162675f Warning fixes 2021-07-07 19:54:13 +10:00
Connor McLaughlin
911e9a37f1 WIN32 macro -> _WIN32 2021-06-30 14:38:07 +10:00
Connor McLaughlin
bc1331208b System: Don't try to preload multi-disc images 2021-06-27 13:52:43 +10:00
Connor McLaughlin
d3d92226a5 PGXP: Further optimizations
Up to an 8% speed improvement in Racing Lagoon with CPU mode enabled.
2021-06-12 22:02:33 +10:00
Connor McLaughlin
aae0fb3f2b System: Support loading libps.exe (for Net Yaroze) 2021-06-11 20:47:46 +10:00
Connor McLaughlin
350049826f Fix a bunch of compiler warnings 2021-06-04 13:14:30 +10:00
Connor McLaughlin
9aa386e96c System: Add option to load/apply image patches 2021-06-01 21:55:37 +10:00
Connor McLaughlin
6a2b2ac7f8 System: Don't wipe out nonpersistent memory cards during game change 2021-05-24 21:24:22 +10:00
Connor McLaughlin
d9a655fb41 System: Add non-persistent memory card type 2021-05-23 17:12:01 +10:00
Connor McLaughlin
98e4c181ca CDROM: Add seek speedup enhancement 2021-05-23 16:18:34 +10:00
Connor McLaughlin
ff0bd7abc4 System: Add file title memory card type 2021-05-21 13:19:25 +10:00
Connor McLaughlin
67f352339c CommonHostInterface: Add swap memory cards hotkey 2021-05-20 12:19:28 +10:00
Connor McLaughlin
bced237034 MemoryCard: Sanitize game titles for file names 2021-05-20 12:19:28 +10:00
Connor McLaughlin
21d6af287e System: Fix a possible crash with runahead 2021-05-20 12:19:27 +10:00
Connor McLaughlin
e382df0d41 Support expanding RAM to 8MB (dev console) 2021-05-03 12:43:33 +10:00
Connor McLaughlin
f1310bf93a System: Don't discard PGXP state when runahead-rollbacking
You'll still see some glitches if you have the frame count set too high,
since you'll get imprecise values for any vertices which have moved, but
that's going to happen anyway because of the runahead in the first
place.
2021-04-28 02:51:44 +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
fe1a582909 System: Disallow booting when SBI files are missing 2021-04-22 13:40:48 +10:00
Connor McLaughlin
03f3f0369c GameList: Reduce number of system calls when scanning 2021-04-17 21:52:26 +10:00
Connor McLaughlin
1b16662f17 System: Remove unused ParseM3UFile function 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
922d320523 CPU/Recompiler: Reserve whole fastmem region to avoid clashes 2021-04-11 12:42:51 +10:00
Connor McLaughlin
0644faa635 System: Disable memory cards when running PSFs 2021-04-08 11:34:15 +10:00
Connor McLaughlin
dec2d48bfe System: Fix crash when launching exe/psf 2021-03-28 13:47:53 +10:00
Connor McLaughlin
5df28eff9d System: Fix failing to load new single disc save states 2021-03-27 15:43:42 +10:00