|Reported by:||agent-q||Owned by:||fingolfin|
At long last, here's a patch to add my Nintendo DS backend to ScummVM.
Prerequisites: DevKitARM r19a Libmad built for Arm (optional)
There are a few parts of the port which are not my own work. All source is available under an open source licence however: - GBA NDS FAT - A FAT driver for CF and SD cards. Freely distributable. - scummconsole.c/h - Taken from early version of DevkitArm, released under GPL. - lz.c/h - Compressor. By Marcus Geelnard. Freely distributable.
This patch also adds SetFocusRectangle() and ClearFocusRectangle() to OSystem. A default empty implementation is provided. Calls to this method have been inserted into the queen, scumm, and sky engines.
A few checks were inserted into the Simon engine to check whether malloc() calls succeeded, so that speech samples can be skipped if there is not enough memory available. This shouldn't cause any problems.
Please let me know if any of the changes I have made to the ScummVM code base are inappropriate, and I'll change them.
Ticket imported from: #1519399. Ticket imported from: patches/657.