Silence warnings

This commit is contained in:
twinaphex 2017-03-24 06:11:43 +01:00
parent fd324c4c63
commit 885354b11c
4 changed files with 11 additions and 0 deletions

View File

@ -57,6 +57,7 @@ extern U8 game_period; /* time between each frame, in millisecond */
extern rect_t *game_rects; /* rectangles to redraw at each frame */
extern void game_iterate(void);
extern void game_run(void);
extern void game_setmusic(char *name, U8 loop);
extern void game_stopmusic(void);

View File

@ -87,6 +87,8 @@ long GetTicks(void)
}
extern void SDL_Uninit(void);
void texture_uninit(void)
{
SDL_Uninit();

View File

@ -2,6 +2,9 @@
#include "libretro-core.h"
#include "game.h"
#include "system.h"
int VIRTUAL_WIDTH ;
int retrow=320;
int retroh=200;
@ -173,6 +176,9 @@ void retro_set_video_refresh(retro_video_refresh_t cb)
video_cb = cb;
}
extern int Retro_PollEvent(void);
extern void syssnd_callback(U8 *stream, int len);
void retro_run(void)
{
bool updated = false;

View File

@ -214,6 +214,8 @@ game_run(void)
game_state = XRICK;
}
extern void blit(void);
void game_iterate(void)
{
/* video */