Skip to content

Commit

Permalink
Update maximum buffer length
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCondron committed Sep 27, 2023
1 parent 6037585 commit c5725dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Recording/Recording.s
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@
.set TOTAL_FRAME_START_LEN, GAME_FRAME_START_PAYLOAD_LENGTH + 1
.set TOTAL_CHAR_FRAME_LEN, MAX_CHARACTERS * (GAME_PRE_FRAME_PAYLOAD_LENGTH + 1) + MAX_CHARACTERS * (GAME_POST_FRAME_PAYLOAD_LENGTH + 1)
.set TOTAL_ITEM_LEN, MAX_ITEMS * (GAME_ITEM_INFO_PAYLOAD_LENGTH + 1)
.set TOTAL_MAX_STAGE_LEN, (FOD_INFO_PAYLOAD_LENGTH + 1) * 2 # 2 platforms
.set TOTAL_FRAME_BOOKEND_LEN, GAME_FRAME_BOOKEND_PAYLOAD_LENGTH + 1
.set TOTAL_GAME_END_LEN, GAME_END_PAYLOAD_LENGTH + 1
.set FULL_FRAME_DATA_BUF_LENGTH, TOTAL_FRAME_START_LEN + TOTAL_CHAR_FRAME_LEN + TOTAL_ITEM_LEN + TOTAL_FRAME_BOOKEND_LEN + TOTAL_GAME_END_LEN
.set FULL_FRAME_DATA_BUF_LENGTH, TOTAL_FRAME_START_LEN + TOTAL_CHAR_FRAME_LEN + TOTAL_ITEM_LEN + TOTAL_MAX_STAGE_LEN + TOTAL_FRAME_BOOKEND_LEN + TOTAL_GAME_END_LEN

# build version number. Each byte is one digit
# any change in command data should result in a minor version change
Expand Down

0 comments on commit c5725dd

Please sign in to comment.