Skip to content

Commit

Permalink
Attempt to make seqtable code work on big-endian CPUs. (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
NagyD committed Jun 1, 2019
1 parent d54cb14 commit 06467d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seg006.c
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ void __pascal far play_seq() {
}
// fallthrough!
case SEQ_JMP: // jump
Char.curr_seq = *(const word*)(SEQTBL_0 + Char.curr_seq);
Char.curr_seq = SDL_SwapLE16(*(const word*)(SEQTBL_0 + Char.curr_seq));
break;
case SEQ_UP: // up
--Char.curr_row;
Expand Down

0 comments on commit 06467d8

Please sign in to comment.