News for hackers. Stuff that matters.
Re:Legend Of Zelda - Link's Awakening, now playable in HTML5 by Twisol on Monday June 27, 2011 @05:56AM (#2700762)
If your keyboard is like mine, and it doesn't like pressing Enter + Shift + Z + X (which is how you go to the save screen here), you can simulate the key combination with this quick hack:

    function simuSave() {
      gameboy.JoyPadEvent(4, true);gameboy.JoyPadEvent(5, true);gameboy.JoyPadEvent(6, true);gameboy.JoyPadEvent(7, true);
      setTimeout(function() {
        gameboy.JoyPadEvent(4, false);gameboy.JoyPadEvent(5, false);gameboy.JoyPadEvent(6, false);gameboy.JoyPadEvent(7, false);
      }, 20);
    }
Put that in Chrome's devtools or Firebug's console and call it with simuSave(). YMMV.

There are no comments on this comment yet.