forked from Dniel97/segatools
disable dipsw by default
This commit is contained in:
parent
e5d17b82b2
commit
600f795104
1
dist/idac/segatools.ini
vendored
1
dist/idac/segatools.ini
vendored
@ -41,6 +41,7 @@ region=4
|
|||||||
|
|
||||||
[gpio]
|
[gpio]
|
||||||
; ALLS DIP switches.
|
; ALLS DIP switches.
|
||||||
|
enable=1
|
||||||
|
|
||||||
; If multiple machines are present on the same LAN then set this to 1 on
|
; If multiple machines are present on the same LAN then set this to 1 on
|
||||||
; exactly one machine and set this to 0 on all others.
|
; exactly one machine and set this to 0 on all others.
|
||||||
|
@ -327,7 +327,7 @@ void dipsw_config_load(struct dipsw_config *cfg, const wchar_t *filename)
|
|||||||
assert(cfg != NULL);
|
assert(cfg != NULL);
|
||||||
assert(filename != NULL);
|
assert(filename != NULL);
|
||||||
|
|
||||||
cfg->enable = GetPrivateProfileIntW(L"gpio", L"enable", 1, filename);
|
cfg->enable = GetPrivateProfileIntW(L"gpio", L"enable", 0, filename);
|
||||||
|
|
||||||
wcscpy_s(name, _countof(name), L"dipsw0");
|
wcscpy_s(name, _countof(name), L"dipsw0");
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
// #include <zlib.h>
|
|
||||||
|
|
||||||
#include "platform/dipsw.h"
|
#include "platform/dipsw.h"
|
||||||
#include "platform/vfs.h"
|
#include "platform/vfs.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user