Every copy of Mega Man Legacy Collection on 3DS has a glitch you never knew about

Do you have a copy of Mega Man Legacy Collection on 3DS? Well your game is glitched. It doesn't matter when you bought or downloaded your game. Every single copy has a bug that was never removed. The thing is, the bug was given an extremely cover-up, which is why you never noticed it. Keith Kaisershot, a programmer at Digital Eclipse, explains the bug below.

When working on Mega Man Legacy Collection for 3DS, I encountered a sound bug I couldn’t track down. Basically, the first sound would either get garbled or not play properly, no matter what sound it was.

I had written the audio playback layer myself, but it built upon Nintendo's audio API for the 3DS. The playback system had to support continual streaming for things like background music and NES audio emulation (the latter of which I didn't write), plus short little one-off sounds for things like UI flourishes and the opening logo stinger.

Each of the 3DS's sound "channels" carried with it a data structure containing various flags and things to inspect its current state. One of them was a flag that indicated if that channel was active or playing. Nintendo's official documentation said that the flag was true if the channel was playing something, false if not.

I ran into a couple of bugs with this for which I never found the root cause because of time. Basically-- 9 out of 10 times when you launched the game, the stinger sound that accompanies the Digital Eclipse [developer of the collection] logo would glitch in some way-- it'd stutter or just not play at all. This was the first sound you’d hear in the game, and I discovered it always affected the very first sound played-- subsequent sounds were fine.

When I dug in to debug it, that aforementioned "playing" flag would be true, even though nothing was playing in some cases! We couldn't ship it that way obviously, and I was reaching my wits' end, so my solution?

When loading the game before playing that first stinger, play a second of silence. And that shipped.





from GoNintendo

0 comments:

Video Games Movies / Film Music Nerd Nerd News Star Trek Trailers DC Comics Sci-Fi Television / TV Comic Books Movie News DC Cinematic Universe Movie Trailers News Comedy / Humor TV News Nintendo Wii Batman Technology Batman v Superman Superman Celebrities Music Videos Comic Strips Syko.org TV Promos Wonder Woman Animation Marvel Comics Social Media Sports Arizona / AZ Stargate Superbowl Football Linkin Park Man of Steel Science Suicide Squad Xbox 360 DC Films Editorials Government Nintendo DS Box Office Comic Book News DC Television Universe Green Lantern Harley Quinn Microsoft Rock News Suns Twitter Videos Basketball Blogosphere Business DC Extended Universe Daily Deals Food / Beverage Marijuana Marvel Cinematic Universe PlayStation 3 Spider-man Staff News Super Bowl 50 The Joker Video of the Day Warner Bros. Web Development Wonder Woman Angry Birds Apple Aquaman Archie Comics Auctions Batgirl Birds of Prey Bizzaro Bizzaro Girl Bluetooth Books Bryan Fuller C4MULA CBS California California / CA Cartoons Chester Bennington Crime Customization DC Entertainment DC TV Dead by Sunrise Deaths Deep Space Nine Ebay Email Facebook Fanmade Features Federation Financial Florida / FL Fringe Gmail Google+ Greg Berlanti Hawkman Health Japan Julien-K Literature Luxury Martian Manhunter Mobile / Wireless Multiplayer Multitouch Music News NSFW Nevada / NV Nintendo 3DS No Warning Operating Systems Orgy PSN Papa Roach Pete's Dragon Press Releases Rap Music Reviews Rockstar Seth Macfarlane Software Software Update Sony Star Trek Beyond Streaming Media Supergirl Syko Sam SykoDeals SykoPoetry Tech News The Avengers The CW The Flash The Flintstones Themes Transportation Trekkers Trekkies Trekspertise United Family Music Voyager Walmart Warehouse 13 Website Tools Windows Windows 10 Windows Media Xbox Live iMac