mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-30 21:21:49 +01:00
0beaccaea9
-removed unused soundbuffer for all platforms -renamed osd_input_Update to osd_input_update
63 lines
1.3 KiB
C
63 lines
1.3 KiB
C
|
|
#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>
|
|
#include <unistd.h>
|
|
#include <asndlib.h>
|
|
#include <oggplayer.h>
|
|
#include <zlib.h>
|
|
|
|
#ifdef HW_RVL
|
|
#include <di/di.h>
|
|
#include "vi_encoder.h"
|
|
#endif
|
|
|
|
#include "gx_input.h"
|
|
#include "gx_audio.h"
|
|
#include "gx_video.h"
|
|
#include "config.h"
|
|
#include "fileio.h"
|
|
#include "cheats.h"
|
|
|
|
#define DEFAULT_PATH "/genplus"
|
|
#define GG_ROM "/genplus/ggenie.bin"
|
|
#define AR_ROM "/genplus/areplay.bin"
|
|
#define SK_ROM "/genplus/sk.bin"
|
|
#define SK_UPMEM "/genplus/sk2chip.bin"
|
|
#define MD_BIOS "/genplus/bios.bin"
|
|
#define MS_BIOS "/genplus/bios.sms"
|
|
#define GG_BIOS "/genplus/bios.gg"
|
|
|
|
#ifdef HW_RVL
|
|
#define VERSION "Genesis Plus GX 1.6.1 (WII)"
|
|
#else
|
|
#define VERSION "Genesis Plus GX 1.6.1 (GCN)"
|
|
#endif
|
|
|
|
/* globals */
|
|
extern void legal(void);
|
|
extern double get_framerate(void);
|
|
extern void reloadrom(void);
|
|
extern void shutdown(void);
|
|
extern u32 frameticker;
|
|
extern u32 Shutdown;
|
|
extern u32 ConfigRequested;
|
|
|
|
#ifdef LOG_TIMING
|
|
#include <ogc/lwp_watchdog.h>
|
|
#define LOGSIZE 2000
|
|
extern u64 prevtime;
|
|
extern u32 frame_cnt;
|
|
extern u32 delta_time[LOGSIZE];
|
|
extern u32 delta_samp[LOGSIZE];
|
|
#endif
|
|
|
|
#endif /* _OSD_H_ */
|