mirror of
https://github.com/libretro/Mesen.git
synced 2024-11-23 17:19:39 +00:00
APU: Code cleanup (removed unused class template)
This commit is contained in:
parent
dbf038d5b4
commit
642a408298
@ -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 } };
|
||||
|
@ -5,7 +5,6 @@
|
||||
#include "Snapshotable.h"
|
||||
#include "SoundMixer.h"
|
||||
|
||||
template<int range>
|
||||
class BaseApuChannel : public IMemoryHandler, public Snapshotable
|
||||
{
|
||||
private:
|
||||
|
@ -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 } };
|
||||
|
Loading…
Reference in New Issue
Block a user