dspMemoryPatches.cpp (360B)
1 #include "dspMemoryPatches.h" 2 3 #include "dspSingle.h" 4 5 namespace virusLib 6 { 7 static const std::initializer_list<synthLib::DspMemoryPatches> g_patches = 8 { 9 }; 10 11 void DspMemoryPatches::apply(const DspSingle* _dsp, const baseLib::MD5& _romChecksum) 12 { 13 if(!_dsp) 14 return; 15 16 for (auto element : g_patches) 17 element.apply(_dsp->getDSP(), _romChecksum); 18 } 19 }