Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #146 from negativeExponent/n163_randomize_soundram
Browse files Browse the repository at this point in the history
n163: Allow sound RAM to follow RAM initialization settings
  • Loading branch information
NovaSquirrel authored Jan 10, 2023
2 parents ac588ed + 4365ee9 commit 0c6f1b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Core/Namco163Audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "Snapshotable.h"
#include "APU.h"
#include "BaseExpansionAudio.h"
#include "Console.h"

class Namco163Audio : public BaseExpansionAudio
{
Expand Down Expand Up @@ -143,7 +144,7 @@ class Namco163Audio : public BaseExpansionAudio
public:
Namco163Audio(shared_ptr<Console> console) : BaseExpansionAudio(console)
{
memset(_internalRam, 0, sizeof(_internalRam));
_console->InitializeRam(_internalRam, sizeof(_internalRam));
memset(_channelOutput, 0, sizeof(_channelOutput));
_ramPosition = 0;
_autoIncrement = false;
Expand Down

0 comments on commit 0c6f1b3

Please sign in to comment.