view gen_player.h @ 1960:f79e16d8baa4

megawifi: stub common commands to get config. * CMD_AP_CFG_GET * CMD_IP_CFG_GET * CMD_DEF_AP_CFG_GET * CMD_SERVER_URL_GET
author doragasu <doragasu@hotmail.com>
date Sun, 03 May 2020 12:39:05 -0700
parents c36102d09351
children bd70f1e15684
line wrap: on
line source

#ifndef GEN_PLAYER_H_
#define GEN_PLAYER_H_

#include "system.h"
#include "vdp.h"
#include "psg.h"
#include "ym2612.h"
#include "event_log.h"

typedef struct {
	system_header   header;
	
	vdp_context     *vdp;
	ym2612_context  *ym;
	psg_context     *psg;
	event_reader    reader;
} gen_player;

gen_player *alloc_config_gen_player(void *stream, uint32_t rom_size);
gen_player *alloc_config_gen_player_reader(event_reader *reader);

#endif //GEN_PLAYER_H_