I'm emulating system MSX with MAME and I don't know what happens with cheats:
MSX1 emulated, system ROM 'hb20p.zip'. Game rom loaded '1942.zip'
Command to RUN -> MAME64.exe hb20p -cart1 "path to roms MSX\1942.zip"
There is one cheat file for the system MSX at the root of cheat.7z called hb20p.xml
Cheat for game 1942 is inside the cheat.7z file in \msx1_cart\1942.xml (the only cheat complete there is for MSX games, and is OK).
The cheats works and are fine in that file but they do not appear to me, instead it appears "This non-arcade system has been added during the amalgamation of MESS into MAME. If there is a softwarelist with games in, then cheats may well appear when you load the game." This correspond to hb20p.xml of ROM of system MSX 'hb20p.zip', not to the rom of game '1942.zip' .

I know the cheat is fine, I copy the content from 1942.xml to hb20p.xml and it works perfectly, but I need to discriminate game ROMs, not system ROM, which is one for all game ROMs.
Any idea how to make the game cheat appear instead of the system cheat??. I then want to add to the empty files that are inside the folder \msx1_cart\roms.XML the cheats that interest me, but I can't discriminate by games. And if there is a place to download those XML from MSX, they are welcome

Thank you very much to all.