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.
This commit is contained in:
OBattler
2017-05-06 17:48:33 +02:00
parent e2a717deae
commit f6612fb33b
344 changed files with 2011 additions and 1870 deletions

View File

@@ -0,0 +1,14 @@
/* 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);