diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2018-05-17 10:55:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-17 10:55:19 +0200 |
| commit | bc8d87bbfd015ff8d8a023c7836a0eb22e54c258 (patch) | |
| tree | 9db69c11d004c5b86c3f8b9d0172c0a873e41642 /Source | |
| parent | c485efdfe1730d54dbbe2150378cb7b02b3d435c (diff) | |
| parent | ddbe292d54e57d5e9238bf5236338c06161b08c7 (diff) | |
Merge pull request #6880 from lioncash/macro
PowerPC: Parenthesize GQR macro argument
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/PowerPC/PowerPC.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/PowerPC.h b/Source/Core/Core/PowerPC/PowerPC.h index 4b690627c5..76afbb5032 100644 --- a/Source/Core/Core/PowerPC/PowerPC.h +++ b/Source/Core/Core/PowerPC/PowerPC.h @@ -200,7 +200,7 @@ void UpdatePerformanceMonitor(u32 cycles, u32 num_load_stores, u32 num_fp_inst); #define SPRG1 PowerPC::ppcState.spr[SPR_SPRG1] #define SPRG2 PowerPC::ppcState.spr[SPR_SPRG2] #define SPRG3 PowerPC::ppcState.spr[SPR_SPRG3] -#define GQR(x) PowerPC::ppcState.spr[SPR_GQR0 + x] +#define GQR(x) PowerPC::ppcState.spr[SPR_GQR0 + (x)] #define TL PowerPC::ppcState.spr[SPR_TL] #define TU PowerPC::ppcState.spr[SPR_TU] |
