Here's a patch to reduce the BSS size of the Cine engine
(There's been talk about reducing the BSS size of the
engines on the mailing list recently). Didn't know if I
should just commit this straight to the trunk as the
trunk's in code freeze at the moment so took the more
cautious approach of making it a patch.
I just encapsulated the 64kB global array textTable into
a struct and made an instance of that struct to be a
member variable of the CineEngine class. That should
make it to be allocated from the heap. I know the
solution isn't maybe the cleanest of approaches, but I
think it is 1) easy, 2) not error prone, 3) small. So
IMO any possibility of regressions is extremely small.
NOTE: The patch uses bytes 0x0d, 0x0a as the newline
convention.
Ticket imported from: #2019455. Ticket imported from: patches/1002.
Patch to reduce the BSS size of Cine engine (0x0d + 0x0a as newlines!)