Can you tell me WHY the cheat databases are now considered as binary files with MAME while they are text files with DMAME ?ianpatt wrote: Version 0.9999 release...
After testing this under MacOS, unless there are more bugs or there is something crucial that I missed, I'm going to submit this version (making it the 1.0 release.)
I have the source files, and I know that Aaron needs to "merge" some code, but I must admit I don't understand why he decided that they should be binary files
And now 2 little things ...
1) In function 'static void LoadCheatDatabase(void)', you have this line :
Code: Select all
strcpy(mainDatabaseName, "cheat.dat");
Also note that, at least with command-line versions, you have a 'cheatfile' variable that is initialised via the command line, so if I have such line in my mame.cfg file
Code: Select all
cheatfile = CHEAT.DAT;WIPCHEAT.DAT;CHEAT_UK.DAT
2) Something related to previous problem ...
In 'static void SaveCheat(CheatEntry * entry)' function, you have this line :
Code: Select all
theFile = osd_fopen(NULL, mainDatabaseName, OSD_FILETYPE_CHEAT, 1);
I hope that you understood what I meant ...
Steph from The Ultimate Patchers
Visit The Ultimate Patchers' site