Loader: Added support for booting NCCH executables.
NCCH: Fixed typo in printing NCCH filename.
This commit is contained in:
parent
0aca202ae9
commit
3577dd027d
6 changed files with 384 additions and 0 deletions
21
src/core/loader/ncch.h
Normal file
21
src/core/loader/ncch.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
namespace Loader {
|
||||
|
||||
/**
|
||||
* Loads an NCCH file (e.g. from a CCI or CXI)
|
||||
* @param filename String filename of NCCH file
|
||||
* @param error_string Pointer to string to put error message if an error has occurred
|
||||
* @return True on success, otherwise false
|
||||
*/
|
||||
bool Load_NCCH(std::string& filename, std::string* error_string);
|
||||
|
||||
} // namespace Loader
|
Loading…
Add table
Add a link
Reference in a new issue