fix(open-bus): don't rotate result

Rotating misaligned reads is the responsibility of the CPU
This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-22 21:32:14 -03:00
parent dd98066a34
commit 945dbec013
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ fn openBus(self: *const Self, comptime T: type, address: u32) T {
}
};
return @truncate(T, rotr(u32, word, 8 * (address & 3)));
return @truncate(T, word);
}
pub fn read(self: *Self, comptime T: type, address: u32) T {