From bf281f33c66c6e69f4735f0e0db9aa45ac5718a1 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 9 Dec 2019 19:32:03 +0200 Subject: [PATCH] Microbotics HardFrame v1.9 ROM. --- od-win32/win32gui.cpp | 2 +- rommgr.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/od-win32/win32gui.cpp b/od-win32/win32gui.cpp index aac58066..1e32550f 100644 --- a/od-win32/win32gui.cpp +++ b/od-win32/win32gui.cpp @@ -324,7 +324,7 @@ static void parsefilepath(TCHAR *path, int maxlen) xfree(tmp); } -static int scsiromselect_table[256]; +static int scsiromselect_table[300]; static bool getcomboboxtext(HWND hDlg, int id, TCHAR *out, int maxlen) { diff --git a/rommgr.cpp b/rommgr.cpp index 966af453..8b9a0841 100644 --- a/rommgr.cpp +++ b/rommgr.cpp @@ -95,7 +95,7 @@ struct romdata *getromdatabypath (const TCHAR *path) return NULL; } -#define NEXT_ROM_ID 256 +#define NEXT_ROM_ID 257 #define ALTROM(id,grp,num,size,flags,crc32,a,b,c,d,e) \ { _T("X"), 0, 0, 0, 0, 0, size, id, 0, 0, flags, (grp << 16) | num, 0, NULL, crc32, a, b, c, d, e }, @@ -578,6 +578,8 @@ static struct romdata roms[] = { 0xc49daa65, 0x20275716, 0xdc7eb00e, 0x5dc53680, 0xb5c8a90a, 0x7c00e390, NULL, NULL }, { _T("Microbotics HardFrame v1.5"), 1, 5, 1, 5, _T("HARDFRAME\0"), 32768, 173, 0, 0, ROMTYPE_HARDFRAME, 0, 0, NULL, 0x8d144212, 0xc5a4f497, 0x5216c1b1, 0xe08760d0, 0x0bd579ef, 0xea226354, NULL, NULL }, + { _T("Microbotics HardFrame v1.9"), 1, 9, 1, 9, _T("HARDFRAME\0"), 32768, 256, 0, 0, ROMTYPE_HARDFRAME, 0, 0, NULL, + 0xf248ad3c, 0xa88116d2, 0x97d522dc, 0x50261465, 0x5d6d1d64, 0xfbe2b9b3, NULL, NULL }, { _T("Mainhattan Data A-Team v1.8"), 1, 8, 1, 8, _T("ATEAM\0"), 65536, 174, 0, 0, ROMTYPE_ATEAM, 0, 0, NULL, 0x4fe08a5d, 0x007e5c61, 0x4048f598, 0x6d14011d, 0x23a41435, 0x5e0a2259, NULL, NULL }, { _T("M-Tec AT500 Megabody v1.33"), 1, 33, 1, 33, _T("MTECAT\0"), 32768, 199, 0, 0, ROMTYPE_MTEC, 0, 0, NULL, -- 2.47.3