1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-25 18:30:21 +00:00

Incorporate new additional padding.

This commit is contained in:
Thomas Harte 2022-08-29 11:45:11 -04:00
parent c3007bffc9
commit 303ea496f1

View File

@ -60,7 +60,8 @@ constexpr sampler linearSampler( coord::pixel,
// MARK: - Structs used for receiving data from the emulation.
// This is intended to match the net effect of `Scan` as defined by the BufferingScanTarget.
// This is intended to match the net effect of `Scan` as defined by the BufferingScanTarget,
// with a couple of added fields.
struct Scan {
struct EndPoint {
uint16_t position[2];
@ -70,6 +71,7 @@ struct Scan {
} endPoints[2];
uint8_t compositeAmplitude;
uint8_t __alignment[3]; // TODO: reuse some padding as the next two fields, to save two bytes.
uint16_t dataY;
uint16_t line;
};