Fixed #17 (Mem editors stop one address too early)
authorDaniel Kirschten <daniel.kirschten@gmx.de>
Wed, 7 Oct 2020 20:24:28 +0000 (22:24 +0200)
committerDaniel Kirschten <daniel.kirschten@gmx.de>
Wed, 7 Oct 2020 20:24:28 +0000 (22:24 +0200)
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/tables/memory/MemoryTableContentProvider.java

index 03619e4..2197125 100644 (file)
@@ -49,7 +49,7 @@ public class MemoryTableContentProvider implements ILazyContentProvider, MemoryC
 
        public int getAmount()
        {
-               return (int) (upper - lower);
+               return (int) (upper - lower + 1);
        }
 
        @Override