Beispiel #1
0
void mfpio_destroy(io68_t * const io)
{
  mfp_io68_t * const mfpio = (mfp_io68_t * const)io;
  if (io) {
    mfp_cleanup(&mfpio->mfp);
    emu68_free(io);
  }
}
Beispiel #2
0
void io68_destroy(io68_t * const io)
{
  if (io) {
    assert(!io->next);
    if (io->next)
      msg68_critical("io68: destroying an attached IO <%s>\n",io->name);
    if (io->destroy)
      io->destroy(io);
    else
      emu68_free(io);
  }
}
Beispiel #3
0
static void shifter_destroy(io68_t * const io)
{
  emu68_free(io);
}