Permalink
Browse files

Merge pull request #6880 from lioncash/macro

PowerPC: Parenthesize GQR macro argument
  • Loading branch information...
degasus committed May 17, 2018
2 parents c485efd + ddbe292 commit bc8d87bbfd015ff8d8a023c7836a0eb22e54c258
Showing with 1 addition and 1 deletion.
  1. +1 −1 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]

0 comments on commit bc8d87b

Please sign in to comment.