Commit Graph

15 Commits

Author SHA1 Message Date
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.
2014-08-12 13:32:56 +02:00
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.
2014-08-12 02:17:21 +02:00
afcb250b31 Fix a few warnings.
Templates shouldn't be marked as inline if they aren't defined in the header.
2014-07-23 00:44:31 +02:00
61e2ffd448 GPU: Add documentation. 2014-07-23 00:44:31 +02:00
246cb75584 RegisterSet: Simplify code by using structs for register definition instead of unions. 2014-07-23 00:33:08 +02:00
75775e9ef4 GPU: Make use of RegisterSet. 2014-07-23 00:33:08 +02:00
9d618d0b70 GPU: Interface cleanup. 2014-07-23 00:33:08 +02:00
baf0aa04f5 GPU: Emulate memory fills. 2014-07-23 00:33:08 +02:00
0b4055c152 GPU: Add proper framebuffer register handling. 2014-07-23 00:33:08 +02:00
16bbc4f81b GPU: Add display transfer configuration. 2014-07-23 00:33:08 +02:00
ec9511e1db GSP: HLE GXCommandId::SET_DISPLAY_TRANSFER and GXCommandId::SET_TEXTURE_COPY. 2014-07-23 00:33:08 +02:00
994d29f416 Use a more compatible choice of initial framebuffer addresses. 2014-07-22 22:27:27 +02:00
004df76795 Merge branch 'threading' of https://github.com/bunnei/citra
Conflicts:
	src/core/hle/function_wrappers.h
	src/core/hle/service/gsp.cpp
2014-06-14 12:13:16 -04:00
d4530765ce GPU: Cleanup register definitions. 2014-06-12 06:10:50 -04:00
1dfa392824 Rename LCD to GPU. 2014-06-12 06:10:49 -04:00