#8404 closed patch (outdated)
Reduce executable size on OSX by changing MT32 tables
Reported by: | fingolfin | Owned by: | kingguppy |
---|---|---|---|
Priority: | normal | Component: | Audio: MT32 |
Version: | Keywords: | ||
Cc: | Game: |
Description
The attached patch turns one table of the MT32 emu from being an static object into a heap allocated object. Result: my OSX binary shrinks about 5 MB.
Since I don't have the required MT32 data files, I am submiting this as a patch, as I can't gurantee that it doesn't break anything.
Ticket imported from: #1162111. Ticket imported from: patches/509.
Attachments (1)
Change History (9)
comment:1 by , 20 years ago
Owner: | set to |
---|
comment:2 by , 20 years ago
comment:4 by , 20 years ago
Gah, I was just checking whether you guys pay attention *cough*... or maybe I forgot to activate that checkbox... ;-)
comment:5 by , 20 years ago
I've made most of the tables dynamically allocated in the latest Munt CVS. Unfortunately this isn't quite ready for release due to outstanding problems with the envelope generation. As soon as I get a few more hours to work on it, I'll fix those problems and merge the latest into ScummVM. I was aware of this issue - sorry I didn't keep you updated on the progress.
comment:6 by , 20 years ago
I've merged the latest version of Munt (from CVS) into ScummVM. All tables are now dynamically allocated.
comment:7 by , 20 years ago
Resolution: | → outdated |
---|---|
Status: | new → closed |
comment:8 by , 6 years ago
Component: | → Audio: MT32 |
---|
Note: another MB or so could be saved by turning some more of the tables in tables.cpp into heap allocated objects.