glide2x, sst1: windows MSVC 6 build fixes in init
This commit is contained in:
@@ -922,7 +922,7 @@ FxBool sst1InitSetGrxClkINI(FxU32 *sstbase, sst1ClkTimingStruct
|
||||
setMemClk = iniDac->setMemClk;
|
||||
while(setMemClk) {
|
||||
#ifdef DIRECTX
|
||||
if(setMemClk->frequency == FTOL(sstGrxClk->freq) ) {
|
||||
if(setMemClk->frequency == (FxU32) FTOL(sstGrxClk->freq) ) {
|
||||
#else
|
||||
if(setMemClk->frequency == (FxU32) sstGrxClk->freq) {
|
||||
#endif
|
||||
|
||||
@@ -256,6 +256,7 @@ gdbg_set_file(const char *name)
|
||||
else {
|
||||
outf = fopen(name,"w"); // open up a new one
|
||||
if (outf) gdbg_msgfile = outf;
|
||||
return outf != NULL;
|
||||
return (outf != NULL);
|
||||
}
|
||||
return FXTRUE;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,11 @@
|
||||
#include <sst1vid.h>
|
||||
#include <sst1init.h>
|
||||
|
||||
#if __WIN32__
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif /* __WIN32__ */
|
||||
|
||||
static int sst1InitFgets(char *, FILE *);
|
||||
static int sst1InitFgetc(FILE *);
|
||||
static int sst1InitParseFieldDac(char *);
|
||||
|
||||
Reference in New Issue
Block a user