gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

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 }