patch 8.2.3046: Amiga MorphOS: Term mode is set using DOS packets

Problem:    Amiga MorphOS: Term mode is set using DOS packets.
Solution:   Use the same way of setting term mdoe on all next gen Amiga-like
            systems.  (Ola Söder, closes #8445)
This commit is contained in:
ola.soder@axis.com
2021-06-24 21:43:31 +02:00
committed by Bram Moolenaar
parent 98703d7f6c
commit b420ac9d20
2 changed files with 3 additions and 1 deletions

View File

@ -982,7 +982,7 @@ mch_exit(int r)
void void
mch_settmode(tmode_T tmode) mch_settmode(tmode_T tmode)
{ {
#if defined(__AROS__) || defined(__amigaos4__) #if defined(__AROS__) || defined(__amigaos4__) || defined(__MORPHOS__)
if (!SetMode(raw_in, tmode == TMODE_RAW ? 1 : 0)) if (!SetMode(raw_in, tmode == TMODE_RAW ? 1 : 0))
#else #else
if (dos_packet(MP(raw_in), (long)ACTION_SCREEN_MODE, if (dos_packet(MP(raw_in), (long)ACTION_SCREEN_MODE,

View File

@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
3046,
/**/ /**/
3045, 3045,
/**/ /**/