uLaunch/Common/Source/apm_Stub.cpp
2019-10-18 22:49:47 +02:00

20 lines
No EOL
365 B
C++

#include <q_Include.hpp>
extern "C"
{
// Due to a weird bug with apm (and thanks that it isn't basically used in libnx) it is stubbed here to avoid any crashes.
Result __wrap_apmInitialize()
{
return 0;
}
Result __wrap_apmSetPerformanceConfiguration(u32 a, u32 b)
{
return 0;
}
void __wrap_apmExit()
{
}
}