From e1d3d3330776ef53f9a558ed3096d75037af0bb5 Mon Sep 17 00:00:00 2001 From: goyuken Date: Thu, 3 Jul 2014 22:20:51 +0000 Subject: [PATCH] fix text savestates in some cores, which had been completely broken due to a typo for a bit... --- BizHawk.Common/Extensions/BufferExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Common/Extensions/BufferExtensions.cs b/BizHawk.Common/Extensions/BufferExtensions.cs index 87792684f9..fde22c76ee 100644 --- a/BizHawk.Common/Extensions/BufferExtensions.cs +++ b/BizHawk.Common/Extensions/BufferExtensions.cs @@ -109,7 +109,7 @@ namespace BizHawk.Common.BufferExtensions while (count > 0) { // in my tests, replacing Hex2Int() with a 256 entry LUT slowed things down slightly - *dst = (byte)(Hex2Int(*src++) << 4 | Hex2Int(*src++)); + *dst++ = (byte)(Hex2Int(*src++) << 4 | Hex2Int(*src++)); count--; } }