From 18dcd633bc0d0c3a7c6a900b5d5d8dec2a782307 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 8 Feb 2013 08:04:01 +0000 Subject: [PATCH] ups --- src/mame/drivers/fgoal.c | 1 - src/mame/drivers/firetrk.c | 1 - src/mame/video/f1gp.c | 1 - src/mame/video/fantland.c | 1 - src/mame/video/fastfred.c | 1 - src/mame/video/fastlane.c | 1 - src/mame/video/firetrap.c | 1 - src/mame/video/firetrk.c | 3 --- src/mame/video/fitfight.c | 1 - src/mame/video/flower.c | 1 - src/mame/video/flstory.c | 2 -- src/mame/video/freekick.c | 3 --- src/mame/video/fromanc2.c | 6 ------ src/mame/video/fromance.c | 3 --- src/mame/video/funkybee.c | 2 -- src/mame/video/funybubl.c | 1 - src/mame/video/fuukifg2.c | 2 -- src/mame/video/fuukifg3.c | 3 --- 18 files changed, 34 deletions(-) diff --git a/src/mame/drivers/fgoal.c b/src/mame/drivers/fgoal.c index f5164dfb591..185b0951130 100644 --- a/src/mame/drivers/fgoal.c +++ b/src/mame/drivers/fgoal.c @@ -92,7 +92,6 @@ TIMER_CALLBACK_MEMBER(fgoal_state::interrupt_callback) unsigned fgoal_state::video_ram_address( ) { -//OBRISI.ME return 0x4000 | (m_row << 5) | (m_col >> 3); } diff --git a/src/mame/drivers/firetrk.c b/src/mame/drivers/firetrk.c index 960276ca6ea..67e71332152 100644 --- a/src/mame/drivers/firetrk.c +++ b/src/mame/drivers/firetrk.c @@ -18,7 +18,6 @@ Atari Fire Truck + Super Bug + Monte Carlo driver void firetrk_state::set_service_mode(int enable) { -//OBRISI.ME m_in_service_mode = enable; /* watchdog is disabled during service mode */ diff --git a/src/mame/video/f1gp.c b/src/mame/video/f1gp.c index 94c3cd7673b..f6313663f6e 100644 --- a/src/mame/video/f1gp.c +++ b/src/mame/video/f1gp.c @@ -248,7 +248,6 @@ UINT32 f1gp_state::screen_update_f1gp2(screen_device &screen, bitmap_ind16 &bitm // BOOTLEG void f1gp_state::f1gpb_draw_sprites( bitmap_ind16 &bitmap,const rectangle &cliprect ) { -//OBRISI.ME UINT16 *spriteram = m_spriteram; int attr_start, start_offset = m_spriteram.bytes() / 2 - 4; diff --git a/src/mame/video/fantland.c b/src/mame/video/fantland.c index 918a207e99d..fe8b205e99c 100644 --- a/src/mame/video/fantland.c +++ b/src/mame/video/fantland.c @@ -63,7 +63,6 @@ void fantland_state::draw_sprites(bitmap_ind16 &bitmap,const rectangle &cliprect) { -//OBRISI.ME UINT8 *spriteram_2 = m_spriteram2; UINT8 *indx_ram = m_spriteram + 0x2000, // this ram contains indexes into offs_ram *offs_ram = m_spriteram + 0x2400, // this ram contains x,y offsets or indexes into spriteram_2 diff --git a/src/mame/video/fastfred.c b/src/mame/video/fastfred.c index 2c0f60fc36b..8e81baa31d3 100644 --- a/src/mame/video/fastfred.c +++ b/src/mame/video/fastfred.c @@ -234,7 +234,6 @@ void fastfred_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec { const rectangle spritevisiblearea(2*8, 32*8-1, 2*8, 30*8-1); const rectangle spritevisibleareaflipx(0*8, 30*8-1, 2*8, 30*8-1); -//OBRISI.ME int offs; for (offs = m_spriteram.bytes() - 4; offs >= 0; offs -= 4) diff --git a/src/mame/video/fastlane.c b/src/mame/video/fastlane.c index 0dc32d59916..a25dc029dc9 100644 --- a/src/mame/video/fastlane.c +++ b/src/mame/video/fastlane.c @@ -26,7 +26,6 @@ void fastlane_state::palette_init() void fastlane_state::set_pens( ) { -//OBRISI.ME int i; for (i = 0x00; i < 0x800; i += 2) diff --git a/src/mame/video/firetrap.c b/src/mame/video/firetrap.c index 4f710fad716..22966d255c4 100644 --- a/src/mame/video/firetrap.c +++ b/src/mame/video/firetrap.c @@ -192,7 +192,6 @@ WRITE8_MEMBER(firetrap_state::firetrap_bg2_scrolly_w) void firetrap_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ) { -//OBRISI.ME int offs; for (offs = 0; offs < m_spriteram.bytes(); offs += 4) diff --git a/src/mame/video/firetrk.c b/src/mame/video/firetrk.c index 3a6cf171e28..5d0a52e41c0 100644 --- a/src/mame/video/firetrk.c +++ b/src/mame/video/firetrk.c @@ -247,7 +247,6 @@ VIDEO_START_MEMBER(firetrk_state,montecar) void firetrk_state::firetrk_draw_car(bitmap_ind16 &bitmap, const rectangle &cliprect, gfx_element **gfx, int which, int flash) { -//OBRISI.ME int gfx_bank, code, color, flip_x, flip_y, x, y; if (which) @@ -277,7 +276,6 @@ void firetrk_state::firetrk_draw_car(bitmap_ind16 &bitmap, const rectangle &clip void firetrk_state::superbug_draw_car(bitmap_ind16 &bitmap, const rectangle &cliprect, gfx_element **gfx, int flash) { -//OBRISI.ME int gfx_bank = (*m_car_rot & 0x10) ? 4 : 3; int code = ~*m_car_rot & 0x03; int color = flash ? 1 : 0; @@ -290,7 +288,6 @@ void firetrk_state::superbug_draw_car(bitmap_ind16 &bitmap, const rectangle &cli void firetrk_state::montecar_draw_car(bitmap_ind16 &bitmap, const rectangle &cliprect, gfx_element **gfx, int which, int is_collision_detection) { -//OBRISI.ME int gfx_bank, code, color, flip_x, flip_y, x, y; if (which) diff --git a/src/mame/video/fitfight.c b/src/mame/video/fitfight.c index 06bd89e07f9..d95022afc14 100644 --- a/src/mame/video/fitfight.c +++ b/src/mame/video/fitfight.c @@ -6,7 +6,6 @@ void fitfight_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect, int layer ) { -//OBRISI.ME gfx_element *gfx = machine().gfx[3]; UINT16 *source = m_spriteram; UINT16 *finish = source + 0x800 / 2; diff --git a/src/mame/video/flower.c b/src/mame/video/flower.c index 3409842f696..7274cd63670 100644 --- a/src/mame/video/flower.c +++ b/src/mame/video/flower.c @@ -28,7 +28,6 @@ void flower_state::palette_init() void flower_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect ) { -//OBRISI.ME gfx_element *gfx = machine().gfx[1]; UINT8 *source = m_spriteram + 0x200; UINT8 *finish = source - 0x200; diff --git a/src/mame/video/flstory.c b/src/mame/video/flstory.c index 2a135d4ac9e..36ecfd3a099 100644 --- a/src/mame/video/flstory.c +++ b/src/mame/video/flstory.c @@ -161,7 +161,6 @@ WRITE8_MEMBER(flstory_state::flstory_scrlram_w) void flstory_state::flstory_draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect, int pri ) { -//OBRISI.ME int i; for (i = 0; i < 0x20; i++) @@ -217,7 +216,6 @@ UINT32 flstory_state::screen_update_flstory(screen_device &screen, bitmap_ind16 void flstory_state::victnine_draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ) { -//OBRISI.ME int i; for (i = 0; i < 0x20; i++) diff --git a/src/mame/video/freekick.c b/src/mame/video/freekick.c index 078e169e452..2622065036e 100644 --- a/src/mame/video/freekick.c +++ b/src/mame/video/freekick.c @@ -28,7 +28,6 @@ WRITE8_MEMBER(freekick_state::freek_videoram_w) void freekick_state::gigas_draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ) { -//OBRISI.ME int offs; for (offs = 0; offs < m_spriteram.bytes(); offs += 4) @@ -63,7 +62,6 @@ void freekick_state::gigas_draw_sprites( bitmap_ind16 &bitmap, const rectangle & void freekick_state::pbillrd_draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ) { -//OBRISI.ME int offs; for (offs = 0; offs < m_spriteram.bytes(); offs += 4) @@ -99,7 +97,6 @@ void freekick_state::pbillrd_draw_sprites( bitmap_ind16 &bitmap, const rectangle void freekick_state::freekick_draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ) { -//OBRISI.ME int offs; for (offs = 0; offs < m_spriteram.bytes(); offs += 4) diff --git a/src/mame/video/fromanc2.c b/src/mame/video/fromanc2.c index e8ca16b77b1..f0d1128d7f7 100644 --- a/src/mame/video/fromanc2.c +++ b/src/mame/video/fromanc2.c @@ -17,7 +17,6 @@ inline void fromanc2_state::fromanc2_get_tile_info( tile_data &tileinfo, int tile_index, int vram, int layer ) { -//OBRISI.ME int tile, color; tile = (m_videoram[vram][layer][tile_index] & 0x3fff) | (m_gfxbank[vram][layer] << 14); @@ -38,7 +37,6 @@ TILE_GET_INFO_MEMBER(fromanc2_state::fromanc2_get_v1_l3_tile_info){ fromanc2_get inline void fromanc2_state::fromancr_get_tile_info( tile_data &tileinfo, int tile_index, int vram, int layer ) { -//OBRISI.ME int tile, color; tile = m_videoram[vram][layer][tile_index] | (m_gfxbank[vram][layer] << 16); @@ -162,7 +160,6 @@ WRITE16_MEMBER(fromanc2_state::fromanc4_paletteram_1_w) inline void fromanc2_state::fromanc2_dispvram_w( offs_t offset, UINT16 data, UINT16 mem_mask, int vram, int layer ) { -//OBRISI.ME layer += (offset < 0x1000) ? 0 : 1; COMBINE_DATA(&m_videoram[vram][layer][offset & 0x0fff]); @@ -253,7 +250,6 @@ WRITE16_MEMBER(fromanc2_state::fromanc2_gfxbank_1_w) inline void fromanc2_state::fromancr_vram_w(offs_t offset, UINT16 data, UINT16 mem_mask, int layer ) { -//OBRISI.ME int vram = (offset < 0x1000) ? 0 : 1; COMBINE_DATA(&m_videoram[vram][layer][offset & 0x0fff]); @@ -292,7 +288,6 @@ WRITE16_MEMBER(fromanc2_state::fromancr_gfxreg_1_w) void fromanc2_state::fromancr_gfxbank_w( int data ) { -//OBRISI.ME m_gfxbank[0][0] = (data & 0x0010) >> 4; // BG (1P) m_gfxbank[0][1] = (data & 0xf000) >> 12; // FG (1P) @@ -307,7 +302,6 @@ void fromanc2_state::fromancr_gfxbank_w( int data ) inline void fromanc2_state::fromanc4_vram_w( offs_t offset, UINT16 data, UINT16 mem_mask, int layer ) { -//OBRISI.ME int vram = (offset < 0x4000) ? 0 : 1; COMBINE_DATA(&m_videoram[vram][layer][offset & 0x3fff]); diff --git a/src/mame/video/fromance.c b/src/mame/video/fromance.c index b0c1e9bae95..54865729da9 100644 --- a/src/mame/video/fromance.c +++ b/src/mame/video/fromance.c @@ -21,7 +21,6 @@ inline void fromance_state::get_fromance_tile_info( tile_data &tileinfo, int tile_index, int layer ) { -//OBRISI.ME int tile = ((m_local_videoram[layer][0x0000 + tile_index] & 0x80) << 9) | (m_local_videoram[layer][0x1000 + tile_index] << 8) | m_local_videoram[layer][0x2000 + tile_index]; @@ -36,7 +35,6 @@ TILE_GET_INFO_MEMBER(fromance_state::get_fromance_fg_tile_info){ get_fromance_ti inline void fromance_state::get_nekkyoku_tile_info( tile_data &tileinfo, int tile_index, int layer ) { -//OBRISI.ME int tile = (m_local_videoram[layer][0x0000 + tile_index] << 8) | m_local_videoram[layer][0x1000 + tile_index]; int color = m_local_videoram[layer][tile_index + 0x2000] & 0x3f; @@ -57,7 +55,6 @@ TILE_GET_INFO_MEMBER(fromance_state::get_nekkyoku_fg_tile_info){ get_nekkyoku_ti void fromance_state::init_common( ) { -//OBRISI.ME /* allocate local videoram */ m_local_videoram[0] = auto_alloc_array(machine(), UINT8, 0x1000 * 3); diff --git a/src/mame/video/funkybee.c b/src/mame/video/funkybee.c index 7bcabebd0ce..d972b02ec0c 100644 --- a/src/mame/video/funkybee.c +++ b/src/mame/video/funkybee.c @@ -92,7 +92,6 @@ void funkybee_state::video_start() void funkybee_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ) { -//OBRISI.ME int offs; for (offs = 0x0f; offs >= 0; offs--) @@ -121,7 +120,6 @@ void funkybee_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &clipre void funkybee_state::draw_columns( bitmap_ind16 &bitmap, const rectangle &cliprect ) { -//OBRISI.ME int offs; for (offs = 0x1f; offs >= 0; offs--) diff --git a/src/mame/video/funybubl.c b/src/mame/video/funybubl.c index 320d3980b1a..19b8963cdde 100644 --- a/src/mame/video/funybubl.c +++ b/src/mame/video/funybubl.c @@ -29,7 +29,6 @@ void funybubl_state::video_start() void funybubl_state::draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ) { -//OBRISI.ME UINT8 *source = &m_banked_vram[0x2000 - 0x20]; UINT8 *finish = source - 0x1000; diff --git a/src/mame/video/fuukifg2.c b/src/mame/video/fuukifg2.c index a6d1421c46b..55fff8f6d20 100644 --- a/src/mame/video/fuukifg2.c +++ b/src/mame/video/fuukifg2.c @@ -46,7 +46,6 @@ inline void fuuki16_state::get_tile_info(tile_data &tileinfo, tilemap_memory_index tile_index, int _N_) { -//OBRISI.ME UINT16 code = m_vram[_N_][2 * tile_index + 0]; UINT16 attr = m_vram[_N_][2 * tile_index + 1]; SET_TILE_INFO_MEMBER(1 + _N_, code, attr & 0x3f, TILE_FLIPYX((attr >> 6) & 3)); @@ -265,7 +264,6 @@ if (screen.machine().input().code_pressed(KEYCODE_X)) /* Wrapper to handle bg and bg2 ttogether */ void fuuki16_state::fuuki16_draw_layer( bitmap_ind16 &bitmap, const rectangle &cliprect, int i, int flag, int pri ) { -//OBRISI.ME int buffer = (m_vregs[0x1e / 2] & 0x40); switch( i ) diff --git a/src/mame/video/fuukifg3.c b/src/mame/video/fuukifg3.c index 3eca7c1e8cb..d7edc62b5f3 100644 --- a/src/mame/video/fuukifg3.c +++ b/src/mame/video/fuukifg3.c @@ -50,7 +50,6 @@ inline void fuuki32_state::get_tile_info8bpp(tile_data &tileinfo, tilemap_memory_index tile_index, int _N_) { -//OBRISI.ME UINT16 code = (m_vram[_N_][tile_index] & 0xffff0000) >> 16; UINT16 attr = (m_vram[_N_][tile_index] & 0x0000ffff); SET_TILE_INFO_MEMBER(1 + _N_, code, (attr & 0x3f) >> 4, TILE_FLIPYX((attr >> 6) & 3)); @@ -61,7 +60,6 @@ TILE_GET_INFO_MEMBER(fuuki32_state::get_tile_info_1){ get_tile_info8bpp(tileinfo inline void fuuki32_state::get_tile_info4bpp(tile_data &tileinfo, tilemap_memory_index tile_index, int _N_) { -//OBRISI.ME UINT16 code = (m_vram[_N_][tile_index] & 0xffff0000) >> 16; UINT16 attr = (m_vram[_N_][tile_index] & 0x0000ffff); SET_TILE_INFO_MEMBER(1 + _N_, code, attr & 0x3f, TILE_FLIPYX((attr >> 6) & 3)); @@ -288,7 +286,6 @@ if (screen.machine().input().code_pressed(KEYCODE_X)) /* Wrapper to handle bg and bg2 ttogether */ void fuuki32_state::fuuki32_draw_layer( bitmap_ind16 &bitmap, const rectangle &cliprect, int i, int flag, int pri ) { -//OBRISI.ME int buffer = ((m_vregs[0x1e / 4] & 0x0000ffff) & 0x40); switch( i )