bunnei
6fe61d3deb
APT_U: Added GetSharedFont service function.
11 years ago
bunnei
988998cca5
DSP: Added stub for ReadPipeIfPossible.
11 years ago
bunnei
4cb7a44d4e
MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP.
- Linear simply indicates that the mapped physical address is always MappedVAddr+0x0C000000, thus this memory can be used for hardware devices' DMA (such as the GPU).
11 years ago
Emmanuel Gil Peyrot
5a3b1b5f44
CFG:U: Store country codes as u16 instead of char pointers, and return the correct error in GetCountryCodeID.
11 years ago
bunnei
f94d8f9603
GSP: Trigger GPU interrupts at more accurate locations.
11 years ago
bunnei
e90b37b935
GSP: Updated TriggerCmdReqQueue to return success code.
11 years ago
bunnei
3e1654eaa8
GSP: Updated RegisterInterruptRelayQueue to return expected magic number.
11 years ago
bunnei
170123982d
GPU: Fixed bug in command list size decoding.
11 years ago
Yuri Kunde Schlesner
521e1cb7e0
Remove unused NDMA module
11 years ago
bunnei
dd203f7068
Thread: Fixed to wait on address when in arbitration.
11 years ago
Subv
1d1078fd8b
Kernel/File: Fixed file read/write hwtests
The 3DS allows the user to read from files opened with the Write access modifier, even if he did not specify the Read access modifier.
Open the files in binary mode so that we can prevent CR/LF problems in Windows, where a line-end is replaced by these two bytes instead of just 0xA, this was causing problems with the GetSize test
11 years ago
Lioncash
905e3b616a
armemu: Fix SSAX
11 years ago
ichfly
1aa969741d
Loader: Add 3DSX support
11 years ago
Lioncash
62fd564854
armemu: Fix SASX
11 years ago
Lioncash
b4256431aa
armemu: Fix parenthesis warnings regarding bitwise ops
11 years ago
archshift
20d2ed0950
Make OpenDirectory fail if the directory doesn't exist
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 .
11 years ago
Subv
bc318c464b
Mutex: Remove some forward declarations
Moved Mutex::WaitSynchronization to the end of the file.
11 years ago
Subv
64128aa61a
Mutex: Release all held mutexes when a thread exits.
11 years ago
Subv
e3c8e4901c
Mutex: Properly lock the mutex when a thread enters it
Also resume only the next immediate thread waiting for the mutex when it is released, instead of resuming them all.
11 years ago
Subv
6fac2bf0ab
Threads: Remove a redundant function.
Use the next_thread_id variable directly.
11 years ago
Subv
ef1d5cda06
Threads: Implemented a sequential thread id
11 years ago
archshift
139a4d91d9
Updated archive.cpp functions for proper error handling
11 years ago
Subv
029ff9f1fd
SVC: Implemented GetThreadId.
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.
11 years ago
Lioncash
3ba32d2b53
mem_map: Make enum for addresses use u32 as the underlying type
11 years ago
archshift
a404ad5272
Add stub for ConvertProcessFromDspDram
Should theoretically push retail stuff further along
11 years ago
Lioncash
208598dbe2
kernel: Shorten GetCount
11 years ago
Lioncash
9b68d5e074
kernel: Make some functions const
11 years ago
Lioncash
7ff8f0d916
hid_user: Pass by reference with PadButtonPress/PadButtonRelease
11 years ago
purpasmart96
16fc98af64
PTM_U: Added a stub for GetBatteryLevel & GetBatteryChargeState & GetAdapterState
11 years ago
Rohit Nirmal
8a62423970
Change NULLs to nullptrs.
11 years ago
bunnei
e3886adc22
MemMap: Updated memory map to subtract base address instead of mask.
- More readable, a little less error prone.
Conflicts:
src/core/mem_map.h
src/core/mem_map_funcs.cpp
11 years ago
purpasmart96
32d420330d
AC_U: Added a stub for GetWifiStatus
11 years ago
bunnei
3e286fff7c
DSP: Added stubs for several commonly used DSP service functions.
11 years ago
bunnei
45fd3fe5c4
DSP: Fixed typo in port name.
11 years ago
Subv
4cdaac44d3
PTM_U: Implemented the GetShellState function.
11 years ago
Subv
5753da89e4
CFG:U: Implemented the GetCountryCodeID and GetCountryCodeString.
11 years ago
Yuri Kunde Schlesner
4a68e91a62
dyncom: Use unordered_map rather than the terrible 2-level bb_map
Seems (probably just placebo/wishful thinking) to make it slightly
faster. Also reduces memory usage and makes shutdown when debugging from
MSVC fast.
11 years ago
Lioncash
4f28861008
arm_dyncom_interpreter: Get rid of unused var warnings
11 years ago
darkf
a19354aced
Add comment regarding __WIN32__ in SkyEye code
11 years ago
darkf
459502e48c
Fix MinGW build
11 years ago
vaguilar
223e76d51d
Fixed formatting and switch statement warnings
11 years ago
bunnei
de851ba1a1
Thread: Check that thread is actually in "wait state" when verifying wait.
11 years ago
bunnei
f985469901
SVC: Add debug log to ArbitrateAddress.
11 years ago
bunnei
e0e7443517
SVC: SleepThread should yield to the next ready thread.
11 years ago
bunnei
a449e0e11a
Mutex: Changed behavior to always release mutex for all threads.
11 years ago
Emmanuel Gil Peyrot
f8c05e53c4
Remove unused includes to common/thread.h
11 years ago
archshift
43a682a106
Log the cmd_buff arguments when citra comes across an unimplemented function
11 years ago
archshift
e5ff01c2cd
Implemented RenameDirectory in FS:USER
11 years ago
archshift
45afc15aa6
Implemented RenameFile in FS:USER
11 years ago
Yuri Kunde Schlesner
8189593255
Use pointers instead of passing handles around in some functions.
11 years ago