memory->set_context_crtc(crtc);
mouse->set_context_sio(sio);
if(config.printer_device_type == 0) {
- PRNFILE *prnfile = (PRNFILE *)printer;
+ //PRNFILE *prnfile = (PRNFILE *)printer;
+ PRNFILE *prnfile = new PRNFILE(this, emu);
prnfile->set_context_busy(not_busy, SIG_NOT_INPUT, 1);
printer->set_context_prn(prnfile);
} else if(config.printer_device_type == 1) {