diff options
| author | bunnei <bunneidev@gmail.com> | 2019-11-03 18:54:03 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2019-11-03 22:22:41 -0500 |
| commit | 1bdae0fe29f87daa81d2aba052a10a709b87485a (patch) | |
| tree | 16d0f4aa4c4a11222c6950b3ad60e7d1d9905036 /src/video_core/engines/kepler_memory.h | |
| parent | ae6eb618920c6f4d924673b523b64de19f7feaf7 (diff) | |
common_func: Use std::array for INSERT_PADDING_* macros.
- Zero initialization here is useful for determinism.
Diffstat (limited to 'src/video_core/engines/kepler_memory.h')
| -rw-r--r-- | src/video_core/engines/kepler_memory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/kepler_memory.h b/src/video_core/engines/kepler_memory.h index e0e25c321..396fb6e86 100644 --- a/src/video_core/engines/kepler_memory.h +++ b/src/video_core/engines/kepler_memory.h @@ -45,7 +45,7 @@ public: union { struct { - INSERT_PADDING_WORDS(0x60); + INSERT_UNION_PADDING_WORDS(0x60); Upload::Registers upload; @@ -57,7 +57,7 @@ public: u32 data; - INSERT_PADDING_WORDS(0x11); + INSERT_UNION_PADDING_WORDS(0x11); }; std::array<u32, NUM_REGS> reg_array; }; |
