Commit graph

455 commits

Author SHA1 Message Date
Max Horn
a1eb74622e DS port: Removed mixer.cpp from OPTLIST (saves 11kb code size); added several DEFINES which reduce the binary size further
svn-id: r35468
2008-12-21 17:14:42 +00:00
Robin Watts
0bd0badbf2 Fix NDS warning that should really be an error. Returning nothing from a non
void function should be an error in any sane compiler...

svn-id: r35176
2008-11-30 02:08:09 +00:00
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Robin Watts
766a685125 Nintedo DS specific code: Remove function call (strlen) from loop condition.
(Spotted by Fingolfin - Thanks)

svn-id: r35163
2008-11-24 00:36:07 +00:00
Robin Watts
f897def64d Eliminate some warnings from NDS specific code.
svn-id: r35157
2008-11-23 11:49:58 +00:00
Robin Watts
fc507e9874 Remove NDS blitters.s, as it's unused - we now have blitters_arm.s instead.
svn-id: r35156
2008-11-23 11:14:02 +00:00
Max Horn
38bb172b92 NDS: Fix link error in non-SCUMM builds by removing some dead & obsolete code
svn-id: r35129
2008-11-20 13:49:53 +00:00
Max Horn
d230b17a93 Fix warnings
svn-id: r35128
2008-11-20 13:46:59 +00:00
Robin Watts
54713bc086 Tweaks to make DS buildable again.
svn-id: r35085
2008-11-15 15:49:22 +00:00
Max Horn
674a6ecc16 DS: Replaced call to obsolete addButton method
svn-id: r35084
2008-11-15 14:39:23 +00:00
Max Horn
edf9f24926 Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
2008-11-06 15:02:50 +00:00
Johannes Schickel
92cfe5e246 Specified VECTOR_RENDERER_FORMAT to 1555 for DS build (at least from the code it looks like DS uses a 1555 overlay).
svn-id: r34869
2008-10-31 13:20:13 +00:00
Robin Watts
ed5beecd33 DS port: My version of devkitpro complains that various symbols are defined in
a different namespace. The fix is to refer to these symbols using ::.

svn-id: r34850
2008-10-26 10:46:55 +00:00
Robin Watts
9021921303 DS port: Declare ARM blitters as being ITCM_CODE, so that we avoid the dreaded
"relocation truncated to fit" error in thumb builds. 

svn-id: r34849
2008-10-26 10:33:04 +00:00
Max Horn
2bcc5681d8 DS: Removing some dead code; merged (parts of) std_cwd into GBAMPSaveFileManager::listSavefiles
svn-id: r34587
2008-09-17 16:38:01 +00:00
Max Horn
05d78c26b4 DS: Backported 0.12 changes to trunk
svn-id: r34568
2008-09-15 22:43:20 +00:00
Willem Jan Palenstijn
c8eeae8d4d Big patch changing semantics of ReadStream::eos():
eos() now only returns true _after_ trying to read past the end of the stream.

This has a large potential for regressions. Please test!

svn-id: r34549
2008-09-14 22:28:53 +00:00
Max Horn
fbfe30bf86 DS: Removed legacy GCC 2.x build code (NDS/DevKitPro uses GCC 3 or newer anyway); thinned down INCLUDES some more; added a FIXME to the elf->bin rule
svn-id: r34548
2008-09-14 22:24:35 +00:00
Max Horn
a7076b1f89 NDS: Replaced -I- by modern -iquote
svn-id: r34547
2008-09-14 22:15:13 +00:00
Max Horn
3c63c8688d Another NDS compilation fix, plus a warning fix
svn-id: r34546
2008-09-14 22:12:59 +00:00
Max Horn
5719225367 Changed VPATH to vpath, to allow building NDS port in parallel to another port (for the records, this patch went to Neil in January, and he didn't complain)
svn-id: r34544
2008-09-14 21:39:45 +00:00
Max Horn
655ce26b3f Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
2008-09-13 16:51:46 +00:00
Robin Watts
90b59af2ba Updates to the scummvm blitting code as discussed on the mailing list.
1) Remove DS version of the ARM blitters in favour of the 'normal' ARM one.
 2) Update normal ARM blitter to use Carlo's clever algorithm.
 3) Update C version with Max Horns patch (slightly tweaked - counting down
on loops is better, M'kay).

svn-id: r34006
2008-08-18 20:04:15 +00:00
Bertrand Augereau
f41ab55021 Fixed a few warnings
svn-id: r32994
2008-07-10 18:01:54 +00:00
Neil Millstone
9f96471f47 DS: Backend changes for new mixer code
svn-id: r32978
2008-07-09 16:50:23 +00:00
Max Horn
3b1a60c3b2 Removed obsolete ::clearSoundCallback() code
svn-id: r32826
2008-06-28 15:13:54 +00:00
Max Horn
5288daa863 DS: Forgot to commit #include changes in the ds-fs.* files; this allows to get rid of -Isource/fat
svn-id: r32520
2008-06-03 21:04:41 +00:00
Max Horn
cb103cb9e2 DS: Removed some duplicate file content (thanks to Qvist for pointing this out)
svn-id: r32479
2008-06-01 21:47:24 +00:00
Robin Watts
dee529f30c Tweaks to DS makefiles.
1) It wouldn't build at all for me, because source/fat had been missed off the
INCLUDES line.

