aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/loader/ncch.h
blob: 778e8b456933ae114673f5a58b6ad62e7affa9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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