diff options
| author | 2011-12-24 21:49:38 +0000 | |
|---|---|---|
| committer | 2011-12-24 21:49:38 +0000 | |
| commit | 7e812d10d32fb891c6ea7855ed5446c2c294595b (patch) | |
| tree | 31ffcf10647e5e6a262439c1bca0f1b32166afd3 /src/emu | |
| parent | 27ea28c63b15132d10888d4aead964f3718cfb23 (diff) | |
Clean-ups and version bumpmame0144u4
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/clifront.c | 2 | ||||
| -rw-r--r-- | src/emu/image.c | 2 | ||||
| -rw-r--r-- | src/emu/machine/8042kbdc.c | 4 | ||||
| -rw-r--r-- | src/emu/machine/8042kbdc.h | 6 | ||||
| -rw-r--r-- | src/emu/machine/msm6242.c | 10 | ||||
| -rw-r--r-- | src/emu/softlist.c | 20 |
6 files changed, 22 insertions, 22 deletions
diff --git a/src/emu/clifront.c b/src/emu/clifront.c index 20f3c46cf92..5921f758c1b 100644 --- a/src/emu/clifront.c +++ b/src/emu/clifront.c @@ -231,7 +231,7 @@ int cli_frontend::execute(int argc, char **argv) } software_list_close(list); - + if (found) break; } if (!found) { diff --git a/src/emu/image.c b/src/emu/image.c index 3e24e1a9eea..9de80eaf6af 100644 --- a/src/emu/image.c +++ b/src/emu/image.c @@ -238,7 +238,7 @@ void image_device_init(running_machine &machine) } } } - + for (bool gotone = machine.devicelist().first(image); gotone; gotone = image->next(image)) { /* is an image specified for this image */ diff --git a/src/emu/machine/8042kbdc.c b/src/emu/machine/8042kbdc.c index aa4d6e1efea..dc8fdf6dd34 100644 --- a/src/emu/machine/8042kbdc.c +++ b/src/emu/machine/8042kbdc.c @@ -269,7 +269,7 @@ static TIMER_CALLBACK( kbdc8042_clr_int ) { /* Lets 8952's timers do their job before clear the interrupt line, */ /* else Keyboard interrupt never happens. */ - kbdc8042.keyboard_interrupt(machine, 0); + kbdc8042.keyboard_interrupt(machine, 0); } @@ -497,7 +497,7 @@ WRITE8_HANDLER(kbdc8042_8_w) kbdc8042.speaker = data; if (kbdc8042.set_spkr) kbdc8042.set_spkr(space->machine(), kbdc8042.speaker); - + break; case 4: diff --git a/src/emu/machine/8042kbdc.h b/src/emu/machine/8042kbdc.h index 0a2bf5265ab..d638933fe21 100644 --- a/src/emu/machine/8042kbdc.h +++ b/src/emu/machine/8042kbdc.h @@ -25,9 +25,9 @@ struct kbdc8042_interface void (*keyboard_interrupt)(running_machine &machine, int state); void (*set_spkr)(running_machine &machine, int speaker); int (*get_out2)(running_machine &machine); - - - + + + }; diff --git a/src/emu/machine/msm6242.c b/src/emu/machine/msm6242.c index 7699243e2f6..dd7bda24758 100644 --- a/src/emu/machine/msm6242.c +++ b/src/emu/machine/msm6242.c @@ -2,12 +2,12 @@ MSM6242 Real Time Clock - Note: - - this RTC has a y2k bug + Note: + - this RTC has a y2k bug - TODO: - - HOLD mechanism - - IRQ ACK + TODO: + - HOLD mechanism + - IRQ ACK ***************************************************************************/ diff --git a/src/emu/softlist.c b/src/emu/softlist.c index a4a99a56ac2..3f6e9df2305 100644 --- a/src/emu/softlist.c +++ b/src/emu/softlist.c @@ -1501,7 +1501,7 @@ static void find_software_item(const device_list &devlist, emu_options &options, { software_list_config *swlist = (software_list_config *)downcast<const legacy_device_base *>(swlists)->inline_config(); - + swlist_name = swlist->list_name; if (swlist->list_type == SOFTWARE_LIST_ORIGINAL_SYSTEM) @@ -1648,7 +1648,7 @@ bool load_software_part(emu_options &options, device_image_interface *image, con for (software_part *swp = software_find_part(software_info_ptr, NULL, NULL); swp != NULL; swp = software_part_next(swp)) { if (strcmp(software_part_ptr->name,swp->name)==0) *sw_part = new_part; - + new_part->name = auto_strdup( image->device().machine(), swp->name ); if ( swp->interface_ ) new_part->interface_ = auto_strdup( image->device().machine(), swp->interface_ ); @@ -1675,14 +1675,14 @@ bool load_software_part(emu_options &options, device_image_interface *image, con list = list->next; } new_list->next = NULL; - } + } new_part++; } /* Tell the world which part we actually loaded */ *full_sw_name = auto_alloc_array( image->device().machine(), char, strlen(swlist_name) + strlen(software_info_ptr->shortname) + strlen(software_part_ptr->name) + 3 ); sprintf( *full_sw_name, "%s:%s:%s", swlist_name, software_info_ptr->shortname, software_part_ptr->name ); - + for (device_t *swlists = image->device().machine().devicelist().first(SOFTWARE_LIST); swlists != NULL; swlists = swlists->typenext()) { software_list_config *swlist = (software_list_config *)downcast<const legacy_device_base *>(swlists)->inline_config(); @@ -1693,7 +1693,7 @@ bool load_software_part(emu_options &options, device_image_interface *image, con break; } } - + { const char *requirement = software_part_get_feature(software_part_ptr, "requirement"); if (requirement!=NULL) { @@ -1703,13 +1703,13 @@ bool load_software_part(emu_options &options, device_image_interface *image, con const char *req_swlist_name = NULL; find_software_item(image->device().machine().devicelist(), options, NULL, requirement, &req_software_list_ptr, &req_software_info_ptr, &req_software_part_ptr, &req_swlist_name); - + if ( req_software_list_ptr ) { device_image_interface *req_image = NULL; for (bool gotone = image->device().machine().devicelist().first(req_image); gotone; gotone = req_image->next(req_image)) { - const char *interface = req_image->image_interface(); + const char *interface = req_image->image_interface(); if (interface != NULL) { if (!strcmp(interface, req_software_part_ptr->interface_)) @@ -1721,15 +1721,15 @@ bool load_software_part(emu_options &options, device_image_interface *image, con req_image->load(requirement); } break; - } + } } } software_list_close( req_software_list_ptr ); req_software_info_ptr = NULL; req_software_list_ptr = NULL; global_free(req_swlist_name); - } - } + } + } } } |
