Sour
dc52149c7d
PCE: Always init CD-ROM save ram with 0s (+header)
...
Improves compatibility with some games that don't like the random data
2023-04-11 18:03:18 -04:00
Sour
be923f9eac
GB: Make "Auto" aspect ratio behave like "no stretching"
2023-04-11 00:14:30 -04:00
Sour
716227c0a7
UI: Update to Avalonia11-preview6
...
Notes:
-Uses a copy of VirtualizingStackPanel (to include fixes done after preview6) + fix another issue in lists
-Fixes memory leaks when closing windows (by setting DataContext to null, etc.)
2023-04-10 22:59:48 -04:00
Sour
b41e270a4c
GB: Fixed APU channel output changes being associated with the wrong timestamp
...
Caused issues with the audio in Pokemon (and probably other games?)
2023-04-10 00:33:15 -04:00
Sour
41a082b8e0
GB: Fixed scene transitions in Alone in the Dark
...
CGB should also turn white when LCD is disabled (at least based on what other emulators are doing)
2023-04-09 00:28:40 -04:00
Sour
0038e83dd6
Debugger: GB - Fixed incorrect memory values in the disassembly Occurred when the GB CPU's state was copied while the CPU was halted or had a pending IRQ
2023-04-08 23:17:18 -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
Persune
628e770fe9
NES: Fix emphasis emulation in Bisqwit's NTSC filter ( #17 )
2023-04-08 12:20:25 -04:00
Sour
63b779be8d
PCE: Reset cycle counter at the end of DMA
2023-04-07 13:39:20 -04:00
Sour
7c51e23d25
GB: Fixed envelopes being clocked when period is 0
...
Based on Megaman 2 and Taiyou no Yuusha the envelopes shouldn't be ticking when period is set to 0 (otherwise the sound in these games breaks - especially the noise channel)
This seems to contradict old documentation that says a period of 0 is treated as a period of 8, but test roms don't seem to validate either behavior and this fixes the audio for both games.
2023-04-05 20:49:02 -04:00
Sour
2f3ccc92c3
PCE: Fixed CPU bug that caused memory flag to not be restored properly by RTI
...
If any IRQ occured immediately after SET, returning from the IRQ would have the memory flag cleared, which caused the next instruction to behave completely differently from what was intended.
This caused issues in Ankoku Densetsu because it uses SET a lot and has the timer IRQ running constantly
2023-04-04 22:10:08 -04:00
Sour
28b03d8434
Debugger: SNES - Fixed RMW instructions not displaying the correct address/value in 16-bit mode
2023-04-04 17:46:57 -04:00
Sour
f1921b365f
PCE: Fixed freeze when using the start option in Record of Lodoss War
2023-04-02 16:45:29 -04:00
Sour
3a77015a7c
Debugger: PCE - Fixed read/write highlights and breakpoints for ADPCM memory
2023-04-02 15:39:12 -04:00
Sour
228586ab12
SNES: Mouse - Added left/up flags to save state data
2023-04-02 15:28:21 -04:00
Sour
ce9dcaec62
PCE: Fixed SGX priority mode 2 behavior
...
Based on sgx3b demo (which is supposed to have been validated on hardware)
No supergrafx games appear to use this mode
2023-04-02 15:23:50 -04:00
NESblast
95e302a0d8
SNES: Mouse keeps previous Up/Left flag value when not moving ( #16 )
2023-04-02 15:23:17 -04:00
Sour
bd4d4e8326
UI: Added more mouse speed levels in input config
2023-04-02 10:32:10 -04:00
Sour
01c65c3549
PCE: Fixed shaking in Final Soldier & Jackie Chan
...
Both games do CLI followed by LDA $0000 in their IRQ handler. The old logic would prevent an additional IRQ from firing after the LDA, because the LDA acknowledges the IRQ. But at this point, the CPU already processed the IRQ and will execute it anyway (the acknowledge is too late because it occurs on the last cycle of the instruction). Both games rely on this behavior, otherwise the IRQ handler's logic is executed too fast and the shaking occurs depending on the timing of the timer irq vs the rcr irq
2023-04-01 17:17:18 -04:00
Sour
dccc8e2f49
SNES: Mouse - Remove the old logic, only keep the more hardware-accurate one
2023-04-01 16:54:12 -04:00
NESblast
f0391bddd7
SNES: Add SNES Accurate Mouse Movement ( #15 )
...
This code approximates a real SNES mouse and has a bool for a non-existent UI option for SNES Mouse Accuracy Mode.
It also lets the mouse move 1 pixel despite sensitivity settings in Mesen classic behavior.
2023-04-01 16:38:40 -04:00
Sour
a6ff48a1df
Debugger: Fixed "find all occurrences" returning the same result multiple times
2023-03-29 20:40:52 -04:00
Sour
99acfc71b9
NES: HD Packs - Small performance improvement for additional sprites
2023-03-28 20:10:55 -04:00
Sour
9e7a5ab146
NES: HD Packs - Improved performance when a large number of <addition> tags are defined
2023-03-27 19:46:17 -04:00
Sour
42e96d7e90
NES: Removed left/right side padding pixels
...
These were causing some issues on the edges of the screen, better to pretend the picture is surrounded by black pixels
2023-03-27 18:59:22 -04:00
Sour
4df8a636f1
NES: Restored 2-phase ntsc filter when used on PAL games + fixed phases when overclocking is enabled
2023-03-27 18:04:05 -04:00
Sour
3350c246a1
NES: Improved horizontal bleed/blur behavior for bisqwit NTSC filter + use better default i/q values (credits to rainwarrior)
...
Centers the effect of the filters, which prevents the color bleed from only appearing on the right side of the original pixels
2023-03-26 22:57:04 -04:00
Sour
77acdab584
NES: Fixed phase for NTSC filters, allowing 3-phase pattern for Battletoads
2023-03-26 19:53:07 -04:00
Sour
226408d539
SNES: Fixed SA-1 regression caused by previous commits
2023-03-26 12:23:11 -04:00
Sour
ef64e86904
SNES: Emulation mode fixes
...
-Perform dummy writes when needed in emulation mode
-Prevent REP/RTI from clearing the M/X flags in emulation mode
2023-03-26 10:49:23 -04:00
Sour
346b43ea13
SNES: Fixed CPU bugs based on TomHarte's test suite
...
-Fixed order of operations in JSL, etc.
-Fixed order of writes in 16-bit RMW operations
-Fixed wrapping behavior for some instructions (direct addressing, jumps, stack relative indirect addressing, etc.)
2023-03-26 10:15:27 -04:00
Sour
32a0eef399
SNES: Allow loading SPC files that don't contain the extra RAM section at the end
2023-03-21 19:51:08 -04:00
Sour
061dd406bb
SNES: Fixed graphical glitch when fast-forwarding with frame skipping enabled when game switches between low resolution/high resolution modes
2023-03-19 16:33:46 -04:00
Sour
864ae84a98
NES: HD Packs - Added loop position parameter for bgm tags
2023-03-19 13:37:24 -04:00
Sour
df7ac1fd5e
SNES: Added RAM initialization exception for Nichibutsu Arcade Classics
...
When random, Frisky Tom can freeze during its attract sequence
2023-03-18 21:26:50 -04:00
Sour
21cc5a77da
SNES: Added exception for Super Formation Soccer 95 to prevent issues when save ram is initialized with random values
2023-03-18 18:31:26 -04:00
Sour
afbaaed564
NES: HD Packs - Fixed blank/corrupted screen when hd pack doesn't contain any <tile> tags
2023-03-18 18:13:47 -04:00
Sour
7c38ed47f9
NES: HD Packs - Added blend mode option to backgrounds
2023-03-18 11:28:40 -04:00
Sour
11dbb90732
NES: HD Packs - Performance tweaks
...
Keep BGs in separate arrays based on their priority to avoid having to scan thousands of background entries for layers that have no backgrounds at all on each frame
2023-03-18 11:16:13 -04:00
Sour
a7640e28d2
Debugger: NES - Fixed "save rom as" not working properly with CHR ROM games
2023-03-17 21:54:17 -04:00
Sour
87ea3c4a9e
Debugger: Suppress "bring to front on break" behavior when the trigger is another operation (e.g save state/load state, etc.)
2023-03-15 19:35:04 -04:00
Sour
bb0bf735f7
Debugger: SNES - Add DSP registers to memory viewer
2023-03-14 20:03:12 -04:00
Sour
91b7ebbd60
SNES: Randomize DSP register values on power on, but reset the internal state to 0
2023-03-14 19:46:47 -04:00
Sour
bdd87cde5c
NES: HD Packs - Fixed sound wrapping issues when too many sound effects are playing at once (clip to min/max instead)
2023-03-12 23:42:20 -04:00
Sour
7a4a9b5e45
SNES: Fixed freeze after reset in some games
...
Affects Ranma Chounai Gekitou Hen (and possibly others)
2023-03-12 19:33:28 -04:00
Sour
08301e122a
SNES: Partially fixed glitchy frames when rewinding an interlaced game
...
Looks less glitchy, but still doesn't display the right image for one frame after loading each state
2023-03-12 19:31:23 -04:00
Sour
a86f5abfd1
SNES: Use double buffering for interlaced games (like all other games)
...
Improves fast forward performance when video filters are used
+ Fixed issues with frame skipping that could cause only half the lines to be redrawn for an extended period of time at some emulation speeds
2023-03-12 17:57:40 -04:00
Sour
4ea985f4b5
When a file has an unknown extension, check for known file signatures to pick a core
2023-03-12 16:39:48 -04:00
Sour
e191a22451
Debugger: GB - Prevent tooltips from showing a work ram address for registers at $FF00+
2023-03-12 15:11:39 -04:00
Sour
feaa435441
GB: Added MBC3 RTC support
...
Fixes the ax6 and cpp RTC tests
2023-03-11 15:45:08 -05:00