mikage-dev/source/processes/dummy.cpp
2024-03-08 10:54:13 +01:00

19 lines
462 B
C++

#include "dummy.hpp"
namespace HLE {
namespace OS {
struct DummyProcess {
DummyProcess(FakeThread& thread) {
thread.CallSVC(&OS::SVCExitThread);
}
};
template<> std::shared_ptr<WrappedFakeProcess> CreateFakeProcessViaContext<DummyProcess>(OS& os, Interpreter::Setup& setup, uint32_t pid, const std::string& name) {
return WrappedFakeProcess::CreateWithContext<DummyProcess>(os, setup, pid, name);
}
} // namespace OS
} // namespace HLE