#SYSTYPE = __GCCWIN32__
#EXESUFFIX = .exe
#GLLIB = opengl32
+#ICON = vj-ico.o
# Uncomment the following lines to compile for *nix
SYSTYPE = __GCCUNIX__
EXESUFFIX =
GLLIB = GL
+ICON =
CC = gcc
LD = gcc
TARGET = vj
-CFLAGS = -Wall -Wno-switch -O3 -D$(SYSTYPE) -Dstricmp="strcasecmp" \
- -fomit-frame-pointer `sdl-config --cflags`
-# -fomit-frame-pointer `sdl-config --cflags` -DLOG_UNMAPPED_MEMORY_ACCESSES
+CFLAGS = -Wall -Wno-switch -Wno-non-virtual-dtor -O3 -D$(SYSTYPE) -Dstricmp="strcasecmp" \
+ -fomit-frame-pointer `sdl-config --cflags`
+# -fomit-frame-pointer `sdl-config --cflags` -DLOG_UNMAPPED_MEMORY_ACCESSES
LDFLAGS = $(CFLAGS)
obj/unzip.o \
obj/version.o \
obj/video.o \
- obj/vj.o
+ obj/vj.o \
+ $(ICON)
all: obj $(TARGET)
SYSTYPE = __GCCWIN32__
EXESUFFIX = .exe
GLLIB = opengl32
+ICON = vj-ico.o
# Uncomment the following lines to compile for *nix
#SYSTYPE = __GCCUNIX__
#EXESUFFIX =
#GLLIB = GL
+#ICON =
-CC = gcc
-LD = gcc
-TARGET = vj
+CC = gcc
+LD = gcc
+TARGET = vj
-CFLAGS = -Wall -Wno-switch -O3 -D$(SYSTYPE) -Dstricmp="strcasecmp" \
- -fomit-frame-pointer `sdl-config --cflags`
-# -fomit-frame-pointer `sdl-config --cflags` -DLOG_UNMAPPED_MEMORY_ACCESSES
+CFLAGS = -Wall -Wno-switch -Wno-non-virtual-dtor -O3 -D$(SYSTYPE) -Dstricmp="strcasecmp" \
+ -fomit-frame-pointer `sdl-config --cflags`
+# -fomit-frame-pointer `sdl-config --cflags` -DLOG_UNMAPPED_MEMORY_ACCESSES
LDFLAGS = $(CFLAGS)
obj/unzip.o \
obj/version.o \
obj/video.o \
- obj/vj.o
+ obj/vj.o \
+ $(ICON)
all: obj $(TARGET)
return data >> 16;
}
-//TEMP--Mirror of F03000?
-if (offset >= 0xF0B000 && offset <= 0xF0BFFF)
-WriteLog("[GPUR16] --> Possible GPU RAM mirror access by %s!", whoName[who]);
+//TEMP--Mirror of F03000? No. Writes only...
+//if (offset >= 0xF0B000 && offset <= 0xF0BFFF)
+//WriteLog("[GPUR16] --> Possible GPU RAM mirror access by %s!", whoName[who]);
return JaguarReadWord(offset, who);
}
return 0;
}
}
-//TEMP--Mirror of F03000?
-if (offset >= 0xF0B000 && offset <= 0xF0BFFF)
- WriteLog("[GPUR32] --> Possible GPU RAM mirror access by %s!\n", whoName[who]);
+//TEMP--Mirror of F03000? No. Writes only...
+//if (offset >= 0xF0B000 && offset <= 0xF0BFFF)
+// WriteLog("[GPUR32] --> Possible GPU RAM mirror access by %s!\n", whoName[who]);
/*if (offset >= 0xF1D000 && offset <= 0xF1DFFF)
WriteLog("[GPUR32] --> Reading from Wavetable ROM!\n");//*/
fflush(log_stream);
fclose(log_stream);
exit(1);
- }
+ }//*/
va_end(arg);
fflush(log_stream); // Make sure that text is written!
char * ext = strrchr(path, '.');
if (ext != NULL)
{
- WriteLog("VJ: Loading %s...", path);
+ WriteLog("VJ: Loading \"%s\"...", path);
if (stricmp(ext, ".zip") == 0)
{