Commit Graph

1388 Commits (7bb087fe737617b41da266032c6a17c5ed5d1783)
 

Author SHA1 Message Date
Connor McLaughlin f566ca7a50 GL/ShaderCache: Recreate cache when creating program from binary fails
This is probably due to a driver or GPU change, so all programs will be
"bad" and if we don't start from scratch, we'll never cache any new
program versions.
5 years ago
Connor McLaughlin ca2f691dbe Common: Add GL Shader Cache class 5 years ago
Connor McLaughlin ef4808bbde GL/Program: Add program binary interface 5 years ago
Connor McLaughlin 256cb8a82c GL/Program: Make moveable 5 years ago
Connor McLaughlin 7f5c6f8b4f GPU/HW: Move some flush checks to command time 5 years ago
Connor McLaughlin 5302f83818 GPU: Clamp coordinates to 11 bits after applying drawing offset
Fixes flickering in some scenes (e.g. Galbadia Missile Base).
5 years ago
Connor McLaughlin 48fba47ee6 GPU: Implement skip-drawing-to-active-field for interlaced mode
Currently only in the software renderer.
5 years ago
Connor McLaughlin ba98bf345a CI: Remove unit tests before packaging 5 years ago
Connor McLaughlin 5b6027e6bb Add common-tests and rectangle class tests 5 years ago
Connor McLaughlin 26313b093c dep: Add googletest 5 years ago
Connor McLaughlin 643e429ad2
Merge pull request #211 from ggdrt/patch-0
GPU: Fix "Draw To Display Area" debug reporting
5 years ago
Connor McLaughlin 2a6e04988f GPU/HW: Simplify 24-bit scanout and interlacing shader
Has the added bonus of being faster (no downscale copy) and fixes the
edge case where the image is cropped in VRAM.
5 years ago
Connor McLaughlin 1d948a53e0 SPU: Reinitialize transfer event on loading state 5 years ago
Albert Liu b27e030059 GPU: Fix "Draw To Display Area" debug reporting 5 years ago
Connor McLaughlin 3daa6b469a Build: Explicitly disable spectre mitigations
Mitigations-off gave a roughly 20-25% boost in performance on my laptop
(i7-7700HQ), even with the recompiler.

It seems AppVeyor was building with them enabled. You shouldn't treat an
emulator like a sandbox and run untrusted code in it amyway.
5 years ago
Connor McLaughlin 31581763a3 GPU: Correct starting position for polyline terminator search
Fixes broken visuals in Wild Arms, probably others.
5 years ago
Connor McLaughlin 0eb740a0aa Qt: Add CDROM Enable Region Check option 5 years ago
Connor McLaughlin 9933910312 SDL: Add CDROM Enable Region Check option 5 years ago
Connor McLaughlin 15c33ebedb CDROM: Add "Enable Region Check" option 5 years ago
Connor McLaughlin e36e70a266 CDROM: Drop sector buffer not read back to dev log level
This happens a lot in games and it's perfectly fine, but sometimes it
can mean the game is wedged and not receiving data.
5 years ago
Connor McLaughlin f6711cbafa CDROM: Pausing while seeking should be an error response
Confirmed by hardware test.
5 years ago
Connor McLaughlin 00c24c2501 CDROM: Adjust ACK timings to be closer to hardware test results
Fixes Shrek Treasure Hunt.
5 years ago
Connor McLaughlin 8439e1c54e GPU: Adjust visible ticks/lines, fix underflow in height 5 years ago
Connor McLaughlin 6bc91f2157 GPU: Polyline must have at least two vertices
Fixes GPU stream corruption in Lifeforce Tenka.
5 years ago
Connor McLaughlin eaf13a1461 GPU: Fix flipped MSB/LSB for single pixel reads 5 years ago
Connor McLaughlin f13cfce34d GPU: Fix incorrect polyline terminator check
Fixes Gran Turismo 2, maybe others.
5 years ago
Connor McLaughlin a9109c7552 System: Don't insert blank memory card if path unspecified 5 years ago
Connor McLaughlin 3f042cd477 CDROM: Fix play command with parameter forever seeking
Fixes audio playback when selecting track in BIOS CD player.
5 years ago
Connor McLaughlin 3a31282fe6 CDROM: GetTN should return first_track, last_track
Fixes CDDA playback in Street Sk8er, Jellyfish - The Healing Friend,
probably others.
5 years ago
Connor McLaughlin 7ecac6dbcf CDImage: Use track's control instead of last track's control for pregap 5 years ago
Connor McLaughlin 02f67a801e CDROM: Fix behavior of stat bit 5 according to hardware tests 5 years ago
Connor McLaughlin deb2865606 CDROM: Preserve header valid bit on more commands
Fixes Goryuujin Electro hanging on boot.
5 years ago
Connor McLaughlin 0e0bd2852f CDROM: Trigger INT5 on shell open
This behaviour has been verified on console.

Fixes disc swap detection in "Arc the Lad III"
5 years ago
Connor McLaughlin 2292292956 CDROM: Set mode to read raw sectors after reset
Fixes "This is Football 2", possibly others.
5 years ago
Connor McLaughlin 148279e2f2 GPU: Rewrite CRTC display modeling and overscan handling 5 years ago
Connor McLaughlin fe824d6c89 GPU: Display VRAM with 1:1 pixel ratio rather than scaling 5 years ago
Connor McLaughlin 21ddfacd40 Settings: Add missing crop mode save 5 years ago
Connor McLaughlin e6d5a9d3e4 GPU: Add missing blitter ticks reset to SoftReset() 5 years ago
Connor McLaughlin 10197506c5 CDROM: Implement 8-sector buffering behavior 5 years ago
Connor McLaughlin a988384423 Common/HeapArray: Fix move construction/assignment 5 years ago
Connor McLaughlin 46239e6758 GPU: Fix GP0(1Fh) locking up emulator 5 years ago
Connor McLaughlin 5dbdc0b60c DMA: Remove timing events
We'll probably need to revert/re-add a variant of this when we
eventually implement chopping. But for now it simplifies things.
5 years ago
Connor McLaughlin 423f04325f SPU: Implement timing for RAM reads/writes 5 years ago
Connor McLaughlin 20025b2ffd Qt: Hide mouse cursor in fullscreen mode
Fixes #135.
5 years ago
Connor McLaughlin 22a0d8f93c CDROM: Implement Sync/00h command 5 years ago
Connor McLaughlin 0b347e2151 GPU/HW: Implement flipped quad coordinate hack from beetle-psx
Fixes graphical glitches around the edges of flipped sprites.
5 years ago
Connor McLaughlin f23bcc0faa SPU: Ignore loop start flag when repeat address is explicitly set
Fixes dialog/softlock in Thousand Arms.
5 years ago
Connor McLaughlin 08ad5aad53 SPU: Run muted voices when IRQ is enabled
Fixes SPU timeout in Casper. We can still optimize for most games where
interrupts are not used by completely ignoring muted voices in those.
5 years ago
Connor McLaughlin 54abd37daa GPU: Let the GPU drive DMA transfers for large time slices
Fixes FMV breakage... again.
5 years ago
Connor McLaughlin d4ae0f13fe MDEC: Refactoring and fixes 5 years ago