mirror of
https://github.com/holub/mame
synced 2025-05-18 19:49:35 +03:00
Fix for softlist compile (no whatsnew)
This commit is contained in:
parent
29efa99770
commit
bedf4ade35
@ -762,8 +762,7 @@ static void start_handler(void *data, const char *tagname, const char **attribut
|
|||||||
else if ( str_loadflag && !strcmp(str_loadflag, "fill") )
|
else if ( str_loadflag && !strcmp(str_loadflag, "fill") )
|
||||||
{
|
{
|
||||||
/* Handle 'fill' loadflag */
|
/* Handle 'fill' loadflag */
|
||||||
UINT8 val = strtol( str_value, NULL, 0 ) & 0xff;
|
add_rom_entry( swlist, NULL, (const char*)(FPTR)(strtol( str_value, NULL, 0 ) & 0xff), offset, length, ROMENTRYTYPE_FILL );
|
||||||
add_rom_entry( swlist, NULL, (const char*)val, offset, length, ROMENTRYTYPE_FILL );
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user