Super Mario 64 DS is a remake of Super Mario 64 for the Nintendo DS, released in 2004 along with the system. It features improved graphics, new levels and playable characters, and most importantly in this case, a different "polish".
More importantly, it features different glitches than those featured in the runs of the original SM64.