Previous 15994 Revisions Next

r7852 Sunday 18th April, 2010 at 11:06:30 UTC by Wilbert Pol
Fix -listsoftware crash when displaying dataareas without rom files.
[src/mess]climess.c

src/mess/climess.c
r7851r7852
252252                                 {
253253                                    fprintf( out, "\t\t\t\t<dataarea name=\"%s\" size=\"%x\">\n", ROMREGION_GETTAG(region), ROMREGION_GETLENGTH(region) );
254254
255                                    for ( const rom_entry *rom = rom_first_file( region ); !ROMENTRY_ISREGIONEND(rom); rom++ )
255                                    for ( const rom_entry *rom = rom_first_file( region ); rom && !ROMENTRY_ISREGIONEND(rom); rom++ )
256256                                    {
257257                                       if ( ROMENTRY_ISFILE(rom) )
258258                                       {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team