trunk/src/devices/video/psx.cpp
| r250180 | r250181 | |
| 2312 | 2312 | |
| 2313 | 2313 | n_xend = SINT11( COORD_X( m_packet.GouraudLine.vertex[ 1 ].n_coord ) ); |
| 2314 | 2314 | n_yend = SINT11( COORD_Y( m_packet.GouraudLine.vertex[ 1 ].n_coord ) ); |
| 2315 | | n_cr2.w.h = BGR_R( m_packet.GouraudLine.vertex[ 1 ].n_bgr ); n_cr1.w.l = 0; |
| 2316 | | n_cg2.w.h = BGR_G( m_packet.GouraudLine.vertex[ 1 ].n_bgr ); n_cg1.w.l = 0; |
| 2317 | | n_cb2.w.h = BGR_B( m_packet.GouraudLine.vertex[ 1 ].n_bgr ); n_cb1.w.l = 0; |
| 2315 | n_cr2.w.h = BGR_R( m_packet.GouraudLine.vertex[ 1 ].n_bgr ); n_cr2.w.l = 0; |
| 2316 | n_cg2.w.h = BGR_G( m_packet.GouraudLine.vertex[ 1 ].n_bgr ); n_cg2.w.l = 0; |
| 2317 | n_cb2.w.h = BGR_B( m_packet.GouraudLine.vertex[ 1 ].n_bgr ); n_cb2.w.l = 0; |
| 2318 | 2318 | |
| 2319 | 2319 | n_x.sw.h = n_xstart; n_x.sw.l = 0; |
| 2320 | 2320 | n_y.sw.h = n_ystart; n_y.sw.l = 0; |
trunk/src/devices/video/scn2674.cpp
| r250180 | r250181 | |
| 44 | 44 | |
| 45 | 45 | void scn2674_device::device_reset() |
| 46 | 46 | { |
| 47 | | m_IR_pointer= 0; |
| 48 | | m_screen1_l= 0; |
| 49 | | m_screen1_h= 0; |
| 50 | | m_cursor_l= 0; |
| 51 | | m_cursor_h= 0; |
| 52 | | m_screen2_l= 0; |
| 53 | | m_screen2_h= 0; |
| 54 | | m_irq_register= 0; |
| 55 | | m_status_register= 0; |
| 56 | | m_irq_mask= 0; |
| 57 | | m_gfx_enabled= 0; |
| 58 | | m_display_enabled= 0; |
| 59 | | m_display_enabled_field= 0; |
| 60 | | m_display_enabled_scanline= 0; |
| 61 | | m_cursor_enabled= 0; |
| 62 | | m_IR0_double_ht_wd= 0; |
| 63 | | m_IR0_scanline_per_char_row= 1; |
| 64 | | m_IR0_sync_select= 0; |
| 65 | | m_IR0_buffer_mode_select= 0; |
| 66 | | m_IR1_interlace_enable= 0; |
| 67 | | m_IR1_equalizing_constant= 0; |
| 68 | | m_IR2_row_table= 0; |
| 69 | | m_IR2_horz_sync_width= 0; |
| 70 | | m_IR2_horz_back_porch= 0; |
| 71 | | m_IR3_vert_front_porch= 0; |
| 72 | | m_IR3_vert_back_porch= 0; |
| 73 | | m_IR4_rows_per_screen= 0; |
| 74 | | m_IR4_character_blink_rate_divisor= 0; |
| 75 | | m_IR5_character_per_row= 0; |
| 76 | | m_IR6_cursor_first_scanline= 0; |
| 77 | | m_IR6_cursor_last_scanline= 0; |
| 78 | | m_IR7_cursor_underline_position= 0; |
| 79 | | m_IR7_cursor_rate_divisor= 0; |
| 80 | | m_IR7_cursor_blink= 0; |
| 81 | | m_IR7_vsync_width= 0; |
| 82 | | m_IR8_display_buffer_first_address_LSB= 0; |
| 83 | | m_IR9_display_buffer_first_address_MSB= 0; |
| 84 | | m_IR9_display_buffer_last_address= 0; |
| 85 | | m_IR10_display_pointer_address_lower= 0; |
| 86 | | m_IR11_display_pointer_address_upper= 0; |
| 87 | | m_IR11_reset_scanline_counter_on_scrollup= 0; |
| 88 | | m_IR11_reset_scanline_counter_on_scrolldown= 0; |
| 89 | | m_IR12_scroll_start= 0; |
| 90 | | m_IR12_split_register_1= 0; |
| 91 | | m_IR13_scroll_end= 0; |
| 92 | | m_IR13_split_register_2= 0; |
| 93 | | m_IR14_scroll_lines= 0; |
| 94 | | m_IR14_double_1= 0; |
| 95 | | m_IR14_double_2= 0; |
| 96 | | m_spl1= 0; |
| 97 | | m_spl2= 0; |
| 98 | | m_dbl1= 0; |
| 99 | | m_buffer= 0; |
| 100 | | m_linecounter= 0; |
| 101 | | m_irq_state= 0; |
| 47 | m_screen1_l = 0; |
| 48 | m_screen1_h = 0; |
| 49 | m_cursor_l = 0; |
| 50 | m_cursor_h = 0; |
| 51 | m_screen2_l = 0; |
| 52 | m_screen2_h = 0; |
| 53 | m_irq_register = 0; |
| 54 | m_status_register = 0; |
| 55 | m_irq_mask = 0; |
| 56 | m_gfx_enabled = 0; |
| 57 | m_display_enabled = 0; |
| 58 | m_display_enabled_field = 0; |
| 59 | m_display_enabled_scanline = 0; |
| 60 | m_cursor_enabled = 0; |
| 61 | m_IR0_double_ht_wd = 0; |
| 62 | m_IR0_scanline_per_char_row = 1; |
| 63 | m_IR0_sync_select = 0; |
| 64 | m_IR0_buffer_mode_select = 0; |
| 65 | m_IR1_interlace_enable = 0; |
| 66 | m_IR1_equalizing_constant = 0; |
| 67 | m_IR2_row_table = 0; |
| 68 | m_IR2_horz_sync_width = 0; |
| 69 | m_IR2_horz_back_porch = 0; |
| 70 | m_IR3_vert_front_porch = 0; |
| 71 | m_IR3_vert_back_porch = 0; |
| 72 | m_IR4_rows_per_screen = 0; |
| 73 | m_IR4_character_blink_rate_divisor = 0; |
| 74 | m_IR5_character_per_row = 0; |
| 75 | m_IR6_cursor_first_scanline = 0; |
| 76 | m_IR6_cursor_last_scanline = 0; |
| 77 | m_IR7_cursor_underline_position = 0; |
| 78 | m_IR7_cursor_rate_divisor = 0; |
| 79 | m_IR7_cursor_blink = 0; |
| 80 | m_IR7_vsync_width = 0; |
| 81 | m_IR8_display_buffer_first_address_LSB = 0; |
| 82 | m_IR9_display_buffer_first_address_MSB = 0; |
| 83 | m_IR9_display_buffer_last_address = 0; |
| 84 | m_IR10_display_pointer_address_lower = 0; |
| 85 | m_IR11_display_pointer_address_upper = 0; |
| 86 | m_IR11_reset_scanline_counter_on_scrollup = 0; |
| 87 | m_IR11_reset_scanline_counter_on_scrolldown = 0; |
| 88 | m_IR12_scroll_start = 0; |
| 89 | m_IR12_split_register_1 = 0; |
| 90 | m_IR13_scroll_end = 0; |
| 91 | m_IR13_split_register_2 = 0; |
| 92 | m_IR14_scroll_lines = 0; |
| 93 | m_IR14_double_1 = 0; |
| 94 | m_IR14_double_2 = 0; |
| 95 | m_spl1 = 0; |
| 96 | m_spl2 = 0; |
| 97 | m_dbl1 = 0; |
| 98 | m_buffer = 0; |
| 99 | m_linecounter = 0; |
| 100 | m_irq_state = 0; |
| 102 | 101 | m_IR_pointer = 0; |
| 103 | 102 | m_address = 0; |
| 104 | 103 | m_start1change = 0; |
trunk/src/emu/render.cpp
| r250180 | r250181 | |
| 935 | 935 | m_base_layerconfig.set_zoom_to_screen(manager.machine().options().artwork_crop()); |
| 936 | 936 | |
| 937 | 937 | // determine the base orientation based on options |
| 938 | | m_orientation = ROT0; |
| 939 | 938 | if (!manager.machine().options().rotate()) |
| 940 | 939 | m_base_orientation = orientation_reverse(manager.machine().system().flags & ORIENTATION_MASK); |
| 941 | 940 | |
| r250180 | r250181 | |
| 1353 | 1352 | ui_xform.yoffs = 0; |
| 1354 | 1353 | ui_xform.xscale = (float)m_width; |
| 1355 | 1354 | ui_xform.yscale = (float)m_height; |
| 1356 | | ui_xform.color.r = ui_xform.color.g = ui_xform.color.b = ui_xform.color.a = 1.0f; |
| 1355 | ui_xform.color.r = ui_xform.color.g = ui_xform.color.b = 1.0f; |
| 1357 | 1356 | ui_xform.color.a = 0.9f; |
| 1358 | 1357 | ui_xform.orientation = m_orientation; |
| 1359 | 1358 | ui_xform.no_center = true; |
trunk/src/mame/drivers/bfm_ad5.cpp
| r250180 | r250181 | |
| 38 | 38 | // find it. |
| 39 | 39 | int found = find_project_string(machine(), 3, 0); |
| 40 | 40 | if (!found) |
| 41 | { |
| 41 | 42 | printf("Normal rom pair string not found, checking mismatched / missing rom string\n"); |
| 43 | } |
| 42 | 44 | |
| 43 | 45 | // help identify roms where one of the pair is missing too |
| 44 | 46 | if (!found) |
| 45 | 47 | { |
| 46 | | found = find_project_string(machine(), 3, 1); |
| 47 | | found = find_project_string(machine(), 3, 2); |
| 48 | found = find_project_string(machine(), 3, 1); |
| 48 | 49 | } |
| 49 | 50 | |
| 50 | | if (!found) |
| 51 | if (!found) |
| 52 | { |
| 53 | found = find_project_string(machine(), 3, 2); |
| 54 | } |
| 55 | |
| 56 | if (!found) |
| 57 | { |
| 51 | 58 | printf("No suitable string found\n"); |
| 59 | } |
| 52 | 60 | |
| 53 | 61 | } |
| 54 | 62 | |
trunk/src/mame/drivers/bfm_sc5sw.cpp
| r250180 | r250181 | |
| 13135 | 13135 | // find it. |
| 13136 | 13136 | int found = find_project_string(machine(), 3, 0); |
| 13137 | 13137 | if (!found) |
| 13138 | { |
| 13138 | 13139 | printf("Normal rom pair string not found, checking mismatched / missing rom string\n"); |
| 13140 | } |
| 13139 | 13141 | |
| 13140 | 13142 | // help identify roms where one of the pair is missing too |
| 13141 | 13143 | if (!found) |
| 13142 | 13144 | { |
| 13143 | | found = find_project_string(machine(), 3, 1); |
| 13144 | | found = find_project_string(machine(), 3, 2); |
| 13145 | found = find_project_string(machine(), 3, 1); |
| 13145 | 13146 | } |
| 13147 | |
| 13148 | if (!found) |
| 13149 | { |
| 13150 | found = find_project_string(machine(), 3, 2); |
| 13151 | } |
| 13152 | |
| 13153 | if (!found) |
| 13154 | { |
| 13155 | printf("No suitable string found\n"); |
| 13156 | } |
| 13146 | 13157 | |
| 13147 | | if (!found) |
| 13148 | | printf("No suitable string found\n"); |
| 13149 | | |
| 13150 | 13158 | } |
| 13151 | 13159 | |
| 13152 | 13160 | // PR2437 28 PLAYS LATER TEDL SOUNDS NITH |
trunk/src/osd/modules/debugger/debugint.cpp
| r250180 | r250181 | |
| 1437 | 1437 | { |
| 1438 | 1438 | if (firststop && list == NULL) |
| 1439 | 1439 | { |
| 1440 | | DView *dv; |
| 1441 | | render_target *target; |
| 1440 | render_target *target = &device.machine().render().ui_target(); |
| 1442 | 1441 | |
| 1443 | | target = &device.machine().render().ui_target(); |
| 1444 | | |
| 1445 | 1442 | //set_view_by_name(target, "Debug"); |
| 1446 | 1443 | |
| 1447 | | dv = dview_alloc(target, device.machine(), DVT_DISASSEMBLY, VIEW_STATE_FOLLOW_CPU); |
| 1448 | | dv->editor.active = TRUE; |
| 1449 | | dv->editor.container = &device.machine().render().ui_container(); |
| 1450 | | dv = dview_alloc(target, device.machine(), DVT_STATE, VIEW_STATE_FOLLOW_CPU); |
| 1451 | | dv = dview_alloc(target, device.machine(), DVT_CONSOLE, VIEW_STATE_FOLLOW_CPU); |
| 1452 | | dview_set_title(dv, "Console"); |
| 1453 | | dv->editor.active = TRUE; |
| 1454 | | dv->editor.container = &device.machine().render().ui_container(); |
| 1455 | | set_focus_view(dv); |
| 1444 | DView *disassembly = dview_alloc(target, device.machine(), DVT_DISASSEMBLY, VIEW_STATE_FOLLOW_CPU); |
| 1445 | disassembly->editor.active = TRUE; |
| 1446 | disassembly->editor.container = &device.machine().render().ui_container(); |
| 1447 | |
| 1448 | dview_alloc(target, device.machine(), DVT_STATE, VIEW_STATE_FOLLOW_CPU); |
| 1449 | |
| 1450 | DView *console = dview_alloc(target, device.machine(), DVT_CONSOLE, VIEW_STATE_FOLLOW_CPU); |
| 1451 | dview_set_title(console, "Console"); |
| 1452 | console->editor.active = TRUE; |
| 1453 | console->editor.container = &device.machine().render().ui_container(); |
| 1454 | set_focus_view(console); |
| 1456 | 1455 | } |
| 1457 | 1456 | |
| 1458 | 1457 | followers_set_cpu(&device); |