FS#5142 - Brickmania Hold/Pause Patch

Attached to Project: Rockbox
Opened by Lukas Sabota (punkrockguy318) - Sunday, 16 April 2006, 03:40 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


It is cumbersome to have to press pause, and then press hold when you want to take a quick break from playing a game. In this patch, the pause menu will be brough up when the hold button is pressed. Before button input is taken, a quick check to see if the hold button is on happens.
This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Sunday, 30 July 2006, 07:13 GMT
Reason for closing:  Accepted
Comment by Lukas Sabota (punkrockguy318) - Sunday, 16 April 2006, 16:47 GMT
I've found a bug in the patch, it doesn't resume properly. I'll work on it and then upload anther version of the patch
Comment by Lukas Sabota (punkrockguy318) - Sunday, 16 April 2006, 17:04 GMT
This is a new version of the patch that does things a little bit differenly. Rather than calling the menu directly (and reinventing the menu code), when the hold is detected, a QUIT button signal is sent. The main loop then pauses the game, and it resumes as normal with no problems.

Tested extensively and it seems to work fine :)