From 7059d589a6b7cccf21341be3991e34a153c8e292 Mon Sep 17 00:00:00 2001 From: sorgelig Date: Mon, 12 Aug 2019 00:53:50 +0800 Subject: [PATCH] NeoGeo: fix the index size. --- support/neogeo/loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/neogeo/loader.cpp b/support/neogeo/loader.cpp index 231a068..03bf91a 100644 --- a/support/neogeo/loader.cpp +++ b/support/neogeo/loader.cpp @@ -384,7 +384,7 @@ static void notify_core(uint8_t index, uint32_t size) } static uint32_t crom_sz = 0; -static uint32_t neogeo_tx(const char* path, const char* name, uint8_t neo_file_type, int8_t index, uint32_t offset, uint32_t size, uint32_t expand = 0) +static uint32_t neogeo_tx(const char* path, const char* name, uint8_t neo_file_type, int16_t index, uint32_t offset, uint32_t size, uint32_t expand = 0) { /* if (index >= 0) neogeo_file_tx(path, name, neo_file_type, index, offset, size);