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
Emmanuel Gil Peyrot
ef27770a53
ARM: Remove a forgotten const in vfp.
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
Lioncash
da18671166
Core: Fix undefined behavior in mem_map_funcs' WriteBlock function
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
76a586de49
Pica: Add command processor.
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
0805ecbaca
GPU: Updated g_last_ticks variable to be more descriptive (represents CPU tick count of last vertical line).
12 years ago
bunnei
7ada2625fe
GPU: Updated horizontal sync line counter to use framebuffer height.
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
c48ab0bd9e
MemMap: Fixed typo with GetPointer to VRAM address.
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
967e5629de
MemMap: Added an error for unaligned 16-bit memory reads.
12 years ago
bunnei
da81742439
MemMap: Removed Read64 function.
- Unused code
- Was not correct for unaligned memory reads
12 years ago
bunnei
81fa804b3c
FS: Fix port name (old port name was based on an unaligned memory read).
12 years ago
bunnei
2b52ec4829
MemMap: Fix Read32 for unaligned memory reads.
MemMap: Cleaned up Read32 unaligned memory access.
12 years ago
bunnei
77fc029a00
ARM: Synchronize Citra's SkyEye core with 3dmoo's.
12 years ago
Tony Wasserka
9fd2537e93
Use uniform formatting when printing hexadecimal numbers.
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
2eb61dafc0
GPU: Clarify display transfer code.
Also makes the illogical component order more obvious.
12 years ago
Tony Wasserka
61e2ffd448
GPU: Add documentation.
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
246cb75584
RegisterSet: Simplify code by using structs for register definition instead of unions.
12 years ago
Tony Wasserka
75775e9ef4
GPU: Make use of RegisterSet.
12 years ago
Tony Wasserka
357d893b26
GPU: Make framebuffer code format-aware.
12 years ago
Tony Wasserka
9d618d0b70
GPU: Interface cleanup.
12 years ago
Tony Wasserka
46950ee4de
GPU: Initialize GPU registers to some sensible default state.
12 years ago
Tony Wasserka
baf0aa04f5
GPU: Emulate memory fills.
12 years ago
Tony Wasserka
0b4055c152
GPU: Add proper framebuffer register handling.
12 years ago
Tony Wasserka
bbc6f314eb
GPU: Properly implement display transfers.
12 years ago
Tony Wasserka
16bbc4f81b
GPU: Add display transfer configuration.
12 years ago
Tony Wasserka
ec9511e1db
GSP: HLE GXCommandId::SET_DISPLAY_TRANSFER and GXCommandId::SET_TEXTURE_COPY.
12 years ago