system: add dip switch label configurations

This commit is contained in:
2025-03-02 00:23:53 +01:00
parent b8af67377c
commit 4d0ef54279
12 changed files with 117 additions and 67 deletions

View File

@ -7,10 +7,20 @@
#include "platform/vfs.h"
struct dipsw_config
{
wchar_t label[MAX_PATH];
wchar_t on[MAX_PATH];
wchar_t off[MAX_PATH];
};
struct system_config {
bool enable;
bool freeplay;
bool dipsw[8];
struct dipsw_config dipsw_config[8];
};
HRESULT system_init(const struct system_config *cfg, const struct vfs_config *vfs_cfg);