summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku/sudoku.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-06-06 10:59:29 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-06-06 10:59:29 +0000
commit3ee3b28f8a57429e33fb2215199025bc31d9dfe1 (patch)
tree4c7b06c5cf5613c60fa281e42c3add3ff1444d9b /apps/plugins/sudoku/sudoku.h
parentb2302e4e9b279a11abad118d2380d4eaa073af4c (diff)
Save the scratchpad state in Sudoku plugin (FS#5737).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26622 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sudoku/sudoku.h')
-rw-r--r--apps/plugins/sudoku/sudoku.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h
index 8974bd8768..f943a9f5fc 100644
--- a/apps/plugins/sudoku/sudoku.h
+++ b/apps/plugins/sudoku/sudoku.h
@@ -330,6 +330,7 @@ struct sudoku_state_t {
int editmode; /* We are editing the start board */
#ifdef SUDOKU_BUTTON_POSSIBLE
short possiblevals[9][9]; /* possible values a cell could be, user sets them */
+ short savedpossible[9][9]; /* cached copy of possible cell values */
#endif
};