ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/1541t64.cpp
(Generate patch)

Comparing Frodo4/Src/1541t64.cpp (file contents):
Revision 1.6 by cebix, 2004-01-14T16:54:46Z vs.
Revision 1.8 by cebix, 2005-06-27T19:55:48Z

# Line 1 | Line 1
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
# Line 545 | Line 545 | void ArchDrive::Reset(void)
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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines