Subv
a1b9b80a55
Style: Addressed some comments
11 years ago
Subv
a7cc7972de
CFG_U: Use Common::make_unique instead of the std version
11 years ago
Subv
9029efd873
CFG:U: Implemented some more blocks
11 years ago
Subv
8b0ee93526
CFG: Implemented block 0x00070001 in the config savefile
11 years ago
Subv
b3d1c8ba6a
CFGU: Use an absolute offset in the config savefile blocks
11 years ago
Subv
95ca6ae1e1
CFG: Load the Config savedata file if it already exists.
11 years ago
Subv
b49bdb6ba7
CFGU: Added block 0x000A0002 to the default savegame file
That's the language id block, we're using LANGUAGE_EN for now. This block allows some games to boot further
11 years ago
Subv
4cd21b43c1
CFG: Refactored how the config file works.
It is now kept in memory as per 3dbrew, all updates happen on memory, then they can be saved using UpdateConfigNANDSavegame.
11 years ago
Subv
462740278d
CFG:U: Add some data to the 0x00050005 config block.
Seems to allow some games to boot further, thanks @Normmatt for sharing this information
11 years ago
Subv
fa3d72ab3e
CFG: Implemented the GetConfigInfoBlk2 function.
Added a "config" file to the CFG process service (CFG:U), and added a few default blocks to it.
Implemented GetSystemModel and GetModelNintendo2DS
11 years ago
archshift
0625dd09ea
Added CreateFile to the FS_USER service
Tested with hwtests.
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
bunnei
4fcdbed9f6
Thread: Wait current thread on svc_SleepThread
- Removed unused VBLANK sleep mode
- Added error log for bad context switch
- Renamed VerifyWait to CheckWaitType to be more clear
11 years ago
Chin
e795692614
Clean up some warnings
11 years ago
Yuri Kunde Schlesner
82528ba7df
Common: Add a clone of std::make_unique
11 years ago
Yuri Kunde Schlesner
adee775f44
Kernel: Implement support for current thread pseudo-handle
This boots a few (mostly Nintendo 1st party) games further.
11 years ago
Subv
fc73bef692
FS_U: Added the command to the docs of SaveData functions
11 years ago
purpasmart96
b2c64eb5ff
GSP_GPU: Shut up FlushDataCache
11 years ago
Subv
78e0f36857
SystemSaveData: Fixed a typo that was segfaulting
11 years ago
Subv
77f0cdfaf4
SaveData: Added some documentation to FormatSaveData
We still don't know what the other parameters do, but they appear to be very similar to those of FormatThisUserSaveData.
Most likely FormatThisUserSaveData is just an alias for FormatSaveData with LowPathType Empty
11 years ago
Subv
bec527fa24
SaveData: Implemented the SystemSaveData archive.
It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
11 years ago
Subv
ea9ce0fba7
Filesystem/Archives: Implemented the SaveData archive
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information
Got rid of the code duplication in File and Directory
Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive.
FS_U: Use the correct error code when a file wasn't found
11 years ago
Yuri Kunde Schlesner
082bf803ab
Comment out empty arrays causing compile errors in MSVC
11 years ago
Yuri Kunde Schlesner
666f6deb47
Work around libstdc++'s lack of support for std::hash on enums
11 years ago
Yuri Kunde Schlesner
83e6e4ffec
FS.Archive: Clean up treatment of archives and their handles
- Refactor FS::Archive internals to make Archive creation and lifetime
management clearer.
- Remove the "Archive as a File" hack.
- Implement 64-bit Archive handles.
11 years ago
Yuri Kunde Schlesner
0931a42af0
Service.FS: Rename FileSys::File to FileBackend
11 years ago
Yuri Kunde Schlesner
d51afab0bc
Service.FS: Rename FileSys::Directory to DirectoryBackend
11 years ago
Yuri Kunde Schlesner
82fe821e87
Service.FS: Rename FileSys::Archive to ArchiveBackend
11 years ago
Yuri Kunde Schlesner
f6153679b0
Service.FS: Do archive registration using IdCode instead of name
11 years ago
Yuri Kunde Schlesner
ca67bb7945
HLE: Rename namespaces to match move & fix initialization order
11 years ago
Yuri Kunde Schlesner
c72ccfa6db
HLE: Move kernel/archive.* to service/fs/
11 years ago
archshift
89eef9eb6d
Added stub for nim:aoc service...
11 years ago
archshift
1356a6b313
Added stub for cecd:u service...
I couldn't find any information about this service...
11 years ago
archshift
6117fad036
Added stub for ldr:ro service...
11 years ago
archshift
6b51683bb1
Added am:app service stub.
Apparently nothing at all is known about this service...
11 years ago
Yuri Kunde Schlesner
e321decf98
Remove SyncRequest from K::Object and create a new K::Session type
This is a first step at fixing the conceptual insanity that is our
handling of service and IPC calls. For now, interfaces still directly
derived from Session because we don't have the infrastructure to do it
properly. (That is, Processes and scheduling them.)
11 years ago
Subv
1051795c32
Kernel/Semaphores: Fixed build
11 years ago
Subv
ea95876431
Kernel/Semaphore: Small style change
11 years ago
Subv
effb181888
Kernel/Semaphores: Invert the available count checking.
Same semantics, idea by @yuriks
11 years ago
Subv
5e25986235
Kernel/Semaphores: Addressed some issues.
11 years ago
Subv
cc81a510e3
Semaphore: Removed an unneeded function
11 years ago
Subv
61434651d8
Semaphores: Addressed some style issues
11 years ago
Subv
abff4a7ee2
Semaphore: Implemented the initial_count parameter.
11 years ago
Subv
49b31badba
SVC: Implemented ReleaseSemaphore.
This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
11 years ago
Subv
82c84883a5
SVC: Implemented svcCreateSemaphore
ToDo: Implement svcReleaseSemaphore
* Some testing against hardware needed
11 years ago
Lioncash
cfc0ee9c60
kernel: Remove unused log arguments
11 years ago
Yuri Kunde Schlesner
0600e2d8b5
Convert old logging calls to new logging macros
11 years ago
Yuri Kunde Schlesner
616d874443
New logging system
11 years ago
bunnei
6fe61d3deb
APT_U: Added GetSharedFont service function.
11 years ago
bunnei
988998cca5
DSP: Added stub for ReadPipeIfPossible.
11 years ago