HACK : change this for NeoPicoLED
| 52 | |
| 53 | // HACK : change this for NeoPicoLED |
| 54 | GPAddon * AddonManager::GetAddon(std::string name) { // hack for NeoPicoLED |
| 55 | for (std::vector<AddonBlock*>::iterator it = addons.begin(); it != addons.end(); it++) { |
| 56 | if ( (*it)->ptr->name() == name ) |
| 57 | return (*it)->ptr; |
| 58 | } |
| 59 | return nullptr; |
| 60 | } |