mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Beat the Kryoflux stream reader into enough shape that it will handle the weird
Kryoflux index markers; refactor it to use Bytes rather than raw streams (because streams in C++ are terrible).
This commit is contained in:
@@ -32,6 +32,11 @@ Fluxmap& Fluxmap::appendInterval(uint32_t ticks)
|
||||
ticks -= 0x7f;
|
||||
}
|
||||
appendByte((uint8_t)ticks);
|
||||
return *this;
|
||||
}
|
||||
|
||||
Fluxmap& Fluxmap::appendPulse()
|
||||
{
|
||||
appendByte(0x80);
|
||||
return *this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user