Minor change on COLORMODE definition

This commit is contained in:
Xavi Del Campo 2020-02-01 11:23:06 +01:00
parent a8fb879457
commit 55e4700bc7
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ enum psx_gpu_texmodes
/**
* Macro to specify texture color mode, takes a value from psx_gpu_texmodes
*/
#define COLORMODE(x) x&3
#define COLORMODE(x) ((x) & 3)
/**
* Macro to specify translucency/semitransparency mode, where x can be a value from 0 to 3.
*