Emmanuel Gil Peyrot
99bfa4ae1f
FS: Implement OpenArchive, OpenDirectory, OpenFile and OpenFileDirectly calls.
11 years ago
Emmanuel Gil Peyrot
c197ce2180
Kernel: Add a Directory object and a getter for it from an Archive object.
11 years ago
Emmanuel Gil Peyrot
19d04f3abe
Kernel: Add a File object and a getter for it from an Archive object.
11 years ago
Lioncash
741321ac24
Core: Get rid of unnecessary switch statement in Kernel
11 years ago
Kevin Hartman
02fd19b2f6
Added support for multiple input device types for KeyMap and connected Qt.
11 years ago
Kevin Hartman
4a94ec934a
Initial HID PAD work, with GLFW only.
11 years ago
Kevin Hartman
bb7ddede15
Created structure for PAD.
12 years ago
archshift
6e606c515f
core: Prune redundant includes
11 years ago
archshift
5472fd4d9b
Added string_util to common, small changes in loader.cpp
11 years ago
Lioncash
d30747efea
core: Pass string by reference in FetchFromPortName and DeleteService
11 years ago
bunnei
3ade84cb7b
Threading: Fix thread starting to execute first instruction correctly.
12 years ago
bunnei
ae93adddd1
srv::Initialize: Return "success" status code.
12 years ago
bunnei
304999dfeb
Threading: Fix thread starting to execute first instruction correctly.
12 years ago
bunnei
fb908b9395
srv::Initialize: Return "success" status code.
12 years ago
Tony Wasserka
26ade98411
Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated.
12 years ago
Tony Wasserka
14b24a75b3
GSP: Update framebuffer information when necessary.
12 years ago
Tony Wasserka
590c206ac8
GSP: Implement SetBufferSwap.
12 years ago
Tony Wasserka
e832bbe554
GSP: Add a helper function for convenience.
12 years ago
archshift
4c4a01bf41
Added FS functions to Archive and Archive_RomFS
12 years ago
Lioncash
ab4648d3ca
Core: Use std::array for managing kernel object space
These avoid relying on memset for clearing the arrays.
12 years ago
bunnei
10f25866e2
SVC: Added support for svc_GetSystemTick.
Changed HLE function return methods to be static inline functions.
12 years ago
Lioncash
98fa3f7cba
Core: Alter the kernel string functions to use std::string instead of const char*.
Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
12 years ago
Lioncash
986dd27392
Core: Fix a formatting error in svc.cpp
entry_point would not be added to the string. Also used StringFromFormat
so that the buffer is unnecessary.
12 years ago
bunnei
091f6cf55b
HID: Added new function entries from 3dbrew to FunctionTable.
HID: Fix typo with DisableGyroscopeLow command.
12 years ago
Tony Wasserka
7b6a7d7dfb
Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones.
This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible.
This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though.
12 years ago
Tony Wasserka
bd798390d5
GSP: Fix a major regression introduced in ffda035c, due to which no display transfers were triggered at all anymore.
12 years ago
Tony Wasserka
9c781a6c76
Remove the fancy RegisterSet class introduced in 4c2bff61e.
While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures.
Instead, we now use a more conventional approach which is a lot more clean to use.
12 years ago
bunnei
552287498a
HID: Implemented HID_User::GetIPCHandles service function.
12 years ago
bunnei
66f91b4346
SVC: Fixed typo with MapMemoryBlock DEBUG_LOG call.
12 years ago
bunnei
d4bd2f2e5d
Thread: Added more descriptive comment to WaitCurrentThread.
12 years ago
bunnei
cad2f21985
GSP: Cleaned up command buffer decoding.
GSP: Cleaned up code and added additional comments.
GSP: Removed unnecessary TODO comment.
GSP: Changed u32 iterators in TriggerCmdReqQueue to unsigned.
12 years ago
bunnei
36fd1c169e
GSP: Added reinitialization of other state objects.
12 years ago
bunnei
4e9f305ed2
GSP: Removed dumb GX prefixes to functions/structs in GSP namespace.
- Various other cleanups.
12 years ago
bunnei
99e404e221
GSP: Removed unnecessary GX_FinishCommand function.
12 years ago
bunnei
ec14ffe1cd
GSP: Implements preliminary command synchronization via GPU interrupts.
Core: Added a comment to explain the logic for the RunLoop iterations.
12 years ago
bunnei
2542350b85
AddressArbiter: Removed unnecessary HLE::Reschedule.
12 years ago
bunnei
60078baab1
AddressArbiter: Fixed bug with break statements missing from case statements.
12 years ago
bunnei
1b247b8031
SRV: Updated GetProcSemaphore to create an event instead of a mutex.
12 years ago
bunnei
4d4607041b
SVC: Removed ArbitrateAddress log message that spams to much.
12 years ago
bunnei
7a1f813be1
Kernel: Updated Event and Mutex to specify handle that they are blocking for.
12 years ago
bunnei
81fa804b3c
FS: Fix port name (old port name was based on an unaligned memory read).
12 years ago
Tony Wasserka
afcb250b31
Fix a few warnings.
Templates shouldn't be marked as inline if they aren't defined in the header.
12 years ago
Tony Wasserka
4b141791ed
GSP: Add a few comments.
12 years ago
Tony Wasserka
9b0d0c81a0
GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32.
Anonymous structs are not standard C++, hence don't use them.
12 years ago
Tony Wasserka
75775e9ef4
GPU: Make use of RegisterSet.
12 years ago
Tony Wasserka
baf0aa04f5
GPU: Emulate memory fills.
12 years ago
Tony Wasserka
ec9511e1db
GSP: HLE GXCommandId::SET_DISPLAY_TRANSFER and GXCommandId::SET_TEXTURE_COPY.
12 years ago
Tony Wasserka
cb8f49b7ea
GSP: Implement ReadHWRegs and WriteHWRegs properly.
12 years ago
bunnei
3eb89f3e98
Kernel: Added preliminary support for address arbiters.
AddressArbiter: Added documentation comment, fixed whitespace issue.
AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear.
SVC: Removed trailing whitespace.
12 years ago
bunnei
ba840d3200
Thread: Added functions to resume threads from address arbitration.
Thread: Cleaned up arbitrate address functions.
Thread: Cleaned up ArbitrateAllThreads function.
12 years ago