mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Incorporate new additional padding.
This commit is contained in:
parent
c3007bffc9
commit
303ea496f1
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user