Connor McLaughlin
e37962009e
HostInterface: Add log lettings to ini
2020-05-01 00:58:32 +10:00
Connor McLaughlin
c2ab611097
Common/Log: Properly release console when disabling
2020-05-01 00:58:24 +10:00
Connor McLaughlin
4702110474
Common/Log: Add file output
2020-05-01 00:58:02 +10:00
Connor McLaughlin
828513409f
Qt: Remove unnecessary log spam
2020-04-30 17:46:33 +10:00
Connor McLaughlin
5cd78dcab5
DMA: Fix an unlikely case where LL DMA gets stuck on
...
Fixes Frogger.
2020-04-30 14:52:38 +10:00
Connor McLaughlin
dac114fa4e
Qt: Use coarse timer for background controller polling
...
Fixes high idle CPU usage.
2020-04-30 12:34:14 +10:00
Connor McLaughlin
dc487655df
CDROM: More timing refinements
2020-04-30 01:36:07 +10:00
Connor McLaughlin
5a6c029814
GPU: Disable dual-source blending on Mesa Gen7/Gen7.5
...
Apparently it's broken. Need to look into it more.
2020-04-30 01:27:50 +10:00
Connor McLaughlin
59f055f4b9
HostInterface: Make title-based memory cards the default
2020-04-30 01:21:18 +10:00
Connor McLaughlin
226459b60f
SPU: Add missing register read for ENDX
2020-04-30 01:12:17 +10:00
Connor McLaughlin
2d92e0a819
CDROM: Reduce ACK timing
2020-04-30 00:12:39 +10:00
Connor McLaughlin
557a6c3696
GPU/HW: Work around rasterization differences in OpenGL
...
Strangely, AMD GPUs are fine, it's just NVIDIA and Intel. Time for a
Vulkan renderer?
2020-04-29 21:17:49 +10:00
Connor McLaughlin
940b725c1d
Settings: Make DMA performance parameters tweakable
2020-04-29 20:00:22 +10:00
Connor McLaughlin
9d1eb321ec
DMA: Properly handle infinite linked lists, add cycle stealing
...
Fixes Tekken 2, Hot Wheels Turbo Racing, probably others.
2020-04-29 16:52:15 +10:00
Connor McLaughlin
07e8ddcae2
DMA: Elide intermediate copy where possible
...
Easy 5% performance improvement.
2020-04-29 16:52:11 +10:00
Connor McLaughlin
d80aaf3880
Qt: Fix possible race/crash on shutdown
2020-04-29 16:52:06 +10:00
Connor McLaughlin
8f82987341
Controller: Add basic PlayStation Mouse support
...
Still needs capture/relative movement for a better experience.
2020-04-29 14:00:11 +10:00
Connor McLaughlin
b56546d8ad
Qt: Always poll controllers even when not running
...
Fixes pause hotkey not unpausing when bound to controller.
2020-04-29 13:28:09 +10:00
Connor McLaughlin
5a1b00825d
GPU: Fix timer 1 IRQs sometimes triggering late
...
Should hopefully fix missing voices in Akuji the Heartless.
2020-04-28 20:31:16 +10:00
Connor McLaughlin
a5ff904b33
SPU: Clear ENDX flag on key on
2020-04-28 20:30:16 +10:00
Connor McLaughlin
be9033b6c0
SPU: Add missing clamp in ADPCM decoder
2020-04-28 17:55:43 +10:00
Connor McLaughlin
b16ecd7a86
SPU: ENDX register should get set when looping as well as muting
2020-04-28 16:57:14 +10:00
Connor McLaughlin
ce46dbeeca
GPU/HW: Fix another vertex culling error
2020-04-28 02:07:56 +10:00
Connor McLaughlin
e20fd61f0b
System: Add option to use per-game memory cards with game title as filename
2020-04-28 01:04:10 +10:00
Connor McLaughlin
d04b252962
AnalogController: Reduce the number of commands which enable analog mode
...
Hopefully will fix those games where it's expecting digital outputs but
getting analog.
2020-04-28 00:34:34 +10:00
Connor McLaughlin
8605620c24
SPU: Force all voices off when SPUCNT.15=0
2020-04-27 23:33:24 +10:00
Connor McLaughlin
8c6cb877eb
GPU: Disable display when CRTC configuration is invalid
2020-04-27 21:49:34 +10:00
Connor McLaughlin
79111e4e03
Qt: Add option for memory card type/mode
2020-04-27 16:22:25 +10:00
Connor McLaughlin
bae4945c7a
SDL: Add option for memory card type
2020-04-27 16:22:25 +10:00
Connor McLaughlin
74e455a5f7
System: Support per-game memory cards
2020-04-27 16:22:25 +10:00
Connor McLaughlin
39498849bd
Common/String: Support casting to std::string_View
2020-04-27 16:14:38 +10:00
Connor McLaughlin
36444b264f
GPU/D3D11: Restore API state after updating settings
...
Should fix the debug layer warnings when adjusting resolution scale.
2020-04-27 13:52:59 +10:00
Connor McLaughlin
304391bd00
GPU: Truncate sprite/rectangle positions to 12 bits before rendering
...
Fixes disappearing objects in Skullmonkeys.
2020-04-27 12:51:18 +10:00
Connor McLaughlin
63692a012f
Qt: Add "New..." to input profile save button
...
This will ensure the profile gets saved to the correct location.
2020-04-27 01:05:03 +10:00
Connor McLaughlin
a8c43b0c8c
SDL: Only enable D3D11 break-on-error when debugger attached
2020-04-27 00:53:25 +10:00
Connor McLaughlin
84b8987105
Qt: Only enable D3D11 break-on-error when debugger attached
2020-04-27 00:53:17 +10:00
Connor McLaughlin
746a00743e
GPU/HW: Don't emit dual-source colour writes on opaque pass
...
Fixes warnings triggering in D3D11 debug runtime.
2020-04-27 00:52:02 +10:00
Connor McLaughlin
341b163ca1
Common/BitField: Fix off-by-one error for signed types
...
Fixes Darkstalkers 3 character select screen.
2020-04-27 00:13:24 +10:00
Connor McLaughlin
dc1e1b5adf
GPU/HW: Fix too-large polygon culling
...
Fixes graphical corruption in some levels of Point Blank 2.
2020-04-26 21:43:28 +10:00
Connor McLaughlin
98ff136f67
GPU: Round texture coordinates instead of flooring
...
Fixes misaligned textures in some games such as Crash Bandicoot.
Currently, because the vertex offset is not applied at >1x resolution
scale, this will not work so it is disabled at >1x.
2020-04-26 19:15:50 +10:00
Connor McLaughlin
d1e841f55d
GTE: Use intrinsic CountLeadingZeros()
...
Super tiny micro-optimization.
2020-04-26 18:33:35 +10:00
Connor McLaughlin
28a022547f
CommonTests: Add tests for BitUtils
2020-04-26 18:33:32 +10:00
Connor McLaughlin
5671fde1ae
BitUtils: Make Count{Leading,Trailing}Zeros UB for value==0
2020-04-26 18:32:26 +10:00
Connor McLaughlin
38b075c014
NamcoGunCon: Use mouse position from host display
2020-04-26 17:37:12 +10:00
Connor McLaughlin
1000cb30a9
HostDisplay: Track mouse position
2020-04-26 17:36:49 +10:00
Connor McLaughlin
2502afc3f6
SDL: Hook up mouse button events to bindings
2020-04-26 17:24:00 +10:00
Connor McLaughlin
3723cd5867
Qt: Mouse button binding support
2020-04-26 17:23:42 +10:00
Connor McLaughlin
ce46475e41
Qt: Use click event rather than pressed to rebind
2020-04-26 17:22:29 +10:00
Connor McLaughlin
fce35d6dbe
CommonHostInterface: Support mouse bindings
2020-04-26 17:21:49 +10:00
Connor McLaughlin
02db665d4a
Common: Add bitutils.h
2020-04-26 17:21:33 +10:00
Connor McLaughlin
e6bd6587fd
Controller: Add emulation of Namco GunCon
2020-04-26 01:23:58 +10:00
Connor McLaughlin
2026ef99e8
MemoryCard: Last byte should not set /ACK
2020-04-26 01:23:08 +10:00
Connor McLaughlin
fccc2dd295
DigitalController: Store button state/transfer state in save states
2020-04-26 01:23:01 +10:00
Connor McLaughlin
2ffcad3d37
GPU: Add method to convert from window coordinates to beam ticks/lines
2020-04-26 01:22:56 +10:00
Connor McLaughlin
a111e36ad7
CommonHostInterface: Add proper fast forward toggle
2020-04-26 01:22:44 +10:00
Connor McLaughlin
194fc63232
GameList: Flush game list after re-scanning
...
Should hopefully fix random gamelist corruption.
2020-04-25 15:23:41 +10:00
Connor McLaughlin
25af5ef9d9
MemoryCard: Save FLAG to state
2020-04-25 15:00:14 +10:00
Connor McLaughlin
92255c8ddd
System: Don't drop audio buffers when time lost
2020-04-25 14:51:25 +10:00
Connor McLaughlin
f98c9b4084
GPU/HW: Fix display being cut off when cropping+upscaling
2020-04-25 14:37:56 +10:00
Connor McLaughlin
9e2331c52a
Qt: Redraw window immediately when switching between fullscreen/windowed
...
Fixes content not showing when displaying a popup message.
2020-04-25 14:30:10 +10:00
Connor McLaughlin
1dd2e0f498
Qt: Fix assertion tripping when starting fullscreen 2nd time
2020-04-25 14:30:10 +10:00
Connor McLaughlin
7fae169bbb
Timer: Don't let writes affect IRQ state
2020-04-25 14:17:44 +10:00
Connor McLaughlin
72f6503bec
CDROM: Reduce speed change delay
2020-04-25 14:16:36 +10:00
Connor McLaughlin
a4416d8cf5
CDROM: Add seek time when starting reading/playing without setloc
2020-04-25 14:16:20 +10:00
Connor McLaughlin
f7e2d98055
Qt: Add .psf to all files filter for open file
2020-04-25 00:37:48 +10:00
Connor McLaughlin
191c3450cc
SPU: Port reverb algorithm from Mednafen-PSX
2020-04-25 00:37:02 +10:00
Connor McLaughlin
6e6c11f8bf
GPU: Fix dithering enable check for non-textured polygons
...
Fixes screen fade out effects in Final Fantasy VIII.
2020-04-24 19:53:49 +10:00
Connor McLaughlin
e34b78ab80
SPU: Fix pitch modulation
2020-04-24 15:50:35 +10:00
Connor McLaughlin
1891b45b0e
GPU/OpenGL: Fix shader compile error on NVIDIA
2020-04-24 03:30:32 +10:00
Connor McLaughlin
715209e178
GPU/HW: Truncate colours to 16-bit before applying alpha
...
Fixes battle screen transitions blowing out in brightness in Final
Fantasy 7.
2020-04-24 03:26:54 +10:00
Connor McLaughlin
4a4c3d5e3b
GL/Texture: Add internal format as parameter
2020-04-24 03:21:44 +10:00
Connor McLaughlin
990147b7e9
GPU/HW: Use uint in CPU-side vertex attributes
2020-04-23 15:55:49 +10:00
Connor McLaughlin
e2f5905cd6
GPU/HW: Use unsigned integers in shaders for texcoords
...
Probably needs testing on GLES.
2020-04-23 15:14:19 +10:00
Connor McLaughlin
30033ed4aa
GPU/HW: Minor improvements to texture filtering
2020-04-23 15:08:28 +10:00
Connor McLaughlin
13e2b28f50
GPU/HW: Only apply vertex offset at 1x resolution scale
2020-04-23 14:45:11 +10:00
Connor McLaughlin
ea25b58dd3
Qt: Support disabling vsync via glXSwapInterval
2020-04-23 13:04:40 +10:00
Connor McLaughlin
fc6a165438
CMake: Fix compiling with Visual Studio
2020-04-23 13:04:33 +10:00
Connor McLaughlin
a02c818245
HostDisplay: Drop some unused methods
2020-04-22 21:15:59 +10:00
Connor McLaughlin
ea3c0b65cf
Qt: Refactor render widget state transitions
...
Recreate widget each time. Fixes fullscreen mode switches on D3D11 and
hopefully Wayland.
2020-04-22 21:13:53 +10:00
Connor McLaughlin
d7aa514f14
GPU/HW/OpenGL: Work around vertex-Y-off-by-one issue
2020-04-22 17:39:46 +10:00
Connor McLaughlin
ec5b52b3fb
GPU/HW: Tweak vertex shader offsets
...
Fixes Doom/Dark Forces/etc in hardware renderer, but only at 1x
resolution. Fixes missing lines in Castlevania SOTM, Ridge Racer Type 4,
etc.
2020-04-21 22:07:55 +10:00
Connor McLaughlin
834f3768a1
GPU/HW: Line coordinate typo fix
2020-04-21 16:01:04 +10:00
Connor McLaughlin
1ee418aebf
GPU/HW: Fix additional polyline vertices drawing
2020-04-21 15:45:22 +10:00
Connor McLaughlin
b9954a943a
CommonHostInterface: Default hotkeys for new save state UI
...
- F1: Load
- F2: Save
- F3: Select Previous
- F4: Select Next
2020-04-21 03:07:53 +10:00
Connor McLaughlin
2a710798cc
CommonHostInterface: Add save state selector UI
2020-04-21 03:07:40 +10:00
Connor McLaughlin
7c2244f20f
FrontendCommon: Add placeholder icon binary
2020-04-21 02:50:48 +10:00
Connor McLaughlin
08c8d1a521
System: Support saving screenshots in save states
2020-04-21 02:50:45 +10:00
Connor McLaughlin
aaf9dcaf02
GPU/HW: Fix possible crash when drawing polylines
2020-04-20 13:00:57 +10:00
Connor McLaughlin
4655aa02f8
CPU/CodeCache: Fix uninitialized pointers
2020-04-20 12:35:57 +10:00
Connor McLaughlin
badfe6117e
GPU: Remove textured draw time penalty
...
Fixes missing elements in Bloody Roar 2.
2020-04-20 12:25:00 +10:00
Connor McLaughlin
759c7c52d5
GPU: Don't wedge when other commands are in FIFO with polyline
...
Fixes Ridge Racer Type 4.
2020-04-20 01:10:41 +10:00
Connor McLaughlin
b893c0abf5
GPU/Software: Fix copies when overlapping and oversized
2020-04-20 00:54:50 +10:00
Connor McLaughlin
f1d1129e05
CDROM: Don't assert if SetMode.bit4 is set
2020-04-19 22:31:22 +10:00
Connor McLaughlin
5ad133a278
GPU/HW: Implement oversized copies on GPU
...
Fixes slowdown caused by this.
2020-04-19 22:30:55 +10:00
Connor McLaughlin
045c4d1745
SPU: Fix adsr_volume read for pending key-on voice
...
Fixes cutscene audio in Spyro 2, probably others.
2020-04-19 18:19:55 +10:00
Connor McLaughlin
13903c2abd
SDL: Add advanced options for tweaking GPU FIFO/runahead
...
These values are not saved.
2020-04-19 16:58:46 +10:00
Connor McLaughlin
3319adfa2f
GPU: Tweak rectangle draw times
2020-04-19 16:57:51 +10:00
Connor McLaughlin
d5a5432a8b
CPU/CodeCache: Fix crash when BIOS is missing
2020-04-19 16:03:35 +10:00
Connor McLaughlin
610cc74cb9
GPU: Add primitive setup timing
2020-04-19 15:26:27 +10:00
Connor McLaughlin
16500064f8
GPU: Tweak triangle draw times
2020-04-19 15:24:40 +10:00
Connor McLaughlin
6ef3626599
GPU/HW: Fix a possible crash in rectangle expansion
2020-04-19 14:34:17 +10:00
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.
2020-04-19 01:17:28 +10:00
Connor McLaughlin
65ca8b9fe0
GPU/HW: Move logic from backend to GPU_HW class
2020-04-18 15:30:46 +10:00
Connor McLaughlin
5923129eca
Common/FIFOQueue: Make bounds checks debug only
2020-04-18 15:30:32 +10:00
Connor McLaughlin
277c03aca0
Add auto-generated Git version to window titles
2020-04-17 02:10:56 +10:00
Connor McLaughlin
610ebcf2fa
Qt: Support loading .psf files
2020-04-17 00:31:03 +10:00
Connor McLaughlin
9c184c5733
SDL: Support loading .psf files
2020-04-17 00:30:19 +10:00
Connor McLaughlin
205297ac27
System: PSF (Portable Sound Format) loading support
2020-04-17 00:29:56 +10:00
Connor McLaughlin
38847de8ee
GameList: PAPX and SCZS prefixes should be NTSC-J
2020-04-16 21:42:09 +10:00
Connor McLaughlin
197b193ca3
GPU/HW/OpenGL: Use geometry shaders for upscaled line rendering
2020-04-16 21:29:11 +10:00
Connor McLaughlin
02b1e084c1
GPU/HW/OpenGL: Re-enable some fast paths I accidentially disabled
2020-04-16 21:27:01 +10:00
Connor McLaughlin
b45b70970b
GL/ShaderCache: Support geometry shaders
2020-04-16 21:25:56 +10:00
Connor McLaughlin
a43a0a14cc
CPU/CodeCache: Don't leak blocks on shutdown
2020-04-16 20:23:54 +10:00
Connor McLaughlin
7a87b9b5bb
CPU/CodeCache: Don't leak blocks on flush
2020-04-16 19:40:52 +10:00
Connor McLaughlin
86df077ffe
GPU/HW: Slight refactor to vertex culling
2020-04-16 00:22:19 +10:00
Connor McLaughlin
8a5e955ba3
Qt: Add input profile support
2020-04-15 01:44:16 +10:00
Connor McLaughlin
f75ea052a6
FrontendCommon: Add input profile support
2020-04-15 01:44:04 +10:00
Connor McLaughlin
193763b4aa
SDL: Fix possible crash when parsing key modifiers
2020-04-14 16:41:59 +10:00
Connor McLaughlin
1eeb1012aa
Qt: Add buttons for binding controller rumble
2020-04-14 16:35:04 +10:00
Connor McLaughlin
d9ebb975b2
CommonHostInterface: Reimplement controller rumble support
...
Even better than before, supports separate motor control.
2020-04-14 16:34:42 +10:00
Connor McLaughlin
915989fa25
CommonHostInterface: Remove extra newlines in messages
2020-04-14 04:05:10 +10:00
Connor McLaughlin
67f2eb3fed
Qt: Fix -fullscreen not working
2020-04-13 22:37:24 +10:00
Connor McLaughlin
81cf4b469f
Frontends: Add shared command line interface
...
Also provides batch mode and automatic fullscreen switching.
-help: Displays this information and exits.
-version: Displays version information and exits.
-batch: Enables batch mode (exits after powering off)
-fastboot: Force fast boot for provided filename
-slowboot: Force slow boot for provided filename
-resume: Load resume save state. If a boot filename is provided,
that game's resume state will be loaded, otherwise the most
recent resume save state will be loaded.
-state <index>: Loads specified save state by index. If a boot
filename is provided, a per-game state will be loaded, otherwise
a global state will be loaded.
-statefile <filename>: Loads state from the specified filename.
No boot filename is required with this option.
-fullscreen: Enters fullscreen mode immediately after starting.
-nofullscreen: Prevents fullscreen mode from triggering if enabled.
-portable: Forces "portable mode", data in same directory.
--: Signals that no more arguments will follow and the remaining
parameters make up the filename. Use when the filename contains
spaces or starts with a dash.
2020-04-13 22:17:09 +10:00
Connor McLaughlin
6a03bb2d15
HostInterface: Drop std::filesystem requirement
2020-04-12 21:06:33 +10:00
Connor McLaughlin
e843fcd9f0
SDLControllerInterface: Fix broken input when player IDs clash
2020-04-11 19:36:53 +10:00
Connor McLaughlin
4fd5d6ca4f
SDL: Fix software renderer image uploads in OpenGL
2020-04-11 18:54:20 +10:00
Connor McLaughlin
a682b720e1
Qt: Fix software renderer image uploads in OpenGL
2020-04-11 18:54:09 +10:00
Connor McLaughlin
7779a54bc5
GPU: Rename 'Force Progressive Scan' to 'Disable Interlacing'
...
It affects rendering as well as display/scanout now, after all.
2020-04-11 16:37:53 +10:00
Connor McLaughlin
9e024b7a51
GPU: Handle VRAM wrap-around behavior on scanout
2020-04-11 16:09:03 +10:00
Connor McLaughlin
fc3efebb38
Revert "SPU: Use reverb formula from Mednafen-PSX"
...
This reverts commit 809b9f89ca
.
2020-04-11 15:04:04 +10:00
Connor McLaughlin
54adad948b
Qt: Add .mcr extension to memory card file picker
2020-04-11 11:57:39 +10:00
Connor McLaughlin
a4a112f5d8
CDROM: Deliver invalid sub-q (libcrypted) sectors to CPU
...
Nocash documentation would suggest that it only needs the sector to be
skipped by GetLocP. Which would make sense as the non-subchannel data is
still completely valid.
2020-04-11 02:44:43 +10:00
Connor McLaughlin
6d55979dac
HostDisplay: Fix 1x1 1:1 AR screenshots in OpenGL
2020-04-11 00:56:28 +10:00
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.
2020-04-11 00:40:44 +10:00
Connor McLaughlin
809b9f89ca
SPU: Use reverb formula from Mednafen-PSX
2020-04-11 00:40:28 +10:00
Connor McLaughlin
64a96ad718
Common/WAVWriter: Add accessors
2020-04-11 00:24:30 +10:00
Connor McLaughlin
156a360d86
SDL: Migrate to common host interface
...
It now supports controllers again. But you have to bind them in Qt.
2020-04-11 00:00:44 +10:00
Connor McLaughlin
6cfad33b8e
HostInterface: Set NoNav on FPS window
...
Prevents it stealing focus in SDL frontend.
2020-04-11 00:00:37 +10:00
Connor McLaughlin
674bcdfeec
INISettingsInterface: Add Save() method
2020-04-11 00:00:21 +10:00
Connor McLaughlin
ebc3aa118c
SDL: Fix DXGI intercepting ALT+ENTER
2020-04-11 00:00:15 +10:00
Connor McLaughlin
6775100170
GPU: Drop OpenGL ES renderer
...
We can put this through the normal GL renderer instead.
2020-04-11 00:00:10 +10:00
Connor McLaughlin
fbfd838e22
GPU: Add pixel aspect ratio option
...
Can display in 4:3, 16:9, 1:1 ratios.
2020-04-10 15:12:35 +10:00
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).
2020-04-10 13:35:10 +10:00
Connor McLaughlin
a06240141e
GPU/D3D11: Fix incorrect usage of CopySubresourceRegion() in CopyVRAM()
...
I believe this is what was causing the renderer to have issues on
Windows 7.
2020-04-10 01:07:44 +10:00
Connor McLaughlin
5a19abbbd3
GPU/D3D11: Fix broken 24-bit display/interlacing when upscaled
2020-04-10 00:43:18 +10:00
Connor McLaughlin
f0a3e66d08
GPU/Software: Fix broken display when VRAM is X-offset
2020-04-09 20:50:57 +10:00
Connor McLaughlin
2413c5a6a3
GPU/Software: Fix incorrect colours in 24-bit FMVs
2020-04-09 00:46:00 +10:00
Connor McLaughlin
3c45603cb4
MemoryCard: Batch sector writes together 5 seconds at a time
...
Reduces disk writes for SSDs (assuming the OS didn't just cache all the
writes), and limits OSD spam.
Fixes #146 .
2020-04-09 00:14:26 +10:00
Connor McLaughlin
0a004361fc
Qt: Work around flip model swap chains being limited to vsync when parented
...
Fixes fast forward not working on some systems.
2020-04-09 00:14:19 +10:00
Connor McLaughlin
1f40d5f77d
Qt: Implement memory card remove button
2020-04-09 00:13:44 +10:00
Connor McLaughlin
3272b37853
Qt: Implement browse button for memory card paths
2020-04-09 00:09:16 +10:00
Connor McLaughlin
9915d977e4
Qt: Fix memory card path not applying
...
Fixes #245 .
2020-04-09 00:03:52 +10:00
Connor McLaughlin
cbe9ef24b9
SettingWidgetBinder: Use QString instead of const char*
...
Fixes potential string lifetime issues.
2020-04-09 00:03:20 +10:00
Connor McLaughlin
bc66b2691d
CDImage: Linux build fix
2020-04-08 21:26:51 +10:00
Connor McLaughlin
0006052728
SPU: Fix some registers not being saved to state
2020-04-08 20:33:39 +10:00
Connor McLaughlin
08567fedf4
CDROM: Fix crash when loading save state from different system
2020-04-08 13:08:27 +10:00
Connor McLaughlin
9851b75368
CDImage: Fix crash on invalid cuesheet
2020-04-08 11:58:05 +10:00
Connor McLaughlin
32dbd173c5
Qt: Add link to Discord server in Help menu
2020-04-07 13:54:25 +10:00
Connor McLaughlin
610abc1a75
BIOS: Make SCPH-3000 BIOS known
2020-04-07 11:54:24 +10:00
Connor McLaughlin
b4538b1d2e
HostInterface: Add redump BIOS filenames to search list
...
ps-10x.bin, ps-30x.bin, etc.
2020-04-07 11:54:22 +10:00
Connor McLaughlin
e91d760175
HostInterface: Fix crash on startup with controller connected
2020-04-06 12:18:33 +10:00
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.
2020-04-06 00:25:56 +10:00
Connor McLaughlin
b7cdaaf36a
CDROM: Defer setting reading/playing bit until sector is read
...
Fixes softlock in Chicken Run.
2020-04-06 00:25:49 +10:00
Connor McLaughlin
411fbe8416
Common/Event: Add unit tests
2020-04-05 23:25:45 +10:00
Connor McLaughlin
e7640d5367
HostInterface: Make SetUserDirectory() overridable by frontends
2020-04-05 22:59:06 +10:00
Connor McLaughlin
11e8a91e30
CommonHostInterface: Simplify fullscreen toggle
2020-04-05 22:58:54 +10:00
Connor McLaughlin
bf6c1c4866
Qt: Implement render-to-seperate-window and render-to-main toggle
2020-04-05 22:58:47 +10:00
Connor McLaughlin
abb87f497f
Common: Port Event class from YBaseLib over
2020-04-05 22:57:35 +10:00
Connor McLaughlin
70ccdcfc30
INISettingsInterface: Make constructor parameter a std::string
2020-04-05 22:57:29 +10:00
Connor McLaughlin
45d7294c3c
CDROM: Limit XA playback to first-identified file/channel
...
Fixes background music in initial menu of Tomb Raider III.
2020-04-05 01:39:43 +10:00
Connor McLaughlin
cae2e09957
SDLControllerInterface: Pass player ID to hooks not joystick ID
...
Should fix controllers which show up as non-zero players.
2020-04-05 01:28:08 +10:00
Connor McLaughlin
3cfead36c4
Revert "GPU: Clamp coordinates to 11 bits after applying drawing offset"
...
This reverts commit 5302f83818
.
This is not the correct fix, and breaks other games.
2020-04-04 19:31:19 +10:00
Connor McLaughlin
4ea3c994f6
GL/ShaderCache: Linux build fix
2020-04-04 00:52:04 +10:00
Connor McLaughlin
ddf52cc8c7
GPU/SW: Implement interlaced display
2020-04-04 00:24:37 +10:00
Connor McLaughlin
c483a78889
GPU: Implement interlaced VRAM fills
2020-04-04 00:24:37 +10:00
Connor McLaughlin
2aecb570c1
GPU: Implement interlaced rendering in hardware backends
2020-04-04 00:24:37 +10:00
Connor McLaughlin
bb3c0a2ccc
GPU/HW/OpenGLES: Use shader cache
2020-04-04 00:24:37 +10:00
Connor McLaughlin
d0be5618ec
GPU/HW/OpenGL: Use shader cache
2020-04-04 00:24:37 +10:00
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.
2020-04-04 00:24:34 +10:00
Connor McLaughlin
ca2f691dbe
Common: Add GL Shader Cache class
2020-04-04 00:11:09 +10:00
Connor McLaughlin
ef4808bbde
GL/Program: Add program binary interface
2020-04-04 00:11:04 +10:00
Connor McLaughlin
256cb8a82c
GL/Program: Make moveable
2020-04-04 00:11:00 +10:00
Connor McLaughlin
7f5c6f8b4f
GPU/HW: Move some flush checks to command time
2020-04-04 00:10:55 +10:00
Connor McLaughlin
5302f83818
GPU: Clamp coordinates to 11 bits after applying drawing offset
...
Fixes flickering in some scenes (e.g. Galbadia Missile Base).
2020-04-04 00:10:45 +10:00
Connor McLaughlin
48fba47ee6
GPU: Implement skip-drawing-to-active-field for interlaced mode
...
Currently only in the software renderer.
2020-04-04 00:10:41 +10:00
Connor McLaughlin
5b6027e6bb
Add common-tests and rectangle class tests
2020-04-03 01:32:27 +10:00
Connor McLaughlin
643e429ad2
Merge pull request #211 from ggdrt/patch-0
...
GPU: Fix "Draw To Display Area" debug reporting
2020-04-02 11:41:09 +10:00
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.
2020-04-02 00:17:25 +10:00
Connor McLaughlin
1d948a53e0
SPU: Reinitialize transfer event on loading state
2020-04-02 00:17:15 +10:00
Albert Liu
b27e030059
GPU: Fix "Draw To Display Area" debug reporting
2020-04-01 06:10:31 -07:00
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.
2020-04-01 22:30:19 +10:00
Connor McLaughlin
31581763a3
GPU: Correct starting position for polyline terminator search
...
Fixes broken visuals in Wild Arms, probably others.
2020-04-01 20:24:57 +10:00
Connor McLaughlin
0eb740a0aa
Qt: Add CDROM Enable Region Check option
2020-04-01 14:50:27 +10:00
Connor McLaughlin
9933910312
SDL: Add CDROM Enable Region Check option
2020-04-01 14:50:21 +10:00
Connor McLaughlin
15c33ebedb
CDROM: Add "Enable Region Check" option
2020-04-01 01:48:37 +10:00
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.
2020-03-31 22:29:03 +10:00
Connor McLaughlin
f6711cbafa
CDROM: Pausing while seeking should be an error response
...
Confirmed by hardware test.
2020-03-31 22:28:55 +10:00
Connor McLaughlin
00c24c2501
CDROM: Adjust ACK timings to be closer to hardware test results
...
Fixes Shrek Treasure Hunt.
2020-03-31 22:28:48 +10:00
Connor McLaughlin
8439e1c54e
GPU: Adjust visible ticks/lines, fix underflow in height
2020-03-31 22:28:37 +10:00
Connor McLaughlin
6bc91f2157
GPU: Polyline must have at least two vertices
...
Fixes GPU stream corruption in Lifeforce Tenka.
2020-03-30 13:58:39 +10:00
Connor McLaughlin
eaf13a1461
GPU: Fix flipped MSB/LSB for single pixel reads
2020-03-30 00:41:31 +10:00
Connor McLaughlin
f13cfce34d
GPU: Fix incorrect polyline terminator check
...
Fixes Gran Turismo 2, maybe others.
2020-03-30 00:35:39 +10:00
Connor McLaughlin
a9109c7552
System: Don't insert blank memory card if path unspecified
2020-03-30 00:14:15 +10:00
Connor McLaughlin
3f042cd477
CDROM: Fix play command with parameter forever seeking
...
Fixes audio playback when selecting track in BIOS CD player.
2020-03-30 00:13:46 +10:00
Connor McLaughlin
3a31282fe6
CDROM: GetTN should return first_track, last_track
...
Fixes CDDA playback in Street Sk8er, Jellyfish - The Healing Friend,
probably others.
2020-03-30 00:13:42 +10:00
Connor McLaughlin
7ecac6dbcf
CDImage: Use track's control instead of last track's control for pregap
2020-03-30 00:13:26 +10:00
Connor McLaughlin
02f67a801e
CDROM: Fix behavior of stat bit 5 according to hardware tests
2020-03-29 17:52:37 +10:00
Connor McLaughlin
deb2865606
CDROM: Preserve header valid bit on more commands
...
Fixes Goryuujin Electro hanging on boot.
2020-03-29 01:16:01 +10:00
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"
2020-03-29 01:15:04 +10:00
Connor McLaughlin
2292292956
CDROM: Set mode to read raw sectors after reset
...
Fixes "This is Football 2", possibly others.
2020-03-29 01:14:58 +10:00
Connor McLaughlin
148279e2f2
GPU: Rewrite CRTC display modeling and overscan handling
2020-03-29 01:14:37 +10:00
Connor McLaughlin
fe824d6c89
GPU: Display VRAM with 1:1 pixel ratio rather than scaling
2020-03-29 01:14:33 +10:00
Connor McLaughlin
21ddfacd40
Settings: Add missing crop mode save
2020-03-29 01:13:53 +10:00
Connor McLaughlin
e6d5a9d3e4
GPU: Add missing blitter ticks reset to SoftReset()
2020-03-29 01:13:40 +10:00
Connor McLaughlin
10197506c5
CDROM: Implement 8-sector buffering behavior
2020-03-29 01:13:25 +10:00
Connor McLaughlin
a988384423
Common/HeapArray: Fix move construction/assignment
2020-03-29 01:13:14 +10:00
Connor McLaughlin
46239e6758
GPU: Fix GP0(1Fh) locking up emulator
2020-03-29 01:12:54 +10:00
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.
2020-03-29 01:12:44 +10:00
Connor McLaughlin
423f04325f
SPU: Implement timing for RAM reads/writes
2020-03-29 01:12:37 +10:00
Connor McLaughlin
20025b2ffd
Qt: Hide mouse cursor in fullscreen mode
...
Fixes #135 .
2020-03-29 01:12:27 +10:00
Connor McLaughlin
22a0d8f93c
CDROM: Implement Sync/00h command
2020-03-28 02:24:36 +10:00
Connor McLaughlin
0b347e2151
GPU/HW: Implement flipped quad coordinate hack from beetle-psx
...
Fixes graphical glitches around the edges of flipped sprites.
2020-03-28 02:24:22 +10:00
Connor McLaughlin
f23bcc0faa
SPU: Ignore loop start flag when repeat address is explicitly set
...
Fixes dialog/softlock in Thousand Arms.
2020-03-27 01:42:59 +10:00
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.
2020-03-27 01:42:43 +10:00
Connor McLaughlin
54abd37daa
GPU: Let the GPU drive DMA transfers for large time slices
...
Fixes FMV breakage... again.
2020-03-26 00:13:20 +10:00
Connor McLaughlin
d4ae0f13fe
MDEC: Refactoring and fixes
2020-03-26 00:13:07 +10:00
Connor McLaughlin
c81efb1142
DMA: Enable block splitting for linked list mode
2020-03-26 00:13:03 +10:00
Connor McLaughlin
88f1edd48d
System: Include console region in save state
...
Fixes #149 .
2020-03-25 01:49:20 +10:00
Connor McLaughlin
7cd7dec668
HostInterface: Restore pause state after switching renderers
...
Fixes #148 .
2020-03-25 01:48:51 +10:00
Connor McLaughlin
18cc3d5932
SPU: Stub out external volume registers
...
If nothing else, it'll avoid spamming the log.
2020-03-24 00:22:02 +10:00
Connor McLaughlin
7317c83a3c
SPU: Implement internal volume sweep register reads
...
Fixes muted audio in Michelin Rally Masters.
2020-03-24 00:21:52 +10:00
Connor McLaughlin
452c6e16d1
GPU: Fix blitter ticks not being counted
...
Fixes Monkey Hero, again...
2020-03-24 00:21:42 +10:00
Connor McLaughlin
4c2597acf3
SPU: Process key on/off at next 44100hz cycle
...
Some games, particularly CART World Series and Monkey Hero, depend on
this behaviour.
2020-03-24 00:21:32 +10:00
Connor McLaughlin
c8af4abad8
CDROM: Don't queue up a second INT1 when one is still pending
2020-03-24 00:21:22 +10:00
Connor McLaughlin
40d6be7142
System: Frame pacing improvements
2020-03-24 00:21:11 +10:00
Connor McLaughlin
cbb9b96537
System: Include buffer swap time in frame time measurement
2020-03-24 00:20:56 +10:00
Connor McLaughlin
9ce63952fb
TimingEvent: Fix events losing time when rescheduling outside handler
2020-03-24 00:20:45 +10:00
Connor McLaughlin
612b362ae9
Timers: Sync GPU on register write too
2020-03-24 00:20:27 +10:00
Connor McLaughlin
e2e2b573c0
GPU/HW: Move drawing offset to CPU-side
...
Saves updating the uniform buffer.
2020-03-24 00:20:15 +10:00
Connor McLaughlin
40481305c4
GPU/HW: Fudge texture coordinates by half a screen-space pixel
...
Fixes holes in triangles in some games, e.g. Disney's The Emperor's New
Groove.
2020-03-24 00:20:12 +10:00
Connor McLaughlin
7ac48cd8d6
SPU: Swap read/write ready bits
...
Nocash might be incorrect here.
2020-03-23 00:29:18 +10:00
Connor McLaughlin
7a89c787b8
SPU: Fix some reverb registers not being saved to state
2020-03-23 00:29:10 +10:00
Connor McLaughlin
d47a82d591
SPU: Implement noise functionality
2020-03-23 00:29:00 +10:00
Connor McLaughlin
0a6295a9b4
SPU: Implement volume sweep functionality
2020-03-23 00:28:51 +10:00
Connor McLaughlin
a5083f0ee4
Qt: Remove ? button in title bar
2020-03-22 22:40:45 +10:00
Connor McLaughlin
701491156a
Qt: Use menu font instead of system font as default font
2020-03-22 22:40:29 +10:00
Connor McLaughlin
7b9be0a586
Qt: Add per-page help to settings dialog
2020-03-22 22:19:46 +10:00
Connor McLaughlin
1d9bcb2a48
Qt: Force redraw the display when restoring after minimized
2020-03-22 21:50:49 +10:00
Connor McLaughlin
361bedc2c3
SDLControllerInterface: Hackfix for non-player-id supporting controllers
2020-03-22 21:31:54 +10:00
Connor McLaughlin
8b836555f6
Qt: Disable auto-fill background and set WA_NoSystemBackground
2020-03-22 21:25:10 +10:00
Connor McLaughlin
74e0e83cfd
Qt: Use same imgui style as SDL
2020-03-22 13:20:08 +10:00
Connor McLaughlin
e662f34f8b
Qt: Add help for general settings
2020-03-22 13:20:08 +10:00
Connor McLaughlin
4629cdfffc
Qt: Add help text section to settings dialog
2020-03-22 13:20:08 +10:00
Connor McLaughlin
d5c76bf7d5
Qt: Increase default size of settings dilaog
2020-03-22 13:20:08 +10:00
Connor McLaughlin
c646bf507f
Qt: Add OSD options to general settings
2020-03-22 13:20:08 +10:00
Connor McLaughlin
a4a5d3ef79
Qt: Split some console settings out into general settings
2020-03-22 13:20:08 +10:00
Connor McLaughlin
bf2f9bd8d9
Qt: Add 'Refresh' button to toolbar for reloading game list
2020-03-22 13:20:08 +10:00
Connor McLaughlin
7e36195f44
HostInterface: Enable on-screen FPS/VPS/Speed display via config
2020-03-22 13:20:08 +10:00
Connor McLaughlin
9fd95c3e21
Common/Rectangle: Fix off-by-one error in Intersects()
2020-03-22 13:20:08 +10:00
Connor McLaughlin
77a60f0c5f
HostInterface: Crash fix again for controller switching
2020-03-22 13:15:44 +10:00
Connor McLaughlin
acd49f3765
Qt: Fix possible crash when loading state via menu
2020-03-22 13:10:28 +10:00
Connor McLaughlin
12ddeb675c
HostInterface: Fix controller not updating when switched and system running
2020-03-22 12:54:26 +10:00
Connor McLaughlin
46f921fb95
SDLControllerInterface: Fix crash on shutdown
2020-03-22 12:54:25 +10:00
Connor McLaughlin
8190efa5dc
SDLControllerInterface: Fix compilation on Ubuntu LTS
2020-03-22 12:28:10 +10:00
Connor McLaughlin
ad6e4cb6e4
Qt: Add "Clear All" and "Rebind All" to controller bindings
2020-03-22 00:50:09 +10:00
Connor McLaughlin
45050709f2
Qt: Add support for clearing input bindings with right click
2020-03-22 00:49:55 +10:00
Connor McLaughlin
29a09a3685
Introduce ControllerInterface class, port SDL interface over
...
This breaks controller support in the SDL frontend until it's ported
over to the common interface.
2020-03-22 00:49:46 +10:00
Connor McLaughlin
a4486cf6fa
CDROM: Don't miss last three frames at end of sector
2020-03-21 12:31:40 +10:00
Connor McLaughlin
8ef1e71ce0
DMA: Channels other than OTC should run based on request in SyncMode 0
2020-03-21 00:15:49 +10:00
Connor McLaughlin
f4d172df2f
DMA: Fix underflow when block_count == 0
2020-03-21 00:15:42 +10:00
Connor McLaughlin
904ab982e6
GPU: Fix crash when fill rectangles are out-of-bounds
2020-03-21 00:15:35 +10:00
Connor McLaughlin
d67bcd654c
GPU: Prevent emulator locking up when switching between PAL/NTSC mode
2020-03-20 01:12:41 +10:00
Connor McLaughlin
bad5b30a61
CDROM: Fix incorrect volume matrix update/application
...
Fixes #90 .
2020-03-19 00:28:57 +10:00
Connor McLaughlin
3223f87eeb
CDROM: Simplify register indexing for write
2020-03-19 00:28:41 +10:00
Connor McLaughlin
1ee68ad12a
CommonHostInterface: Add Screenshot hotkey
2020-03-18 22:28:03 +10:00
Connor McLaughlin
afe2f96474
Qt: Fix display not updating after resize when paused
...
Fixes #104 .
2020-03-18 22:27:45 +10:00
Connor McLaughlin
b86e0bc846
SPU: Implement reverb
...
Possibly still not complete.
2020-03-17 12:48:03 +10:00
Connor McLaughlin
c9e5e3a43e
CDROM: Add missing disc/console region check
...
Fixes #106 .
2020-03-17 12:47:46 +10:00
Connor McLaughlin
282998d0bb
Qt: Add screenshot button
2020-03-16 00:06:39 +10:00
Connor McLaughlin
ffb760c79d
SDL: Add screenshot to menu
2020-03-16 00:04:16 +10:00
Connor McLaughlin
6b68512ac1
HostInterface: Add SaveScreenshot() method
2020-03-16 00:03:57 +10:00
Connor McLaughlin
2bb992a702
HostDisplay: Add texture dumping/saving support
2020-03-16 00:03:49 +10:00
Connor McLaughlin
b4153266a0
GL/Texture: Add a GetTextureSubImage fallback/helper
2020-03-16 00:03:25 +10:00
Connor McLaughlin
212fddd195
D3D11/StagingTexture: Add auto-resizing staging texture
2020-03-16 00:03:16 +10:00
Connor McLaughlin
97c435a154
CMake: Linux build fix
2020-03-16 00:02:55 +10:00
Connor McLaughlin
fe2e6561d3
Qt: Add audio dumping options
2020-03-15 22:04:32 +10:00
Connor McLaughlin
c4af353d54
SDL: Add audio dumping options
2020-03-15 22:04:25 +10:00
Connor McLaughlin
8e20d0d4ff
SPU: Add audio dumping support
2020-03-15 22:04:17 +10:00
Connor McLaughlin
198a64eb5e
HostInterface: Add a helper function for generating timestamp-based filenames
2020-03-15 22:03:53 +10:00
Connor McLaughlin
c7a74cabaa
Common: Add WAVWriter class
2020-03-15 22:03:22 +10:00
Connor McLaughlin
6a6aa72f3a
SPU: Add a tick counter and delay between key on/off writes
...
Not yet tested on hardware. We believe that writing to a specific
voice's key on/off register within 2 samples/ticks of the first
write will result in the second write being ignored. This still
needs to be tested on hardware for confirmation.
Thanks to @PSI-Rockin for the idea.
Fixes sound effects in Monkey Hero.
2020-03-14 15:33:24 +10:00
Connor McLaughlin
d42f155512
SPU: Use "ticks" instead of "sample" in variable names
2020-03-14 15:23:23 +10:00
Connor McLaughlin
90d6babfb0
SPU: Always run, not only when enabled
2020-03-14 15:01:23 +10:00
Connor McLaughlin
c3cb6ef393
Qt: Fix debug menu not updating selected GPU renderer
...
Fixes #93 .
2020-03-14 12:34:41 +10:00
Connor McLaughlin
90121aa169
GPU: Fix VRAM display in software renderer
2020-03-13 23:21:44 +10:00
Connor McLaughlin
e076526898
CDROM: Rework sector buffering behavior
...
This has not been tested on hardware yet, but fixes a couple of games.
2020-03-12 15:33:07 +10:00
Connor McLaughlin
86eefbd5d7
System: Fix a possible assertion failure loading state
2020-03-12 15:32:37 +10:00
Connor McLaughlin
21ecf231d9
Qt: Show game list scanning progress visually
2020-03-12 15:32:34 +10:00
Connor McLaughlin
0e3bcfa7b5
Qt/HostInterface: Track main window pointer
2020-03-12 15:32:30 +10:00
Connor McLaughlin
9e08ae6188
GameList: Use ProgressCallback interface when scanning
2020-03-12 15:32:19 +10:00
Connor McLaughlin
f71a03202b
Qt: Add ProgressCallback implementation
2020-03-12 15:32:15 +10:00
Connor McLaughlin
8028b7b4a3
Common: Add ProgressCallback class
2020-03-12 13:54:27 +10:00
Connor McLaughlin
8f39a0f154
Qt: Properly implement "Start Fullscreen"
2020-03-12 13:53:58 +10:00
Connor McLaughlin
2480624cbe
Qt: Replace QWindow for display with QWidget base
...
Not as elegant, but it solves the input focus issue.
2020-03-12 13:53:51 +10:00
Connor McLaughlin
db1070a683
Settings: Fix start paused not applying
2020-03-12 13:53:43 +10:00
Connor McLaughlin
3effa1238f
CDROM: Return correct SCEx string based on disc region
...
Fixes SCEI/SCEE displaying as SCEE in BIOS.
2020-03-12 13:51:53 +10:00
Connor McLaughlin
419422a2d7
CDROM: Return console region string based on system
2020-03-12 13:51:38 +10:00
Connor McLaughlin
e0a339ca96
GameList: Seperate disc region and console region
2020-03-12 13:51:29 +10:00
Connor McLaughlin
e8a5259e68
Qt: Show save times in save state menu as well
2020-03-12 13:51:23 +10:00
Connor McLaughlin
b2d0dd2d6c
Qt/GameList: Update entry rather than ignoring same directory added twice
2020-03-10 23:10:20 +10:00
Connor McLaughlin
ed0abf3912
Qt: Fix possible assertion failure when removing search directories
2020-03-10 22:59:17 +10:00
Connor McLaughlin
bd25aa2f9d
Qt: Include .chd in disc image filter
...
Fixes #77 .
2020-03-10 00:18:13 +10:00
Connor McLaughlin
c2370c598e
CDROM: Don't crash when stopping with no media
...
Fixes #76 .
2020-03-10 00:09:27 +10:00
Connor McLaughlin
e98c753d3d
CDROM: Delay the first CDDA report by one second
...
Needs hardware testing...
2020-03-09 00:01:28 +10:00
Connor McLaughlin
776159265a
CDROM: Skip pregap when processing CDDA
2020-03-09 00:01:26 +10:00
Connor McLaughlin
b81071a65c
CDImage: Assume 2 second pregap between tracks if none specified
2020-03-09 00:01:23 +10:00
Connor McLaughlin
631865469d
CDROM: Bump up ACK delay timing
2020-03-08 18:07:39 +10:00
Connor McLaughlin
4eeaa38ccd
CDROM: Don't persist seek error bit in secondary status
...
Fixes Viewpoint (#56 ).
2020-03-08 15:54:09 +10:00
Connor McLaughlin
2249b873ff
D3D11/StreamBuffer: Check feature support for MAP_NO_OVERWRITE before using
2020-03-08 12:51:14 +10:00
Connor McLaughlin
99d42c07c2
D3D11/StreamBuffer: Use WRITE_DISCARD at position 0
2020-03-08 12:38:01 +10:00
Connor McLaughlin
e19175edae
GPU/D3D11: Fix non-vertical line rendering at >1x scale
2020-03-08 00:03:31 +10:00
Connor McLaughlin
34ae0dae13
CDROM: Fix upper bound for XA audio frames and sync SPU
2020-03-07 17:29:41 +10:00
Connor McLaughlin
6fa8031569
GPU/D3D11: Fix uniform buffer creation on Win7
2020-03-07 16:05:54 +10:00
Connor McLaughlin
eb6dbbfb13
CDROM: Set seeking bit in stat when seeking
2020-03-07 15:10:49 +10:00
Connor McLaughlin
c700913322
CDROM: Implement SetSession command
2020-03-07 15:10:19 +10:00
Connor McLaughlin
d0f420de10
CDROM: Log invalid command identifiers
2020-03-07 14:00:15 +10:00
Connor McLaughlin
6bb6249e86
GPU/HW: Print capabilities to log
2020-03-07 12:54:15 +10:00
Connor McLaughlin
b5b6a15e40
GPU/D3D11: Always flush render before presenting
2020-03-07 12:37:58 +10:00
Connor McLaughlin
ae4767a9ca
GPU/HW: Always unmap buffer on flush
...
Should stop assertions firing in some games.
2020-03-07 12:34:44 +10:00
Connor McLaughlin
ef2796b780
CommonHostInterface: Fix controller inputs not binding
...
Fixes #46 .
2020-03-06 21:55:27 +10:00
Connor McLaughlin
2004de7170
Qt: Fix controller rebinding not registering when paused
2020-03-06 21:55:10 +10:00
Connor McLaughlin
f9a298f1b7
GPU: Fix incorrect handling of check mask bit
...
Fixes boxes in Silent Hill in Software Renderer.
2020-03-06 00:45:21 +10:00
Connor McLaughlin
552a01a9b6
Qt: Disable LTCG on Release-only builds
...
It wasn't being used anyway.
2020-03-04 23:21:43 +10:00
Connor McLaughlin
b59e4ffbcb
HostInterface: Reset performance counters on unpausing
2020-03-03 10:07:16 +10:00
Connor McLaughlin
b405c01652
Qt: Save settings for column visibility/sorting in game list
2020-03-02 11:08:29 +10:00
Connor McLaughlin
5c0660744a
Qt: Implement "File Title" column and toggling in game list
2020-03-02 11:08:25 +10:00
Connor McLaughlin
c8954a3089
Qt: Fix game list sorting by column
2020-03-02 11:08:20 +10:00
Connor McLaughlin
69f03959aa
Qt: Implement context menu in game list
2020-03-02 11:08:16 +10:00
Connor McLaughlin
0c40903f74
Qt: Fix double mutex lock on controller type change
...
Fixes #39 .
2020-03-02 11:05:13 +10:00
Connor McLaughlin
34f1c644f5
GPU: Update GPUSTAT if raster has passed to the next line
...
Fixes games which poll GPUSTAT, including The Next Tetris (Europe).
2020-03-01 17:14:42 +10:00
Connor McLaughlin
b0b1fd8f1a
GPU: Timing for CPU->VRAM transfers
...
Fixes Monkey Hero, probably others.
2020-03-01 17:14:38 +10:00
Connor McLaughlin
6b9c6d3750
GPU: Add a helper function to determine how many GPU ticks are pending
2020-03-01 17:14:32 +10:00
Connor McLaughlin
635ab72b37
GPU: Implement "Scaled Dithering" option
...
Fixes #29 .
2020-03-01 00:05:31 +10:00
Connor McLaughlin
d41e6dd28f
CommonHostInterface: Add some more default key bindings
...
Also remove some unused code.
2020-02-29 00:41:17 +10:00
Connor McLaughlin
fdcb891ed3
GPU: Fix incorrect detection of 480i mode
2020-02-29 00:19:23 +10:00
Connor McLaughlin
ed493c846d
GPU: Don't panic on oversized VRAM copies
...
Fixes #31 .
2020-02-29 00:19:09 +10:00
Connor McLaughlin
7412e78aa1
GPU: Move software copy/fill functions to base class so it can be used as fallback
2020-02-29 00:18:33 +10:00
Connor McLaughlin
e1d4c0b9d4
HostDisplay: Fudge texture coordinates for better linear filtering
2020-02-29 00:18:24 +10:00
Connor McLaughlin
6bacbf3438
GPU: Fix 480i displays getting cut off in OpenGL and Software
2020-02-28 23:01:38 +10:00
Connor McLaughlin
aa56a59f58
GPU: Make resolution info less spammy
2020-02-28 23:00:37 +10:00