- Timestamp:
- 08/06/2017 08:20:22 AM (7 years ago)
- Branches:
- master
- Children:
- 3523847
- Parents:
- 59ea67d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emu/ser.c
r59ea67d r0edef06 37 37 #define CON_FGR ((SDL_Color){ .r = 255, .b = 255, .g = 255, .a = 255 }) 38 38 39 #define CON_FONT "ttf/vera-sans-mono.ttf"40 41 39 #define REG_IER_ISR 0 42 40 #define REG_CFR_SR 1 … … 287 285 SDL_AtomicSet(&frame, 1); 288 286 289 SDL_RWops *ops = SDL_RWFromFile( CON_FONT, "rb");287 SDL_RWops *ops = SDL_RWFromFile(font, "rb"); 290 288 291 289 if (ops == NULL) { 292 fail("error while opening font file " CON_FONT ": %s", SDL_GetError());290 fail("error while opening font file %s: %s", font, SDL_GetError()); 293 291 } 294 292 … … 296 294 297 295 if (fon == NULL) { 298 fail("error while loading font file " CON_FONT ": %s", TTF_GetError());296 fail("error while loading font file %s: %s", font, TTF_GetError()); 299 297 } 300 298
Note:
See TracChangeset
for help on using the changeset viewer.