Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
475 B
C++
Raw Normal View History

// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2018-07-27 18:14:03 -04:00
#pragma once
#include "core/file_sys/vfs/vfs.h"
2018-07-27 18:14:03 -04:00
namespace FileSys {
// Converts a RomFS binary blob to VFS Filesystem
// Returns nullptr on failure
VirtualDir ExtractRomFS(VirtualFile file);
2018-09-19 22:04:51 -04:00
// Converts a VFS filesystem into a RomFS binary
// Returns nullptr on failure
VirtualFile CreateRomFS(VirtualDir dir, VirtualDir ext = nullptr);
2018-07-27 18:14:03 -04:00
} // namespace FileSys