1 |
|
/* |
2 |
|
* 1541t64.cpp - 1541 emulation in archive-type files (.t64/LYNX/.p00) |
3 |
|
* |
4 |
< |
* Frodo (C) Copyright 1994-2001 Christian Bauer |
4 |
> |
* Frodo (C) 1994-1997,2002-2005 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
545 |
|
|
546 |
|
static bool is_t64_header(const uint8 *header) |
547 |
|
{ |
548 |
< |
return memcmp(header, "C64S tape file", 14) == 0; |
548 |
> |
if (memcmp(header, "C64S tape file", 14) == 0 |
549 |
> |
|| memcmp(header, "C64 tape image", 14) == 0 |
550 |
> |
|| memcmp(header, "C64S tape image", 15) == 0) |
551 |
> |
return true; |
552 |
> |
else |
553 |
> |
return false; |
554 |
|
} |
555 |
|
|
556 |
|
static bool is_lynx_header(const uint8 *header) |