jv3: used osd_printf_error

This commit is contained in:
Robbbert 2021-04-11 12:11:58 +10:00
parent 2b98e0f2de
commit 7969c5999b

View File

@ -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;
}