Fixed .tap system detection. was causing an exception due to shocking bit of anti-logic (on my part) when opening from zip files

This commit is contained in:
Asnivor 2018-03-05 16:40:36 +00:00
parent e2a212a0b8
commit b409c88c50
2 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ namespace BizHawk.Emulation.Common
case ".TAP":
byte[] head = File.ReadAllBytes(fileName).Take(8).ToArray();
byte[] head = romData.Take(8).ToArray();
if (System.Text.Encoding.Default.GetString(head).Contains("C64-TAPE"))
game.System = "C64";
else

View File

@ -16,11 +16,11 @@ At the moment this is very experimental and is still actively being worked on.
* Most tape protection/loading schemes that I've tested are currently working (see caveat below)
* IStatable
* ISettable core settings
* Tape auto-loading routines (as a setting)
### Work in progress
* Exact emulator timings
* Floating memory bus emulation
* Tape auto-loading routines (currently you have to manually start and stop the virtual tape device)
* TASStudio (need to verify that this works as it should)
### Not working