From 45727bf9f51176093044933b2489782d31ff2067 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 11 Jun 2011 19:01:34 +0200 Subject: [PATCH] Fix mask value. (32-bit). --- gfx/snes_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/snes_state.c b/gfx/snes_state.c index da2ad0ffe3..9580de880c 100644 --- a/gfx/snes_state.c +++ b/gfx/snes_state.c @@ -83,7 +83,7 @@ snes_tracker_t* snes_tracker_init(const struct snes_tracker_info *info) strlcpy(tracker->info[i].id, info->info[i].id, sizeof(tracker->info[i].id)); tracker->info[i].addr = info->info[i].addr; tracker->info[i].type = info->info[i].type; - tracker->info[i].mask = (info->info[i].mask == 0) ? 0xff : info->info[i].mask; + tracker->info[i].mask = (info->info[i].mask == 0) ? 0xffffffffu : info->info[i].mask; #ifdef HAVE_PYTHON if (info->info[i].type == SSNES_STATE_PYTHON)