Minesweep size patch

Ewan Meadows ewan.meadows at gmail.com
Mon Oct 1 23:10:55 CEST 2007

Hi there, I'm working on a patch for minesweep so it fits the screen a
little better (it has a hardcoded screen size at the moment).  I found
this bit of code:

  /* On the X86 demo, we use a right button press here, otherwise,
       on the PDAs, we use the key */

    if (button->buttons & MWBUTTON_R)
    if ((g_keyflags & KEY_UP) == KEY_UP)

This is so you can flag a mine, but I've no idea what I could change
it to.  Any suggestions?

More information about the dslinux-devel mailing list