~ubuntu-branches/ubuntu/maverick/vice/maverick

« back to all changes in this revision

Viewing changes to src/c64/cart/retroreplay.c

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2005-02-01 11:30:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050201113026-3eyakzsmmheclvjg
Tags: 1.16-1
* New upstream version
* Fixes crash on 64-bit architectures (closes: #287640)
* x128 working again (closes: #286767)
* Works fine with /dev/dsp in use (not in the main changelog, but tested
  on my local machine as working).  Presumably, this also takes care of
  the issue with dsp being held.  I'm not sure if this is because I'm
  testing it on a 2.6 kernel now -- if you are still having problems
  with /dev/dsp, please reopen the bugs. (closes: #152952, #207942)
* Don't kill Makefile.in on clean

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
#include "c64cart.h"
33
33
#include "c64cartmem.h"
 
34
#include "c64export.h"
34
35
#include "retroreplay.h"
35
36
#include "reu.h"
36
37
#include "types.h"
38
39
#include "vicii-phi1.h"
39
40
 
40
41
 
 
42
static const c64export_resource_t export_res = {
 
43
    "Retro Replay", 1, 0, 1, 1
 
44
};
 
45
 
41
46
/* Cart is activated.  */
42
47
static unsigned int rr_active;
43
48
 
278
283
        UTIL_FILE_LOAD_SKIP_ADDRESS | UTIL_FILE_LOAD_FILL) < 0)
279
284
        return -1;
280
285
 
 
286
    if (c64export_add(&export_res) < 0)
 
287
        return -1;
 
288
 
281
289
    return 0;
282
290
}
283
291
 
 
292
void retroreplay_detach(void)
 
293
{
 
294
    c64export_remove(&export_res);
 
295
}
 
296