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

n163: Allow sound RAM to follow RAM initialization settings #146

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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