improve nes rom detection log, and set svn:executable on some files

This commit is contained in:
zeromus 2012-03-07 19:14:15 +00:00
parent f6d558d4b4
commit 9a6d6a63bd
11 changed files with 15 additions and 7 deletions

View File

@ -79,16 +79,21 @@ namespace BizHawk.Emulation.Consoles.Nintendo
mirroring[3] = d;
}
protected void SetMirrorType(int pad_h, int pad_v)
public static EMirrorType CalculateMirrorType(int pad_h, int pad_v)
{
if (pad_h == 0)
if (pad_v == 0)
SetMirrorType(EMirrorType.OneScreenA);
else SetMirrorType(EMirrorType.Horizontal);
return EMirrorType.OneScreenA;
else return EMirrorType.Horizontal;
else
if (pad_v == 0)
SetMirrorType(EMirrorType.Vertical);
else SetMirrorType(EMirrorType.OneScreenB);
return EMirrorType.Vertical;
else return EMirrorType.OneScreenB;
}
protected void SetMirrorType(int pad_h, int pad_v)
{
SetMirrorType(CalculateMirrorType(pad_h, pad_v));
}
public void SetMirrorType(EMirrorType mirrorType)

View File

@ -429,7 +429,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
LoadWriteLine("Since this is iNES we can (somewhat) confidently parse PRG/CHR banks to hash.");
LoadWriteLine("headerless rom hash: {0}", hash_sha1);
LoadWriteLine("headerless rom hash: {0}", hash_md5);
LoadWriteLine("headerless rom hash: {0}", hash_md5);
if (iNesHeaderInfo.prg_size == 16)
{
@ -444,6 +444,8 @@ namespace BizHawk.Emulation.Consoles.Nintendo
var hash = "sha1:" + Util.Hash_SHA1(bytes, 0, bytes.Length);
LoadWriteLine(" PRG (8KB) + CHR hash: {0}", hash);
hash_sha1_several.Add(hash);
hash = "md5:" + Util.Hash_MD5(bytes, 0, bytes.Length);
LoadWriteLine(" PRG (8KB) + CHR hash: {0}", hash);
}
Type boardType = null;

View File

@ -188,7 +188,8 @@ static string ClassifyTable = @"
//let's not put a lot of hacks in here. that's what the databases are for.
//for example of one not to add: videomation hack to change vram = 8 -> 16
report.WriteLine("map={0},pr={1},ch={2},wr={3},vr={4},ba={5},mir={6}", ret.mapper, ret.prg_size, ret.chr_size, ret.wram_size, ret.vram_size, ret.wram_battery ? 1 : 0, mirroring);
string mirror_memo = mirroring == 0 ? "horz" : (mirroring == 1 ? "vert" : "4screen");
report.WriteLine("map={0},pr={1},ch={2},wr={3},vr={4},ba={5},mir={6}({7})", ret.mapper, ret.prg_size, ret.chr_size, ret.wram_size, ret.vram_size, ret.wram_battery ? 1 : 0, mirroring, mirror_memo);
return ret;
}

0
BizHawk.MultiClient/output/ffmpeg.exe Normal file → Executable file
View File

0
SubWCRev.bat Normal file → Executable file
View File

0
SubWCRev.exe Normal file → Executable file
View File

0
intl3_tsvn32.dll Normal file → Executable file
View File

0
libapr_tsvn32.dll Normal file → Executable file
View File

0
libaprutil_tsvn32.dll Normal file → Executable file
View File

0
libsasl32.dll Normal file → Executable file
View File

0
libsvn_tsvn32.dll Normal file → Executable file
View File