From 32261b0640b04ecd573717092e15084bd43e8794 Mon Sep 17 00:00:00 2001 From: deign85 Date: Thu, 10 Jun 2010 20:16:57 +0000 Subject: [PATCH] Fixed the ram_search to only display possible ram addresses from 0x0000 to 0x07FF and 0x6000 to 0x7FFF --- src/drivers/win/ram_search.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drivers/win/ram_search.cpp b/src/drivers/win/ram_search.cpp index 19ff0de8..92c72dc6 100644 --- a/src/drivers/win/ram_search.cpp +++ b/src/drivers/win/ram_search.cpp @@ -50,10 +50,11 @@ bool IsHardwareAddressValid(HWAddressType address) if (!GameInfo) return false; - if (address >= 0x0000 && address <= 0xffff) + if ((address >= 0x0000 && address <= 0x07ff) || (address >= 0x6000 && address <= 0x7FFF)) return true; else return false; + } #define INVALID_HARDWARE_ADDRESS ((HWAddressType) -1)