~ubuntu-branches/debian/sid/stella/sid

« back to all changes in this revision

Viewing changes to src/emucore/StateManager.cxx

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2012-06-02 07:33:16 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120602073316-20r4hr32t4oj36u9
Tags: 3.7-1
* New upstream version.
* Update description and documentation with new features in 3.7, notably
  Blargg TV filters (replacing the filters available in versions 3.4.1
  and earlier).
* Switch to debhelper compatibility level 9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
// See the file "License.txt" for information on usage and redistribution of
15
15
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
16
16
//
17
 
// $Id: StateManager.cxx 2343 2012-01-08 16:55:10Z stephena $
 
17
// $Id: StateManager.cxx 2499 2012-05-25 12:41:19Z stephena $
18
18
//============================================================================
19
19
 
20
20
#include <sstream>
30
30
 
31
31
#include "StateManager.hxx"
32
32
 
33
 
#define STATE_HEADER "03050500state"
 
33
#define STATE_HEADER "03070000state"
34
34
#define MOVIE_HEADER "03030000movie"
35
35
 
36
36
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
314
314
      }
315
315
    }
316
316
  }
317
 
  catch(const char* msg)
 
317
  catch(...)
318
318
  {
319
 
    cerr << "ERROR: StateManager::saveState(Serializer&)" << endl << "  " << msg << endl;
 
319
    cerr << "ERROR: StateManager::saveState(Serializer&)" << endl;
320
320
  }
321
321
  return false;
322
322
}