15 Commits
Author SHA1 Message Date
lidnariq ca54ec72c7 Remove Windows-1252 smart quotes in Game Boy APU comments (#87)
* GbNoiseChannel.cpp remove cp1252

* GbSquareChannel.cpp remove cp1252

* GbWaveChannel.cpp remove cp1252
2026-05-06 02:08:11 -07:00
SourMesen e391fd8f9a Code: Add auto-formatting rules for C++ (clang-format) and enforce in CI via "clang-format" and "dotnet format" (#78)
* Code: Add auto-formatting rules for C++ projects (clang-format) and enforce code style via "clang-format" and "dotnet format"

* fix ui format warnings
2026-04-30 06:03:55 -07:00
Sour 929d4dcc20 GB: Fixed APU emulation issues
-Super Mario Land 2 - Pops in menu are fixed by immediately updating APU output after a write
-Perfect Dark - Low voice volume is fixed by having the correct output when the channels are disabled (but DAC is still enabled)
-Daiku no Gen - Low voice volume is fixed by keeping square channel output to digital 0 (= analog 1) until its first tick after being enabled (the game does not let the channel tick at all while the voice sample is playing)
2025-03-21 23:03:01 +09:00
Sour dbae841079 GB: Implemented DAC fade in/out behavior
Fixes sound issues in 3D Pocket Pool, Ready 2 Rumble Boxing and Cannon Fodder
2024-01-28 20:47:08 +09:00
Sour 1ddf93480a GB: Set wave ram to random values on power on
Fixes missing wave channel audio in R-Type (on GB)
2023-04-13 21:39:46 -04:00
Sour ee287e9cad GB: Fixed/improved APU mixing/DAC logic
Fixes missing sound effects/voices in Warlocked and Alone in the Dark
2023-04-08 17:18:25 -04: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 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 629dfca2fc GB: Apply similar tweaks to noise/wave channels
Passes more of SameSuite's tests
2023-03-08 21:56:27 -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 4782aade65 GB: Implemented wave channel ram read/write constraints while channel is enabled
Fixes "09-wave read while on" and "12-wave write while on" APU tests
2023-01-28 10:20:35 -05:00
Sour c90181c1a2 Refactoring - Moved some GB/PCE files into subfolders 2022-09-08 22:23:30 -04:00