Fixed Big-endian menus
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
|
||||
#define Max_passlen 14 /* Define maximum passwd length */
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
*
|
||||
* Global typedefs.
|
||||
@@ -842,12 +841,24 @@ struct menufile {
|
||||
unsigned int xMaxSecurity;
|
||||
char Password[15]; /* Menu Password */
|
||||
char TypeDesc[30]; /* Menu Type Description */
|
||||
#ifdef __i386__
|
||||
unsigned AutoExec : 1; /* Auto Exec Menu Type */
|
||||
unsigned NoDoorsys : 1; /* Suppress door.sys */
|
||||
unsigned Y2Kdoorsys : 1; /* Write Y2K style door.sys */
|
||||
unsigned Comport : 1; /* Vmodem comport mode */
|
||||
unsigned NoSuid : 1; /* Execute door nosuid */
|
||||
unsigned NoPrompt : 1; /* No prompt after door */
|
||||
#else
|
||||
/* All bits swapped */
|
||||
unsigned xxLE_Dummy1 : 1;
|
||||
unsigned xxLE_Dummy2 : 1;
|
||||
unsigned NoPrompt : 1; /* No prompt after door */
|
||||
unsigned NoSuid : 1; /* Execute noduid */
|
||||
unsigned Comport : 1; /* Vmodem comport mode */
|
||||
unsigned Y2Kdoorsys : 1; /* Write Y2K style door.sys */
|
||||
unsigned NoDoorsys : 1; /* Suppress door.sys */
|
||||
unsigned AutoExec : 1; /* Auto Exec Menu Type */
|
||||
#endif
|
||||
long xCredit;
|
||||
int HiForeGnd; /* High ForeGround color */
|
||||
int HiBackGnd; /* High ForeGround color */
|
||||
|
Reference in New Issue
Block a user