diff --git a/libretro/libretro.c b/libretro/libretro.c index f709510..17319da 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -99,6 +99,8 @@ STATIC_ASSERT(z80_overflow, sms_ntsc_t *sms_ntsc; md_ntsc_t *md_ntsc; +t_config config; + char GG_ROM[256]; char AR_ROM[256]; char SK_ROM[256]; diff --git a/libretro/osd.h b/libretro/osd.h index ad2b033..1ba4f61 100644 --- a/libretro/osd.h +++ b/libretro/osd.h @@ -87,7 +87,7 @@ typedef struct uint8 padtype; } t_input_config; -struct +typedef struct { char version[16]; uint8 hq_fm; @@ -129,7 +129,9 @@ struct uint8 gun_cursor; uint32 overclock; uint8 no_sprite_limit; -} config; +} t_config; + +extern t_config config; extern char GG_ROM[256]; extern char AR_ROM[256];