| 16 | } |
| 17 | |
| 18 | void init() |
| 19 | { |
| 20 | #ifdef DVB_HAS_SSE41 |
| 21 | if (!cpu_features::get_cpu_features().CPU_X86_SSE41) |
| 22 | { |
| 23 | logger->error("CPU Does not support SSE4_1. Extension plugin NOT loading!"); |
| 24 | return; |
| 25 | } |
| 26 | #endif |
| 27 | satdump::eventBus->register_handler<RegisterModulesEvent>(registerPluginsHandler); |
| 28 | } |
| 29 | |
| 30 | static void registerPluginsHandler(const RegisterModulesEvent &evt) |
| 31 | { |
nothing calls this directly
no test coverage detected