[Scummvm-tracker] [ScummVM :: Bugs] #14407: 3DS: make use of linear heap to make resource-intensive games playable

ScummVM :: Bugs trac at scummvm.org
Wed Jul 10 00:03:16 UTC 2024


#14407: 3DS: make use of linear heap to make resource-intensive games playable
-------------------------------------------------+-------------------------
Reporter:  BallM4788                             |       Owner:  (none)
    Type:  feature request                       |      Status:  new
Priority:  normal                                |   Component:  Port: 3DS
 Version:                                        |  Resolution:
Keywords:  3ds nintendo stream memory texture    |        Game:
  tinygl freescape grim myst3 stark tetraedge    |
  wintermute                                     |
-------------------------------------------------+-------------------------
Comment (by BallM4788):

 Replying to [comment:8 ccawley2011]:
 > This PR may be of interest here:
 https://github.com/scummvm/scummvm/pull/5897
 >
 > I think it would be best to keep the linear heap as small as possible so
 there's always more general memory available. It feels a bit impractical
 to have to adapt non-TinyGL engines to use custom allocators, and it seems
 that linear memory has the additional downside that it's easier to
 fragment when lots of stuff is allocated and freed.
 >
 > If there's still not enough memory to run TinyGL games on the New 3DS
 there are still a couple of candidates for reducing memory usage - one is
 to provide smaller formats for internal texture/image storage, and the
 other is to reduce the amount of memory needed by the LinearAllocators on
 a per-game basis. This should help on other platforms with limited memory
 as well, not just the 3DS.

 Sorry I'm late. I patched in your PR and compiled it. Unfortunately, the
 CIA version instantly crashed on my New 3DS. I have not had a chance to
 try the 3dsx version.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14407#comment:9>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list