sst96: vgdrvr.c, vg96drvr.c: minor whitespace cleanups.

This commit is contained in:
sezero
2018-08-05 17:24:28 +03:00
parent 9fee9e454d
commit ef5108ae49
6 changed files with 24 additions and 40 deletions

View File

@@ -24,7 +24,7 @@ LCOPTS = -WX
LCINCS = -I$(BUILD_ROOT_SWLIBS)\include -I$(BUILD_ROOT_SST1)\include
!if "$(FX_SST96_PAGE_FIFO)" != "1"
LCDEFS = $(LCDEFS) -DSST96_ALT_FIFO_WRAP
LCDEFS = $(LCDEFS) -DSST96_ALT_FIFO_WRAP
!endif
# sources

View File

@@ -31,8 +31,6 @@
#include <string.h>
#include <gdebug.h>
/* This is currently disabled, thus breaking rush, until we can get some
* sources from Aliance Semiconductor */
#if 0
static FxBool setVideo( FxU32 hWnd,
GrScreenResolution_t sRes,
@@ -45,6 +43,7 @@ static FxBool setVideo( FxU32 hWnd,
int *yres,
int *fbStride,
sst1VideoTimingStruct *vidTimings) {
return init96SetVideo( hWnd, sRes, vRefresh, cFormat, yOrigin,
nColBuffers, nAuxBuffers,
&context->info.regs,
@@ -75,9 +74,7 @@ static FxU32 status( void ) {
static FxBool busy(void) {
FxBool rv;
rv = (status() & 0x1) ? FXTRUE : FXFALSE;
return rv;
}
@@ -183,6 +180,3 @@ void vg96DriverInit( InitContext *context ) {
}
#endif

View File

@@ -107,7 +107,6 @@ static FxU32 status( void ) {
static FxBool busy(void) {
FxU32 stat = status();
FxBool ret = (stat & SST_BUSY) ? FXTRUE : FXFALSE;
return ret;
}
@@ -194,4 +193,3 @@ void vgDriverInit( InitContext *context ) {
context->findVidTimingStruct = findvidtiming;
}

View File

@@ -24,7 +24,7 @@ LCOPTS = -WX
LCINCS = -I$(BUILD_ROOT_SWLIBS)\include -I$(BUILD_ROOT_SST1)\include
!if "$(FX_SST96_PAGE_FIFO)" != "1"
LCDEFS = $(LCDEFS) -DSST96_ALT_FIFO_WRAP
LCDEFS = $(LCDEFS) -DSST96_ALT_FIFO_WRAP
!endif
# sources

View File

@@ -31,8 +31,6 @@
#include <string.h>
#include <gdebug.h>
/* This is currently disabled, thus breaking rush, until we can get some
* sources from Aliance Semiconductor */
#if SST96
static FxBool setVideo( FxU32 hWnd,
GrScreenResolution_t sRes,
@@ -45,6 +43,7 @@ static FxBool setVideo( FxU32 hWnd,
int *yres,
int *fbStride,
sst1VideoTimingStruct *vidTimings) {
return init96SetVideo( hWnd, sRes, vRefresh, cFormat, yOrigin,
nColBuffers, nAuxBuffers,
&context->info.regs,
@@ -74,9 +73,7 @@ static FxU32 status( void ) {
static FxBool busy(void) {
FxBool rv;
rv = (status() & 0x1) ? FXTRUE : FXFALSE;
return rv;
}
@@ -182,6 +179,3 @@ void vg96DriverInit( InitContext *context ) {
}
#endif

View File

@@ -106,7 +106,6 @@ static FxU32 status( void ) {
static FxBool busy(void) {
FxU32 stat = status();
FxBool ret = (stat & SST_BUSY) ? FXTRUE : FXFALSE;
return ret;
}
@@ -193,4 +192,3 @@ void vgDriverInit( InitContext *context ) {
context->findVidTimingStruct = findvidtiming;
}