~ubuntu-branches/debian/experimental/mednafen/experimental

« back to all changes in this revision

Viewing changes to src/hw_misc/arcade_card/arcade_card.cpp

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2012-01-31 07:21:35 UTC
  • mfrom: (1.2.8)
  • Revision ID: package-import@ubuntu.com-20120131072135-es3dj12y00xcnrsk
Tags: 0.9.19-1
* New upstream WIP version.
* Update copyright information.
* Refresh use-system-tremor.patch and remove psx-big-endian-only.patch.
* Add spelling-fixes.patch based on Lintian's recommendations.
* Build-depend on debhelper 9 or later and remove corresponding Lintian
  override.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
 
180
180
   case 0x05: port->offset &= ~0xFF;
181
181
              port->offset |= V << 0;
 
182
              if((port->control & 0x60) == 0x20)
 
183
              {
 
184
               if(port->control & 0x08)
 
185
                port->base += 0xFF0000;
 
186
 
 
187
               port->base = (port->base + port->offset) & 0xFFFFFF;
 
188
              }
182
189
              break;
183
190
 
184
191
   case 0x06: port->offset &= ~0xFF00;
185
192
              port->offset |= V << 8;
186
193
              if((port->control & 0x60) == 0x40)
187
194
              {
 
195
               if(port->control & 0x08)
 
196
                port->base += 0xFF0000;
 
197
 
188
198
               port->base = (port->base + port->offset) & 0xFFFFFF;
189
 
               if(port->control & 0x08)
190
 
                port->base += 0xFF0000;
191
199
              }
192
200
              break;
193
201
 
204
212
 
205
213
   case 0x0A: if((port->control & 0x60) == 0x60)
206
214
              {
207
 
               port->base = (port->base + port->offset) & 0xFFFFFF;
208
215
               if(port->control & 0x08)
209
216
                port->base += 0xFF0000;
 
217
 
 
218
               port->base = (port->base + port->offset) & 0xFFFFFF;
210
219
              }
211
220
              break;
212
221
  }