mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 04:46:27 -05:00
22 lines
596 B
C
22 lines
596 B
C
|
// 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
|