Rockbox

  • Status Closed
  • Percent Complete
    0%
  • Task Type Patches
  • Category Games
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Anonymous Submitter - 2005-07-17
Last edited by bagder - 2006-01-09

FS#2584 - Sokoban caches leveldata (dependent on plugin buffer size)

This patch adds a leveldata cache to the Sokoban
game. The cache stores parsed leveldata for a number
of levels to minimise disk accesses while playing.

I’ve also added a #define to control the size of the
leveldata cache - currently, if plugin buffer size is >
20000, we cache 20 sokoban levels, otherwise the
cache is disabled. That could definitely be tweaked to
be more appropriate for specific devices.

Closed by  bagder
2006-01-09 11:48
Reason for closing:  Out of Date
Additional comments about closing:  

Logged In: YES
user_id=1110

1396515 is an update to this.

Anonymous Submitter commented on 2006-01-04 03:28

I’m posting a new patch for this purpose which buffers
levels in all but 8k of however much plugin ram there is. I
hadn’t seen this patch before I started, so my method is
also different, but hopefully not objectionable.

Project Manager

1396515 is an update to this.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing