mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-17 16:22:41 +00:00
Loader: Updated read methods to be const
- Required "file" handle to be made local and explicitly opened/closed as needed
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace FileSys {
|
||||
|
||||
Archive_RomFS::Archive_RomFS(Loader::AppLoader& app_loader) {
|
||||
Archive_RomFS::Archive_RomFS(const Loader::AppLoader& app_loader) {
|
||||
// Load the RomFS from the app
|
||||
if (Loader::ResultStatus::Success != app_loader.ReadRomFS(raw_data)) {
|
||||
WARN_LOG(FILESYS, "Unable to read RomFS!");
|
||||
|
||||
Reference in New Issue
Block a user