diff options
author | Weiyi Wang <wwylele@gmail.com> | 2017-07-16 19:12:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-16 19:12:55 +0200 |
commit | e634b757544c2dc256888d3b0bbf481ad6f95227 (patch) | |
tree | 6c3b60339ab4d766bc308a240b01158138101005 /src/core/hle/romfs.h | |
parent | Merge pull request #2824 from jroweboy/mingw_compile_test (diff) | |
parent | apt: load shared font from system archive (diff) | |
download | yuzu-e634b757544c2dc256888d3b0bbf481ad6f95227.tar yuzu-e634b757544c2dc256888d3b0bbf481ad6f95227.tar.gz yuzu-e634b757544c2dc256888d3b0bbf481ad6f95227.tar.bz2 yuzu-e634b757544c2dc256888d3b0bbf481ad6f95227.tar.lz yuzu-e634b757544c2dc256888d3b0bbf481ad6f95227.tar.xz yuzu-e634b757544c2dc256888d3b0bbf481ad6f95227.tar.zst yuzu-e634b757544c2dc256888d3b0bbf481ad6f95227.zip |
Diffstat (limited to 'src/core/hle/romfs.h')
-rw-r--r-- | src/core/hle/romfs.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/hle/romfs.h b/src/core/hle/romfs.h new file mode 100644 index 000000000..ee9f29760 --- /dev/null +++ b/src/core/hle/romfs.h @@ -0,0 +1,22 @@ +// Copyright 2017 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include <string> +#include <vector> +#include "common/common_types.h" + +namespace RomFS { + +/** + * Gets the pointer to a file in a RomFS image. + * @param romfs The pointer to the RomFS image + * @param path A vector containing the directory names and file name of the path to the file + * @return the pointer to the file + * @todo reimplement this with a full RomFS manager + */ +const u8* GetFilePointer(const u8* romfs, const std::vector<std::u16string>& path); + +} // namespace RomFS |