Commit graph

428 commits

Author SHA1 Message Date
Blue
e32231d4ae XADPCM: Use ReadOnlySpan 2021-04-10 13:07:23 +02:00
Blue
52cd906296 Winform: Sync underclock with main lib. 2021-04-10 13:06:58 +02:00
Blue
96132a5e64 Voice: Refactor ADPCM Tables to ReadOnlySpan 2021-04-05 11:00:56 +02:00
Blue
99e20ab2d1 Window: Handle drag and drop of PS .exe files 2021-04-04 20:04:15 +02:00
Blue
cf38a37474 SPU: Make room for last block interpolation samples on the current decoded samples array.
So getSample(i) is avoided and the array can be direct accessed even if interpolation kicks on <0.
2021-04-04 20:03:18 +02:00
Blue
aff4854047 Input: minor refactor 2021-03-21 14:31:28 +01:00
Blue
762b2b33ba WinForm: Support .EXE loading 2021-03-21 09:14:42 +01:00
Blue
d209f67927 Support EXE load 2021-03-20 11:35:03 +01:00
Blue
6b3ce43c83 BUS: Patch bios on EXE load 2021-03-20 11:34:25 +01:00
Blue
8ed9278d9e CPU: Remove 0x80030000 polling on EXE load 2021-03-20 11:33:27 +01:00
Blue
e2643c6659 CPU: Refactor. AggressiveInlining from func ptr
as it wasn't gonna get inlined anymore... Rerdered opcodes and moved from if else bools to Unsafe.As
2021-03-15 21:10:00 +01:00
Blue
3ae561e2ca Timers: Handle > 2 Timer access. Gran Turismo 2 tries to access here somehow... 2021-03-15 21:05:27 +01:00
Blue
a63bbbe77c CPU: Remove legacy opcode switch and comments 2021-03-14 16:58:29 +01:00
Blue
65f7022c7a CPU: Remove instr decode, load raw. 2021-03-14 16:33:08 +01:00
Blue
8331536041 GPU: Move texture and clut setup from raster
This avoids setting up again the same for quads
2021-02-27 15:33:41 +01:00
Pedro Cortés
4a759c4ee0
Update README.md 2021-02-27 11:26:30 +01:00
Blue
4b53de2741 GTE: Fix MVMVA flags, mx3 and tv2
aaaaaand. GTE is done.
2021-02-27 09:45:01 +01:00
Blue
c5325ff4a8 GTE: Refactor decoding and mvmva
Decoding the mvmva fields on each command was unneded as it was only used by mvmva itself.
2021-02-26 20:24:19 +01:00
Blue
ee3d81c323 GTE: Calculate sf on inst decode 2021-02-26 19:13:57 +01:00
Blue
b1fc62d532 GTE: Remove unneded CPU ref 2021-02-26 16:39:03 +01:00
Blue
0efcca7fd3 GTE: Handle RTPS/RTPT UNR Div
Among other things this fixes: Metal Gear Solid water, Crash Team Racing broken polys, Ridge Racer 4 weird road below the car...
2021-02-25 20:20:42 +01:00
Blue
a6f65cd775 CPU: minor refact 2021-02-24 23:50:09 +01:00
Blue
1f18aaac6c CPU: disable tests 2021-02-21 21:00:52 +01:00
Blue
e4515680ae GTE: Simplify SaturateRGB 2021-02-21 13:53:32 +01:00
Blue
f5b88e4f3d BUS: Simplify nested if else, ranges and width
Wip
2021-02-21 13:51:56 +01:00
Blue
a994caaf6c GPU: Dual 8888/1555 VRAM
Yay for avoiding cluts roundtrips between pixel formats!
2021-02-06 13:12:52 +01:00
Blue
26a77bc928 GPU: Avoid clut 8888 to 1555 index transform 2021-02-06 13:03:39 +01:00
Blue
1864968d1a GTE: Use ReadOnlySpan on UNR table 2021-02-05 18:23:27 +01:00
Blue
a397f43046 DMA: Avoid infinite linked lists 2021-01-30 23:13:41 +01:00
Blue
ade403008a GPU: Revert signed11bit on tri changes 2021-01-30 16:26:28 +01:00
Blue
ac02fa19da GPU: Precompute texture window texel mask 2021-01-29 22:20:26 +01:00
Blue
0219c581f2 editorconfig: disable new line before else 2021-01-29 22:07:21 +01:00
Blue
ce656b0a82 GPU: refactor
Just methods names as i was allways getting lost here...
2021-01-29 19:49:35 +01:00
Blue
06f23ee762 CPU: .NET 5 Function Pointers test
delegate* go brr
2021-01-27 21:32:55 +01:00
Blue
9e75db4136 GPU: Fix vertex sign extend at 11b
Fixes Skullmonkeys and probably others
2021-01-27 21:30:50 +01:00
Blue
188c3b8109 Window: blit x ranges as spans 2021-01-26 21:12:05 +01:00
Blue
4dd416d4c2 CPU: Narrow fetch address space
Shortcut Bus Load32 goes brrr
2021-01-26 21:07:25 +01:00
Blue
545f4ce169 CPU: Avoid call to Execute on NOP 2021-01-26 20:42:52 +01:00
Blue
0f52c35868 Project Migrate to .NET 5 2021-01-24 13:34:41 +01:00
Blue
96456b9833 OpentTK: Update to 4.4 2021-01-24 13:18:23 +01:00
Pedro Cortés
2f79a50d36
Gdi (#18)
* Push Interop

* GDI Render: UI

* Gdi: Add BltMode

* Winform GDI: Handle y ranges
This is badly handled and X still left
2021-01-24 12:16:01 +01:00
Pedro Cortés
8912d88da4
Update README.md 2021-01-22 21:19:12 +01:00
Blue
33291cb9ad Minor refactor 2021-01-22 19:23:03 +01:00
Blue
a2bd5b5816 SPU: Pass a ref to IRQController to trigger INT on DMA
WIP irq dma
2021-01-22 16:34:17 +01:00
Blue
fd7b8bb0a4 DMA: handle to device on BUS, handle SPU load 2021-01-21 23:46:55 +01:00
Blue
b9c60a2e85 DMA: OTC move to BUS 2021-01-21 22:56:48 +01:00
Blue
55b7b6a130 DMA: Handle MdecOut Span
This is the first step to trying to spanize all the dmas and set the base for resumable dmas
2021-01-19 22:07:09 +01:00
Blue
cdcf9d855f MDEC: Handle abort ctr cmd, fix status current block 2021-01-17 12:07:54 +01:00
Blue
daec73937a GPU: clamp to 0xFF x y texel coords
This fixes FF7 menus glitches
2021-01-16 16:56:12 +01:00
Blue
0b551e00c7 MDEC: Refactor buffers and decode. 2021-01-13 22:40:42 +01:00