This is the most sensitive topic. HBMAME itself is legal—it is just software. However, downloading commercial ROMs you do not own is copyright infringement in most jurisdictions.