Skip to content

Commit

Permalink
SNES: Added back support for DSP3 and DSP4
Browse files Browse the repository at this point in the history
I've imported dsp.h from upstream at f9ae8fd. It had to be modified a bit to work (types, dynamic allocations) but not very much.
  • Loading branch information
ducalex committed Dec 24, 2024
1 parent b1ec74b commit 99ae023
Show file tree
Hide file tree
Showing 12 changed files with 5,597 additions and 2,108 deletions.
2 changes: 2 additions & 0 deletions retro-core/components/snes9x/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

## Based on:

I believe it was based on https://github.com/libretro/snes9x2010

## Modifications:

5 changes: 3 additions & 2 deletions retro-core/components/snes9x/src/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "snes9x.h"
#include "memmap.h"
#include "ppu.h"
#include "dsp1.h"
#include "dsp.h"
#include "cpuexec.h"
#include "apu.h"
#include "dma.h"
Expand Down Expand Up @@ -65,7 +65,8 @@ static void CommonS9xReset()

S9xResetDMA();
S9xResetAPU();
S9xResetDSP1();
if (Settings.DSP)
S9xResetDSP();
if (Settings.OBC1)
ResetOBC1();
if (Settings.C4)
Expand Down
5,152 changes: 5,152 additions & 0 deletions retro-core/components/snes9x/src/dsp.c

Large diffs are not rendered by default.

Loading

0 comments on commit 99ae023

Please sign in to comment.