mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
jv3: used osd_printf_error
This commit is contained in:
parent
2b98e0f2de
commit
7969c5999b
@ -179,7 +179,7 @@ bool jv3_format::load(io_generic *io, uint32_t form_factor, const std::vector<ui
|
||||
// Make sure we don't have too many sectors
|
||||
if (max_sect >= MAX_SECTORS)
|
||||
{
|
||||
printf("Sector number %d exceeds maximum allowed (%d).\n",max_sect,MAX_SECTORS);
|
||||
osd_printf_error("Sector number %d exceeds maximum allowed (%d).\n",max_sect,MAX_SECTORS);
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -240,7 +240,7 @@ bool jv3_format::load(io_generic *io, uint32_t form_factor, const std::vector<ui
|
||||
// Protect against oversized disk
|
||||
if ((curr_track >= drive_tracks) || (curr_side >= drive_sides))
|
||||
{
|
||||
printf("Disk exceeds drive capabilities\n");
|
||||
osd_printf_error("Disk exceeds drive capabilities\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user