Previous 15994 Revisions Next

r1173 Monday 22nd October, 2007 at 17:28:47 UTC by Firewave
1. [SVI318] Reverted memory leak fix

2. Added linker warning about duplicated symbols
[ROOT]makefile.mes
[src/mess/machine]svi318.c

makefile.mes
r1172r1173
436436
437437# LDFLAGS are used generally; LDFLAGSEMULATOR are additional
438438# flags only used when linking the core emulator
439LDFLAGS =
439LDFLAGS = -Wl,--warn-common
440440LDFLAGSEMULATOR =
441441
442442# add profiling information for the linker
src/mess/machine/svi318.c
r1172r1173
560560   svi.empty_bank = auto_malloc (0x8000);
561561   memset (svi.empty_bank, 0xff, 0x8000);
562562   svi.banks[0][0] = memory_region(REGION_CPU1);
563   svi.banks[1][0] = auto_malloc (0x8000);
563   svi.banks[1][0] = malloc (0x8000);
564564   memset (svi.banks[1][0], 0, 0x8000);
565565
566566   /* should also be allocated via dip-switches ... redundant? */
567567   if (!svi.svi318)
568568   {
569      svi.banks[1][2] = auto_malloc (0x8000);
569      svi.banks[1][2] = malloc (0x8000);
570570      memset (svi.banks[1][2], 0, 0x8000);
571571   }
572572

Previous 15994 Revisions Next


© 1998-2018 The MESS Team