Previous 199869 Revisions Next

r17726 Saturday 8th September, 2012 at 14:46:39 UTC by Ville Linde
k001604: Set tilemap origin based on cliprect.
[src/mame/video]konicdev.c

trunk/src/mame/video/konicdev.c
r17725r17726
1035410354{
1035510355   k001604_state *k001604 = k001604_get_safe_token(device);
1035610356
10357   k001604->layer_8x8[0]->set_scrollx(-cliprect.min_x);
10358   k001604->layer_8x8[0]->set_scrolly(-cliprect.min_y);
10359
10360   k001604->layer_8x8[1]->set_scrollx(-cliprect.min_x);
10361   k001604->layer_8x8[1]->set_scrolly(-cliprect.min_y);
10362
1035710363   //k001604->layer_8x8[1]->draw(bitmap, cliprect, 0,0);
1035810364   k001604->layer_8x8[0]->draw(bitmap, cliprect, 0,0);
1035910365}

Previous 199869 Revisions Next


© 1997-2024 The MAME Team