~ubuntu-branches/ubuntu/quantal/vice/quantal

« back to all changes in this revision

Viewing changes to src/plus4/plus4romset.c

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2005-03-27 13:06:04 UTC
  • mfrom: (4 hoary)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20050327130604-zodmv0i60dbbmcik
Tags: 1.16-3
Apply patch from Andreas Jochens <aj@andaco.de> to correct building on
AMD64 and GCC 4.x (closes: #300936)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * plus4romset.c
 
3
 *
 
4
 * Written by
 
5
 *  Andreas Boose <viceteam@t-online.de>
 
6
 *
 
7
 * This file is part of VICE, the Versatile Commodore Emulator.
 
8
 * See README for copyright notice.
 
9
 *
 
10
 *  This program is free software; you can redistribute it and/or modify
 
11
 *  it under the terms of the GNU General Public License as published by
 
12
 *  the Free Software Foundation; either version 2 of the License, or
 
13
 *  (at your option) any later version.
 
14
 *
 
15
 *  This program is distributed in the hope that it will be useful,
 
16
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
 *  GNU General Public License for more details.
 
19
 *
 
20
 *  You should have received a copy of the GNU General Public License
 
21
 *  along with this program; if not, write to the Free Software
 
22
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 
23
 *  02111-1307  USA.
 
24
 *
 
25
 */
 
26
 
 
27
#include "vice.h"
 
28
 
 
29
#include <stdio.h>
 
30
 
 
31
#include "plus4romset.h"
 
32
#include "romset.h"
 
33
 
 
34
 
 
35
const char *machine_romset_resources_list[] = {
 
36
    "KernalName",
 
37
    "BasicName",
 
38
    "FunctionLowName",
 
39
    "FunctionHighName",
 
40
    "DosName1541",
 
41
    "DosName1541ii",
 
42
    "DosName1570",
 
43
    "DosName1571",
 
44
    "DosName1581",
 
45
    "DosName1551",
 
46
    NULL
 
47
};
 
48
 
 
49
 
 
50
int machine_romset_file_load(const char *filename)
 
51
{
 
52
    return romset_file_load(filename);
 
53
}
 
54
 
 
55
int machine_romset_file_save(const char *filename)
 
56
{
 
57
    return romset_file_save(filename, machine_romset_resources_list);
 
58
}
 
59
 
 
60
char *machine_romset_file_list(void)
 
61
{
 
62
    return romset_file_list(machine_romset_resources_list);
 
63
}
 
64
 
 
65
int machine_romset_archive_item_create(const char *romset_name)
 
66
{
 
67
    return romset_archive_item_create(romset_name,
 
68
        machine_romset_resources_list);
 
69
}
 
70
 
 
71
void machine_romset_init(void)
 
72
{
 
73
}
 
74