mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
バックグラウンド通信を止めるように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@511 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
969a7b7f02
commit
06a3c23e11
@ -24,6 +24,7 @@
|
|||||||
#include <nn/fs/CTR/fs_ArchiveTypesForSystem.h>
|
#include <nn/fs/CTR/fs_ArchiveTypesForSystem.h>
|
||||||
#include <nn/fs/CTR/MPCore/fs_FileSystemBasePrivate.h>
|
#include <nn/fs/CTR/MPCore/fs_FileSystemBasePrivate.h>
|
||||||
#include <nn/nim.h>
|
#include <nn/nim.h>
|
||||||
|
#include <nn/ndm.h>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -48,10 +49,6 @@
|
|||||||
#define WHITE 1.0f, 1.0f, 1.0f
|
#define WHITE 1.0f, 1.0f, 1.0f
|
||||||
#define BLACK 0.0f, 0.0f, 0.0f
|
#define BLACK 0.0f, 0.0f, 0.0f
|
||||||
|
|
||||||
extern "C" void nninitSetupDaemons(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
const char* const NAND_TWL_ARCHIVE_NAME = "twln:";
|
const char* const NAND_TWL_ARCHIVE_NAME = "twln:";
|
||||||
const char* const NAND_TWL_KENJ_DIR_PATHNAME = "twln:/title/00030004/4b454e4a";
|
const char* const NAND_TWL_KENJ_DIR_PATHNAME = "twln:/title/00030004/4b454e4a";
|
||||||
@ -381,7 +378,17 @@ extern "C" void nnMain(void)
|
|||||||
nn::am::InitializeForSystemMenu();
|
nn::am::InitializeForSystemMenu();
|
||||||
|
|
||||||
// nimの初期化
|
// nimの初期化
|
||||||
nn::nim::InitializeForShop();
|
NN_UTIL_PANIC_IF_FAILED(
|
||||||
|
nn::nim::InitializeForShop()
|
||||||
|
);
|
||||||
|
|
||||||
|
// ndmの初期化
|
||||||
|
NN_UTIL_PANIC_IF_FAILED(
|
||||||
|
nn::ndm::Initialize()
|
||||||
|
);
|
||||||
|
NN_UTIL_PANIC_IF_FAILED(
|
||||||
|
nn::ndm::SuspendScheduler()
|
||||||
|
);
|
||||||
|
|
||||||
// ヒープの確保
|
// ヒープの確保
|
||||||
common::HeapManager::GetHeap()->Initialize(nn::os::GetDeviceMemoryAddress(), nn::os::GetDeviceMemorySize(), nn::os::ALLOCATE_OPTION_LINEAR);
|
common::HeapManager::GetHeap()->Initialize(nn::os::GetDeviceMemoryAddress(), nn::os::GetDeviceMemorySize(), nn::os::ALLOCATE_OPTION_LINEAR);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user