Browse Source

Fixed ArchiveID struct

pull/107/head
Andrea Ciliberti 2 years ago
parent
commit
2e6039c1b8
  1. 42
      ctru-rs/src/services/fs.rs

42
ctru-rs/src/services/fs.rs

@ -65,27 +65,27 @@ pub enum PathType { @@ -65,27 +65,27 @@ pub enum PathType {
#[repr(u32)]
pub enum ArchiveID {
RomFS = ctru_sys::ARCHIVE_ROMFS,
Savedata = ctru_sys::ARCHIVE_ROMFS,
Extdata = ctru_sys::ARCHIVE_ROMFS,
SharedExtdata = ctru_sys::ARCHIVE_ROMFS,
SystemSavedata = ctru_sys::ARCHIVE_ROMFS,
Sdmc = ctru_sys::ARCHIVE_ROMFS,
SdmcWriteOnly = ctru_sys::ARCHIVE_ROMFS,
BossExtdata = ctru_sys::ARCHIVE_ROMFS,
CardSpiFS = ctru_sys::ARCHIVE_ROMFS,
ExtDataAndBossExtdata = ctru_sys::ARCHIVE_ROMFS,
SystemSaveData2 = ctru_sys::ARCHIVE_ROMFS,
NandRW = ctru_sys::ARCHIVE_ROMFS,
NandRO = ctru_sys::ARCHIVE_ROMFS,
NandROWriteAccess = ctru_sys::ARCHIVE_ROMFS,
SaveDataAndContent = ctru_sys::ARCHIVE_ROMFS,
SaveDataAndContent2 = ctru_sys::ARCHIVE_ROMFS,
NandCtrFS = ctru_sys::ARCHIVE_ROMFS,
TwlPhoto = ctru_sys::ARCHIVE_ROMFS,
NandTwlFS = ctru_sys::ARCHIVE_ROMFS,
GameCardSavedata = ctru_sys::ARCHIVE_ROMFS,
UserSavedata = ctru_sys::ARCHIVE_ROMFS,
DemoSavedata = ctru_sys::ARCHIVE_ROMFS,
Savedata = ctru_sys::ARCHIVE_SAVEDATA,
Extdata = ctru_sys::ARCHIVE_EXTDATA,
SharedExtdata = ctru_sys::ARCHIVE_SHARED_EXTDATA,
SystemSavedata = ctru_sys::ARCHIVE_SYSTEM_SAVEDATA,
Sdmc = ctru_sys::ARCHIVE_SDMC,
SdmcWriteOnly = ctru_sys::ARCHIVE_SDMC_WRITE_ONLY,
BossExtdata = ctru_sys::ARCHIVE_BOSS_EXTDATA,
CardSpiFS = ctru_sys::ARCHIVE_CARD_SPIFS,
ExtDataAndBossExtdata = ctru_sys::ARCHIVE_EXTDATA_AND_BOSS_EXTDATA,
SystemSaveData2 = ctru_sys::ARCHIVE_SYSTEM_SAVEDATA2,
NandRW = ctru_sys::ARCHIVE_NAND_RW,
NandRO = ctru_sys::ARCHIVE_NAND_RO,
NandROWriteAccess = ctru_sys::ARCHIVE_NAND_RO_WRITE_ACCESS,
SaveDataAndContent = ctru_sys::ARCHIVE_SAVEDATA_AND_CONTENT,
SaveDataAndContent2 = ctru_sys::ARCHIVE_SAVEDATA_AND_CONTENT2,
NandCtrFS = ctru_sys::ARCHIVE_NAND_CTR_FS,
TwlPhoto = ctru_sys::ARCHIVE_TWL_PHOTO,
NandTwlFS = ctru_sys::ARCHIVE_NAND_TWL_FS,
GameCardSavedata = ctru_sys::ARCHIVE_GAMECARD_SAVEDATA,
UserSavedata = ctru_sys::ARCHIVE_USER_SAVEDATA,
DemoSavedata = ctru_sys::ARCHIVE_DEMO_SAVEDATA,
}
/// Represents the filesystem service. No file IO can be performed

Loading…
Cancel
Save