2015-06-12 00:12:16 +02:00
|
|
|
// Copyright 2015 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2016-09-20 17:21:23 +02:00
|
|
|
#include "core/hle/service/nim/nim.h"
|
2016-02-02 07:17:41 +01:00
|
|
|
#include "common/common_types.h"
|
2015-06-12 00:12:16 +02:00
|
|
|
#include "common/logging/log.h"
|
|
|
|
#include "core/hle/service/nim/nim_aoc.h"
|
|
|
|
#include "core/hle/service/nim/nim_s.h"
|
|
|
|
#include "core/hle/service/nim/nim_u.h"
|
2016-09-18 02:38:01 +02:00
|
|
|
#include "core/hle/service/service.h"
|
2015-06-12 00:12:16 +02:00
|
|
|
|
|
|
|
namespace Service {
|
|
|
|
namespace NIM {
|
|
|
|
|
|
|
|
void CheckSysUpdateAvailable(Service::Interface* self) {
|
|
|
|
u32* cmd_buff = Kernel::GetCommandBuffer();
|
|
|
|
|
|
|
|
cmd_buff[1] = RESULT_SUCCESS.raw;
|
|
|
|
cmd_buff[2] = 0; // No update available
|
|
|
|
|
|
|
|
LOG_WARNING(Service_NWM, "(STUBBED) called");
|
|
|
|
}
|
|
|
|
|
|
|
|
void Init() {
|
|
|
|
using namespace Kernel;
|
|
|
|
|
|
|
|
AddService(new NIM_AOC_Interface);
|
|
|
|
AddService(new NIM_S_Interface);
|
|
|
|
AddService(new NIM_U_Interface);
|
|
|
|
}
|
|
|
|
|
2016-09-19 03:01:46 +02:00
|
|
|
void Shutdown() {}
|
2015-06-12 00:12:16 +02:00
|
|
|
|
|
|
|
} // namespace NIM
|
|
|
|
|
|
|
|
} // namespace Service
|