From: <fr...@us...> - 2012-09-28 12:33:51
|
Revision: 4735 http://fuse-emulator.svn.sourceforge.net/fuse-emulator/?rev=4735&view=rev Author: fredm Date: 2012-09-28 12:33:40 +0000 (Fri, 28 Sep 2012) Log Message: ----------- Read all possible RAM pages from the SZX (thanks, ketmar). Modified Paths: -------------- trunk/libspectrum/hacking/ChangeLog trunk/libspectrum/szx.c Modified: trunk/libspectrum/hacking/ChangeLog =================================================================== --- trunk/libspectrum/hacking/ChangeLog 2012-09-23 05:45:23 UTC (rev 4734) +++ trunk/libspectrum/hacking/ChangeLog 2012-09-28 12:33:40 UTC (rev 4735) @@ -887,3 +887,5 @@ releasing (part of bug #3515269) (Sergio Baldoví). 20120916 Makefile.am: allow custom build flags for make-perl to address warning from the debian build system (bug #3567469) (Sergio Baldoví). +201200928 szx.c: read all possible RAM pages from the snap (thanks, ketmar) + (Fred). Modified: trunk/libspectrum/szx.c =================================================================== --- trunk/libspectrum/szx.c 2012-09-23 05:45:23 UTC (rev 4734) +++ trunk/libspectrum/szx.c 2012-09-28 12:33:40 UTC (rev 4735) @@ -1,5 +1,5 @@ /* szx.c: Routines for .szx snapshots - Copyright (c) 1998-2010 Philip Kendall, Fredrick Meunier, Stuart Brady + Copyright (c) 1998-2012 Philip Kendall, Fredrick Meunier, Stuart Brady $Id$ @@ -1237,7 +1237,7 @@ error = read_ram_page( &data, &page, buffer, data_length, 0x4000, &flags ); if( error ) return error; - if( page > 15 ) { + if( page > 63 ) { libspectrum_print_error( LIBSPECTRUM_ERROR_CORRUPT, "%s:read_ramp_chunk: unknown page number %lu", __FILE__, (unsigned long)page ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |