fix some warnings

This commit is contained in:
John Hawthorn 2013-02-03 17:38:13 -08:00
parent a540a7afb2
commit bbd831404d
4 changed files with 6 additions and 4 deletions

View File

@ -206,6 +206,8 @@ void e8910_write(int r, int v)
static void
e8910_callback(void *userdata, Uint8 *stream, int length)
{
(void) userdata;
int outn;
Uint8* buf1 = stream;

View File

@ -157,7 +157,7 @@ void osint_emuloop(){
Uint32 next_time = SDL_GetTicks() + EMU_TIMER;
vecx_reset();
for(;;){
vecx_emu((VECTREX_MHZ / 1000) * EMU_TIMER, 0);
vecx_emu((VECTREX_MHZ / 1000) * EMU_TIMER);
readevents();
{

2
vecx.c
View File

@ -921,7 +921,7 @@ static einline void alg_sstep (void)
}
}
void vecx_emu (long cycles, int ahead)
void vecx_emu (long cycles)
{
unsigned c, icycles;

4
vecx.h
View File

@ -34,6 +34,6 @@ extern vector_t *vectors_draw;
extern vector_t *vectors_erse;
void vecx_reset (void);
void vecx_emu (long cycles, int ahead);
void vecx_emu (long cycles);
#endif
#endif