Commit Graph

91 Commits (dd9788262e19a4da74ff037c7dada1bdb07dbcbf)

Author SHA1 Message Date
Stenzek 080807e557
CDROM: Move subchannel replacement from CDImage
This will allow you to use SBI/LSD files with real discs, if your
drive does not support reading subchannels, or has an incorrect
skew.
1 year ago
Stenzek 86a28d5dc0
ImGuiOverlays: Move debug state to auxiliary windows 1 year ago
Stenzek 7f4e5d55db
Misc: Update copyright headers 1 year ago
Stenzek 9aa6c24620 System: Store game hash as well as serial 3 years ago
NicknineTheEagle bd7517b0c9 CDROM: Try to reject non-PS1 discs 3 years ago
Connor McLaughlin dd73811628 CDROM: Convert to namespace 3 years ago
Connor McLaughlin 8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
3 years ago
Connor McLaughlin c9d13c028e CDROM: Debugger names for some commands 3 years ago
Connor McLaughlin cc3fadba14 Qt: Move downsampling to enhancement settings 3 years ago
Connor McLaughlin c2f4b7e7b8 CDROM: Only apply extra remove delay on disc swap 3 years ago
Connor McLaughlin a1edddc59d CDROM: Revamp/improve preload image procedure 3 years ago
Connor McLaughlin b42b5501f6 UI: Massive revamp, new features and improvements 3 years ago
Connor McLaughlin b7fbde31a7 Move utility classes from common to own static lib 3 years ago
Connor McLaughlin a32ef4a963 CDROMAsyncReader: Support reading ahead more sectors 4 years ago
Connor McLaughlin 37e50c62f0 CDROM: Fix intermediate seek->read status transition 4 years ago
Connor McLaughlin 67344070ea CDROM: Improve simulation of seek timing 4 years ago
Connor McLaughlin b1776dea61 CDROM: Simulate position holding for GetlocL too 4 years ago
Connor McLaughlin f4da56efea CDROM: Simulate the time it takes to change speeds 4 years ago
Connor McLaughlin 74013a0853 CDROM: Use physical position for seek time calculations 4 years ago
Connor McLaughlin 36bfc461f9 CDROM: Refactor start/stop/second response 4 years ago
Connor McLaughlin 9d36ce757d CDROM: Simulate motor spin-up time
Fixes disc changing in Tales of Destiny II.
4 years ago
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.
5 years ago
Connor McLaughlin 50d712c3fe CDImage: Support sub-images, use subimages for m3u 5 years ago
Connor McLaughlin 4441bb1a91 CDROM: Apply volume on output not sector read
Fixes audio starting too late in Mega Man Legends.
5 years ago
Connor McLaughlin 2c1999e622 CDROM: Simulate holding position for GetlocP
Fixes lockups in Tomb Raider.
5 years ago
Connor McLaughlin 8c8f29c047 CDROM: Double audio FIFO low watermark size
Gives a better chance to catch up in case of desyncs.
5 years ago
Connor McLaughlin 75aa52ab06 CDROM: Fail reads immediately for audio/unlicensed CDs
Fixes first track being unavailable on audio CDs in Vib-Ribbon.
5 years ago
Connor McLaughlin f9ac25f2b8 CDROM: Actually fix playing tracks 10+ 5 years ago
Connor McLaughlin a6947fbc70 CDROM: Implement fast forward/rewind 5 years ago
Connor McLaughlin 27697d0508 System: Implement CPU overclocking [SAVEVERSION+]
Partial credit to @CookiePLMonster as well.
5 years ago
Connor McLaughlin b6f871d2b9
JIT optimizations and refactoring (#675)
* CPU/Recompiler: Use rel32 call where possible for no-args

* JitCodeBuffer: Support using preallocated buffer

* CPU/Recompiler/AArch64: Use bl instead of blr for short branches

* CPU/CodeCache: Allocate recompiler buffer in program space

This means we don't need 64-bit moves for every call out of the
recompiler.

* GTE: Don't store as u16 and load as u32

* CPU/Recompiler: Add methods to emit global load/stores

* GTE: Convert class to namespace

* CPU/Recompiler: Call GTE functions directly

* Settings: Turn into a global variable

* GPU: Replace local pointers with global

* InterruptController: Turn into a global pointer

* System: Replace local pointers with global

* Timers: Turn into a global instance

* DMA: Turn into a global instance

* SPU: Turn into a global instance

* CDROM: Turn into a global instance

* MDEC: Turn into a global instance

* Pad: Turn into a global instance

* SIO: Turn into a global instance

* CDROM: Move audio FIFO to the heap

* CPU/Recompiler: Drop ASMFunctions

No longer needed since we have code in the same 4GB window.

* CPUCodeCache: Turn class into namespace

* Bus: Local pointer -> global pointers

* CPU: Turn class into namespace

* Bus: Turn into namespace

* GTE: Store registers in CPU state struct

Allows relative addressing on ARM.

* CPU/Recompiler: Align code storage to page size

* CPU/Recompiler: Fix relative branches on A64

* HostInterface: Local references to global

* System: Turn into a namespace, move events out

* Add guard pages

* Android: Fix build
5 years ago
Connor McLaughlin 8e1c0a4fe4 System: Support loading m3u playlists 5 years ago
Connor McLaughlin f28ef01d24 CDROM: Move audio FIFO to CDROM class and skip sectors when unempty
Fixes cutscene audio in Nickelodeon Rugrats - Search for Reptar.
5 years ago
Connor McLaughlin 93528db388 System: Use existing CD media when loading state where possible 5 years ago
Connor McLaughlin 50a25b63b1 CDROM: Track seek position when resetting
Fixes Blasto hanging after starting game.
5 years ago
Connor McLaughlin dcfb929de5 CDROM: Fix double-reads hitting incorrect sector again
Fixes Bedlem / Rise 2 without breaking Vigilante 8 - 2nd Offense.
6 years ago
Connor McLaughlin a4f79de7f6 CDROM: Return error for incorrect parameter count 6 years ago
Connor McLaughlin 340640821e CDROM: Add delay when swapping discs
Fixes broken disc swap detection in Metal Gear Solid.
6 years ago
Connor McLaughlin 5d46556b7d CDROM: Update position while seeking for GetlocP
Fixes track selection in WipEout.
6 years ago
Connor McLaughlin e1157bff65 CDROM: Don't delay CDDA report, only skip index 0
Fixes music in Advanced V.G.
6 years ago
Connor McLaughlin d6f6154380 CDROM: Read last delivered sector when pausing and reading without seek
Fixes Adidas Pro Soccer, Bedlem, Rise 2.
6 years ago
Connor McLaughlin d866bd9cb8 CDROM: Reset XA resampler state on read
Should get rid of pops when switching files.
6 years ago
Connor McLaughlin 5b389ae13d CDROM: Synthesize lead-out area and stop reading when reached 6 years ago
Connor McLaughlin a4416d8cf5 CDROM: Add seek time when starting reading/playing without setloc 6 years ago
Connor McLaughlin 05e4e7d262 CDROM: Add timing for speed changes/adjust seek timing
This makes the BIOS take longer to load the executable off the disc,
giving the sound effects longer to fade out and reducing the overlap
with the game.
6 years ago
Connor McLaughlin 08567fedf4 CDROM: Fix crash when loading save state from different system 6 years ago
Connor McLaughlin 0c1547d9e3 CDROM: Don't use valid bit for last subq, read on reset
Fixes GetlocP failing after resetting the system, causing some FMVs to
break/games to get wedged.
6 years ago
Connor McLaughlin 45d7294c3c CDROM: Limit XA playback to first-identified file/channel
Fixes background music in initial menu of Tomb Raider III.
6 years ago
Connor McLaughlin f6711cbafa CDROM: Pausing while seeking should be an error response
Confirmed by hardware test.
6 years ago
Connor McLaughlin 00c24c2501 CDROM: Adjust ACK timings to be closer to hardware test results
Fixes Shrek Treasure Hunt.
6 years ago