Add RT11 macro libraries.

Hopefully they won't open as RSX ones, because then they still won't work.
Can't test this now.
This commit is contained in:
Olaf Seibert
2017-04-27 20:29:04 +02:00
parent 96cfd4a152
commit e4ec481d3d
5 changed files with 57 additions and 16 deletions

4
mlb2.c
View File

@@ -1,9 +1,11 @@
#include <stdlib.h>
#include <string.h>
#include "util.h"
#include "mlb.h"
MLB_VTBL *mlb_vtbls[] = {
&mlb_rsx_vtbl,
&mlb_rt11_vtbl,
NULL
};
@@ -18,7 +20,7 @@ MLB *mlb_open(
for (i = 0; (vtbl = mlb_vtbls[i]); i++) {
mlb = vtbl->mlb_open(name, allow_object_library);
if (mlb != NULL) {
mlb->name = strdup(name);
mlb->name = memcheck(strdup(name));
break;
}
}