2) Stray whitespace removed (to stop emacs warning on saving)

3) DS_BUILD flag selection reworked slightly. Now do: make all SCUMM_BUILD=x
(where x is a,b,c,d,e,f,g) and it'll select that version and build it. If
no x is supplied or x is not a-g, then version a will be built.

4) New allbuilds target. In backends/platform/ds, do: make allbuilds
and versions A-G are built in turn (version G does not complete currently due
to lack of logo g). This uses a 'semiclean' target in each makefile to clean
just the files that change between versions.

svn-id: r32470
2008-06-01 18:09:19 +00:00
Max Horn
97348d5f44 DS: make sure DEPDIR and srcdir are inited, so that *.d files end up in the right spot
svn-id: r32437
2008-05-31 19:39:42 +00:00
Max Horn
93c107f46a DS: Fix compilation rule in Makefile to not compile everything twice
svn-id: r32436
2008-05-31 19:37:19 +00:00
Max Horn
4ed41d0a16 DS: Adjust some compiler warnings
svn-id: r32434
2008-05-31 19:29:12 +00:00
Max Horn
a00bfba616 DS: Removed some pointless -I compiler directives
svn-id: r32433
2008-05-31 19:24:50 +00:00
Max Horn
fb5ea14e4e DS: The SpriteEntry::atributes array has only 3 elements; also removed some apparently not needed #includes
svn-id: r32432
2008-05-31 19:24:26 +00:00
Max Horn
c27f261b0b DS: Use DEVKITPRO env var to find DevKitPro files, as the DevKitPro manual suggests; it does not make sense to hardcode Neil's development environment paths by default
svn-id: r32431
2008-05-31 19:08:52 +00:00
Max Horn
0f64d7236c DS: Fixed a warning; simplified & fixed the way scummvm_main gets invoked
svn-id: r32430
2008-05-31 19:06:50 +00:00
Max Horn
29cac0258f DS: registers_alt.h is not neede with current libnds; added a FIXME
svn-id: r32429
2008-05-31 19:05:45 +00:00
Max Horn
bd9671ba24 Fixing various warnings in the DS port
svn-id: r32428
2008-05-31 19:02:35 +00:00
Neil Millstone
556bab2b81 Adding getFileSystemFactory() method in response to mail on scummvm-devel.
svn-id: r32247
2008-05-24 14:57:18 +00:00
Neil Millstone
2c5e8cc938 Porting changes from 0.11.0 branch
svn-id: r32140
2008-05-15 22:12:51 +00:00
Bertrand Augereau
732d440d19 NDS: Rollback of the custom build target rule from .cpp.o to %.o: %.cpp
svn-id: r32137
2008-05-15 10:34:43 +00:00
Bertrand Augereau
b619c6ce19 NDS: Protection against FastRam (ITCM) allocation failure
svn-id: r32136
2008-05-15 08:50:47 +00:00
Bertrand Augereau
8c5d09bcf7 NDS: Minor code formatting fixes
svn-id: r32100
2008-05-14 07:07:38 +00:00
Bertrand Augereau
9f2ffaabb3 NDS: OSystem::getTimeAndDate is demoted to the port (with the standard
implementation)

svn-id: r32099
2008-05-14 07:04:14 +00:00
Bertrand Augereau
5f2e26e577 NDS : Compilation fixes
svn-id: r32098
2008-05-14 06:59:23 +00:00
Jordi Vilalta Prat
38f200fc55 Unified BUILD_PLUGINS and DYNAMIC_MODULES in the makefiles
svn-id: r31889
2008-05-06 03:11:01 +00:00
Jordi Vilalta Prat
38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Eugene Sandulenko
37b8d5bd4d Clearing unnecessary execution bit
svn-id: r31071
2008-03-08 20:58:38 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00