emummc: correct id size and also set id if emupath is used

This corrects a truncation that was happening and also if `emupath` key is used to change emuMMC on the fly, it now uses the path as id instead of 0.
This commit is contained in:
CTCaer committed 2021-09-20 11:41:48 +03:00
1 parent ebefd1c2d3
commit 05c989a1ce
2 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ typedef struct _emummc_cfg_t
{
int enabled;
u64 sector;
u16 id;
u32 id;
char *path;
char *nintendo_path;
// Internal.