diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-17 04:57:09 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-17 05:43:29 +0200 |
commit | 3577dd027ddbaa2517eacad700ed0768a1f4b518 (patch) | |
tree | 4ddf41f874385673ed1e1e1396b3731e67810318 /src/core/loader/ncch.h | |
parent | Loader: Moved elf and loader modules to a "loader" subdirectory. (diff) | |
download | yuzu-3577dd027ddbaa2517eacad700ed0768a1f4b518.tar yuzu-3577dd027ddbaa2517eacad700ed0768a1f4b518.tar.gz yuzu-3577dd027ddbaa2517eacad700ed0768a1f4b518.tar.bz2 yuzu-3577dd027ddbaa2517eacad700ed0768a1f4b518.tar.lz yuzu-3577dd027ddbaa2517eacad700ed0768a1f4b518.tar.xz yuzu-3577dd027ddbaa2517eacad700ed0768a1f4b518.tar.zst yuzu-3577dd027ddbaa2517eacad700ed0768a1f4b518.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/ncch.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h new file mode 100644 index 000000000..778e8b456 --- /dev/null +++ b/src/core/loader/ncch.h @@ -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 |