mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-29 04:31:49 +01:00
fe055c2a2c
.updated OGG support (compatibility with last libtremor + threading fixes from Tantric) .improved controller auto-detection .added experimental support for cartridge hot swapping, check System Options Menu .improved reset (soft/hard) emulation accuracy BEFORE COMPILING, REMOVE THE FOLLOWING FILES: *from ($DEVKITPRO)/libogc/lib/cube & /wii ----------------------------------------- libpng.a libtremor.a *from ($DEVKITPRO)/libogc/include --------------------------------- /tremor png.h pngconf.h DOWNLOAD & INSTALL THE FOLLOWING PORTLIBS in ($DEVKITPRO)/portlibs/ppc (PPC versions, from http://sourceforge.net/projects/devkitpro/files/) *libpng *libtremor
55 lines
1.1 KiB
C
55 lines
1.1 KiB
C
|
|
#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 <asndlib.h>
|
|
#include <oggplayer.h>
|
|
|
|
#ifdef HW_RVL
|
|
#include <di/di.h>
|
|
#endif
|
|
|
|
#include "gx_input.h"
|
|
#include "gx_audio.h"
|
|
#include "gx_video.h"
|
|
#include "config.h"
|
|
#include "file_mem.h"
|
|
|
|
#define DEFAULT_PATH "/genplus"
|
|
#define GG_ROM "/genplus/ggenie.bin"
|
|
#define AR_ROM "/genplus/areplay.bin"
|
|
#define OS_ROM "/genplus/bios.bin"
|
|
#define SK_ROM "/genplus/sk.bin"
|
|
#define SK_UPMEM "/genplus/sk2chip.bin"
|
|
|
|
#ifdef HW_RVL
|
|
#define VERSION "version 1.3.2W"
|
|
#else
|
|
#define VERSION "version 1.3.2G"
|
|
#endif
|
|
|
|
#define osd_input_Update() gx_input_UpdateEmu()
|
|
|
|
/* globals */
|
|
extern void error(char *format, ...);
|
|
extern void ClearGGCodes();
|
|
extern void GetGGEntries();
|
|
extern void MainMenu(void);
|
|
extern void legal();
|
|
extern void reloadrom (int size, char *name);
|
|
extern void shutdown();
|
|
extern u32 frameticker;
|
|
extern u8 Shutdown;
|
|
|
|
#endif /* _OSD_H_ */
|