From e0a2b8d82a5521d9391ca8c6f055777954c76c2f Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Wed, 25 Mar 2009 16:37:32 +0000 Subject: x20090315-1636 --- emu/port/dynldc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emu/port/dynldc.c') diff --git a/emu/port/dynldc.c b/emu/port/dynldc.c index 2237f7ab..a33cac82 100644 --- a/emu/port/dynldc.c +++ b/emu/port/dynldc.c @@ -16,9 +16,10 @@ readfc(void *a, void *buf, long nbytes) if(waserror()) return -1; - nbytes = devtab[c->type]->read(c, buf, nbytes, c->offset); + nbytes = c->dev->read(c, buf, nbytes, c->offset); poperror(); return nbytes; + devshutdown, } static vlong -- cgit v1.2.3