Previous 199869 Revisions Next

r29252 Friday 4th April, 2014 at 10:10:00 UTC by Miodrag Milanović
alto2: Compile fix for windows and exception at exit fixed (nw)
[/branches/alto2/src/emu/cpu/alto2]a2mem.c
[/branches/alto2/src/osd/windows]debugwin.c

branches/alto2/src/osd/windows/debugwin.c
r29251r29252
959959            }
960960
961961            // add this character to the buffer
962            buffer[count++] = viewdata[col].byte;
962            buffer[count++] = viewdata[col].uchar;
963963         }
964964
965965         // flush any remaining stuff
branches/alto2/src/emu/cpu/alto2/a2mem.c
r29251r29252
826826
827827void alto2_cpu_device::exit_memory()
828828{
829   if (m_mem.ram) {
830      auto_free(machine(), m_mem.ram);
831      m_mem.ram = 0;
832   }
833   if (m_mem.hpb) {
834      auto_free(machine(), m_mem.hpb);
835      m_mem.hpb = 0;
836   }
829   // no need for this since it free on exit by itself
830   // if (m_mem.ram) {
831      // auto_free(machine(), m_mem.ram);
832      // m_mem.ram = 0;
833   // }
834   // if (m_mem.hpb) {
835      // auto_free(machine(), m_mem.hpb);
836      // m_mem.hpb = 0;
837   // }
837838}
838839
839840void alto2_cpu_device::reset_memory()

Previous 199869 Revisions Next


© 1997-2024 The MAME Team