- Jan 09, 2015
-
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
Subv authored
-
- Jan 08, 2015
-
-
Subv authored
It will now properly wait the specified number of nanoseconds and then wake up the thread.
-
Subv authored
This thread will not actually execute instructions, it will only advance the timing/events and try to yield immediately to the next ready thread, if there aren't any ready threads then it will be rescheduled and start its job again.
-
- Jan 07, 2015
-
-
Yuri Kunde Schlesner authored
Replace all the C-style complicated buffer management with a std::deque. In addition to making the code easier to understand it also adds support for non-POD IdTypes. Also clean the rest of the code to follow our code style.
-
- Jan 04, 2015
-
-
Subv authored
This will happen when the mutex is already owned by another thread. Should fix some issues with games being stuck due to waiting threads not being awoken.
-
- Jan 03, 2015
-
-
Subv authored
(Thanks 3dmoo!)
-
- Dec 28, 2014
-
-
Yuri Kunde Schlesner authored
This handle manager more closely mirrors the behaviour of the CTR-OS one. In addition object ref-counts and support for DuplicateHandle have been added. Note that support for DuplicateHandle is still experimental, since parts of the kernel still use Handles internally, which will likely cause troubles if two different handles to the same object are used to e.g. wait on a synchronization primitive.
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
- Dec 21, 2014
-
-
purpasmart96 authored
-
bunnei authored
- Removed unused VBLANK sleep mode - Added error log for bad context switch - Renamed VerifyWait to CheckWaitType to be more clear
-
- Dec 20, 2014
-
-
Chin authored
-
Yuri Kunde Schlesner authored
This boots a few (mostly Nintendo 1st party) games further.
-
- Dec 18, 2014
-
-
Subv authored
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
-
- Dec 16, 2014
-
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
-
- Dec 15, 2014
-
-
Yuri Kunde Schlesner authored
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.)
-
- Dec 13, 2014
-
-
Subv authored
-
Subv authored
Same semantics, idea by @yuriks
-
Subv authored
-
Subv authored
-
Subv authored
-
Subv authored
-
Subv authored
This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
-
Subv authored
ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed
-
Lioncash authored
-
Yuri Kunde Schlesner authored
-
- Dec 09, 2014
-
-
bunnei authored
-
- Dec 07, 2014
-
-
archshift authored
This is in line with what the hardware itself does. It does this by splitting the initial directory opening into Directory.Open(), which will return false if a stat fails. Then, Archive::OpenDirectory will return nullptr, and archive.cpp will return an error code .
-
Subv authored
Moved Mutex::WaitSynchronization to the end of the file.
-
Subv authored
-
- Dec 06, 2014
-
-
Subv authored
Also resume only the next immediate thread waiting for the mutex when it is released, instead of resuming them all.
-
- Dec 04, 2014
-
-
Subv authored
Use the next_thread_id variable directly.
-
Subv authored
-
archshift authored
-
Subv authored
For now threads are using their Handle value as their Id, it should not really cause any problems because Handle values are unique in Citra, but it should be changed. I left a ToDo there because this is not correct behavior as per hardware.
-
Lioncash authored
-