Normmatt
2ed03c10e0
armemu: Fix FSUBS bug where NaN shouldn't be negated
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
Lioncash
2b0acd36e1
armemu: Fix UXTB16
Rotation bits are 10 and 11, not 9 and 10.
11 years ago
bunnei
d26b7146ce
ARM: Pull some SkyEye fixes from 3dmoo.
11 years ago
Lioncash
f6cb8c1927
Clean up armdefs.h
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
0e0a007a25
Add configurable per-class log filtering
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
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