summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-06-20 21:33:40 -0400
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-06-20 21:33:40 -0400
commit06019670155e201d2f2e4d63ec432b5c56321107 (patch)
tree3f42c2c29e1be6948ac42c1bc04f310858e3ce29 /src/tools
parent0114b903dfb93af0f267ab756123a64c8b2907d8 (diff)
unidasm: Correct address shifts for unsp and upd7725
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/unidasm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/unidasm.cpp b/src/tools/unidasm.cpp
index 29252657d35..1467f13b278 100644
--- a/src/tools/unidasm.cpp
+++ b/src/tools/unidasm.cpp
@@ -491,8 +491,8 @@ static const dasm_table_entry dasm_table[] =
{ "tx0_64kw", be, -2, []() -> util::disasm_interface * { return new tx0_64kw_disassembler; } },
{ "tx0_8kw", be, -2, []() -> util::disasm_interface * { return new tx0_8kw_disassembler; } },
{ "ucom4", le, 0, []() -> util::disasm_interface * { return new ucom4_disassembler; } },
- { "unsp", be, 0, []() -> util::disasm_interface * { return new unsp_disassembler; } },
- { "upd7725", be, 0, []() -> util::disasm_interface * { return new necdsp_disassembler; } },
+ { "unsp", be, -1, []() -> util::disasm_interface * { return new unsp_disassembler; } },
+ { "upd7725", be, -2, []() -> util::disasm_interface * { return new necdsp_disassembler; } },
{ "upd7801", le, 0, []() -> util::disasm_interface * { return new upd7801_disassembler; } },
{ "upd7807", le, 0, []() -> util::disasm_interface * { return new upd7807_disassembler; } },
{ "upd7810", le, 0, []() -> util::disasm_interface * { return new upd7810_disassembler; } },