Mercurial > repos > blastem
comparison menu.h @ 866:69a6ec208111
Menu ROM now pulls real file names from the OS rather than using a fake list
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 06 Nov 2015 12:19:39 -0800 |
parents | |
children | 9a3e003bdcb3 |
comparison
equal
deleted
inserted
replaced
865:305c85c0b954 | 866:69a6ec208111 |
---|---|
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_ | |
8 typedef struct { | |
9 char *curpath; | |
10 uint16_t latch; | |
11 uint16_t state; | |
12 } menu_context; | |
13 | |
14 | |
15 uint16_t menu_read_w(uint32_t address, void * context); | |
16 void * menu_write_w(uint32_t address, void * context, uint16_t value); | |
17 | |
18 #endif // MENU_H_ |