mirror of
https://github.com/TomHarte/CLK.git
synced 2025-11-01 11:16:16 +00:00
Further doubles down on construction syntax for type conversions.
This commit is contained in:
@@ -18,11 +18,11 @@ MFMController::MFMController(Cycles clock_rate) :
|
||||
}
|
||||
|
||||
void MFMController::process_index_hole() {
|
||||
posit_event(static_cast<int>(Event::IndexHole));
|
||||
posit_event(int(Event::IndexHole));
|
||||
}
|
||||
|
||||
void MFMController::process_write_completed() {
|
||||
posit_event(static_cast<int>(Event::DataWritten));
|
||||
posit_event(int(Event::DataWritten));
|
||||
}
|
||||
|
||||
void MFMController::set_is_double_density(bool is_double_density) {
|
||||
|
||||
Reference in New Issue
Block a user