From 3fb2484869db58623ee6487764d97ab2bb3cbe1d Mon Sep 17 00:00:00 2001 From: meleu <meleu@users.noreply.github.com> Date: Mon, 16 Apr 2018 17:01:43 -0300 Subject: [PATCH] removed unnecessary memory adjustment --- cheevos/var.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cheevos/var.c b/cheevos/var.c index 41884a72b6..e0e6d5c6d8 100644 --- a/cheevos/var.c +++ b/cheevos/var.c @@ -191,12 +191,6 @@ void cheevos_var_patch_addr(cheevos_var_t* var, cheevos_console_t console) var->value -= 0x2000; } } - else if (console == CHEEVOS_CONSOLE_NEOGEO_POCKET) - { - if (var->value >= 0x4000 && var->value <= 0x7fff) - CHEEVOS_LOG(CHEEVOS_TAG "NGP memory address %X adjusted to %X\n", var->value, var->value - 0x004000); - var->value -= 0x4000; - } if (system->mmaps.num_descriptors != 0) {