mirror of
https://github.com/holub/mame
synced 2025-05-23 22:20:01 +03:00
(MESS) csw_cas.c: Fixed CSW header detection regression. [Wilbert Pol]
This commit is contained in:
parent
25f17d7394
commit
4f30e2928a
@ -57,7 +57,7 @@ static int csw_cas_to_wav_size( const UINT8 *casdata, int caslen )
|
||||
UINT8 *in_ptr;
|
||||
int bsize=0;
|
||||
|
||||
if ( memcmp( casdata, CSW_HEADER, sizeof(CSW_HEADER) ) )
|
||||
if ( memcmp( casdata, CSW_HEADER, sizeof(CSW_HEADER)-1 ) )
|
||||
{
|
||||
LOG_FORMATS( "csw_cas_to_wav_size: cassette image has incompatible header\n" );
|
||||
goto cleanup;
|
||||
|
Loading…
Reference in New Issue
Block a user