Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-12-10 | GSP: Trigger GPU interrupts at more accurate locations. | bunnei | 1 | -7/+6 | |
2014-12-10 | GSP: Updated TriggerCmdReqQueue to return success code. | bunnei | 1 | -0/+3 | |
2014-12-10 | GSP: Updated RegisterInterruptRelayQueue to return expected magic number. | bunnei | 1 | -1/+4 | |
2014-12-10 | GPU: Fixed bug in command list size decoding. | bunnei | 1 | -1/+1 | |
2014-11-24 | HLE: Revamp error handling throrough the HLE code | Yuri Kunde Schlesner | 1 | -11/+6 | |
All service calls in the CTR OS return result codes indicating the success or failure of the call. Previous to this commit, Citra's HLE emulation of services and the kernel universally either ignored errors or returned dummy -1 error codes. This commit makes an initial effort to provide an infrastructure for error reporting and propagation which can be use going forward to make HLE calls accurately return errors as the original system. A few parts of the code have been updated to use the new system where applicable. One part of this effort is the definition of the `ResultCode` type, which provides facilities for constructing and parsing error codes in the structured format used by the CTR. The `ResultVal` type builds on `ResultCode` by providing a container for values returned by function that can report errors. It enforces that correct error checking will be done on function returns by preventing the use of the return value if the function returned an error code. Currently this change is mostly internal since errors are still suppressed on the ARM<->HLE border, as a temporary compatibility hack. As functionality is implemented and tested this hack can be eventually removed. | |||||
2014-11-18 | core: Mark some hle functions as static | Lioncash | 1 | -8/+8 | |
These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static. | |||||
2014-10-29 | Renamed souce files of services to match port names | Gareth Poole | 1 | -1/+1 | |
2014-09-30 | added "StoreDataCache" to the function table | purpasmart96 | 1 | -0/+1 | |
seems simple enough | |||||
2014-09-09 | core: Prune redundant includes | archshift | 1 | -1/+0 | |
2014-08-25 | Pica/citra-qt: Replace command list view and command list debugging code with something more sophisticated. | Tony Wasserka | 1 | -5/+0 | |
2014-08-25 | GSP: Update framebuffer information when necessary. | Tony Wasserka | 1 | -2/+23 | |
2014-08-25 | GSP: Implement SetBufferSwap. | Tony Wasserka | 1 | -1/+35 | |
2014-08-25 | GSP: Add a helper function for convenience. | Tony Wasserka | 1 | -17/+22 | |
2014-08-12 | Pica/GPU: Change hardware registers to use physical addresses rather than virtual ones. | Tony Wasserka | 1 | -9/+9 | |
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. | |||||
2014-08-12 | GSP: Fix a major regression introduced in ffda035c, due to which no display transfers were triggered at all anymore. | Tony Wasserka | 1 | -4/+13 | |
2014-08-12 | Remove the fancy RegisterSet class introduced in 4c2bff61e. | Tony Wasserka | 1 | -18/+18 | |
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. | |||||
2014-08-07 | GSP: Cleaned up command buffer decoding. | bunnei | 1 | -42/+42 | |
GSP: Cleaned up code and added additional comments. GSP: Removed unnecessary TODO comment. GSP: Changed u32 iterators in TriggerCmdReqQueue to unsigned. | |||||
2014-08-06 | GSP: Added reinitialization of other state objects. | bunnei | 1 | -0/+3 | |
2014-08-06 | GSP: Removed dumb GX prefixes to functions/structs in GSP namespace. | bunnei | 1 | -64/+24 | |
- Various other cleanups. | |||||
2014-08-06 | GSP: Removed unnecessary GX_FinishCommand function. | bunnei | 1 | -13/+5 | |
2014-08-06 | GSP: Implements preliminary command synchronization via GPU interrupts. | bunnei | 1 | -18/+93 | |
Core: Added a comment to explain the logic for the RunLoop iterations. | |||||
2014-07-23 | GSP: Add a few comments. | Tony Wasserka | 1 | -1/+7 | |
2014-07-23 | GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32. | Tony Wasserka | 1 | -26/+38 | |
Anonymous structs are not standard C++, hence don't use them. | |||||
2014-07-23 | GPU: Make use of RegisterSet. | Tony Wasserka | 1 | -21/+28 | |
2014-07-23 | GPU: Emulate memory fills. | Tony Wasserka | 1 | -0/+8 | |
2014-07-23 | GSP: HLE GXCommandId::SET_DISPLAY_TRANSFER and GXCommandId::SET_TEXTURE_COPY. | Tony Wasserka | 1 | -2/+9 | |
2014-07-23 | GSP: Implement ReadHWRegs and WriteHWRegs properly. | Tony Wasserka | 1 | -27/+46 | |
2014-07-05 | GSP: Fixed to use real shared memory object, various cleanups. | bunnei | 1 | -25/+34 | |
- Previously, used a hard-coded shared memory handle of 0x10002000 (as used by libctru homebrew) GSP: Added name for shared memory. GSP: Cleaned up assertion message. | |||||
2014-06-13 | HLE: Updated all uses of NULL to nullptr (to be C++11 compliant) | bunnei | 1 | -28/+28 | |
2014-06-13 | HLE: Updated various handle debug assertions to be more clear. | bunnei | 1 | -1/+1 | |
2014-06-12 | GPU debugger: Add functionality to inspect command lists. | Tony Wasserka | 1 | -0/+4 | |
2014-06-12 | GPU: Cleanup register definitions. | Tony Wasserka | 1 | -3/+3 | |
2014-06-12 | Rename LCD to GPU. | Tony Wasserka | 1 | -8/+8 | |
2014-06-12 | Add initial graphics debugger interface. | Tony Wasserka | 1 | -0/+6 | |
2014-06-12 | GSP: Define more GX commands. | Tony Wasserka | 1 | -14/+37 | |
2014-06-01 | gsp: always pass through synchronization barrier for commands | bunnei | 1 | -1/+16 | |
2014-05-30 | hle: cleaned up log messages | bunnei | 1 | -2/+2 | |
2014-05-19 | - renamed NewHandle to CreateHandle | bunnei | 1 | -3/+1 | |
- updated CreateHandle/DeleteHandle to use KernelObject's | |||||
2014-05-08 | removed unknown fields from GX_CmdBufferHeader | bunnei | 1 | -5/+0 | |
2014-05-08 | - removed HLE mem "hack" and replaced with kernel mem region | bunnei | 1 | -5/+71 | |
- added a helper function for getting command buffer for services - fixed bug where GSP DMA was incorrectly being done in DataSynchronizationBarrier (instead of gsp_TriggerCmdReqQueue) | |||||
2014-04-27 | hackish but working way to set the framebuffer location to VRAM (used in ARM11 demos tested thus far, e.g. yeti3DS) | bunnei | 1 | -3/+9 | |
2014-04-26 | added simple GSP GPU ReadHWRegs function to support returning the framebuffer address | bunnei | 1 | -1/+37 | |
2014-04-25 | added GSP::RegisterInterruptRelayQueue function | bunnei | 1 | -31/+40 | |
2014-04-17 | updated service comments | bunnei | 1 | -0/+3 | |
2014-04-16 | - added stubbed out GSP::Gpu service interface | bunnei | 1 | -0/+56 | |
- various cleanups/refactors to HLE services |