Various fixes and tweaks.

This commit is contained in:
sorgelig
2021-06-30 13:36:24 +08:00
parent b8b02da1a6
commit cb7a2a650c
3 changed files with 9 additions and 4 deletions

View File

@@ -289,7 +289,7 @@ void ide_img_set(uint32_t drvnum, fileTYPE *f, int cd, int sectors, int heads)
(' ' << 8) | ' ',
(' ' << 8) | ' ',
(' ' << 8) | ' ',
0x8010, //word 47 max multiple sectors
0x8020, //word 47 max multiple sectors
1, //word 48 dword io
1 << 9, //word 49 lba supported
0x4001, //word 50 reserved

View File

@@ -5185,7 +5185,14 @@ void HandleUI(void)
OsdWrite(m++, "", 0, 0);
strcpy(s, " ROM : ");
strncat(s, minimig_config.kickstart, 24);
{
char *path = user_io_get_core_path();
int len = strlen(path);
char *name = minimig_config.kickstart;
if (!strncasecmp(name, path, len)) name += len + 1;
strncat(&s[3], name, 24);
}
OsdWrite(m++, s, menusub == 7, 0);
strcpy(s, " HRTmon : ");
strcat(s, (minimig_config.memory & 0x40) ? "enabled " : "disabled");

View File

@@ -269,8 +269,6 @@ static void fdd_set(int num, char* filename)
static void hdd_set(int num, char* filename)
{
if (num > 1) return;
int present = 0;
int cd = 0;