mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-28 06:50:49 +01:00
21 lines
316 B
C
21 lines
316 B
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#include "hook/iobuf.h"
|
|
|
|
enum {
|
|
VFD_SYNC_BYTE = 0x1B,
|
|
VFD_SYNC_BYTE2 = 0x1A,
|
|
};
|
|
|
|
bool vfd_frame_sync(struct const_iobuf *src);
|
|
|
|
HRESULT vfd_frame_encode(
|
|
struct iobuf *dest,
|
|
const void *ptr,
|
|
size_t nbytes);
|