diff options
Diffstat (limited to '')
-rw-r--r-- | src/video_core/pica.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h index d66124410..337cff8ce 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -1221,7 +1221,7 @@ struct Regs { // Used for debugging purposes, so performance is not an issue here static std::string GetCommandName(int index); - static inline size_t NumIds() { + static constexpr size_t NumIds() { return sizeof(Regs) / sizeof(u32); } |