Commit graph

344 commits

Author SHA1 Message Date
Tony Puccinelli
eced5b3c82 removed --gc-sections linker flags so functions/data needed after run-time linking of plugins won't be mistakenly garbage-collected during building
svn-id: r50838
2010-07-13 03:22:42 +00:00
Tony Puccinelli
7335e2fc67 fixed dependencies/paths/etc. in arm9/makefile to get engine plugins building; changed makefile to not clean before building further engines when building all engines; fixed syntax of plugin.ld
svn-id: r50751
2010-07-08 21:40:26 +00:00
Max Horn
4237f9a416 DS: Fix OPT_SPEED and OPT_SIZE usage being reversed; add ARM7 files to 'make clean'
svn-id: r50745
2010-07-07 23:24:29 +00:00
Max Horn
f6afba1f19 DS: Split buildrule for scummvm.nds and scummvm.ds.gba
This parallels what I did in ds.mk

svn-id: r50744
2010-07-07 23:24:08 +00:00
Max Horn
6aa53ba3b8 DS: Remove cruft from Makefiles
svn-id: r50743
2010-07-07 23:23:44 +00:00
Max Horn
c4a626931b DS: Code formatting
svn-id: r50742
2010-07-07 23:23:19 +00:00
Max Horn
fe72d5dd78 DS: Fix some quirks in the NDS build system, remove some dead code
* remove (S)RAM save code (it has not been in use for quite some time)
* remove the lz compressor (was only used by ram save code)
* OPT_SPEED was set incorrectly
* dsmain.cpp was misspelled as ds_main.cpp
* remove unsed arm9 libcartreset (the copy in the arm7 directory
  still is around, though)

svn-id: r50741
2010-07-07 23:22:53 +00:00
Max Horn
61a200dcdd DS: Remove redundant lines from arm9/makefile
svn-id: r50736
2010-07-07 16:51:36 +00:00
Tony Puccinelli
6c8cae3c55 fixed some errors in makefile for plugin linking
svn-id: r50733
2010-07-07 05:15:11 +00:00
Tony Puccinelli
07faa734ce various fixes for ds dynamic plugins
svn-id: r50732
2010-07-07 01:55:11 +00:00
Max Horn
fe409ea269 DS: cleanup arm9/makefile
svn-id: r50729
2010-07-06 22:29:45 +00:00
Max Horn
9b927b414a DS: Implemented (ugly, but working) support for optimization level overrides
svn-id: r50728
2010-07-06 22:14:06 +00:00
Max Horn
2343f8c60d DS: Add isScrollingWithDPad() to make code more readable
svn-id: r50727
2010-07-06 22:13:43 +00:00
Max Horn
edac80ad6b DS: Fix warning about anonymous struct
svn-id: r50709
2010-07-05 20:36:43 +00:00
Max Horn
429de8f6ef DS: More formating, made more vars static
svn-id: r50708
2010-07-05 20:36:11 +00:00
Max Horn
5d25d3821a DS: Only include NDS/scummvm_ipc.h where necessary; minor tweaks
svn-id: r50702
2010-07-05 19:10:56 +00:00
Max Horn
68d620ccab DS: Fix warnings, make some vars static, cleanup
svn-id: r50701
2010-07-05 19:10:20 +00:00
Max Horn
776c3a1d51 DS: Fix MODULE_DIRS value (now dependency tracking works correctly)
svn-id: r50694
2010-07-05 16:12:47 +00:00
Max Horn
75529dc402 DS: Fix various warnings and errors in the DS FS code
* Do not modify the strings passed to std_fopen anymore
* Correct signature of std_fread
* Do not cast away constness, nor perform unnecessary casts

svn-id: r50693
2010-07-05 16:12:31 +00:00
Max Horn
d2a24c0a95 DS: Remove unused portdefs.cpp
svn-id: r50691
2010-07-05 16:11:54 +00:00
Max Horn
782e43591a DS: Cleanup NDS portdefs.h a bit
* Don't #include "nds/ndstypes.h" everywhere
* Don't #define ITCM_DATA globally, it is only need in one place
* Fix STREAM_AUDIO_FROM_DISK definition (copy&paste error)
* Fix custom assert() implementation by using the do/while(0) trick
  for macros. Previously, there could be subtle errors caused by
  statements like
     if (COND) assert(...) else ...

