Stenzek
8595175267
CDROM: Improve accuracy of sector redelivery on DMA complete
...
Fixes hang in loading in Syphon Filter 2/3.
2024-06-09 19:47:51 +10:00
Stenzek
34861074c1
CDROM: Ensure complete IRQs for Init go through
...
Fixes booting games with OpenBIOS and its Init spam.
2024-06-08 16:58:08 +10:00
Stenzek
7222c21cd9
CDROM: Further refine interrupt delay
2024-05-31 23:59:44 +10:00
Stenzek
d013438810
CDROM: Rewrite BFRD handling
...
Fixes hang on startup in Unirom.
2024-05-31 19:45:42 +10:00
Stenzek
3063101274
CDROM: Implement 0x60 test command
...
Apparently needed for unirom.
2024-05-30 22:34:06 +10:00
Stenzek
25bf2b3adc
CDROM: Clear async interrupt on read/seek start
...
Fixes broken audio in Road Rash.
2024-05-30 20:49:58 +10:00
Stenzek
2ff1f398a3
CDROM: Handle INT1 with pending command
...
Fixes lockup during track playback in Gokujou Parodius Da! Deluxe Pack.
2024-05-25 16:10:09 +10:00
Stenzek
1565a2667d
Misc: More format string fixes
2024-05-25 15:48:31 +10:00
Stenzek
4e922a34a7
Log: Simplify macros
2024-05-24 02:08:14 +10:00
Stenzek
b6d019db66
Misc: Replace log printf calls with fmt
2024-05-24 00:29:49 +10:00
Stenzek
ca3cfbaa99
Misc: Pass string_view by value
2024-05-05 22:28:29 +10:00
Stenzek
71f50566f3
System: Consider pending ticks when using global ticks
2024-04-07 19:01:48 +10:00
Stenzek
de1e5b24fb
CDROM: Don't send reports when subq isn't valid
2024-03-26 01:20:33 +10:00
Stenzek
fa6850902a
CPU: Make interrupts actually edge-triggered
2024-03-18 01:46:19 +10:00
Stenzek
3395853ba2
CDROM: Fix overflow in UpdatePositionWhileSeeking()
2024-03-13 14:14:40 +10:00
Stenzek
7340324ed9
CDROM: Accuracy improvements
2024-02-29 17:00:51 +10:00
Stenzek
79c226efff
SmallString: fmt -> format, format -> sprintf
2023-12-13 21:06:15 +10:00
Stenzek
df91c63b31
CDROM: Add PVD/directory entries to file map
2023-11-30 14:38:38 +10:00
Stenzek
35799aba47
CDROM: Add current file to debug window
2023-11-29 22:01:45 +10:00
Stenzek
cce7be4723
Misc: Make struct member functions file-local
2023-11-18 16:46:11 +10:00
Stenzek
38bc2bd057
CDROM: Add option to choose emulated mechacon version
2023-11-05 14:43:38 +10:00
Stenzek
edae13d9e4
CDROM: Log command parameters
2023-11-05 13:32:25 +10:00
Stenzek
ecb082b672
CDROM: Add NEON implementation of GetPeakVolume()
2023-10-01 17:24:34 +10:00
Stenzek
01e505ec8b
Common: Add intrin.h
2023-10-01 17:24:34 +10:00
Stenzek
b1bb33a566
Common: Move CPU macros to types.h
2023-10-01 13:57:25 +10:00
Stenzek
ac0601f408
Common: Drop String, add SmallString
2023-09-23 14:14:52 +10:00
Stenzek
adc124c759
Misc: Unreachable code warning fixes
2023-09-05 22:10:50 +10:00
Stenzek
80e3d29ab8
Misc: clang-cl warning clean-up
2023-09-03 14:30:26 +10:00
Stenzek
e23c9875d5
Misc: Split core and util Host
2023-08-30 00:44:00 +10:00
Stenzek
e57ad0b6aa
Host: Backport translations cache
...
Note: You'll need a new command line for lupdate.
..\..\..\dep\msvc\qt\6.5.0\msvc2022_64\bin\lupdate.exe ../ ../../core/ ../../util/ -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATE,QT_TRANSLATE_NOOP+=TRANSLATE_SV,QT_TRANSLATE_NOOP+=TRANSLATE_STR,QT_TRANSLATE_NOOP+=TRANSLATE_FS,QT_TRANSLATE_N_NOOP3+=TRANSLATE_FMT,QT_TRANSLATE_NOOP+=TRANSLATE_NOOP -ts duckstation-qt_LANGUAGE.ts
2023-08-20 12:40:47 +10:00
Stenzek
a00a4391ca
Common: DynamicHeapArray/FixedHeapArray
2023-08-19 21:18:28 +10:00
Stenzek
9aa6c24620
System: Store game hash as well as serial
2023-05-15 23:39:07 +10:00
Stenzek
fe41e92579
CDROM: Improve handling of command spam
...
Fixes booting games with OpenBIOS.
2023-04-14 18:14:21 +10:00
NicknineTheEagle
bd7517b0c9
CDROM: Try to reject non-PS1 discs
2023-01-20 05:46:22 +03:00
NicknineTheEagle
7270531c3d
CDROM: Fix region check
2023-01-20 05:46:20 +03:00
Stenzek
95306d3362
CDROM: Slightly adjust seek timing when on target
...
Fixes Resident Evil 3 booting.
2023-01-17 18:38:19 +10:00
Connor McLaughlin
0683b9fa0e
InterruptController: Convert to namespace
2023-01-11 19:15:59 +10:00
Connor McLaughlin
3acf569d67
DMA: Convert to namespace
2023-01-11 19:15:59 +10:00
Connor McLaughlin
90fe071dda
CDROM: Adjust Init timing
2023-01-11 19:15:59 +10:00
Connor McLaughlin
2c125bde8c
CDROM: Fix size of debug window
2023-01-09 22:20:27 +10:00
Connor McLaughlin
9de849aa66
CDROM: Delay async interrupts immediately after ACKs
...
Fixes music playback stopping in Ogre Battle.
Closes #2596 .
Closes #575 .
2023-01-09 22:20:27 +10:00
Connor McLaughlin
dd73811628
CDROM: Convert to namespace
2023-01-09 22:20:27 +10:00
Connor McLaughlin
1905ce3e01
CDROM: Don't prevent GetlocL after Init
...
Console apparently just returns whatever was in memory, even though it
seeked to the start. Fixes Meremanoid booting.
2022-12-08 19:56:00 +10:00
Connor McLaughlin
8c7a192128
Misc: Add copyright/license statement to applicable files
...
Should've did this in the beginning.
2022-12-04 21:03:49 +10:00
Connor McLaughlin
a6f5ac264e
CDROM: Handle some edge cases
...
- Reel Fishing: Reads while an implicit seek is still going.
- Transformers - Beast Wars: Needs a longer delay when it issues a
ReadN after a SeekL and simulated position hits exactly.
2022-11-28 18:04:28 +10:00
Connor McLaughlin
c9d13c028e
CDROM: Debugger names for some commands
2022-10-13 22:53:16 +10:00
Connor McLaughlin
adf41b9bbd
D3D12HostDisplay: Implement post processing
2022-10-13 22:13:09 +10:00
Connor McLaughlin
cc3fadba14
Qt: Move downsampling to enhancement settings
2022-10-13 17:55:25 +10:00
Connor McLaughlin
5498ddfab7
RegTest: Port to new host abstractions
2022-10-13 17:27:09 +10:00
Connor McLaughlin
5b2c18e27c
SPU: Convert to namespace
2022-08-15 17:22:23 +10:00
Connor McLaughlin
e1383d15aa
CDROM: Fix crash when changing readahead sectors
2022-08-01 23:07:40 +10:00
Connor McLaughlin
c2f4b7e7b8
CDROM: Only apply extra remove delay on disc swap
2022-07-26 20:14:45 +10:00
Connor McLaughlin
1057e42956
CDROM: Add additional time to auto disc swap
2022-07-26 18:52:25 +10:00
Connor McLaughlin
a1edddc59d
CDROM: Revamp/improve preload image procedure
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
b7fbde31a7
Move utility classes from common to own static lib
2022-07-21 17:29:58 +10:00
Connor McLaughlin
fd76f437b3
Core: Purge WITH_IMGUI define
2022-03-27 16:59:02 +10:00
Connor McLaughlin
ec31690587
CDROM: Fix incorrect delay on setmode while shell opening
2021-11-05 15:19:23 +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
a44e9d16fb
CDROM: Fix second response event getting lost on state load
2021-08-24 11:57:06 +10:00
Connor McLaughlin
18241978ea
CDROM: Cancel command second response when queuing new command
...
Fixes Wipeout corrupting parts of the TOC.
2021-08-18 00:25:19 +10:00
Connor McLaughlin
c962e9899d
CDROM: Reject invalid Setloc commands
...
Fixes delays in Simple 1500 Series Vol. 31 - The Sound Novel.
2021-07-12 21:14:06 +10:00
Connor McLaughlin
a32ef4a963
CDROMAsyncReader: Support reading ahead more sectors
2021-07-12 21:14:06 +10:00
Connor McLaughlin
37e50c62f0
CDROM: Fix intermediate seek->read status transition
2021-06-30 14:38:30 +10:00
Connor McLaughlin
5488bf7128
CDROM: Ignore speed change for non-cued Play
2021-06-25 00:20:26 +10:00
Connor McLaughlin
bc34a75e03
CDROM: Add missing include for <cmath>
2021-06-19 15:23:25 +10:00
Connor McLaughlin
67344070ea
CDROM: Improve simulation of seek timing
2021-06-19 15:16:01 +10:00
Connor McLaughlin
2c19c7ce57
CDROM: Cancel speed changes if they're not complete
2021-06-19 15:16:01 +10:00
Connor McLaughlin
b1776dea61
CDROM: Simulate position holding for GetlocL too
2021-06-19 15:16:01 +10:00
Connor McLaughlin
2548f75267
CDROM: Differentiate between logical and physical hold
2021-06-15 22:44:21 +10:00
Connor McLaughlin
16c02c8559
CDROM: Don't apply speed change delay when already changing
2021-06-14 19:36:37 +10:00
Connor McLaughlin
f4da56efea
CDROM: Simulate the time it takes to change speeds
2021-06-14 14:56:35 +10:00
Connor McLaughlin
38288e6b36
CDROM: Factor in implicit seeks when calculating time
2021-06-14 13:47:55 +10:00
Connor McLaughlin
f2bfbabdcb
CDROM: Don't reset full state on Reset command
2021-06-14 13:47:41 +10:00
Connor McLaughlin
aa675163e2
CDROM: Fix second response event not being cleaned up
2021-06-14 13:47:04 +10:00
Connor McLaughlin
74013a0853
CDROM: Use physical position for seek time calculations
2021-06-12 18:09:28 +10:00
Connor McLaughlin
36bfc461f9
CDROM: Refactor start/stop/second response
2021-06-12 18:09:28 +10:00
Connor McLaughlin
9d36ce757d
CDROM: Simulate motor spin-up time
...
Fixes disc changing in Tales of Destiny II.
2021-06-11 20:47:46 +10:00
Connor McLaughlin
95247b0b5e
CDROM: Don't set motor on before calc read/play time
2021-06-11 20:47:46 +10:00
Connor McLaughlin
3cb01bf23d
CDImage: Fix compilation on Linux
2021-06-01 22:04:25 +10:00
Connor McLaughlin
56c08254c9
CDImage: Fix incorrect index returned for track-relative 00:02:00
...
Fixes some voice lines being very briefly cut off in Tomb Raider.
2021-05-27 03:48:02 +10:00
Connor McLaughlin
98e4c181ca
CDROM: Add seek speedup enhancement
2021-05-23 16:18:34 +10:00
Connor McLaughlin
0a50ca3f18
CDROM: Improve CDDA report logging
2021-04-22 13:40:48 +10:00
Connor McLaughlin
e64f8cc2c5
CDROM: Jump to seek target on pause while seeking
...
Fixes music in No Fear Downhill Mountain Biking, but needs more hardware
tests to confirm the behavior here.
2021-04-21 01:44:33 +10:00
Connor McLaughlin
5af6424324
CDROM: More conservative handling of INT1-while-pending-INT3 case
2021-04-19 15:39:44 +10:00
Connor McLaughlin
62360d088a
CDROM: Send IRQ1 for triple buffered sectors
...
Fixes hangs in loading in Eliminator and Colony Wars - Vengeance.
2021-04-19 15:19:08 +10:00
Connor McLaughlin
8df0496dc1
CDROM: Store last subq even when auto-pausing
...
Fixes track looping in Fighting Force PAL.
2021-04-11 12:36:52 +10:00
Connor McLaughlin
6a0bd7ee64
CDROM: Clear setloc pending on redundant read
...
Fixes palette corruption in Joshikousei no Houkago... Pukunpa.
2021-04-10 14:52:15 +10:00
Connor McLaughlin
2ac6f60bbb
Rename cpu_detect.h to platform.h and add OS
2021-04-04 13:01:43 +10:00
Connor McLaughlin
85c5b99b7a
CDROM: GetID should return error when no disc
2021-03-28 13:47:52 +10:00
Connor McLaughlin
50d712c3fe
CDImage: Support sub-images, use subimages for m3u
2021-03-27 15:18:29 +10:00
Connor McLaughlin
25d4060bce
CDROM: Hold position at end of track, not start of next
2021-03-19 01:58:43 +10:00
Connor McLaughlin
4441bb1a91
CDROM: Apply volume on output not sector read
...
Fixes audio starting too late in Mega Man Legends.
2021-03-18 13:00:58 +10:00
Connor McLaughlin
ee190ef561
CDROM: Fix typo in ResetPhysicalPosition()
2021-03-07 17:34:16 +10:00
Connor McLaughlin
2c1999e622
CDROM: Simulate holding position for GetlocP
...
Fixes lockups in Tomb Raider.
2021-02-14 18:36:21 +10:00
Connor McLaughlin
c6c67b7b27
ImGui: Remove close button from debug windows
...
They can be closed by unchecking the setting instead, and it stays in
sync with the config this way.
2021-02-12 01:01:30 +10:00
Connor McLaughlin
b7752ff30b
CDROM: Update position when pausing while seeking instead of erroring
...
This was causing freezes in FF7 - needs more research.
2021-01-25 01:49:35 +10:00
Connor McLaughlin
02948f988d
CDROM: Return 0x00 on response FIFO overread
...
Fixes CyberSled hanging on boot.
2021-01-14 01:51:01 +10:00
Connor McLaughlin
19032750b4
CDROM: Don't treat no-region discs as audio CDs
...
Fixes some homebrew games not booting.
2021-01-11 01:05:21 +10:00
Connor McLaughlin
11992bde4e
TimingEvents: Use function pointers instead of std::function
2021-01-10 01:45:07 +10:00