Files
86Box/src/VIDEO/vid_stg_ramdac.h
OBattler f6612fb33b Fixed bugs that were preventing NVR and Flash files from behind saved;
A lot of clean ups from waltje;
Start of a directory structure for the code, thanks to waltje.
2017-05-06 17:48:33 +02:00

15 lines
420 B
C

/* Copyright holders: Sarah Walker, Tenshi
see COPYING for more details
*/
typedef struct stg_ramdac_t
{
int magic_count;
uint8_t command;
int index;
uint8_t regs[256];
} stg_ramdac_t;
void stg_ramdac_out(uint16_t addr, uint8_t val, stg_ramdac_t *ramdac, svga_t *svga);
uint8_t stg_ramdac_in(uint16_t addr, stg_ramdac_t *ramdac, svga_t *svga);
float stg_getclock(int clock, void *p);