uLaunch/Common/Source/apm_Stub.cpp

20 lines
365 B
C++
Raw Normal View History

2019-10-06 16:35:23 +00:00
#include <q_Include.hpp>
extern "C"
{
2019-10-18 20:49:47 +00:00
// 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.
2019-10-06 16:35:23 +00:00
Result __wrap_apmInitialize()
{
return 0;
}
Result __wrap_apmSetPerformanceConfiguration(u32 a, u32 b)
{
return 0;
}
void __wrap_apmExit()
{
}
}