ZS01 cartridge writing hotfix
Some checks failed
Build / Run build (push) Failing after 6m46s

This commit is contained in:
spicyjpeg 2025-02-20 22:15:31 +01:00
parent 5fb99fc08c
commit d47f7862d8
No known key found for this signature in database
GPG Key ID: 5CC87404C01DF393
5 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 625 B

After

Width:  |  Height:  |  Size: 633 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -154,7 +154,7 @@ void ZS01Packet::encodeReadRequest(ZS01Key &dataKey, uint8_t state) {
void ZS01Packet::encodeWriteRequest(ZS01Key &dataKey, uint8_t state) {
LOG_CART_IO("addr=0x%02x", address);
command = ZS01_REQ_READ | ZS01_REQ_PRIVILEGED;
command = ZS01_REQ_WRITE | ZS01_REQ_PRIVILEGED;
updateCRC();
dataKey.encodePayload(data, sizeof(data), state);