Commit Graph

110 Commits (936d92dfb82c8266909417bae46f9b511e840490)

Author SHA1 Message Date
Connor McLaughlin 936d92dfb8 System: Add option to force start in software mode 5 years ago
Connor McLaughlin dad63f2303 GPU: Run draw clock at sysclk * 2 6 years ago
Connor McLaughlin bdf9c91271 GPU: Fix double shader compilation 6 years ago
Connor McLaughlin b4e45e865a GPU: Use correct clocks for NTSC region
Fixes sync drift in Bust-a-Move 1/2.
6 years ago
Connor McLaughlin 3848276fa2 GPU: Improvements to height calculations when interlaced
Fixes screen doubling with interlacing force disabled, as well as
incorrect cropping area when non-interleaved framebuffers are used.
6 years ago
Connor McLaughlin 23436f08ba GPU/HW: More improvements to GPUSTAT.31
Fixes True Pinball without breaking intros to Final Fantasy 7/8.
6 years ago
Connor McLaughlin e368dbbadc GPU: Implement non-interleaved interlaced rendering
Fixes screen shaking in True Pinball.
6 years ago
Connor McLaughlin 19cebd97da GPU: Further refinements to crop overscan
Fixes flickering line in South Park.
6 years ago
Connor McLaughlin 0ef0c36704 GPU: Align display widths to 4 pixels
Documentation thanks to nocash.

Fixes line on edge in X2 - No Relief, Gunbird.
6 years ago
Connor McLaughlin 664bd06df6 GPU: Don't recursively execute commands
This can happen with interlaced rendering on when a line is pending
scanout and a primitive is drawn.

Fixes screen transitions in Slap Happy Rhythm Busters.
6 years ago
Connor McLaughlin 2185bbec73 GPU: Display state in debug window 6 years ago
Connor McLaughlin 597aa20d83 GPU: Don't panic when FIFO is non-empty with VRAM->CPU copy
This probably is not a good state to be in though, since the DMA request
gets turned off and will never resume until it's copied out.
6 years ago
Connor McLaughlin b25ed6c151 GPU: Fix interlaced rendering in vblank breaking 6 years ago
Connor McLaughlin c114873ed8 GPU: Fix height underflow in CRTC calculations 6 years ago
Connor McLaughlin 3472e37d21 GPU: Synchronize before clearing FIFO 6 years ago
Connor McLaughlin c0ea35ccdc GPU: Fix parameters not applying on startup 6 years ago
Connor McLaughlin 65c42cd30e GPU: Don't use field offset for ODE in vblank 6 years ago
Connor McLaughlin 5a1b00825d GPU: Fix timer 1 IRQs sometimes triggering late
Should hopefully fix missing voices in Akuji the Heartless.
6 years ago
Connor McLaughlin be9033b6c0 SPU: Add missing clamp in ADPCM decoder 6 years ago
Connor McLaughlin 8c6cb877eb GPU: Disable display when CRTC configuration is invalid 6 years ago
Connor McLaughlin 2ffcad3d37 GPU: Add method to convert from window coordinates to beam ticks/lines 6 years ago
Connor McLaughlin b893c0abf5 GPU/Software: Fix copies when overlapping and oversized 6 years ago
Connor McLaughlin 1757932b3a GPU: Implement FIFO and timings
This will cause a slight performance loss. I've left some knobs in which
can be tweaked to mitigate this, but the goal is to be compatible with
all games which require them.
6 years ago
Connor McLaughlin 7779a54bc5 GPU: Rename 'Force Progressive Scan' to 'Disable Interlacing'
It affects rendering as well as display/scanout now, after all.
6 years ago
Connor McLaughlin 9e024b7a51 GPU: Handle VRAM wrap-around behavior on scanout 6 years ago
Connor McLaughlin fbfd838e22 GPU: Add pixel aspect ratio option
Can display in 4:3, 16:9, 1:1 ratios.
6 years ago
Connor McLaughlin 3325d2c42c GPU: Add Force NTSC timings option
This option forces NTSC timings for PAL games, causing them to either
run faster (more likely) or smoother (less likely).
6 years ago
Connor McLaughlin c483a78889 GPU: Implement interlaced VRAM fills 6 years ago
Connor McLaughlin 2aecb570c1 GPU: Implement interlaced rendering in hardware backends 6 years ago
Connor McLaughlin 7f5c6f8b4f GPU/HW: Move some flush checks to command time 6 years ago
Connor McLaughlin 48fba47ee6 GPU: Implement skip-drawing-to-active-field for interlaced mode
Currently only in the software renderer.
6 years ago
Connor McLaughlin 643e429ad2
Merge pull request #211 from ggdrt/patch-0
GPU: Fix "Draw To Display Area" debug reporting
6 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.
6 years ago
Albert Liu b27e030059 GPU: Fix "Draw To Display Area" debug reporting 6 years ago
Connor McLaughlin 8439e1c54e GPU: Adjust visible ticks/lines, fix underflow in height 6 years ago
Connor McLaughlin eaf13a1461 GPU: Fix flipped MSB/LSB for single pixel reads 6 years ago
Connor McLaughlin 148279e2f2 GPU: Rewrite CRTC display modeling and overscan handling 6 years ago
Connor McLaughlin e6d5a9d3e4 GPU: Add missing blitter ticks reset to SoftReset() 6 years ago
Connor McLaughlin 54abd37daa GPU: Let the GPU drive DMA transfers for large time slices
Fixes FMV breakage... again.
6 years ago
Connor McLaughlin 452c6e16d1 GPU: Fix blitter ticks not being counted
Fixes Monkey Hero, again...
6 years ago
Connor McLaughlin 40d6be7142 System: Frame pacing improvements 6 years ago
Connor McLaughlin e2e2b573c0 GPU/HW: Move drawing offset to CPU-side
Saves updating the uniform buffer.
6 years ago
Connor McLaughlin 904ab982e6 GPU: Fix crash when fill rectangles are out-of-bounds 6 years ago
Connor McLaughlin d67bcd654c GPU: Prevent emulator locking up when switching between PAL/NTSC mode 6 years ago
Connor McLaughlin f9a298f1b7 GPU: Fix incorrect handling of check mask bit
Fixes boxes in Silent Hill in Software Renderer.
6 years ago
Connor McLaughlin 34f1c644f5 GPU: Update GPUSTAT if raster has passed to the next line
Fixes games which poll GPUSTAT, including The Next Tetris (Europe).
6 years ago
Connor McLaughlin b0b1fd8f1a GPU: Timing for CPU->VRAM transfers
Fixes Monkey Hero, probably others.
6 years ago
Connor McLaughlin 6b9c6d3750 GPU: Add a helper function to determine how many GPU ticks are pending 6 years ago
Connor McLaughlin 7412e78aa1 GPU: Move software copy/fill functions to base class so it can be used as fallback 6 years ago
Connor McLaughlin aa56a59f58 GPU: Make resolution info less spammy 6 years ago