main menu.h
 1/*
 2 Copyright 2015 Michael Pavone
 3 This file is part of BlastEm.
 4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text.
 5*/
 6#ifndef MENU_H_
 7#define MENU_H_
 8typedef struct {
 9	char     *curpath;
10	uint16_t latch;
11	uint16_t state;
12	uint8_t  external_game_load;
13} menu_context;
14
15
16uint16_t menu_read_w(uint32_t address, void * context);
17void * menu_write_w(uint32_t address, void * context, uint16_t value);
18
19#endif // MENU_H_