Skip to content

Commit 5d628f8

Browse files
committed
naomi: default eeprom for clubkprz. default nvmem for smarinef
Use clubk2k3 eeprom for clubk2kp and clubk2kpa. Issue #2086
1 parent d1ed878 commit 5d628f8

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

cmake/resources.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ cmrc_add_resources(flycast-resources
2222
resources/flash/puyomedal.nvmem.zip # debug: comm and all errors disabled
2323
resources/flash/unomedal.nvmem.zip # debug: comm and all errors disabled
2424
resources/flash/westdrmg.nvmem.zip # debug: comm and all errors disabled
25+
resources/flash/smarinef.nvmem.zip # standard cabinet
2526
resources/picture/f355_print_template.png)
2627

2728
cmrc_add_resources(flycast-resources

core/hw/naomi/naomi_roms.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7425,6 +7425,7 @@ const Game Games[] =
74257425
},
74267426
nullptr,
74277427
&clubkart_inputs,
7428+
clubkprz_eeprom_dump,
74287429
},
74297430
{
74307431
"clubkpzb",
@@ -7457,6 +7458,7 @@ const Game Games[] =
74577458
},
74587459
nullptr,
74597460
&clubkart_inputs,
7461+
clubkprz_eeprom_dump,
74607462
},
74617463
{
74627464
"clubkpzbp",
@@ -7488,6 +7490,7 @@ const Game Games[] =
74887490
},
74897491
nullptr,
74907492
&clubkart_inputs,
7493+
clubkprz_eeprom_dump,
74917494
},
74927495
{
74937496
"clubk2k3",
@@ -7557,6 +7560,7 @@ const Game Games[] =
75577560
},
75587561
nullptr,
75597562
&clubkart_inputs,
7563+
clubk2k3_eeprom_dump,
75607564
},
75617565
{
75627566
"clubk2kpa",
@@ -7594,6 +7598,7 @@ const Game Games[] =
75947598
},
75957599
nullptr,
75967600
&clubkart_inputs,
7601+
clubk2k3_eeprom_dump,
75977602
},
75987603
#ifdef NAOMI_MULTIBOARD
75997604
{

core/hw/naomi/naomi_roms_eeprom.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,18 @@ static u8 clubk2k3_eeprom_dump[] {
206206
0x00, 0x00,
207207
};
208208

209+
// avoids Call Staff error on first boot
210+
unsigned char clubkprz_eeprom_dump[] = {
211+
0xbd, 0x5d, 0x10, 0x42, 0x47, 0x52, 0x30, 0x09, 0x30, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11,
212+
0xbd, 0x5d, 0x10, 0x42, 0x47, 0x52, 0x30, 0x09, 0x30, 0x00, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11,
213+
0xab, 0xab, 0x20, 0x20, 0xab, 0xab, 0x20, 0x20, 0x25, 0x52, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00,
214+
0x00, 0x30, 0xc0, 0x30, 0xc0, 0x48, 0x40, 0x00, 0x92, 0x01, 0x32, 0x00, 0xd0, 0x07, 0x00, 0x00, 0x00, 0x00,
215+
0xc0, 0xa8, 0x01, 0x01, 0x25, 0x52, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0xc0, 0x30,
216+
0xc0, 0x48, 0x40, 0x00, 0x92, 0x01, 0x32, 0x00, 0xd0, 0x07, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xa8, 0x01, 0x01,
217+
0x09, 0x00, 0x09, 0x00, 0x09, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x0b, 0x00, 0x0a, 0x00, 0x0a, 0x00, 0x07, 0x00,
218+
0x08, 0x00
219+
};
220+
209221
// cb-mic disabled
210222
static u8 kingrt66_eeprom_dump[] {
211223
0x15, 0xF8, 0x10, 0x42, 0x45, 0x45, 0x30, 0x09, 0x00, 0x1A, 0x01, 0x01, 0x01, 0x00, 0x11, 0x11, 0x11, 0x11,

resources/flash/smarinef.nvmem.zip

418 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)