void blitscreen_dirty0_color8(struct osd_bitmap *bitmap)
{
    if (video_scale)
    {
        if (video_scale==1)
            blitscreen_dirty0_color8_horzscale(bitmap);
        else
            blitscreen_dirty0_color8_scale(bitmap);
    }
    else
    {
        blitscreen_dirty0_color8_noscale(bitmap);
    }
}
void blitscreen_dirty0_color8(struct osd_bitmap *bitmap)
{
    if (video_scale == 1) /* Horizontal Only */
    {
        blitscreen_dirty0_color8_horzscale(bitmap);
    }
    else if (video_scale == 2) /* Half Scale */
    {
        blitscreen_dirty0_color8_halfscale(bitmap);
    }
    else if (video_scale == 3) /* Best Fit Scale */
    {
        blitscreen_dirty0_color8_fitscale_merge1(bitmap);
    }
    else if (video_scale == 4) /* Fast Fit Scale */
    {
        blitscreen_dirty0_color8_fitscale_merge0(bitmap);
    }
    else /* Default is normal blit with no scaling */
    {
        blitscreen_dirty0_color8_noscale(bitmap);
    }
}