From c56e2399e9cc6817749294eef1ca190ccb992dee Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 7 Jul 2025 11:18:59 +0200 Subject: [PATCH] add struct for clairity --- docs/mc-data-spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mc-data-spec.md b/docs/mc-data-spec.md index 1b8dc8d..bb91781 100644 --- a/docs/mc-data-spec.md +++ b/docs/mc-data-spec.md @@ -89,7 +89,7 @@ idx = (block_states->dat[sgmt] >> offs); // acqui idx |= !((offs + w) > 64) ? 0 : block_states->dat[sgmt+1] << (64-offs); // complete with the data from the other segment, if present idx &= (1 << w) - 1; // truncate the data to only contain what we desire. -blockdat blk = block_states->palette.dat[idx]; +struct blockdat blk = block_states->palette.dat[idx]; ``` ### MCR format specification