mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
20 lines
No EOL
352 B
C++
20 lines
No EOL
352 B
C++
#include "pch.h"
|
|
#include "NES/APU/BaseExpansionAudio.h"
|
|
#include "NES/APU/NesApu.h"
|
|
#include "NES/NesConsole.h"
|
|
|
|
BaseExpansionAudio::BaseExpansionAudio(NesConsole* console)
|
|
{
|
|
_console = console;
|
|
}
|
|
|
|
void BaseExpansionAudio::Serialize(Serializer& s)
|
|
{
|
|
}
|
|
|
|
void BaseExpansionAudio::Clock()
|
|
{
|
|
if(_console->GetApu()->IsApuEnabled()) {
|
|
ClockAudio();
|
|
}
|
|
} |