1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-23 23:29:35 +00:00

Make sure the object store got built

This commit is contained in:
Peter Evans 2018-01-03 21:50:01 -06:00
parent 06d37d24d7
commit 565dd1b34b

View File

@ -9,6 +9,7 @@
#include "apple2.draw.h"
#include "apple2.mem.h"
#include "mos6502.dis.h"
#include "objstore.h"
#include "option.h"
#include "vm_segment.h"
@ -33,6 +34,8 @@ apple2_create(int width, int height)
apple2 *mach;
int err;
objstore_init();
mach = malloc(sizeof(apple2));
if (mach == NULL) {
return NULL;
@ -117,7 +120,8 @@ apple2_create(int width, int height)
// Let's install our bitmap font.
mach->sysfont = vm_bitfont_create(mach->screen,
"apple2-system",
objstore_apple2_sysfont(),
APPLE2_SYSFONT_SIZE,
7, 8, // 7 pixels wide, 8 pixels tall
0x7f); // 7-bit values only
if (mach->sysfont == NULL) {