Add support for selecting the Shugart or IBMPC GreaseWeazle bus types.

This commit is contained in:
David Given
2022-01-01 22:45:27 +01:00
parent d7b21bf07e
commit a32ea6e5f8
5 changed files with 26 additions and 7 deletions

View File

@@ -66,7 +66,7 @@ USB* get_usb_impl()
case GREASEWEAZLE_ID:
std::cerr << fmt::format("Using GreaseWeazle {} on {}\n", candidate->serial, candidate->serialPort);
return createGreaseWeazleUsb(candidate->serialPort);
return createGreaseWeazleUsb(candidate->serialPort, config.usb().greaseweazle());
default:
Error() << "internal";