Files
melonDS/src/DSi_NAND.h
2021-08-21 21:25:08 +02:00

42 lines
1.1 KiB
C++

/*
Copyright 2016-2021 Arisotura
This file is part of melonDS.
melonDS is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
melonDS is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with melonDS. If not, see http://www.gnu.org/licenses/.
*/
#ifndef DSI_NAND_H
#define DSI_NAND_H
#include "types.h"
#include <vector>
namespace DSi_NAND
{
bool Init(FILE* nand, u8* es_keyY);
void DeInit();
void GetIDs(u8* emmc_cid, u64& consoleid);
void PatchTSC();
void ListTitles(u32 category, std::vector<u32>& titlelist);
void GetTitleInfo(u32 category, u32 titleid, u32& version, u8* header, u8* banner);
void ImportTest();
}
#endif // DSI_NAND_H