diff options
| -rw-r--r-- | CHANGELOG.md | 6 | ||||
| -rw-r--r-- | tools/lua/tasd-fceux-dumpscript.lua | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e77cc6..f14d14d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), although currently without version numbers added. +## 2023-10-11 + +### Changed +- GAME_IDENTIFIER packet in fceux dump script + + ## 2023-10-08 ### Changed diff --git a/tools/lua/tasd-fceux-dumpscript.lua b/tools/lua/tasd-fceux-dumpscript.lua index e5d968d..628864c 100644 --- a/tools/lua/tasd-fceux-dumpscript.lua +++ b/tools/lua/tasd-fceux-dumpscript.lua @@ -131,8 +131,9 @@ function getMemoryInitPacket(dataType, device, required, name, data) end function getGameIdentifierPacket() - local packetPayload = intToBytes(0x04, 1) -- Type is MD5 - packetPayload = packetPayload .. intToBytes(0x02, 1) -- Base is hex + local packetPayload = intToBytes(0x01, 1) -- Type is MD5 + packetPayload = packetPayload .. intToBytes(0x02, 1) -- Encoding is hex + packetPayload = packetPayload .. intToBytes(0x00, 1) -- NLEN is 0 packetPayload = packetPayload .. rom.gethash("md5") return makePacket(GAME_IDENTIFIER, packetPayload) end |
