summaryrefslogtreecommitdiffstats
path: root/src/video_core/regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/regs.h')
-rw-r--r--src/video_core/regs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/regs.h b/src/video_core/regs.h
index e38ab4333..86826088b 100644
--- a/src/video_core/regs.h
+++ b/src/video_core/regs.h
@@ -64,8 +64,8 @@ struct Regs {
std::array<u32, NUM_REGS> reg_array;
};
- // Map register indices to names readable by humans
- static std::string GetCommandName(int index);
+ /// Map register indices to names readable by humans
+ static const char* GetRegisterName(u16 index);
};
static_assert(sizeof(Regs) == Regs::NUM_REGS * sizeof(u32), "Regs struct has wrong size");