mirror of https://git.suyu.dev/suyu/suyu
Added stub for ldr:ro service...
parent
6b51683bb1
commit
6117fad036
@ -0,0 +1,28 @@
|
||||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "common/log.h"
|
||||
#include "core/hle/hle.h"
|
||||
#include "core/hle/service/ldr_ro.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Namespace LDR_RO
|
||||
|
||||
namespace LDR_RO {
|
||||
|
||||
const Interface::FunctionInfo FunctionTable[] = {
|
||||
{0x000100C2, nullptr, "Initialize"},
|
||||
{0x00020082, nullptr, "CRR_Load"},
|
||||
{0x00030042, nullptr, "CRR_Unload"},
|
||||
{0x000402C2, nullptr, "CRO_LoadAndFix"},
|
||||
{0x000500C2, nullptr, "CRO_ApplyRelocationPatchesAndLink"}
|
||||
};
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Interface class
|
||||
|
||||
Interface::Interface() {
|
||||
Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
||||
}
|
||||
|
||||
} // namespace
|
@ -0,0 +1,27 @@
|
||||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Namespace LDR_RO
|
||||
|
||||
namespace LDR_RO {
|
||||
|
||||
class Interface : public Service::Interface {
|
||||
public:
|
||||
Interface();
|
||||
|
||||
/**
|
||||
* Gets the string port name used by CTROS for the service
|
||||
* @return Port name of service
|
||||
*/
|
||||
std::string GetPortName() const override {
|
||||
return "ldr:ro";
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace
|
Loading…
Reference in New Issue