mirror of
https://github.com/mikage-emu/mikage-dev.git
synced 2025-01-09 15:01:00 +01:00
20 lines
462 B
C++
20 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
|