mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
fix some gcc warnings
This commit is contained in:
parent
e44c606f39
commit
043ccbf45f
4 changed files with 6 additions and 6 deletions
|
@ -29,7 +29,7 @@ static u32 HighCache2A[2*41*(TILE_ROWS+1)+1+1]; // caches for high layers
|
||||||
static u32 HighCache2B[2*41*(TILE_ROWS+1)+1+1];
|
static u32 HighCache2B[2*41*(TILE_ROWS+1)+1+1];
|
||||||
|
|
||||||
unsigned short *PicoCramHigh=PicoMem.cram; // pointer to CRAM buff (0x40 shorts), converted to native device color (works only with 16bit for now)
|
unsigned short *PicoCramHigh=PicoMem.cram; // pointer to CRAM buff (0x40 shorts), converted to native device color (works only with 16bit for now)
|
||||||
void (*PicoPrepareCram)()=0; // prepares PicoCramHigh for renderer to use
|
void (*PicoPrepareCram)(void) = NULL; // prepares PicoCramHigh for renderer to use
|
||||||
|
|
||||||
|
|
||||||
// stuff available in asm:
|
// stuff available in asm:
|
||||||
|
@ -711,7 +711,7 @@ static void DrawDisplayFull(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
PICO_INTERNAL void PicoFrameFull()
|
PICO_INTERNAL void PicoFrameFull(void)
|
||||||
{
|
{
|
||||||
pprof_start(draw);
|
pprof_start(draw);
|
||||||
|
|
||||||
|
|
|
@ -238,7 +238,7 @@ void PicoDrawSetInternalBuf(void *dest, int line_increment);
|
||||||
// draw2.c
|
// draw2.c
|
||||||
// stuff below is optional
|
// stuff below is optional
|
||||||
extern unsigned short *PicoCramHigh; // pointer to CRAM buff (0x40 shorts), converted to native device color (works only with 16bit for now)
|
extern unsigned short *PicoCramHigh; // pointer to CRAM buff (0x40 shorts), converted to native device color (works only with 16bit for now)
|
||||||
extern void (*PicoPrepareCram)(); // prepares PicoCramHigh for renderer to use
|
extern void (*PicoPrepareCram)(void);// prepares PicoCramHigh for renderer to use
|
||||||
|
|
||||||
// pico.c (32x)
|
// pico.c (32x)
|
||||||
#ifndef NO_32X
|
#ifndef NO_32X
|
||||||
|
|
|
@ -710,7 +710,7 @@ extern u32 VdpSATCache[128];
|
||||||
// draw2.c
|
// draw2.c
|
||||||
void PicoDraw2SetOutBuf(void *dest, int incr);
|
void PicoDraw2SetOutBuf(void *dest, int incr);
|
||||||
void PicoDraw2Init(void);
|
void PicoDraw2Init(void);
|
||||||
PICO_INTERNAL void PicoFrameFull();
|
PICO_INTERNAL void PicoFrameFull(void);
|
||||||
|
|
||||||
// mode4.c
|
// mode4.c
|
||||||
void PicoFrameStartSMS(void);
|
void PicoFrameStartSMS(void);
|
||||||
|
|
|
@ -19,7 +19,7 @@ void gp2x_memset_all_buffers(int offset, int byte, int len);
|
||||||
void vid_mmsp2_init(void);
|
void vid_mmsp2_init(void);
|
||||||
void vid_mmsp2_finish(void);
|
void vid_mmsp2_finish(void);
|
||||||
|
|
||||||
void vid_pollux_init();
|
void vid_pollux_init(void);
|
||||||
void vid_pollux_finish();
|
void vid_pollux_finish(void);
|
||||||
|
|
||||||
void gp2x_menu_init(void);
|
void gp2x_menu_init(void);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue