From 087a8ac159b88d2e331d0de598011268070ce897 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 20 Feb 2014 23:29:43 +0100 Subject: [PATCH] Revert "Papu: fixed out-of-bounds array access due to too small data types" This reverts commit ea5f5c4f00eee047c09fe3643d765d376adcc267 as the actual off-by-one error has been fixed. --- plugins/papu/gb_apu/Gb_Apu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/papu/gb_apu/Gb_Apu.h b/plugins/papu/gb_apu/Gb_Apu.h index e41bdc2c2..e2f940b94 100644 --- a/plugins/papu/gb_apu/Gb_Apu.h +++ b/plugins/papu/gb_apu/Gb_Apu.h @@ -6,8 +6,8 @@ #ifndef GB_APU_H #define GB_APU_H -typedef int gb_time_t; // clock cycle count -typedef int gb_addr_t; // 16-bit address +typedef long gb_time_t; // clock cycle count +typedef unsigned gb_addr_t; // 16-bit address #include "Gb_Oscs.h"