From 65cf4675a5f17eb4d42221d7e01980a5cb28caae Mon Sep 17 00:00:00 2001 From: Andrei Holub Date: Thu, 26 Dec 2024 18:43:53 -0500 Subject: [PATCH] add streetfighter2 --- hash/tsconf.xml | 14 ++++++++++++++ src/mame/sinclair/spec_snqk.cpp | 9 ++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/hash/tsconf.xml b/hash/tsconf.xml index 46ec8a283bd..357777d345e 100644 --- a/hash/tsconf.xml +++ b/hash/tsconf.xml @@ -301,6 +301,20 @@ license:CC0-1.0 + + Street Fighter 2 (v1.1) + 2023 + <homebrew> + + + + + + + + + + Synchronization 201? diff --git a/src/mame/sinclair/spec_snqk.cpp b/src/mame/sinclair/spec_snqk.cpp index 86f0cfa0662..6a6b69708c5 100644 --- a/src/mame/sinclair/spec_snqk.cpp +++ b/src/mame/sinclair/spec_snqk.cpp @@ -2817,13 +2817,8 @@ void spectrum_state::setup_spg(const u8 *snapdata, u32 snapsize) const u16 size = (BIT(data, 0, 5) + 1) * 512; const u8 compression = BIT(data, 6, 2); - const u8 page = snapdata[SPG_BLOCK_INFO(b) + 2]; - if (page > 0xdf) - { - logerror("Page %02x is not allowed\n", page); - return; - } - bank3_set_page(page); + data = snapdata[SPG_BLOCK_INFO(b) + 2]; + bank3_set_page(data); switch (compression) {