> > I have an issue. Mameui64 does NOT show the proper code text for history.dat > (chinese > > symbols are not show well), don't know if the problem is the UTF-8 of history.dat > or > > mameui64. > > I believe the problem is in MAMEUI, and that it's been fixed in MAMEUIFX. I need to > find out what change is required.
You need to use standard C file input/output functions instead of the MAME core ones. "stdio.h" is the C library to use.
Example: MAME core "filename.printf(blah blah)" replaced by "fprintf(filename, blah blah)". fileio.h in src\emu\ is your friend. Or grab my source and have a look at datafile.c
Edited by Mamesick (09/03/15 01:16 PM)
|