mirror of
https://github.com/david-schmidt/gsport.git
synced 2024-09-28 15:54:46 +00:00
Add a couple of diagnostic messages to printer support
This commit is contained in:
parent
8cf0e5c5fb
commit
19fb013161
@ -1,3 +1,24 @@
|
|||||||
|
/*
|
||||||
|
GSport - an Apple //gs Emulator
|
||||||
|
Copyright (C) 2010 - 2011 by GSport contributors
|
||||||
|
|
||||||
|
Based on the KEGS emulator written by and Copyright (C) 2003 Kent Dickey
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU General Public License as published by the
|
||||||
|
Free Software Foundation; either version 2 of the License, or (at your
|
||||||
|
option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful, but
|
||||||
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along
|
||||||
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2002-2004 The DOSBox Team
|
* Copyright (C) 2002-2004 The DOSBox Team
|
||||||
*
|
*
|
||||||
@ -323,7 +344,7 @@ void CPrinter::updateFont()
|
|||||||
if (FT_New_Face(FTlib, fontName, 0, &curFont))
|
if (FT_New_Face(FTlib, fontName, 0, &curFont))
|
||||||
{
|
{
|
||||||
|
|
||||||
printf("Unable to load font %s");
|
printf("Unable to load font %s\n");
|
||||||
//LOG_MSG("Unable to load font %s", fontName);
|
//LOG_MSG("Unable to load font %s", fontName);
|
||||||
curFont = NULL;
|
curFont = NULL;
|
||||||
}
|
}
|
||||||
@ -1821,7 +1842,7 @@ SDL_FreeSurface(image);*/
|
|||||||
psfile = fopen(fname, "wb");
|
psfile = fopen(fname, "wb");
|
||||||
if (!psfile)
|
if (!psfile)
|
||||||
{
|
{
|
||||||
//LOG(LOG_MISC,LOG_ERROR)("PRINTER: Can't open file %s for printer output", fname);
|
printf("PRINTER: Can't open file %s for printer output", fname);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user