From af0e936cbeb9a4754ce0a506b0d3e253f9e5cf2d Mon Sep 17 00:00:00 2001 From: morkt Date: Wed, 5 Aug 2015 11:53:58 +0400 Subject: [PATCH] (ArcView.Frame.ReadSByte): additional method. --- GameRes/ArcView.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GameRes/ArcView.cs b/GameRes/ArcView.cs index 18e76f25..d5e76d9e 100644 --- a/GameRes/ArcView.cs +++ b/GameRes/ArcView.cs @@ -371,6 +371,12 @@ namespace GameRes return m_view.ReadByte (offset-m_offset); } + public sbyte ReadSByte (long offset) + { + Reserve (offset, 1); + return m_view.ReadSByte (offset-m_offset); + } + public ushort ReadUInt16 (long offset) { Reserve (offset, 2);