make a few more global vars static. remove glideIdent[] from gglide.c (unused.)
This commit is contained in:
@@ -83,9 +83,9 @@ static void Read8Bit(FxU8 *dst, FILE *image, int small_lod, int large_lod, GrAs
|
|||||||
static void Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
static void Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
||||||
|
|
||||||
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
||||||
const char *openmode = "rb";
|
static const char *openmode = "rb";
|
||||||
#else
|
#else
|
||||||
const char *openmode = "r";
|
static const char *openmode = "r";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|||||||
@@ -171,9 +171,6 @@
|
|||||||
#include "fxglide.h"
|
#include "fxglide.h"
|
||||||
#include "fxinline.h"
|
#include "fxinline.h"
|
||||||
|
|
||||||
#include "rcver.h"
|
|
||||||
static char glideIdent[] = "@#%" VERSIONSTR ;
|
|
||||||
|
|
||||||
#if GLIDE_HW_TRI_SETUP
|
#if GLIDE_HW_TRI_SETUP
|
||||||
static void
|
static void
|
||||||
_grUpdateTriPacketHdr(FxU32 paramMask,
|
_grUpdateTriPacketHdr(FxU32 paramMask,
|
||||||
@@ -197,9 +194,6 @@ GR_STATE_ENTRY(grAlphaBlendFunction, void,
|
|||||||
GDBG_INFO_MORE(gc->myLevel, "(%d,%d,%d,%d)\n",
|
GDBG_INFO_MORE(gc->myLevel, "(%d,%d,%d,%d)\n",
|
||||||
rgb_sf, rgb_df, alpha_sf, alpha_df);
|
rgb_sf, rgb_df, alpha_sf, alpha_df);
|
||||||
|
|
||||||
/* Watcom warning suppressor */
|
|
||||||
glideIdent[0] = glideIdent[0];
|
|
||||||
|
|
||||||
alphamode = gc->state.fbi_config.alphaMode;
|
alphamode = gc->state.fbi_config.alphaMode;
|
||||||
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
||||||
GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
||||||
|
|||||||
@@ -83,9 +83,9 @@ static void Read8Bit(FxU8 *dst, FILE *image, int small_lod, int large_lod, GrAs
|
|||||||
static void Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
static void Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
||||||
|
|
||||||
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
||||||
const char *openmode = "rb";
|
static const char *openmode = "rb";
|
||||||
#else
|
#else
|
||||||
const char *openmode = "r";
|
static const char *openmode = "r";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|||||||
@@ -302,9 +302,6 @@
|
|||||||
#include "fxglide.h"
|
#include "fxglide.h"
|
||||||
#include "fxinline.h"
|
#include "fxinline.h"
|
||||||
|
|
||||||
#include "rcver.h"
|
|
||||||
static char glideIdent[] = "@#%" VERSIONSTR ;
|
|
||||||
|
|
||||||
#if GLIDE_HW_TRI_SETUP
|
#if GLIDE_HW_TRI_SETUP
|
||||||
static void
|
static void
|
||||||
_grUpdateTriPacketHdr(FxU32 paramMask,
|
_grUpdateTriPacketHdr(FxU32 paramMask,
|
||||||
@@ -328,9 +325,6 @@ GR_STATE_ENTRY(grAlphaBlendFunction, void,
|
|||||||
GDBG_INFO_MORE(gc->myLevel, "(%d,%d,%d,%d)\n",
|
GDBG_INFO_MORE(gc->myLevel, "(%d,%d,%d,%d)\n",
|
||||||
rgb_sf, rgb_df, alpha_sf, alpha_df);
|
rgb_sf, rgb_df, alpha_sf, alpha_df);
|
||||||
|
|
||||||
/* Watcom warning suppressor */
|
|
||||||
glideIdent[0] = glideIdent[0];
|
|
||||||
|
|
||||||
alphamode = gc->state.fbi_config.alphaMode;
|
alphamode = gc->state.fbi_config.alphaMode;
|
||||||
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
||||||
GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
||||||
|
|||||||
@@ -50,9 +50,9 @@ static void Read8Bit( FxU8 *dst, FILE *image, int small_lod, int large_lod, GrA
|
|||||||
static void Read16Bit( FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect );
|
static void Read16Bit( FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect );
|
||||||
|
|
||||||
#if ( ( GLIDE_PLATFORM & ( GLIDE_OS_DOS32 | GLIDE_OS_WIN32 ) ) != 0 )
|
#if ( ( GLIDE_PLATFORM & ( GLIDE_OS_DOS32 | GLIDE_OS_WIN32 ) ) != 0 )
|
||||||
const char *openmode = "rb";
|
static const char *openmode = "rb";
|
||||||
#else
|
#else
|
||||||
const char *openmode = "r";
|
static const char *openmode = "r";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|||||||
@@ -189,9 +189,6 @@
|
|||||||
#include <init.h>
|
#include <init.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "rcver.h"
|
|
||||||
static char glideIdent[] = "@#%" VERSIONSTR ;
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------
|
/*---------------------------------------------------------------------------
|
||||||
** grAlphaBlendFunction
|
** grAlphaBlendFunction
|
||||||
**
|
**
|
||||||
@@ -206,9 +203,6 @@ GR_ENTRY(grAlphaBlendFunction, void, ( GrAlphaBlendFnc_t rgb_sf, GrAlphaBlendF
|
|||||||
GR_BEGIN("grAlphaBlendFunction",85,4);
|
GR_BEGIN("grAlphaBlendFunction",85,4);
|
||||||
GDBG_INFO_MORE((gc->myLevel,"(%d,%d,%d,%d)\n",rgb_sf,rgb_df,alpha_sf,alpha_df));
|
GDBG_INFO_MORE((gc->myLevel,"(%d,%d,%d,%d)\n",rgb_sf,rgb_df,alpha_sf,alpha_df));
|
||||||
|
|
||||||
/* Watcom warning suppressor */
|
|
||||||
glideIdent[0] = glideIdent[0];
|
|
||||||
|
|
||||||
alphamode = gc->state.fbi_config.alphaMode;
|
alphamode = gc->state.fbi_config.alphaMode;
|
||||||
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
||||||
// GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
// GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
||||||
|
|||||||
@@ -843,7 +843,7 @@ _GR_SET16(void *addr, unsigned short data)
|
|||||||
|
|
||||||
#if defined( GLIDE_DEBUG ) && ( GLIDE_PLATFORM & GLIDE_HW_SST96 )
|
#if defined( GLIDE_DEBUG ) && ( GLIDE_PLATFORM & GLIDE_HW_SST96 )
|
||||||
|
|
||||||
extern char *regNames[];
|
extern const char *regNames[];
|
||||||
|
|
||||||
static FxU32 thisMask;
|
static FxU32 thisMask;
|
||||||
static FxU32 thisWrite;
|
static FxU32 thisWrite;
|
||||||
|
|||||||
@@ -97,7 +97,7 @@
|
|||||||
|
|
||||||
#define GEN_INDEX(a) ((((FxU32) a) - ((FxU32) gc->reg_ptr)) >> 2)
|
#define GEN_INDEX(a) ((((FxU32) a) - ((FxU32) gc->reg_ptr)) >> 2)
|
||||||
|
|
||||||
char
|
const char
|
||||||
*regNames[] = {
|
*regNames[] = {
|
||||||
"status", /* 0x00 */
|
"status", /* 0x00 */
|
||||||
"reserved001", /* 0x01 */
|
"reserved001", /* 0x01 */
|
||||||
|
|||||||
@@ -163,7 +163,7 @@
|
|||||||
|
|
||||||
#include "fxinline.h"
|
#include "fxinline.h"
|
||||||
|
|
||||||
const FxU32 _grMemOffset[16] =
|
static const FxU32 _grMemOffset[16] =
|
||||||
{
|
{
|
||||||
35, /* 320x200 */
|
35, /* 320x200 */
|
||||||
40, /* 320x240 */
|
40, /* 320x240 */
|
||||||
@@ -183,7 +183,7 @@ const FxU32 _grMemOffset[16] =
|
|||||||
70 /* 400x300 */
|
70 /* 400x300 */
|
||||||
};
|
};
|
||||||
|
|
||||||
const FxU32 _grResolutionRefresh[16][9] =
|
static const FxU32 _grResolutionRefresh[16][9] =
|
||||||
{
|
{
|
||||||
{ /* 320x200 */
|
{ /* 320x200 */
|
||||||
0, /* 60 Hz */
|
0, /* 60 Hz */
|
||||||
|
|||||||
@@ -105,9 +105,9 @@ static FxBool Read8Bit(FxU8 *dst, FILE *image, int small_lod, int large_lod, GrA
|
|||||||
static FxBool Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
static FxBool Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
||||||
|
|
||||||
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
||||||
const char *openmode = "rb";
|
static const char *openmode = "rb";
|
||||||
#else
|
#else
|
||||||
const char *openmode = "r";
|
static const char *openmode = "r";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|||||||
@@ -347,9 +347,6 @@
|
|||||||
#include "fxglide.h"
|
#include "fxglide.h"
|
||||||
#include "fxinline.h"
|
#include "fxinline.h"
|
||||||
|
|
||||||
#include "rcver.h"
|
|
||||||
static char glideIdent[] = "@#%" VERSIONSTR ;
|
|
||||||
|
|
||||||
#if GLIDE_HW_TRI_SETUP
|
#if GLIDE_HW_TRI_SETUP
|
||||||
static void
|
static void
|
||||||
_grUpdateTriPacketHdr(FxU32 paramMask,
|
_grUpdateTriPacketHdr(FxU32 paramMask,
|
||||||
@@ -373,9 +370,6 @@ GR_STATE_ENTRY(grAlphaBlendFunction, void,
|
|||||||
GDBG_INFO_MORE(gc->myLevel, "(%d,%d,%d,%d)\n",
|
GDBG_INFO_MORE(gc->myLevel, "(%d,%d,%d,%d)\n",
|
||||||
rgb_sf, rgb_df, alpha_sf, alpha_df);
|
rgb_sf, rgb_df, alpha_sf, alpha_df);
|
||||||
|
|
||||||
/* Watcom warning suppressor */
|
|
||||||
glideIdent[0] = glideIdent[0];
|
|
||||||
|
|
||||||
alphamode = gc->state.fbi_config.alphaMode;
|
alphamode = gc->state.fbi_config.alphaMode;
|
||||||
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
||||||
GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
#include "fxinline.h"
|
#include "fxinline.h"
|
||||||
|
|
||||||
|
|
||||||
const FxU32 _grResolutionXY[16][2] =
|
static const FxU32 _grResolutionXY[16][2] =
|
||||||
{
|
{
|
||||||
{ 320, 200 }, /* 320x200 */
|
{ 320, 200 }, /* 320x200 */
|
||||||
{ 320, 240 }, /* 320x240 */
|
{ 320, 240 }, /* 320x240 */
|
||||||
|
|||||||
@@ -110,9 +110,9 @@ static FxBool Read8Bit(FxU8 *dst, FILE *image, int small_lod, int large_lod, GrA
|
|||||||
static FxBool Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
static FxBool Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
||||||
|
|
||||||
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
||||||
const char *openmode = "rb";
|
static const char *openmode = "rb";
|
||||||
#else
|
#else
|
||||||
const char *openmode = "r";
|
static const char *openmode = "r";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|||||||
@@ -456,9 +456,6 @@
|
|||||||
#include <lindri.h>
|
#include <lindri.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "rcver.h"
|
|
||||||
static char glideIdent[] = "@#%" VERSIONSTR ;
|
|
||||||
|
|
||||||
#if GLIDE_HW_TRI_SETUP
|
#if GLIDE_HW_TRI_SETUP
|
||||||
static void
|
static void
|
||||||
_grUpdateTriPacketHdr(FxU32 paramMask,
|
_grUpdateTriPacketHdr(FxU32 paramMask,
|
||||||
@@ -482,9 +479,6 @@ GR_STATE_ENTRY(grAlphaBlendFunction, void,
|
|||||||
GDBG_INFO_MORE(gc->myLevel, "(%d,%d,%d,%d)\n",
|
GDBG_INFO_MORE(gc->myLevel, "(%d,%d,%d,%d)\n",
|
||||||
rgb_sf, rgb_df, alpha_sf, alpha_df);
|
rgb_sf, rgb_df, alpha_sf, alpha_df);
|
||||||
|
|
||||||
/* Watcom warning suppressor */
|
|
||||||
glideIdent[0] = glideIdent[0];
|
|
||||||
|
|
||||||
alphamode = gc->state.shadow.alphaMode;
|
alphamode = gc->state.shadow.alphaMode;
|
||||||
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
||||||
GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
||||||
|
|||||||
@@ -132,9 +132,9 @@ static FxBool Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, G
|
|||||||
static FxBool Read32Bit(FxU32 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
static FxBool Read32Bit(FxU32 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
||||||
|
|
||||||
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
||||||
const char *openmode = "rb";
|
static const char *openmode = "rb";
|
||||||
#else
|
#else
|
||||||
const char *openmode = "r";
|
static const char *openmode = "r";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|||||||
@@ -654,9 +654,6 @@
|
|||||||
#include <lindri.h>
|
#include <lindri.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "rcver.h"
|
|
||||||
static char glideIdent[] = "@#%" VERSIONSTR ;
|
|
||||||
|
|
||||||
#if GLIDE_HW_TRI_SETUP
|
#if GLIDE_HW_TRI_SETUP
|
||||||
static void
|
static void
|
||||||
_grUpdateTriPacketHdr(FxU32 paramMask,
|
_grUpdateTriPacketHdr(FxU32 paramMask,
|
||||||
@@ -681,9 +678,6 @@ GR_STATE_ENTRY(grAlphaBlendFunction, void,
|
|||||||
GDBG_INFO_MORE(gc->myLevel, "(%d,%d,%d,%d)\n",
|
GDBG_INFO_MORE(gc->myLevel, "(%d,%d,%d,%d)\n",
|
||||||
rgb_sf, rgb_df, alpha_sf, alpha_df);
|
rgb_sf, rgb_df, alpha_sf, alpha_df);
|
||||||
|
|
||||||
/* Watcom warning suppressor */
|
|
||||||
glideIdent[0] = glideIdent[0];
|
|
||||||
|
|
||||||
alphamode = gc->state.shadow.alphaMode;
|
alphamode = gc->state.shadow.alphaMode;
|
||||||
if (gc->grPixelSize == 4) {
|
if (gc->grPixelSize == 4) {
|
||||||
switch (alpha_sf) {
|
switch (alpha_sf) {
|
||||||
|
|||||||
@@ -175,7 +175,7 @@
|
|||||||
|
|
||||||
#include "fxinline.h"
|
#include "fxinline.h"
|
||||||
|
|
||||||
const FxU32 _grMemOffset[16] =
|
static const FxU32 _grMemOffset[16] =
|
||||||
{
|
{
|
||||||
65536, /* 320x200 */
|
65536, /* 320x200 */
|
||||||
65536, /* 320x240 */
|
65536, /* 320x240 */
|
||||||
@@ -195,7 +195,7 @@ const FxU32 _grMemOffset[16] =
|
|||||||
65536 /* 400x300 */
|
65536 /* 400x300 */
|
||||||
};
|
};
|
||||||
|
|
||||||
const FxU32 _grResolutionRefresh[16][9] =
|
static const FxU32 _grResolutionRefresh[16][9] =
|
||||||
{
|
{
|
||||||
{ /* 320x200 */
|
{ /* 320x200 */
|
||||||
0, /* 60 Hz */
|
0, /* 60 Hz */
|
||||||
|
|||||||
@@ -106,9 +106,9 @@ static FxBool Read8Bit(FxU8 *dst, FILE *image, int small_lod, int large_lod, GrA
|
|||||||
static FxBool Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
static FxBool Read16Bit(FxU16 *dst, FILE *image, int small_lod, int large_lod, GrAspectRatio_t aspect);
|
||||||
|
|
||||||
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
#if ((GLIDE_PLATFORM & (GLIDE_OS_DOS32 | GLIDE_OS_WIN32 | GLIDE_OS_MACOS)) != 0)
|
||||||
const char *openmode = "rb";
|
static const char *openmode = "rb";
|
||||||
#else
|
#else
|
||||||
const char *openmode = "r";
|
static const char *openmode = "r";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
|||||||
@@ -210,9 +210,6 @@
|
|||||||
#include <init.h>
|
#include <init.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "rcver.h"
|
|
||||||
static char glideIdent[] = "@#%" VERSIONSTR ;
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------
|
/*---------------------------------------------------------------------------
|
||||||
** grAlphaBlendFunction
|
** grAlphaBlendFunction
|
||||||
**
|
**
|
||||||
@@ -227,9 +224,6 @@ GR_STATE_ENTRY(grAlphaBlendFunction, void, ( GrAlphaBlendFnc_t rgb_sf, GrAlpha
|
|||||||
GR_BEGIN_NOFIFOCHECK("grAlphaBlendFunction",85);
|
GR_BEGIN_NOFIFOCHECK("grAlphaBlendFunction",85);
|
||||||
GDBG_INFO_MORE((gc->myLevel,"(%d,%d,%d,%d)\n",rgb_sf,rgb_df,alpha_sf,alpha_df));
|
GDBG_INFO_MORE((gc->myLevel,"(%d,%d,%d,%d)\n",rgb_sf,rgb_df,alpha_sf,alpha_df));
|
||||||
|
|
||||||
/* Watcom warning suppressor */
|
|
||||||
glideIdent[0] = glideIdent[0];
|
|
||||||
|
|
||||||
alphamode = gc->state.fbi_config.alphaMode;
|
alphamode = gc->state.fbi_config.alphaMode;
|
||||||
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
if (alpha_sf != GR_BLEND_ONE && alpha_sf != GR_BLEND_ZERO) {
|
||||||
// GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
// GR_CHECK_W(myName, 1, "unsupported alpha source blend function");
|
||||||
|
|||||||
@@ -899,7 +899,7 @@ _GR_SET16(void *addr, unsigned short data)
|
|||||||
|
|
||||||
#if defined( GLIDE_DEBUG ) && ( GLIDE_PLATFORM & GLIDE_HW_SST96 )
|
#if defined( GLIDE_DEBUG ) && ( GLIDE_PLATFORM & GLIDE_HW_SST96 )
|
||||||
|
|
||||||
extern char *regNames[];
|
extern const char *regNames[];
|
||||||
|
|
||||||
static FxU32 thisMask;
|
static FxU32 thisMask;
|
||||||
static FxU32 thisWrite;
|
static FxU32 thisWrite;
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
#include <sst1init.h>
|
#include <sst1init.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const FxU32 _grResolutionXY[16][2] =
|
static const FxU32 _grResolutionXY[16][2] =
|
||||||
{
|
{
|
||||||
{ 320, 200 }, /* 320x200 */
|
{ 320, 200 }, /* 320x200 */
|
||||||
{ 320, 240 }, /* 320x240 */
|
{ 320, 240 }, /* 320x240 */
|
||||||
|
|||||||
@@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
#define GEN_INDEX(a) ((((FxU32) a) - ((FxU32) gc->reg_ptr)) >> 2)
|
#define GEN_INDEX(a) ((((FxU32) a) - ((FxU32) gc->reg_ptr)) >> 2)
|
||||||
|
|
||||||
char
|
const char
|
||||||
*regNames[] = {
|
*regNames[] = {
|
||||||
"status", /* 0x00 */
|
"status", /* 0x00 */
|
||||||
"reserved001", /* 0x01 */
|
"reserved001", /* 0x01 */
|
||||||
|
|||||||
Reference in New Issue
Block a user