PHILADELPHIA (AP) -- Miami ended the season with two wins in one game. With a stopgap starting five each playing 40-plus minutes, the Heat held on to defeat the Philadelphia 76ers 105-101 on Wednesday night in a season finale more meaningful for the NBA draft order.

James Ennis
Miami Heat's James Ennis takes a shot under the basket during the first half of an NBA basketball game against the Philadelphia 76ers, Wednesday, April 15, 2015, in Philadelphia. (AP Photo/Matt Slocum)
loading...

The Heat's win paired with Brooklyn's win meant Miami is all but assured of keeping its top-10 draft pick. If Miami owns the No. 10 pick or better after the draft lottery, the Heat keep that selection.

Had the Heat lost and the pick fell to 11th or worse, it would have gone to Philadelphia under the conditions of a trade.

The 76ers have a slim chance of earning that pick if a team from 11 to 14 jumps the Heat in the lottery.

Henry Walker hit the go-ahead 3-pointer with 9 seconds left for a 103-101 lead. Walker was one of four starters to play all 48 minutes.

(Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)

More From New Jersey 101.5 FM