mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 06:16:23 -05:00
ebdae19fd2
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
37 lines
895 B
C++
37 lines
895 B
C++
// Copyright 2015 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "core/hle/service/nim/nim.h"
|
|
#include "common/common_types.h"
|
|
#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"
|
|
#include "core/hle/service/service.h"
|
|
|
|
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);
|
|
}
|
|
|
|
void Shutdown() {}
|
|
|
|
} // namespace NIM
|
|
|
|
} // namespace Service
|