Jerry Heller spent his final moments listening to his crowning achievement in life -- Eazy-E from N.W.A.
We're told Jerry's nephew, Terry, raced to the hospital Friday when he got word his uncle had been in a bad car accident. Terry knew it was bad, so he came armed with Eazy-E songs -- including "Eazy-Duz-It," "We Want Eazy," "Still Talkin'" and "Boyz-N-the-Hood" -- and played them for Jerry in the E.R.
TMZ broke the story ... Heller's lawyer claims Jerry was so distraught by the way he was portrayed in "Straight Outta Compton" it contributed to his death.
Terry tells us his uncle would want Dre, Ice Cube and the rest of 'em to show for his funeral.