2008-08-07 14:26:07 +02:00
|
|
|
|
|
|
|
#ifndef _OSD_H_
|
|
|
|
#define _OSD_H_
|
|
|
|
|
|
|
|
#include <gccore.h>
|
|
|
|
#include <ogcsys.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <malloc.h>
|
|
|
|
#include <sys/dir.h>
|
|
|
|
|
2009-05-13 16:26:55 +02:00
|
|
|
#include <asndlib.h>
|
|
|
|
#include <oggplayer.h>
|
|
|
|
|
2009-04-15 17:33:51 +02:00
|
|
|
#ifdef HW_RVL
|
|
|
|
#include <di/di.h>
|
2010-03-07 18:56:02 +01:00
|
|
|
#include "vi_encoder.h"
|
2009-04-15 17:33:51 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "gx_input.h"
|
|
|
|
#include "gx_audio.h"
|
|
|
|
#include "gx_video.h"
|
2008-08-07 14:26:07 +02:00
|
|
|
#include "config.h"
|
2008-12-10 19:16:30 +01:00
|
|
|
|
2009-07-29 17:34:25 +02:00
|
|
|
#define DEFAULT_PATH "/genplus"
|
2009-07-30 09:15:54 +02:00
|
|
|
#define GG_ROM "/genplus/ggenie.bin"
|
2009-08-02 22:41:46 +02:00
|
|
|
#define AR_ROM "/genplus/areplay.bin"
|
2009-07-30 09:15:54 +02:00
|
|
|
#define OS_ROM "/genplus/bios.bin"
|
2009-08-06 20:31:05 +02:00
|
|
|
#define SK_ROM "/genplus/sk.bin"
|
|
|
|
#define SK_UPMEM "/genplus/sk2chip.bin"
|
2009-07-29 17:34:25 +02:00
|
|
|
|
2009-04-23 03:01:07 +02:00
|
|
|
#ifdef HW_RVL
|
2011-04-01 00:11:05 +02:00
|
|
|
#define VERSION "Genesis Plus GX 1.5.0 (WII)"
|
2009-04-23 03:01:07 +02:00
|
|
|
#else
|
2011-04-01 00:11:05 +02:00
|
|
|
#define VERSION "Genesis Plus GX 1.5.0 (GCN)"
|
2009-04-23 03:01:07 +02:00
|
|
|
#endif
|
2008-12-11 18:38:29 +01:00
|
|
|
|
2009-09-30 19:11:24 +02:00
|
|
|
#define osd_input_Update() gx_input_UpdateEmu()
|
|
|
|
|
2008-08-07 14:26:07 +02:00
|
|
|
/* globals */
|
|
|
|
extern void error(char *format, ...);
|
|
|
|
extern void ClearGGCodes();
|
|
|
|
extern void GetGGEntries();
|
|
|
|
extern void legal();
|
2009-04-20 00:31:08 +02:00
|
|
|
extern void reloadrom (int size, char *name);
|
|
|
|
extern void shutdown();
|
2009-01-14 17:32:35 +01:00
|
|
|
extern u32 frameticker;
|
2010-01-27 14:12:06 +01:00
|
|
|
extern u32 Shutdown;
|
2010-05-07 20:25:27 +02:00
|
|
|
extern u32 ConfigRequested;
|
2009-03-29 20:56:36 +02:00
|
|
|
|
2008-08-07 14:26:07 +02:00
|
|
|
#endif /* _OSD_H_ */
|