git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit bed9f8220c3ff58760ceb76db3976748812ee816
parent 63a02d90bc6dd057a213ad078367a10b4242e59e
Author: Lior Halphon <2345928+LIJI32@users.noreply.github.com>
Date:   Wed,  4 Jun 2025 20:33:23 +0300

Merge pull request #706 from Estus-Dev/Specify-size-of-block-header's-length-field

Specify size of block header's length field
Diffstat:
MBESS.md9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/BESS.md b/BESS.md @@ -22,9 +22,9 @@ BESS works by appending a detectable footer at the end of an existing save state BESS uses a block format where each block contains the following header: | Offset | Content | -|--------|---------------------------------------| -| 0 | A four-letter ASCII identifier | -| 4 | Length of the block, excluding header | +|--------|-----------------------------------------------------------| +| 0 | A four-letter ASCII identifier | +| 4 | Length of the block as a 32-bit integer, excluding header | Every block is followed by another block, until the END block is reached. If an implementation encounters an unsupported block, it should be completely ignored (Should not have any effect and should not trigger a failure). @@ -256,4 +256,4 @@ Other than previously specified required fail conditions, an implementation is f * An invalid length of MBC (not a multiple of 3) * A write outside the $0000-$7FFF and $A000-$BFFF ranges in the MBC block * An SGB block on a save state targeting another model -* An END block with non-zero length - +* An END block with non-zero length

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.