summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2022-05-14 20:04:07 +0000
committerChristos Zoulas <christos@zoulas.com>2022-05-14 20:04:07 +0000
commit35f0f1a59cf810b9090b0b986964c40237ca0054 (patch)
treec0f650e5593bbf67bc581ab2757d81b868cc28ea
parent7dc666c4e347d2375dac7c82401f94078a82a794 (diff)
downloadfile-git-35f0f1a59cf810b9090b0b986964c40237ca0054.tar.gz
Neo Geo Pocket Color: Use uleshort for the serial number and ubyte
for debug mode. (from David Korth)
-rw-r--r--magic/Magdir/console15
1 files changed, 7 insertions, 8 deletions
diff --git a/magic/Magdir/console b/magic/Magdir/console
index 8327521b..cfcf3b6b 100644
--- a/magic/Magdir/console
+++ b/magic/Magdir/console
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: console,v 1.66 2022/05/14 20:03:10 christos Exp $
+# $File: console,v 1.67 2022/05/14 20:04:07 christos Exp $
# Console game magic
# Toby Deshane <hac@shoelace.digivill.net>
@@ -509,14 +509,13 @@
# - https://neogpc.googlecode.com/svn-history/r10/trunk/src/core/neogpc.cpp
# - https://www.devrs.com/ngp/files/ngpctech.txt
#
-0x0A string BY\ SNK\ CORPORATION Neo Geo Pocket
+0x0A string BY\ SNK\ CORPORATION Neo Geo Pocket
!:mime application/x-neo-geo-pocket-rom
->0x23 byte 0x10 Color
->0 byte x ROM image
->0x24 string >\0 \b: "%.12s"
->0x21 byte x \b, NEOP%02X
->0x20 byte x \b%02X
->0x1F byte 0xFF (debug mode enabled)
+>0x23 byte 0x10 Color
+>0 byte x ROM image
+>0x24 string >\0 \b: "%.12s"
+>0x21 uleshort x \b, NEOP%04X
+>0x1F ubyte 0xFF (debug mode enabled)
#------------------------------------------------------------------------------
# msx: file(1) magic for MSX game cartridge dumps