From 961fd708ba30195581e693cf77e13bd97fa2e3da Mon Sep 17 00:00:00 2001 From: redcode Date: Thu, 15 Feb 2024 02:55:31 -0500 Subject: [PATCH] Homogeneity. --- sources/Z80.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/Z80.c b/sources/Z80.c index 60357116..6f95cb4c 100644 --- a/sources/Z80.c +++ b/sources/Z80.c @@ -350,7 +350,7 @@ static zusize const s_table[4] = { Z_MEMBER_OFFSET(Z80, bc.uint16_value), Z_MEMBER_OFFSET(Z80, de.uint16_value), Z_MEMBER_OFFSET(Z80, hl.uint16_value), - Z_MEMBER_OFFSET(Z80, sp)}; + Z_MEMBER_OFFSET(Z80, sp.uint16_value)}; static zusize const t_table[4] = { Z_MEMBER_OFFSET(Z80, bc.uint16_value), @@ -362,7 +362,7 @@ static zusize const w_table[4] = { Z_MEMBER_OFFSET(Z80, bc.uint16_value), Z_MEMBER_OFFSET(Z80, de.uint16_value), Z_MEMBER_OFFSET(Z80, xy.uint16_value), - Z_MEMBER_OFFSET(Z80, sp)}; + Z_MEMBER_OFFSET(Z80, sp.uint16_value)}; #define REGISTER_16(table, offset) \ *(zuint16 *)(void *)((zchar *)self + table[(DATA[offset] >> 4) & 3])