Renamed to sunSpcBinarySection

This commit is contained in:
arookas 2016-02-10 21:23:24 -05:00
parent 636bcbc3a0
commit 0680e9778b

View file

@ -116,7 +116,7 @@ namespace arookas {
sealed class sunSpcBinary : sunBinary { sealed class sunSpcBinary : sunBinary {
aBinaryWriter mWriter; aBinaryWriter mWriter;
sunBinarySection mText, mData, mDataString, mSymbol, mSymbolString; sunSpcBinarySection mText, mData, mDataString, mSymbol, mSymbolString;
int mDataCount, mSymbolCount, mVarCount; int mDataCount, mSymbolCount, mVarCount;
public override uint Offset { public override uint Offset {
@ -125,11 +125,11 @@ namespace arookas {
public sunSpcBinary(Stream output) { public sunSpcBinary(Stream output) {
mWriter = new aBinaryWriter(output, Endianness.Big, Encoding.GetEncoding(932)); mWriter = new aBinaryWriter(output, Endianness.Big, Encoding.GetEncoding(932));
mText = new sunBinarySection(); mText = new sunSpcBinarySection();
mData = new sunBinarySection(); mData = new sunSpcBinarySection();
mDataString = new sunBinarySection(); mDataString = new sunSpcBinarySection();
mSymbol = new sunBinarySection(); mSymbol = new sunSpcBinarySection();
mSymbolString = new sunBinarySection(); mSymbolString = new sunSpcBinarySection();
mWriter.PushAnchor(); mWriter.PushAnchor();
} }
@ -484,7 +484,7 @@ namespace arookas {
} }
} }
class sunBinarySection : IDisposable { class sunSpcBinarySection : IDisposable {
readonly aBinaryWriter mWriter; readonly aBinaryWriter mWriter;
readonly MemoryStream mStream; readonly MemoryStream mStream;
@ -502,7 +502,7 @@ namespace arookas {
get { return (uint)mWriter.Length; } get { return (uint)mWriter.Length; }
} }
public sunBinarySection() { public sunSpcBinarySection() {
mStream = new MemoryStream(1024); mStream = new MemoryStream(1024);
mWriter = new aBinaryWriter(mStream, Endianness.Big, Encoding.GetEncoding(932)); mWriter = new aBinaryWriter(mStream, Endianness.Big, Encoding.GetEncoding(932));
} }