On Thu, Nov 28, 2002 at 09:39:29PM +0100, [EMAIL PROTECTED] 
wrote:
> hi folks,
> 
> i found a little bug in xmame while trying to get full game info with 
> 'xmame.x11 -listinfo'.
> i wanted a description file for advanceSCAN with xmame-0.62.1-for-rom-
> verification and it segfaults all the time.
> 
> after little investigation i found a define MAX_DATAFILE_ENTRIES which was
> set to 3000 in file 'src/datafile.c'. but mame now supports 3602 games
> (according to mame.dk).
> after setting it to that value everything was ok. i would suggest to
> set this value to a much bigger value (e.g. 32768, which makes about
> 250k for an open info file, mameinfo.dat etc - not very much for computers
> of the last five years) or does anybody know how to get the number of
> supported romsets from mame? the last option would avoid static defines.

I'm glad you sent this message: Someone already submitted a fix to the 
mamedev list that counts the number of games and allocates the memory 
accordingly, and I just remembered it and rolled it into my 0.62.1 tree.  

P.S. I'm almost ready to release 0.62.1.  The OSD rotation support is
working, though I'm not terribly proud of it since it's rather brute-force
and does cause a measurable reduction in frame rate for games that don't
have a vertical orientation to begin with (e.g., Pac-Man).  The proper and
faster way to do this will be at blit time, but I'd rather have something
that works with our multitude of display targets and spend time after
0.62.1 refining it.


_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to