mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 20:37:18 +12:00
FS: Stub TWL_SOUND
This commit is contained in:
parent
b436fdca64
commit
055dbc7fb6
6 changed files with 79 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "fs/archive_self_ncch.hpp"
|
||||
#include "fs/archive_system_save_data.hpp"
|
||||
#include "fs/archive_twl_photo.hpp"
|
||||
#include "fs/archive_twl_sound.hpp"
|
||||
#include "fs/archive_user_save_data.hpp"
|
||||
#include "helpers.hpp"
|
||||
#include "kernel_types.hpp"
|
||||
|
@ -41,6 +42,7 @@ class FSService {
|
|||
SystemSaveDataArchive systemSaveData;
|
||||
|
||||
TWLPhotoArchive twlPhoto;
|
||||
TWLSoundArchive twlSound;
|
||||
|
||||
ArchiveBase* getArchiveFromID(u32 id, const FSPath& archivePath);
|
||||
Rust::Result<Handle, HorizonResult> openArchiveHandle(u32 archiveID, const FSPath& path);
|
||||
|
@ -90,7 +92,7 @@ class FSService {
|
|||
FSService(Memory& mem, Kernel& kernel, const EmulatorConfig& config)
|
||||
: mem(mem), saveData(mem), sharedExtSaveData_nand(mem, "../SharedFiles/NAND", true), extSaveData_sdmc(mem, "SDMC"), sdmc(mem),
|
||||
sdmcWriteOnly(mem, true), selfNcch(mem), ncch(mem), userSaveData1(mem, ArchiveID::UserSaveData1),
|
||||
userSaveData2(mem, ArchiveID::UserSaveData2), systemSaveData(mem), twlPhoto(mem), kernel(kernel), config(config) {}
|
||||
userSaveData2(mem, ArchiveID::UserSaveData2), systemSaveData(mem), twlPhoto(mem), twlSound(mem), kernel(kernel), config(config) {}
|
||||
|
||||
void reset();
|
||||
void handleSyncRequest(u32 messagePointer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue