1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-06 01:28:57 +00:00

Eliminates another couple of implicit type conversion warnings.

This commit is contained in:
Thomas Harte 2019-06-13 10:30:26 -04:00
parent 11ab021672
commit 7cc5afd798

View File

@ -1773,8 +1773,8 @@ template <class T, bool dtack_is_implicit, bool signal_will_perform> void Proces
// If this is RTR, patch out the is_supervisor bit. // If this is RTR, patch out the is_supervisor bit.
if(decoded_instruction_.full == 0x4e77) { if(decoded_instruction_.full == 0x4e77) {
source_bus_data_[0].full = source_bus_data_[0].full =
(source_bus_data_[0].full & ~(1 << 13)) | (source_bus_data_[0].full & uint32_t(~(1 << 13))) |
(is_supervisor_ << 13); uint32_t(is_supervisor_ << 13);
} }
set_status(source_bus_data_[0].full); set_status(source_bus_data_[0].full);
break; break;