Roman gives a visual example on what speed Sonic needs to be walking at to perform the M-speed glitch. Have fun with it. Some people have found it to be easier in Unleashed, and if you must know, it works for any version of Generations - even the 3DS version!