sst1, initat3d.c: build / warning fixes.

This commit is contained in:
sezero
2018-08-03 18:55:26 +03:00
parent 8448392757
commit e6d386eb3c

View File

@@ -102,7 +102,7 @@ CLOCK_TABLE ClockTableAT3D[] =
{ 90, 0x31, 0x1, 0x2, 0x1 },
{ 95, 0x34, 0x1, 0x2, 0x1 },
{ 100, 0x1b, 0x1, 0x1, 0x6},
{ 0 } /* used for end of table mark */
{ 0, 0, 0, 0, 0 } /* used for end of table mark */
};
typedef struct _REGVALS {
@@ -132,6 +132,8 @@ static Init96HALData at3dHALData = {
NULL,
initAT3DUseTiles,
initAT3DGetInfo,
NULL, /* SwapTiles */
NULL
};
/* Random Kruft */
@@ -597,6 +599,9 @@ INITAT3DENTRY(initAT3DAperture, FxBool , (InitRegisterDesc *rd) )
INITAT3DENTRY(initAT3DSetVideo, FxBool, (GrScreenResolution_t res, GrScreenRefresh_t refresh, FxU32 *xr, FxU32 *yr ))
{
#define FN_NAME "initAT3DSetVideo"
#if defined(__DOS32__)
union REGS r, rOut;
#endif
FxBool
fixVsync = FXFALSE,
rv = FXTRUE;
@@ -609,9 +614,6 @@ INITAT3DENTRY(initAT3DSetVideo, FxBool, (GrScreenResolution_t res, GrScreenRefre
#endif
switch( res ) {
#if defined(__DOS32__)
union REGS r, rOut;
#endif
case GR_RESOLUTION_320x200:
#if defined(__DOS32__)
/* Set up VESA Mode 0x136 - 320x200x16 */