db364d0e95
Timers: Convert to namespace
2023-01-11 19:15:59 +10:00
3acf569d67
DMA: Convert to namespace
2023-01-11 19:15:59 +10:00
8c7a192128
Misc: Add copyright/license statement to applicable files
...
Should've did this in the beginning.
2022-12-04 21:03:49 +10:00
0709f92ac1
Misc: Cleanup/deduplicate from c9cba5e
2022-10-13 17:37:39 +10:00
a9038133c8
HostDisplay: Common texture base class for all APIs
2022-10-04 00:00:56 +10:00
bec0d6e7df
HostDisplay: Add GPU usage statistics
2022-09-03 14:17:51 +10:00
fc40397818
GPU: Don't set empty post chain
2022-07-23 13:55:09 +10:00
b42b5501f6
UI: Massive revamp, new features and improvements
2022-07-22 21:19:54 +10:00
b7fbde31a7
Move utility classes from common to own static lib
2022-07-21 17:29:58 +10:00
fd76f437b3
Core: Purge WITH_IMGUI define
2022-03-27 16:59:02 +10:00
13c5ee8bfb
GPU: Fix incorrect value for status bit 13
...
Fixes openbios boot animation.
2021-09-29 10:48:55 +10:00
497a5b8dd1
GPU: Don't reset CRTC state on soft reset
2021-09-29 10:48:25 +10:00
461e6aa50b
GPU: Update display on reset
2021-08-24 11:57:12 +10:00
628dc36e77
GPU: Add GPU::GetFullDisplayResolution()
2021-08-24 11:57:09 +10:00
256f272768
Support custom and match display aspect ratios
2021-04-30 02:53:03 +10:00
88618bde1c
GPU: Correct value of ODE bit in vblank
...
Fixes line streaks in Dead or Alive.
2021-04-15 01:32:08 +10:00
ddea2818d9
Qt: Add renderer/resolution to status bar
2021-03-28 13:47:53 +10:00
b13c51a2e2
GPU/SW: Use new 5-to-8 converters for RGBA8 display
2021-03-18 13:00:58 +10:00
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
ef7d135492
GPU: Fix missing sync when hblank is pending
2021-01-31 16:39:51 +10:00
516d685dd0
System: Add memory-only save states and rewind
2021-01-25 01:15:45 +10:00
699d599d00
GPU: Clear display when disabling DAC and interlaced
...
Fixes old output showing up briefly when it's re-enabled.
2021-01-18 03:28:14 +10:00
2b5cfb272c
Qt: Add dump VRAM and SPU RAM actions
2021-01-13 19:24:41 +10:00
11992bde4e
TimingEvents: Use function pointers instead of std::function
2021-01-10 01:45:07 +10:00
e804fdfdba
GPU: Use floating point coordinates for lightgun
2020-12-19 17:02:01 +10:00
4860313bef
NamcoGuncon: Add an option to scale X coordinates
...
Fixes what appears to be curvature correction at the edges of the
screen.
2020-12-19 17:02:01 +10:00
9d7b63923a
Merge pull request #1235 from valadaa48/CRTCTicksToSystemTicks_optimization
...
Small optimization to GPU::SystemTicksToCRTCTicks
2020-12-17 11:36:21 +10:00
bd8613b120
Merge pull request #1227 from ggrtk/auto-aspect-ratio
...
GPU: Add auto aspect ratio and various fixes
2020-12-17 11:35:48 +10:00
7b6d30a994
GPU/HW: Fix possible VRAM corruption when live switching resolutions
...
Mask bit was getting lost based on guest state.
2020-12-17 01:20:06 +10:00
de8f03bd75
GPU: Add auto (game native) aspect ratio
2020-12-16 02:40:33 -08:00
f5f12fd76d
Small optimization to GPU::SystemTicksToCRTCTicks
2020-12-15 22:31:34 -05:00
1c8a896a55
GPU: Wrap display VRAM coordinates properly
2020-12-14 19:28:59 -08:00
866cbdca4b
GPU: Prevent potential overflow in CRTC visible area calculation
2020-12-14 19:28:59 -08:00
78e42d9b4c
GPU: Clean up CRTC variable naming
2020-12-14 19:28:59 -08:00
b8abf2df95
GPU: Don't apply display offsets when not cropping
2020-12-14 19:28:58 -08:00
d7bd21c06d
Timers: Update when sync is used with sysclk source
...
Fixes hang at boot in Zoku Mikagura Shoujo Tanteidan - Kanketsuhen.
2020-12-06 00:35:54 +10:00
d757056891
GPU: Implement dot clock timer (Timer 0)
...
Fixes softlock in Evil Dead - Hail to the King.
2020-12-06 00:35:54 +10:00
362905e3df
GPU: Add display line offset game setting
...
Use when games need additional cropping.
2020-12-04 00:33:04 +10:00
b45bee5954
libretro: Work around crash in RetroArch Vulkan driver
2020-11-25 23:06:41 +10:00
2595e31575
GPU: Split software to frontend/backend
2020-11-21 18:39:04 +10:00
03d4f80883
GPU: Move enums/types into separate file
2020-11-21 18:39:04 +10:00
0726ad1275
GPU: Flush partial VRAM writes to backend VRAM
2020-11-19 00:40:02 +10:00
473cfffa0c
GPU: Only accept DMA writes when FIFO is empty or command incomplete
...
Fixes a bunch of games, including Red Asphalt, Little Princess, Vampire
Hunter D main menu when combined with tight DMA sync.
2020-11-16 01:00:55 +10:00
a1453ee8a5
GPU: Skip full CRTC update on GP1(05h)
2020-10-23 19:37:56 +10:00
6bc7cf29cc
GPU: Synchronize CRTC on GP1(05h) command
...
Fixes text flashing briefly after startup PlayStation logo in King's
Field (USA).
2020-10-22 21:41:42 -07:00
ca7db7a2d2
GPU: Update CRTC debug window reporting
2020-10-21 23:17:39 -07:00
1a0b1a3149
GPU: Use accurate VRAM display width rounding
...
Modified version of Nocash algorithm, confirmed with hardware test.
Relies on proper horizontal display range rounding for correct results.
2020-10-21 23:17:39 -07:00
bbaebfd4c9
GPU: Round horizontal display range values down to clockdiv multiple
...
GP1(06h) X1 and X2 are persistent across clockdiv changes, but the GPU
actively uses rounded values for display output. This behavior is
modeled by storing the rounded values in horizontal_display_start and
horizontal_display_end. Verified with hardware test.
2020-10-21 23:17:39 -07:00
27697d0508
System: Implement CPU overclocking [SAVEVERSION+]
...
Partial credit to @CookiePLMonster as well.
2020-09-30 23:48:34 +10:00
cacf7a7cc9
GPU: Precompute texture window expression [SAVEVERSION+]
2020-09-30 23:03:52 +10:00