]> git.sesse.net Git - pistorm/blobdiff - config_file/config_file.h
Add setvar to Amiga platform for RTC and HDD0 image configuration
[pistorm] / config_file / config_file.h
index e6e766dcad79acd641bc38cb300bdca132ba7ee9..c66fd80efac567e5829e9a45ed42966898ed01f7 100644 (file)
@@ -33,6 +33,7 @@ typedef enum {
   CONFITEM_MOUSE,
   CONFITEM_KEYBOARD,
   CONFITEM_PLATFORM,
+  CONFITEM_SETVAR,
   CONFITEM_NUM,
 } config_items;
 
@@ -84,3 +85,4 @@ struct emulator_config *load_config_file(char *filename);
 int handle_mapped_read(struct emulator_config *cfg, unsigned int addr, unsigned int *val, unsigned char type, unsigned char mirror);
 int handle_mapped_write(struct emulator_config *cfg, unsigned int addr, unsigned int value, unsigned char type, unsigned char mirror);
 int get_named_mapped_item(struct emulator_config *cfg, char *name);
+unsigned int get_int(char *str);