1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-03-06 01:30:19 +00:00

Upgrade to constexpr.

This commit is contained in:
Thomas Harte 2022-09-16 15:46:09 -04:00
parent ea9411b21c
commit 9cba56237d

View File

@ -141,7 +141,7 @@ Storage::Disk::PCMSegment AppleGCR::AppleII::six_and_two_data(const uint8_t *sou
// and combined copies of the bottom two bits of the sector
// contents; the 256 bytes afterwards are the remaining
// six bits.
const uint8_t bit_reverse[] = {0, 2, 1, 3};
constexpr uint8_t bit_reverse[] = {0, 2, 1, 3};
for(std::size_t c = 0; c < 84; ++c) {
data[3 + c] =
uint8_t(