Ejemplo n.º 1
0
        public static void invaders_vh_stop()
        {
            if (overlay != null)
            {
                Mame.artwork_free(ref overlay);
                overlay = null;
            }

            if (use_tmpbitmap != 0) Generic.generic_bitmapped_vh_stop();
        }
Ejemplo n.º 2
0
        public static int invaders_vh_start()
        {
            /* create overlay if one of was specified in init_X */
            if (init_overlay != null)
            {
                if ((overlay = Mame.artwork_create(init_overlay, 2, (int)Mame.Machine.drv.total_colors - 2)) == null)
                    return 1;

                use_tmpbitmap = 1;
            }

            if (use_tmpbitmap != 0 && (Generic.generic_bitmapped_vh_start() != 0))
                return 1;

            if (use_tmpbitmap != 0)
                plot_pixel_p = plot_pixel_8080_tmpbitmap;
            else
                plot_pixel_p = plot_pixel_8080;

            return 0;
        }