Skip to content

Commit

Permalink
Whoops, accidentally set the Tandy Bit.
Browse files Browse the repository at this point in the history
Counting bits is hard, let's go shopping.
  • Loading branch information
icculus committed Aug 27, 2015
1 parent 9ca95f1 commit c17887a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mojozork.c
Expand Up @@ -1778,8 +1778,9 @@ static void loadStory(const char *fname)
memset(&GHeader, '\0', sizeof (GHeader));
const uint8 *ptr = GStory;

GStory[1] |= 0x8; // report that we don't (currently) support a status bar.

//GStory[1] &= ~(1<<3); // this is the infamous "Tandy Bit". Turn it off.
GStory[1] |= (1<<4); // report that we don't (currently) support a status bar.

GHeader.version = READUI8(ptr);
GHeader.flags1 = READUI8(ptr);
GHeader.release = READUI16(ptr);
Expand Down

0 comments on commit c17887a

Please sign in to comment.