From 2d194bb1c94eb4eb4901d8cfa14cacb67450d833 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 28 Oct 2015 19:40:01 -0700 Subject: Get trans program compiling again --- Makefile | 10 +++++----- trans.c | 9 +++++++++ 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 #include +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) { -- cgit v1.2.3