Commit graph

2040 commits

Author SHA1 Message Date
Sour
9e2ef3c2a1 GB: Improved noise channel initial timer after being triggered
Fixes SameSuite's channel_4_delay, channel_4_equivalent_frequencies, channel_4_frequency_alignment tests
2023-03-11 01:14:17 -05:00
Sour
0881814157 GB: Length counter hitting 0 on square channel should also update output
Fixes channel_1_stop_div, channel_2_stop_div
2023-03-10 22:37:11 -05:00
Sour
ff4561f1aa GB: Wave channel output should update when length counter hits 0
Fixes channel_3_stop_div test
2023-03-10 21:25:06 -05:00
Sour
8fef338355 GB: Wave channel output updates immediately when stopped via NR30
Fixes channel_3_stop_delay test
2023-03-10 21:13:57 -05:00
Sour
52220c8a1e GB: Wave channel output should update when writing to NR32
Fixes channel_3_shift_delay test
2023-03-10 21:06:14 -05:00
Sour
5ff7d29ffe GB: Added CGB speed change delay
Matches speed_switch_timing_stat (but not speed_switch_timing_ly) - probably not quite accurate but better than no delay at all
2023-03-10 20:32:09 -05:00
Sour
a69f38d661 GB: Display clearer error message when cart type is not supported 2023-03-10 18:11:10 -05:00
Sour
a9081985b5 GB: Reset DIV when CPU speed is toggled on CGB
Fixes speed_switch_timing_div test
2023-03-10 18:10:30 -05:00
Sour
965a2088e0 GB: Stop clocking channels when disabled (fixes square_1_volume_div)
+ Align square/noise channels to 1mhz clock (which allows the channel_1_align, etc. tests to work even if the channels aren't clocked while disabled)
2023-03-10 01:04:51 -05:00
Sour
af2cdb86ca GB: Noise envelope period should be 8 when period is set to 0 2023-03-10 00:24:49 -05:00
Sour
52f8a4a5f7 GB: Fixed typo/bug in square envelope clock code
Fixes channel_2_volume_div
2023-03-10 00:23:56 -05:00
Sour
8ba69a77ec GB: Noise - Update channel output when envelope is clocked
Fixes channel_4_volume_div
2023-03-10 00:19:08 -05:00
Sour
b954db45b7 GB: APU improvements (passes div_* tests) 2023-03-09 22:10:20 -05:00
Sour
629dfca2fc GB: Apply similar tweaks to noise/wave channels
Passes more of SameSuite's tests
2023-03-08 21:56:27 -05:00
Sour
7419abdaa5 GB: Fixed inverted wave/noise channel outputs in CGB register 2023-03-08 20:32:36 -05:00
Sour
a13b07b49c GB: Square channel improvements
Fixes some of the SameSuite square tests (unsure if the code is correct or not)
2023-03-08 20:25:53 -05:00
Sour
1abc479e0f GB: Fixed CGB sprite priority 2023-03-07 00:46:25 -05:00
Sour
4d6736fae3 NES: HD Packs - Fixed background display issue when brightness isn't 255 2023-03-06 19:48:12 -05:00
Sour
a5fa24a32e NES: Fixed loading NES roms (+ improved behavior/error message display when this happens) 2023-03-06 16:42:32 -05:00
Sour
08717d8450 Movies: Added some missing emulation settings 2023-03-06 00:09:17 -05:00
Sour
8ec81f0e18 NES: HD Packs - Added "fallback tiles" feature 2023-03-05 18:42:32 -05:00
Sour
cdadbebf70 NES: HD Packs - Fixed out of range memory access for additional sprites 2023-03-05 11:38:36 -05:00
Sour
180b5faf6d NES: HD Packs - Added support for <addition> tag 2023-03-04 20:18:41 -05:00
Sour
317b610555 NES: HD Packs - Fixed background sprites not being rendered correctly when no background layer exists 2023-03-04 20:03:23 -05:00
Sour
19ecff27f7 NES: HD Packs - Fixed background rendering when alpha is between 1 and 254 2023-03-04 20:01:30 -05:00
Sour
88c0c76cbd NES: Fixed OAM decay bug when PPU reset is disabled
Also changed 'v' to be preserved on reset and vblank flag to be random if random power on state option is on
2023-03-03 23:09:02 -05:00
Sour
40833cf681 NES: Added option to emulate PPU "warmup" after reset 2023-03-03 22:51:58 -05:00
Sour
32376df4d1 NES: Added missing "extended" bit for Subor keyboard 2023-03-03 20:09:39 -05:00
Sour
e6dd4332f1 NES: HD Packs - Fixed save states not restoring the correct track in some scenarios 2023-03-03 19:18:13 -05:00
Sour
d1360f408f NES: Fixed crash when loading game that doesn't have a HD pack 2023-03-02 22:40:22 -05:00
Sour
78acaee864 NES: HD Packs - Small performance improvements 2023-03-02 21:00:49 -05:00
Sour
e9a940657d NES: HD Packs - Load PNG files in a separate thread to prevent stuttering in some packs that use huge PNG files 2023-03-02 19:13:30 -05:00
Sour
ace23978f7 NES: HD Packs - Fixed display issues (transparency, missing tiles) 2023-03-02 19:11:59 -05:00
Sour
90ae21e1ac Fixed potential deadlock in rare scenarios when loading a game 2023-03-02 19:02:46 -05:00
Sour
e92685c564 NES: HD packs load optimizations 2023-03-02 00:00:55 -05:00
Sour
6f525ca639 NES: HD packs - Decode images on first use
Makes loading HD packs faster
2023-03-01 21:41:19 -05:00
Sour
ccc2bbbc5b NES: HD Packs - Decode backgrounds on first use
Makes loading HD packs faster
2023-03-01 21:00:52 -05:00
Sour
21afcb5bbf NES: Slightly improve hd pack load times by reducing memory allocations 2023-03-01 20:08:13 -05:00
Sour
f69c08dbce NES: HD Packs - Fixed loading issue, implemented sppalettex conditions 2023-03-01 19:05:42 -05:00
Sour
0a086f4d02 NES: Fixed missing open bus bit on $4015 reads 2023-03-01 17:05:32 -05:00
Sour
04d0a89b4d NES: Implemented DMA read glitch when CPU is halted on a read in the 4000-401F range 2023-03-01 00:28:57 -05:00
Sour
d91e5cecb4 Debugger: Register Viewer - NES - Added DMC next sample addess value 2023-02-28 23:43:29 -05:00
Sour
35bcc56e7d GB: APU - Improved CGB behavior, fixes blargg's CGB tests 2023-02-27 23:08:15 -05:00
Sour
55f05abac7 GB: APU - Implemented wave ram corruption bug 2023-02-27 22:11:18 -05:00
Sour
1fbcba999e GB: Improve square channel sweep behavior
Fixes based on alyosha's work on GBHawk
Passes "sweep details" test
2023-02-27 20:46:35 -05:00
Sour
b147bc67d3 GB: Implemented OAM corruption bug 2023-02-26 23:47:27 -05:00
Snowy
4e647013de
GB: Fixed OAM DMA reading one extra byte (#11) 2023-02-26 23:07:20 -05:00
Sour
94a9956c54 GB: Improved OAM DMA behavior when starting a new dma while the previous one is still running
Fixes oam_dma_start test
2023-02-26 00:42:32 -05:00
Sour
cbd90e5309 GB: Fixed OAM DMA behavior when reading from >= $FE00
Fixes sources-GS test
2023-02-25 23:50:50 -05:00
Sour
176451ffbb GB: Improved DMA conflict handling, passes "bully" test 2023-02-25 22:35:13 -05:00