glide2x, sst1: fixed incompatible assignment warning for swapBuffers().

kept the original case in commented out form.
This commit is contained in:
sezero
2018-08-20 16:40:57 +03:00
parent d39173dfd2
commit fa071d0a93
4 changed files with 8 additions and 6 deletions

View File

@@ -62,10 +62,10 @@ static void disableTransport( void ) {
init96DisableTransport();
}
static InitSwapType_t swapBuffers( FxU32 code ) {
static /*InitSwapType_t*/ void swapBuffers( FxU32 code ) {
if ( context && context->writeMethod )
init96Swap( code, &context->info.regs, context->writeMethod );
return INIT_SWAP_FLIP;
/* return INIT_SWAP_FLIP;*/
}
static FxU32 status( void ) {

View File

@@ -96,8 +96,8 @@ static FxBool enableTransport( InitFIFOData *info ) {
static void disableTransport( void ) {
}
static InitSwapType_t swapBuffers( FxU32 code ) {
return INIT_SWAP_FLIP;
static /*InitSwapType_t*/ void swapBuffers( FxU32 code ) {
/* return INIT_SWAP_FLIP;*/
}
static FxU32 status( void ) {

View File

@@ -62,9 +62,10 @@ static void disableTransport( void ) {
init96DisableTransport();
}
static void swapBuffers( FxU32 code ) {
static /*InitSwapType_t*/ void swapBuffers( FxU32 code ) {
if ( context && context->writeMethod )
init96Swap( code, &context->info.regs, context->writeMethod );
/* return INIT_SWAP_FLIP;*/
}
static FxU32 status( void ) {

View File

@@ -96,7 +96,8 @@ static FxBool enableTransport( InitFIFOData *info ) {
static void disableTransport( void ) {
}
static void swapBuffers( FxU32 code ) {
static /*InitSwapType_t*/ void swapBuffers( FxU32 code ) {
/* return INIT_SWAP_FLIP;*/
}
static FxU32 status( void ) {