Subv
f707026ac5
HLE/FS: Change the error code returned when an ExtSaveData archive is not found.
This allows Fire Emblem to boot again.
10 years ago
Subv
3aa42627a3
HLE/FS: Corrected some style concerns.
10 years ago
Subv
d26c6b3212
HLE/FS: Implemented GetFormatInfo
Format information is currently only implemented for the ExtSaveData, SharedExtSaveData and SaveData archives, the information is stored in a file alongside the root folder of the archive.
10 years ago
Subv
95b34f8081
HLE/FS: Return the proper error codes when opening files.
10 years ago
Subv
96f0e32f83
HLE/FS: Return the proper error codes on file Read/Write operations.
These operations are limited by the open flags specified while opening the file.
10 years ago
Subv
09b0564c75
HLE/FS: Corrected the error codes for DeleteFile
10 years ago
Subv
b350f192bb
HLE/FS: Corrected the error codes for CreateFile
10 years ago
Subv
381a5c053f
HLE/FS: FS::CreateFile takes an u64 for the file size.
10 years ago
Lioncash
3ed5ecd67a
archive_backend: Remove unnecessary const from return types
This doesn't return by reference so const isn't really necessary
10 years ago
Subv
922b31ebbd
DiskDirectory: Initialize the directory member with valid info.
10 years ago
archshift
5dfd2dba70
Implement FS_User::GetFreeBytes
10 years ago
Lioncash
a97d9613a7
ivfc_archive: Fix a printf specifier
10 years ago
Lioncash
d7bfda3e26
disk_archive: Remove unimplemented constructor declarations
10 years ago
Subv
ce6a65cec9
Services/FS: Correctly tell the guest app whether a file was correctly opened or not.
Closes #1067
10 years ago
Yuri Kunde Schlesner
a1f08788d9
Archive: Correct a few incorrect types in function signatures
Buffer lengths should be size_t, and file offsets should be u64.
11 years ago
Yuri Kunde Schlesner
2d7299a86f
Loader: Remove unnecessary pointer indirection to IOFile
11 years ago
condut
c385b7767d
FS: Stream RomFS from file instead of loading all of it to memory
11 years ago
Yuri Kunde Schlesner
5c5cf2f8e0
Core: Properly configure address space when loading a binary
The code now properly configures the process image to match the loaded
binary segments (code, rodata, data) instead of just blindly allocating
a large chunk of dummy memory.
11 years ago
Emmanuel Gil Peyrot
e5fcabdd69
Core: Cleanup file_sys includes.
11 years ago
Emmanuel Gil Peyrot
45c4781544
CitraQt: Cleanup includes.
11 years ago
Emmanuel Gil Peyrot
2d044a67c9
Common: Cleanup memory and misc includes.
11 years ago
Emmanuel Gil Peyrot
8cf9eb7f43
Common: Fix FileUtil includes, and everything relying on those.
11 years ago
Subv
66c1db7288
ExtSavedata: Save the icon passed to CreateExtSaveData to the correct folder.
Organize the ExtSaveData folders as they are stored in the console.
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
11 years ago
Yuri Kunde Schlesner
7ada357b2d
Memmap: Re-organize memory function in two files
memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
11 years ago
Yuri Kunde Schlesner
a5eba2f984
Kernel: Remove g_program_id
This has been obsoleted by the field in Process.
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
Yuri Kunde Schlesner
c0eaa662d4
Clean-up includes
11 years ago
Yuri Kunde Schlesner
b89f644cfe
FileSys: De-inline Path members
11 years ago
Yuri Kunde Schlesner
6f89d25f90
FileSys: Clean-up includes, de-inline destructors
11 years ago
Emmanuel Gil Peyrot
bdcf28e3bc
Headers: Add some forgotten overrides, thanks clang!
11 years ago
Subv
1d61cd4460
Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and DeleteSystemSaveData
Also fixed a bug with CreateExtSaveData that made it unable to create ExtSaveData archives in the SDMC directory.
11 years ago
Subv
9db5c9b6dc
Archives: Properly implemented the SystemSaveData archive.
Ported to the new factory pattern we have for archives.
11 years ago
Yuri Kunde Schlesner
3f1a3952d7
FS: Allow multiple instances of the same archive type to be open at once
11 years ago
Subv
c2e9990149
Services: Stubbed more services.
Implemented FSUser::CreateExtSaveData
11 years ago
Subv
8fbe5d2dca
Archives/Exdata: Don't set concrete_mount_point in the ctor
11 years ago
Subv
5244ac0e9c
Archives: Addressed some comments
11 years ago
Subv
123a76c9c8
SaveDataCheck: Fixed a typo
11 years ago
Subv
90dffe3fc1
Archives: Make SYSTEM_ID and SDCARD_ID strings
11 years ago
Subv
71a063f45c
Archives: Changed the way paths are built for the archives.
Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout
11 years ago
Subv
cfd7b219f6
SaveDataCheck: Move the files to nand/title
under /nand/title/high/low/content/00000000.app.romfs
11 years ago
Yuri Kunde Schlesner
930e13cb2c
FileSys: Fix crash bug in DiskFile exposed by #400
11 years ago
Yuri Kunde Schlesner
19b2e739c5
FileSys: Fix a few memory leaks
11 years ago
Subv
3bc9f5509b
Archives: Change the folder layout of some archives.
This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW
11 years ago
Subv
22cfa55302
IVFCArchive: Use a critical log to notify of invalid operations.
11 years ago
Subv
0d03fdec71
SaveDataCheck: Remove unneeded constructor from a class
11 years ago
Subv
2f9a2d410d
Archives: Added some documentation to IVFCArchive
11 years ago
Subv
aade417b14
Archives: Reduced duplicate code in RomFS and SaveCheck.
Fixed a few warnings and cleaned up the code
11 years ago
Subv
13efbdc201
SaveDataCheck: Preliminary work in this archive.
This allows Steel Diver to boot further, some files are needed.
This is still not ready and needs a big cleanup, this will possibly be delayed until the way we handle archives is fixed (with factory classes instead of ahead-of-time creation of archives)
11 years ago
Subv
2c89d4d5cd
Archives: Implemented ExtSaveData and SharedExtSaveData
They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively.
Also redirect some APT_A functions to their APT_U equivalents.
Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module.
Implemented formatting the savegame.
Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded.
11 years ago