2008-08-07 14:26:07 +02:00
|
|
|
|
|
|
|
#ifndef _OSD_H_
|
|
|
|
#define _OSD_H_
|
|
|
|
|
|
|
|
#define NGC 1
|
|
|
|
|
|
|
|
#include <gccore.h>
|
|
|
|
#include <ogcsys.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <malloc.h>
|
|
|
|
#include <sys/dir.h>
|
|
|
|
|
|
|
|
#include "ogc_input.h"
|
|
|
|
#include "ogc_audio.h"
|
|
|
|
#include "ogc_video.h"
|
|
|
|
#include "config.h"
|
2008-12-10 19:16:30 +01:00
|
|
|
|
2008-12-11 18:38:29 +01:00
|
|
|
#define DEFAULT_PATH "/genplus"
|
|
|
|
|
2008-08-07 14:26:07 +02:00
|
|
|
/* globals */
|
|
|
|
extern void error(char *format, ...);
|
|
|
|
extern void ClearGGCodes();
|
|
|
|
extern void GetGGEntries();
|
2009-01-14 17:32:35 +01:00
|
|
|
extern void reloadrom();
|
2008-08-07 14:26:07 +02:00
|
|
|
extern void legal();
|
2009-01-13 21:02:06 +01:00
|
|
|
extern void MainMenu(u32 fps);
|
2008-08-07 14:26:07 +02:00
|
|
|
extern int ManageSRAM(u8 direction, u8 device);
|
|
|
|
extern int ManageState(u8 direction, u8 device);
|
|
|
|
extern void memfile_autosave();
|
|
|
|
extern void memfile_autoload();
|
2009-04-05 20:20:43 +02:00
|
|
|
extern void menu_updateInputs(u32 cnt);
|
2008-08-07 14:26:07 +02:00
|
|
|
|
2009-01-14 17:32:35 +01:00
|
|
|
extern u8 fat_enabled;
|
|
|
|
extern u32 frameticker;
|
2008-08-07 14:26:07 +02:00
|
|
|
|
2009-03-29 20:56:36 +02:00
|
|
|
#ifdef HW_RVL
|
|
|
|
extern u8 Shutdown;
|
|
|
|
#endif
|
|
|
|
|
2008-08-07 14:26:07 +02:00
|
|
|
#endif /* _OSD_H_ */
|