Einzelnen Beitrag anzeigen
  #5  
Alt 14.05.2020, 17:38
fhub fhub ist offline
Lebende Foren Legende
 
Registriert seit: 19.04.2010
Beiträge: 2.972
Abgegebene Danke: 625
Erhielt 7.472 Danke für 1.668 Beiträge
Aktivitäten Langlebigkeit
8/20 15/20
Heute Beiträge
1/3 sssss2972
AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von hap Beitrag anzeigen
Try with strtoul instead of std::string? Then it definitely shouldn't crash.
I'll put it in my next MAME commit
Well, with your new driver it doesn't crash anymore, but nevertheless it's not working: the modules seem to be loaded but they are 'dead' - no display and no reaction to the keyboard.
I think the problem is, that all these "features' in the softwarelist are just not set when loading the module from the menu 'Media'.

The only idea to solve this problem may be to use your previous suggestion, i.e. to read these features only "if (image.loaded_through_softlist())", and else I would have to set these feature values directly in the driver, depending on the loaded module.
But for this I would have to know which module has just been loaded, so is there any function in MAME to get the name of the loaded module (in DEVICE_IMAGE_LOAD_MEMBER(ggm_state::cartridge))?
Mit Zitat antworten