mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-28 21:49:27 +00:00
Correct type.
This commit is contained in:
parent
1ccb2e72fc
commit
16baa05aec
@ -279,7 +279,10 @@ void Video::output_row(int row, int start, int end) {
|
|||||||
line_control_ = ram_[0x19d00 + row];
|
line_control_ = ram_[0x19d00 + row];
|
||||||
const int palette_base = (line_control_ & 15) * 32 + 0x19e00;
|
const int palette_base = (line_control_ & 15) * 32 + 0x19e00;
|
||||||
for(int c = 0; c < 16; c++) {
|
for(int c = 0; c < 16; c++) {
|
||||||
const int entry = ram_[palette_base + (c << 1)] | (ram_[palette_base + (c << 1) + 1] << 8);
|
const auto entry = uint16_t(
|
||||||
|
ram_[palette_base + (c << 1)] |
|
||||||
|
(ram_[palette_base + (c << 1) + 1] << 8)
|
||||||
|
);
|
||||||
palette_[c] = convulve(entry);
|
palette_[c] = convulve(entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user