From 66535071078683c2818e0665780ca7112d1ede3e Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Tue, 28 Feb 2017 18:16:49 -0800 Subject: [PATCH] Make all values use the same format --- src/fceu.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/fceu.h b/src/fceu.h index 4825307..1b398db 100644 --- a/src/fceu.h +++ b/src/fceu.h @@ -105,13 +105,13 @@ extern uint8 Exit; extern uint8 pale; extern uint8 vsdip; -#define JOY_A 1 -#define JOY_B 2 -#define JOY_SELECT 4 -#define JOY_START 8 -#define JOY_UP 0x10 -#define JOY_DOWN 0x20 -#define JOY_LEFT 0x40 -#define JOY_RIGHT 0x80 +#define JOY_A 0x01 +#define JOY_B 0x02 +#define JOY_SELECT 0x04 +#define JOY_START 0x08 +#define JOY_UP 0x10 +#define JOY_DOWN 0x20 +#define JOY_LEFT 0x40 +#define JOY_RIGHT 0x80 #endif