serial: Fix assertion code
commitb10efce5e0c3f3d2315a9f4a96253ccd9ab6314a
authorStefan Weil <sw@weilnetz.de>
Thu, 1 Aug 2019 15:14:07 +0000 (1 17:14 +0200)
committerStefan Weil <sw@weilnetz.de>
Fri, 2 Aug 2019 18:03:34 +0000 (2 20:03 +0200)
tree0ff6b046c7d886507c3f7354a393d6b05843cc4c
parentbb84e7e33a96efc996b30b4adfc235ba3089ec26
serial: Fix assertion code

Replace the assertion by a debug message and change the code to
fix the assertion for the Amiga emulation.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
hw/char/serial.c
include/hw/char/serial.h