You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/BizHawk.Client.Common/RomGame.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ public RomGame(HawkFile file, string patch)
96
96
RomData=DeInterleaveSMD(RomData);
97
97
}
98
98
99
-
if(file.Extensionis".n64" or ".v64" or ".z64")N64RomByteswapper.ToZ64Native(RomData);//TODO don't use file extension for N64 rom detection (yes that means detecting all formats before converting to Z64)
99
+
if(file.Extensionis".n64" or ".v64" or ".z64")_=N64RomByteswapper.ToZ64Native(RomData);//TODO don't use file extension for N64 rom detection (yes that means detecting all formats before converting to Z64)
100
100
101
101
// note: this will be taking several hashes, of a potentially large amount of data.. yikes!
Copy file name to clipboardExpand all lines: src/BizHawk.Client.EmuHawk/debug/N64RomByteswapToolForm.cs
+5-12Lines changed: 5 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -51,19 +51,12 @@ void DoConvert()
51
51
try
52
52
{
53
53
varrom=File.ReadAllBytes(txtBaseFile.Text);
54
-
switch(comboFormats.SelectedIndex)// can't have Action<Span<byte>> (System.Buffers.SpanAction isn't suitable) or I'd be able to have a tiny switch expr >:( --yoshi
0 commit comments