glide2x, sst1: fixed incompatible assignment warning for swapBuffers().
kept the original case in commented out form.
This commit is contained in:
@@ -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 ) {
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user