From 644a17dc19e072f6cc1add21faae98383707a04c Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 26 Jul 2015 19:56:14 -0500 Subject: [PATCH] fix nonsense in ReadByteRange; should fix #463, but havent tested --- BizHawk.Client.Common/lua/LuaMemoryBase.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BizHawk.Client.Common/lua/LuaMemoryBase.cs b/BizHawk.Client.Common/lua/LuaMemoryBase.cs index 81565555ad..c133c295b3 100644 --- a/BizHawk.Client.Common/lua/LuaMemoryBase.cs +++ b/BizHawk.Client.Common/lua/LuaMemoryBase.cs @@ -158,9 +158,10 @@ namespace BizHawk.Client.Common var table = Lua.NewTable(); if (lastAddr < Domain.Size) { - for (var i = addr; i <= lastAddr; i++) + for (var i = 0; i