Use proper logical versions of OR in GBAinline.h. These are all boolean variables, being fancy with bitwise-OR is cool and all, but suggests the variables are integer types, and not boolean values.