MCPcopy Create free account
hub / github.com/bbbradsmith/nsfplay / LoadPreset

Method LoadPreset

nsfplug_ui/PresetManager.cpp:92–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92bool
93PresetManager::LoadPreset(xgm::NSFPlayerConfigIni *cfg, const CString &name)
94{
95 for(int i=0;preset_range[i]!=NULL;i++)
96 cfg->Load(path, presetName2Sect[name], preset_range[i]);
97
98 cfg->Notify(-1);
99 return true;
100}
101
102bool
103PresetManager::SavePreset(xgm::NSFPlayerConfigIni *cfg, const CString &name)

Callers 2

OnCbnSelchangeComboMethod · 0.80
OnBnClickedLoadMethod · 0.80

Calls 2

LoadMethod · 0.45
NotifyMethod · 0.45

Tested by

no test coverage detected