You may can use Triclon's N64 GameShark Code Injector tool to inject the Gameshark code inside the ROM. That way you would be able to use the gameshark code within Wii64. Old post I know, but I'm sure someone would stumble across this again someday.
Link: w*w.romhacking.net/utilities/1659/...