From 28af57de18617df44e0564940e2c8d770fe856e4 Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 7 Dec 2020 15:55:15 -0500 Subject: [PATCH] fix mistake in libsnes CARTROM-D CDL block --- .../Consoles/Nintendo/SNES/LibsnesApi_QUERY.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi_QUERY.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi_QUERY.cs index 2a27eeabfe..1cc0ba46d0 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi_QUERY.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi_QUERY.cs @@ -177,7 +177,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES zz++; _comm->cdl_ptr[zz] = cdl.GetPin("CARTROM-D").ToInt64(); - _comm->cdl_size[zz] = cdl["CARTROM"].Length; + _comm->cdl_size[zz] = cdl["CARTROM"].Length * 2; zz++; if (cdl.Has("CARTRAM"))