FS#5737 - Sudoku doesn't save scratchpad

Attached to Project: Rockbox
Opened by Dominik Riebeling (bluebrother) - Saturday, 29 July 2006, 21:25 GMT
Last edited by Dominik Riebeling (bluebrother) - Sunday, 06 June 2010, 10:59 GMT
Task Type Patches
Category Games
Status Closed
Assigned To Dominik Riebeling (bluebrother)
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


when leaving the sudoku plugin (or via the "save" menu option) the current state of the sudoku is saved. When restarting the plugin I can resume playing from where I left but my scratchpad is empty again. Would be nice to save that too for the gamestate.
This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Sunday, 06 June 2010, 10:59 GMT
Reason for closing:  Accepted
Comment by Dominik Riebeling (bluebrother) - Sunday, 06 August 2006, 16:02 GMT
I've created a patch with also saves the scratchpad. The scratchpad values get coded with two lowercase characters for each grid field and appended to each corresponding row. This way the appended data could easily be ignored. That solution works fine for me but maybe there's a better way to encode the scratchpad values? I just haven't found a better one for now.

Tested on simulator and h120 target.
Comment by Dominik Riebeling (bluebrother) - Friday, 25 July 2008, 20:07 GMT
resync upon request.