APU: Code cleanup (removed unused class template)

This commit is contained in:
Souryo 2016-01-24 18:51:07 -05:00
parent dbf038d5b4
commit 642a408298
3 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@
#include "stdafx.h"
#include "BaseApuChannel.h"
class ApuLengthCounter : public BaseApuChannel<15>
class ApuLengthCounter : public BaseApuChannel
{
private:
const vector<uint8_t> _lcLookupTable = { { 10, 254, 20, 2, 40, 4, 80, 6, 160, 8, 60, 10, 14, 12, 26, 14, 12, 16, 24, 18, 48, 20, 96, 22, 192, 24, 72, 26, 16, 28, 32, 30 } };

View File

@ -5,7 +5,6 @@
#include "Snapshotable.h"
#include "SoundMixer.h"
template<int range>
class BaseApuChannel : public IMemoryHandler, public Snapshotable
{
private:

View File

@ -5,7 +5,7 @@
class MemoryManager;
class DeltaModulationChannel : public BaseApuChannel<127>
class DeltaModulationChannel : public BaseApuChannel
{
private:
const vector<uint16_t> _dmcPeriodLookupTableNtsc = { { 428, 380, 340, 320, 286, 254, 226, 214, 190, 160, 142, 128, 106, 84, 72, 54 } };