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