mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +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.
|
// 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 Scan {
|
||||||
struct EndPoint {
|
struct EndPoint {
|
||||||
uint16_t position[2];
|
uint16_t position[2];
|
||||||
@ -70,6 +71,7 @@ struct Scan {
|
|||||||
} endPoints[2];
|
} endPoints[2];
|
||||||
|
|
||||||
uint8_t compositeAmplitude;
|
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 dataY;
|
||||||
uint16_t line;
|
uint16_t line;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user