1 |
|
/* |
2 |
|
* main.h - Main program |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002 Christian Bauer |
4 |
> |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
74 |
|
C64 *TheC64; |
75 |
|
|
76 |
|
private: |
77 |
< |
bool load_rom_files(void); |
77 |
> |
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin); |
78 |
> |
void load_rom_files(); |
79 |
|
|
80 |
|
char prefs_path[1024]; // Pathname of current preferences file |
81 |
|
bool prefs_showing; // true: Preferences editor is on screen |
104 |
|
C64 *TheC64; |
105 |
|
|
106 |
|
private: |
107 |
< |
bool load_rom_files(void); |
107 |
> |
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin); |
108 |
> |
void load_rom_files(); |
109 |
|
|
110 |
|
char prefs_path[256]; // Pathname of current preferences file |
111 |
|
}; |
134 |
|
C64 *TheC64; |
135 |
|
|
136 |
|
private: |
137 |
< |
bool load_rom_files(void); |
137 |
> |
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin); |
138 |
> |
void load_rom_files(); |
139 |
|
|
140 |
|
static char prefs_path[256]; // Pathname of current preferences file |
141 |
|
}; |
157 |
|
C64 *TheC64; |
158 |
|
|
159 |
|
private: |
160 |
< |
bool load_rom_files(void); |
160 |
> |
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin); |
161 |
> |
void load_rom_files(); |
162 |
|
}; |
163 |
|
|
164 |
|
#endif |
182 |
|
char prefs_path[256]; // Pathname of current preferences file |
183 |
|
|
184 |
|
private: |
185 |
< |
bool load_rom_files(); |
185 |
> |
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin); |
186 |
> |
void load_rom_files(); |
187 |
|
}; |
188 |
|
|
189 |
|
// Global variables |
229 |
|
|
230 |
|
class Frodo |
231 |
|
{ |
227 |
– |
public: |
228 |
– |
Frodo(void); |
229 |
– |
~Frodo(void); |
230 |
– |
void ReadyToRun(void); |
231 |
– |
|
232 |
– |
C64 *TheC64; |
233 |
– |
|
234 |
– |
private: |
235 |
– |
bool load_rom_files(void); |
236 |
– |
}; |
237 |
– |
|
238 |
– |
#endif |
239 |
– |
|
240 |
– |
|
241 |
– |
/* |
242 |
– |
* PSX specific stuff |
243 |
– |
*/ |
244 |
– |
|
245 |
– |
#ifdef __PSXOS__ |
246 |
– |
|
247 |
– |
class Frodo { |
232 |
|
public: |
233 |
|
Frodo(); |
234 |
+ |
~Frodo(); |
235 |
|
void ReadyToRun(void); |
236 |
|
|
237 |
|
C64 *TheC64; |
238 |
|
|
239 |
|
private: |
240 |
< |
bool load_rom_files(void); |
241 |
< |
|
257 |
< |
char prefs_path[256]; // Pathname of current preferences file |
240 |
> |
void load_rom(const char *which, const char *path, uint8 *where, size_t size, const uint8 *builtin); |
241 |
> |
void load_rom_files(); |
242 |
|
}; |
243 |
|
|
260 |
– |
// Global variables |
261 |
– |
extern Frodo *be_app; // Pointer to Frodo object |
262 |
– |
|
244 |
|
#endif |
245 |
|
|
246 |
+ |
|
247 |
|
#endif |