svn-id: r50690
2010-07-05 16:11:34 +00:00
Max Horn
3d44870c8a NDS: Update GPL/copyright headers; add namespace DS closing comments
svn-id: r50689
2010-07-05 16:11:11 +00:00
Max Horn
e4ec2e6403 DS: Code formatting: "char* foo" -> "char *foo"
svn-id: r50688
2010-07-05 16:10:22 +00:00
Max Horn
d5c78f78c5 DS: Fix warnings, cleanup
svn-id: r50687
2010-07-05 16:09:27 +00:00
Max Horn
f39f7f3ded DS: Augment 'clean' target, simplify bin->elf conversion rule
svn-id: r50686
2010-07-05 16:08:59 +00:00
Max Horn
d4ad7b8a6d DS: Add missing .bin -> .elf rule
svn-id: r50676
2010-07-05 11:53:55 +00:00
Max Horn
fcde7221d5 DS: Fix typo; change bin2o/bin2h to create taget dir
svn-id: r50675
2010-07-05 11:07:24 +00:00
Max Horn
cb265ae09a DS: Fix setShakePos
svn-id: r50674
2010-07-05 10:08:13 +00:00
Max Horn
9a61be13e6 DS: Made some vars static, code formatting, cleanup
svn-id: r50673
2010-07-05 10:07:54 +00:00
Max Horn
a9af532448 DS: Can now build binaries via our "configure/make" build system.
Conversion of the old build system is incomplete. Binaries created
using this new build system support most likely will not run!
More work is needed, but the work done so far should be enough
to get basic NDS support on our buildbot working.

svn-id: r50672
2010-07-05 10:07:33 +00:00
Max Horn
db1fa71745 NDS: Enable compilation of backend specific files
Also tried to enable the conversion of .raw/.pal/.bin files,
but this does not currently work (probably something really
silly, but I don't have the time to debug this right now).

svn-id: r50671
2010-07-05 10:07:06 +00:00
Tony Puccinelli
41663da282 moved plugin linker and elf32 header file to arm9/source and modified ds makefile to use dynamic plugins
svn-id: r50617
2010-07-03 05:05:27 +00:00
Tony Puccinelli
36435eecbf moved loader to arm9/source and added it to module.mk
svn-id: r50616
2010-07-03 04:42:34 +00:00
Tony Puccinelli
ffdfd3217f changed main to use DS plugin provider if dynamic modules are turned on
svn-id: r50615
2010-07-03 04:01:39 +00:00
Tony Puccinelli
13948b8118 modified default ds linker script for linking of engine plugins
svn-id: r50612
2010-07-03 03:46:21 +00:00
Tony Puccinelli
a95b6e5c12 added incomplete ds loader
svn-id: r50587
2010-07-02 00:55:30 +00:00
Tony Puccinelli
82cbd13bce added elf32 header for ds
svn-id: r50586
2010-07-02 00:39:05 +00:00
Max Horn
762ff57e0d NDS: Some tweaks for compiling via std build system
svn-id: r50582
2010-07-01 23:12:28 +00:00
Max Horn
a905327e65 NDS: Fix typo
svn-id: r50557
2010-07-01 16:26:18 +00:00
Max Horn
e3590a60a0 NDS: Fix compile errors and a warning
svn-id: r50555
2010-07-01 16:06:26 +00:00
Tony Puccinelli
dff291f12b added dumped arm-eabi linker
svn-id: r50513
2010-06-30 03:15:08 +00:00
Max Horn
651e2760a3 Fix spelling, cleanup
svn-id: r49843
2010-06-15 12:33:20 +00:00
Eugene Sandulenko
c6d9812270 DS: sync with recent GUI changes. NOT TESTED.
svn-id: r49791
2010-06-15 11:00:35 +00:00
Tony Puccinelli
95e56f2052 merged trunk into branch and corrected __PS2__ to __PLAYSTATION2__ in a couple files
svn-id: r49435
2010-06-05 01:05:19 +00:00
Max Horn
443c0d4f93 DS: Use gScummVMVersion in dsmain.cpp; merge 1.1.1 changes in readme_ds.txt
svn-id: r49359
2010-05-31 18:28:26 +00:00
Neil Millstone
989c1fdddd DS: Various fixes to allow the DS port to compile on DevkitARM r30 and libnds 1.4.3.
svn-id: r49313
2010-05-29 20:30:54 +00:00
Andre Heider
a3e428f6db Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to configure.
svn-id: r48977
2010-05-09 11:00:17 +00:00
Max Horn
b191acf7cc DS: Merge changes from 1.1.0 branch into trunk
svn-id: r48677
2010-04-16 20:49:16 +00:00
Neil Millstone
6fb96d7e90 DS: Changing version number on title screen
svn-id: r48322
2010-03-20 15:52:31 +00:00
Max Horn
81a698d0a0 Convert some occurences of StringList to StringArray;
try to fix compile error in GP2x code

svn-id: r48286
2010-03-18 15:44:59 +00:00