From 9719354a14003c6da81fc6237b2d940612c1dc0f Mon Sep 17 00:00:00 2001 From: Daniel Kirschten Date: Wed, 7 Oct 2020 22:24:28 +0200 Subject: [PATCH] Fixed #17 (Mem editors stop one address too early) --- .../plugin/tables/memory/MemoryTableContentProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryTableContentProvider.java b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryTableContentProvider.java index 03619e46..21971257 100644 --- a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryTableContentProvider.java +++ b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryTableContentProvider.java @@ -49,7 +49,7 @@ public class MemoryTableContentProvider implements ILazyContentProvider, MemoryC public int getAmount() { - return (int) (upper - lower); + return (int) (upper - lower + 1); } @Override -- 2.17.1