#8919 closed patch
Saga engine reduced memory usage
Reported by: | agent-q | Owned by: | bluegr |
---|---|---|---|
Priority: | normal | Component: | Engine: SAGA |
Version: | Keywords: | ||
Cc: | Game: |
Description
Hi,
Here is a patch that (may) free enough memory to get Inherit the Earth to run on the DS in 0.12.0. The existing code stores the sample data in memory twice for many sample formats, and this code prevents that.
Please check it thoroughly! It works for me, but I have only tested one sample format.
This patch is based on the current 0.12.0 revision.
- Neil
Ticket imported from: #2100962. Ticket imported from: patches/1024.
Attachments (1)
Change History (5)
by , 16 years ago
comment:1 by , 16 years ago
Owner: | set to |
---|
comment:2 by , 16 years ago
Thanks for your patch Neil, indeed your code handles sound samples in a better way, without loading them twice (oops...)
I've tested this with all the versions of ITE I got, plus IHNM, and no problems were caused
Committed as-is
comment:3 by , 16 years ago
Status: | new → closed |
---|
comment:4 by , 6 years ago
Component: | → Engine: SAGA |
---|
Inherit the Earth: Memory reduction in SndRes::load()