mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 01:31:42 +00:00
Resolves some type conversion warnings.
This commit is contained in:
parent
39d7e3c62c
commit
b7b62aa3f6
@ -3013,7 +3013,7 @@ struct ProcessorStorageConstructor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(storage_.all_micro_ops_[index].is_terminal()) {
|
if(storage_.all_micro_ops_[index].is_terminal()) {
|
||||||
storage_.all_micro_ops_[index].bus_program = seq("");
|
storage_.all_micro_ops_[index].bus_program = uint16_t(seq(""));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3259,10 +3259,10 @@ CPU::MC68000::ProcessorStorage::ProcessorStorage() {
|
|||||||
|
|
||||||
// Complete linkage of the exception micro program.
|
// Complete linkage of the exception micro program.
|
||||||
short_exception_micro_ops_ = &all_micro_ops_[short_exception_offset];
|
short_exception_micro_ops_ = &all_micro_ops_[short_exception_offset];
|
||||||
short_exception_micro_ops_->bus_program = trap_offset;
|
short_exception_micro_ops_->bus_program = uint16_t(trap_offset);
|
||||||
|
|
||||||
long_exception_micro_ops_ = &all_micro_ops_[long_exception_offset];
|
long_exception_micro_ops_ = &all_micro_ops_[long_exception_offset];
|
||||||
long_exception_micro_ops_->bus_program = bus_error_offset;
|
long_exception_micro_ops_->bus_program = uint16_t(bus_error_offset);
|
||||||
|
|
||||||
// Set initial state.
|
// Set initial state.
|
||||||
active_step_ = reset_bus_steps_;
|
active_step_ = reset_bus_steps_;
|
||||||
|
Loading…
Reference in New Issue
Block a user