fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

pti: Add the 'TEXT RESET' command

Hampa Hug 70b5e3f7 0e41166e

+6 -1
+6 -1
src/drivers/pti/pti-img-txt.c
··· 5 5 /***************************************************************************** 6 6 * File name: src/drivers/pti/pti-img-txt.c * 7 7 * Created: 2020-04-25 by Hampa Hug <hampa@hampa.ch> * 8 - * Copyright: (C) 2020-2024 Hampa Hug <hampa@hampa.ch> * 8 + * Copyright: (C) 2020-2025 Hampa Hug <hampa@hampa.ch> * 9 9 *****************************************************************************/ 10 10 11 11 /***************************************************************************** ··· 231 231 { 232 232 unsigned n; 233 233 char str[256]; 234 + 235 + if (txt_match (&txt->txt, "RESET", 1)) { 236 + pti_img_set_comment (txt->img, NULL, 0); 237 + return (0); 238 + } 234 239 235 240 if (txt_match_eol (&txt->txt)) { 236 241 str[0] = 0;