More config.c clean-ups and added some plumbing for the future ZIP and MO image history.

This commit is contained in:
OBattler
2023-08-18 18:28:38 +02:00
parent daa702c1b6
commit 597a6640f4
7 changed files with 119 additions and 29 deletions

View File

@@ -27,6 +27,8 @@
#define MO_TIME 10.0
#define MO_IMAGE_HISTORY 4
typedef struct mo_type_t {
uint32_t sectors;
uint16_t bytes_per_sector;
@@ -113,6 +115,8 @@ typedef struct mo_drive_t {
char image_path[1024];
char prev_image_path[1024];
char *image_history[MO_IMAGE_HISTORY];
uint32_t type;
uint32_t medium_size;
uint32_t base;