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

« back to all changes in this revision

Viewing changes to src/emucore/Switches.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: Switches.cxx 2318 2011-12-31 21:56:36Z stephena $
 
17
// $Id: Switches.cxx 2487 2012-05-20 14:23:48Z stephena $
18
18
//============================================================================
19
19
 
20
20
#include "Event.hxx"
113
113
{
114
114
  try
115
115
  {
116
 
    out.putByte((char)mySwitches);
 
116
    out.putByte(mySwitches);
117
117
  }
118
118
  catch(...)
119
119
  {
128
128
{
129
129
  try
130
130
  {
131
 
    mySwitches = (uInt8) in.getByte();
 
131
    mySwitches = in.getByte();
132
132
  }
133
133
  catch(...)
134
134
  {