| 345 | |
| 346 | |
| 347 | void |
| 348 | FCEUD_NetplayText(uint8 *text) |
| 349 | { |
| 350 | char *tot = (char *)FCEU_dmalloc(strlen((const char *)text) + 1); |
| 351 | char *tmp; |
| 352 | if (!tot) |
| 353 | return; |
| 354 | strcpy(tot, (const char *)text); |
| 355 | tmp = tot; |
| 356 | |
| 357 | while(*tmp) { |
| 358 | if(*tmp < 0x20) { |
| 359 | *tmp = ' '; |
| 360 | } |
| 361 | tmp++; |
| 362 | } |
| 363 | puts(tot); |
| 364 | FCEU_dfree(tot); |
| 365 | } |
nothing calls this directly
no test coverage detected