mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-28 06:52:47 +00:00
Merge pull request #4432 from bylaws/patch-1
video_core/gpu: Correct the size of the puller registers
This commit is contained in:
commit
d51afc4efb
|
@ -252,7 +252,7 @@ public:
|
||||||
const Tegra::DmaPusher& DmaPusher() const;
|
const Tegra::DmaPusher& DmaPusher() const;
|
||||||
|
|
||||||
struct Regs {
|
struct Regs {
|
||||||
static constexpr size_t NUM_REGS = 0x100;
|
static constexpr size_t NUM_REGS = 0x40;
|
||||||
|
|
||||||
union {
|
union {
|
||||||
struct {
|
struct {
|
||||||
|
@ -271,7 +271,7 @@ public:
|
||||||
u32 semaphore_trigger;
|
u32 semaphore_trigger;
|
||||||
INSERT_UNION_PADDING_WORDS(0xC);
|
INSERT_UNION_PADDING_WORDS(0xC);
|
||||||
|
|
||||||
// The puser and the puller share the reference counter, the pusher only has read
|
// The pusher and the puller share the reference counter, the pusher only has read
|
||||||
// access
|
// access
|
||||||
u32 reference_count;
|
u32 reference_count;
|
||||||
INSERT_UNION_PADDING_WORDS(0x5);
|
INSERT_UNION_PADDING_WORDS(0x5);
|
||||||
|
|
Loading…
Reference in a new issue