Browse Source
Merge pull request #823 from lioncash/nifm
Merge pull request #823 from lioncash/nifm
service/nifm: Deduplicate interface codence_cpp
committed by
GitHub
9 changed files with 30 additions and 141 deletions
-
6src/core/CMakeLists.txt
-
47src/core/hle/service/nifm/nifm.cpp
-
19src/core/hle/service/nifm/nifm.h
-
17src/core/hle/service/nifm/nifm_a.cpp
-
16src/core/hle/service/nifm/nifm_a.h
-
17src/core/hle/service/nifm/nifm_s.cpp
-
16src/core/hle/service/nifm/nifm_s.h
-
17src/core/hle/service/nifm/nifm_u.cpp
-
16src/core/hle/service/nifm/nifm_u.h
@ -1,17 +0,0 @@ |
|||
// Copyright 2018 yuzu emulator team
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "core/hle/service/nifm/nifm_a.h"
|
|||
|
|||
namespace Service::NIFM { |
|||
|
|||
NIFM_A::NIFM_A(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "nifm:a") { |
|||
static const FunctionInfo functions[] = { |
|||
{4, &NIFM_A::CreateGeneralServiceOld, "CreateGeneralServiceOld"}, |
|||
{5, &NIFM_A::CreateGeneralService, "CreateGeneralService"}, |
|||
}; |
|||
RegisterHandlers(functions); |
|||
} |
|||
|
|||
} // namespace Service::NIFM
|
|||
@ -1,16 +0,0 @@ |
|||
// Copyright 2018 yuzu emulator team |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/nifm/nifm.h" |
|||
|
|||
namespace Service::NIFM { |
|||
|
|||
class NIFM_A final : public Module::Interface { |
|||
public: |
|||
explicit NIFM_A(std::shared_ptr<Module> module); |
|||
}; |
|||
|
|||
} // namespace Service::NIFM |
|||
@ -1,17 +0,0 @@ |
|||
// Copyright 2018 yuzu emulator team
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "core/hle/service/nifm/nifm_s.h"
|
|||
|
|||
namespace Service::NIFM { |
|||
|
|||
NIFM_S::NIFM_S(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "nifm:s") { |
|||
static const FunctionInfo functions[] = { |
|||
{4, &NIFM_S::CreateGeneralServiceOld, "CreateGeneralServiceOld"}, |
|||
{5, &NIFM_S::CreateGeneralService, "CreateGeneralService"}, |
|||
}; |
|||
RegisterHandlers(functions); |
|||
} |
|||
|
|||
} // namespace Service::NIFM
|
|||
@ -1,16 +0,0 @@ |
|||
// Copyright 2018 yuzu emulator team |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/nifm/nifm.h" |
|||
|
|||
namespace Service::NIFM { |
|||
|
|||
class NIFM_S final : public Module::Interface { |
|||
public: |
|||
explicit NIFM_S(std::shared_ptr<Module> module); |
|||
}; |
|||
|
|||
} // namespace Service::NIFM |
|||
@ -1,17 +0,0 @@ |
|||
// Copyright 2018 yuzu emulator team
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "core/hle/service/nifm/nifm_u.h"
|
|||
|
|||
namespace Service::NIFM { |
|||
|
|||
NIFM_U::NIFM_U(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "nifm:u") { |
|||
static const FunctionInfo functions[] = { |
|||
{4, &NIFM_U::CreateGeneralServiceOld, "CreateGeneralServiceOld"}, |
|||
{5, &NIFM_U::CreateGeneralService, "CreateGeneralService"}, |
|||
}; |
|||
RegisterHandlers(functions); |
|||
} |
|||
|
|||
} // namespace Service::NIFM
|
|||
@ -1,16 +0,0 @@ |
|||
// Copyright 2018 yuzu emulator team |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/nifm/nifm.h" |
|||
|
|||
namespace Service::NIFM { |
|||
|
|||
class NIFM_U final : public Module::Interface { |
|||
public: |
|||
explicit NIFM_U(std::shared_ptr<Module> module); |
|||
}; |
|||
|
|||
} // namespace Service::NIFM |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue