]> 4ch.mooo.com Git - 16.git/blob - src/lib/16_vrs.h
wwww
[16.git] / src / lib / 16_vrs.h
1 #include "hw/vga/vrl.h"
2 #include "hw/vga/vrs.h"
3
4 struct vrs_container{
5         unsigned long size;
6         union{
7                 unsigned char *buffer;
8                 struct vrs_header *vrs_hdr;
9         };
10 };
11
12 struct vrl_container{
13         unsigned long size;
14         union{
15                 unsigned char *buffer;
16                 struct vrl1_vgax_header *vrl_header;
17         };
18 };
19
20 int read_vrs(char *filename, struct vrs_container *vrs_cont);
21 struct vrl_container* get_vrl_by_id(struct vrs_container *vrs_cont, uint16_t id);