summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-07-27 10:25:49 +0200
committerGitHub <noreply@github.com>2020-07-27 10:25:49 +0200
commitd51afc4efbadfea2ff542c5586aa797accf25dae (patch)
treef24937fd1816205ec7d15b3d267f2f61af1ade7b
parentMerge pull request #4431 from kelnos/fix-exit-crash (diff)
parentvideo_core/gpu: Correct the size of the puller registers (diff)
downloadyuzu-d51afc4efbadfea2ff542c5586aa797accf25dae.tar
yuzu-d51afc4efbadfea2ff542c5586aa797accf25dae.tar.gz
yuzu-d51afc4efbadfea2ff542c5586aa797accf25dae.tar.bz2
yuzu-d51afc4efbadfea2ff542c5586aa797accf25dae.tar.lz
yuzu-d51afc4efbadfea2ff542c5586aa797accf25dae.tar.xz
yuzu-d51afc4efbadfea2ff542c5586aa797accf25dae.tar.zst
yuzu-d51afc4efbadfea2ff542c5586aa797accf25dae.zip
-rw-r--r--src/video_core/gpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 19a34c402..ebfc7b0c7 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -252,7 +252,7 @@ public:
const Tegra::DmaPusher& DmaPusher() const;
struct Regs {
- static constexpr size_t NUM_REGS = 0x100;
+ static constexpr size_t NUM_REGS = 0x40;
union {
struct {
@@ -271,7 +271,7 @@ public:
u32 semaphore_trigger;
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
u32 reference_count;
INSERT_UNION_PADDING_WORDS(0x5);