summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-10-28 19:40:01 -0700
committerMichael Pavone <pavone@retrodev.com>2015-10-28 19:40:01 -0700
commit2d194bb1c94eb4eb4901d8cfa14cacb67450d833 (patch)
treecf4209e29f30471bdf49eddea1e1d2c807c8dd55
parentda5fc8baa10a2af935a539f1b52e1d3f670f1fc8 (diff)
Get trans program compiling again
-rw-r--r--Makefile10
-rw-r--r--trans.c9
2 files changed, 14 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index bb47e63..814299e 100644
--- a/Makefile
+++ b/Makefile
@@ -137,16 +137,16 @@ blastem$(EXE) : $(MAINOBJS)
$(FIXUP) ./$@
dis$(EXE) : dis.o 68kinst.o tern.o vos_program_module.o
- $(CC) -o $@ $^
+ $(CC) -o $@ $^
zdis$(EXE) : zdis.o z80inst.o
- $(CC) -o $@ $^
+ $(CC) -o $@ $^
libemu68k.a : $(M68KOBJS) $(TRANSOBJS)
ar rcs libemu68k.a $(M68KOBJS) $(TRANSOBJS)
-trans : trans.o $(M68KOBJS) $(TRANSOBJS)
- $(CC) -o trans trans.o $(M68KOBJS) $(TRANSOBJS)
+trans : trans.o $(M68KOBJS) $(TRANSOBJS) util.o
+ $(CC) -o trans trans.o $(M68KOBJS) $(TRANSOBJS) util.o
transz80 : transz80.o $(Z80OBJS) $(TRANSOBJS)
$(CC) -o transz80 transz80.o $(Z80OBJS) $(TRANSOBJS)
@@ -164,7 +164,7 @@ stateview$(EXE) : stateview.o vdp.o render_sdl.o $(CONFIGOBJS) gst.o
vgmplay$(EXE) : vgmplay.o render_sdl.o $(CONFIGOBJS) $(AUDIOOBJS)
$(CC) -o $@ $^ $(LDFLAGS)
$(FIXUP) ./$@
-
+
blastcpm : blastcpm.o util.o $(Z80OBJS) $(TRANSOBJS)
$(CC) -o $@ $^
diff --git a/trans.c b/trans.c
index 7251cb9..7dd21fd 100644
--- a/trans.c
+++ b/trans.c
@@ -10,6 +10,15 @@
#include <stdlib.h>
#include <string.h>
+int headless = 1;
+void render_errorbox(char * title, char * buf)
+{
+}
+
+void render_infobox(char * title, char * buf)
+{
+}
+
m68k_context * sync_components(m68k_context * context, uint32_t address)
{
if (context->current_cycle > 0x80000000) {