diff --git a/src/emu/emu_stream.c b/src/emu/emu_stream.c index 9ea0b05..ba5442e 100644 --- a/src/emu/emu_stream.c +++ b/src/emu/emu_stream.c @@ -130,3 +130,9 @@ emu_stream_data_get(struct emu_stream *stream) { return stream->data; } + +void +emu_stream_clkoff(struct emu_stream *stream, int64_t clkoff) +{ + stream->clock_offset = clkoff; +} diff --git a/src/emu/emu_stream.h b/src/emu/emu_stream.h index 05f4810..9d8a81b 100644 --- a/src/emu/emu_stream.h +++ b/src/emu/emu_stream.h @@ -35,6 +35,8 @@ struct emu_stream { int emu_stream_load(struct emu_stream *stream, const char *tracedir, const char *relpath); +void emu_stream_clkoff(struct emu_stream *stream, int64_t clock_offset); + void emu_stream_data_set(struct emu_stream *stream, void *data); void *emu_stream_data_get(struct emu_stream *stream);