Commit Graph
3084 Commits
Author SHA1 Message Date
Max Horn 8de57b0b29 DS: Get rid of DS_NON_SCUMM_BUILD and DS_SCUMM_BUILD
svn-id: r51473
2010-07-29 16:24:08 +00:00
Max Horn d22ebd358d BUILD: Unify how MODULE_DIRS is computed for backends
This should help avoid situations where MODULE_DIRS is not set to a
complete list of build dirs (which causes troubles with the automatic
header dependency detection logic).

On the long run, we should replace the relevant code by a macro or also
use rules.mk for this (with yet another if/else case add to it).

svn-id: r51467
2010-07-29 13:03:21 +00:00
Max Horn 2692e55208 BUILD: Fix MODULE_DIRS for WinCE port
svn-id: r51466
2010-07-29 13:02:30 +00:00
Max Horn 264d17ccc7 BUILD: Compile & link certain files only for specific BACKEND values
svn-id: r51465
2010-07-29 13:02:14 +00:00
Tony Puccinelli 145d8899df added some comments to shorts-segment-manager, moved main engine linker script for ps2 into the plugins folder as it is only used when dynamic plugins are enabled
svn-id: r51447
2010-07-28 23:17:39 +00:00
Tony Puccinelli ff78cf6771 abstracted an ELF plugin provider
svn-id: r51400
2010-07-28 02:05:17 +00:00
Tony Puccinelli e8fc5f2070 various manual tweaks to get ds port compiling from branch again after earlier merge from trunk
svn-id: r51398
2010-07-28 00:08:32 +00:00
Angus Lees d508ba6766 Remove Android themeengine patch - an improved version is now part of
the main ScummVM codebase thanks to fingolfin :)

svn-id: r51362
2010-07-27 11:16:44 +00:00
Tony Puccinelli 58f3e81f00 Continued abstraction of generic ELF-loader, splitting off MIPS-processor specific things into their own files and testing on the PS2
svn-id: r51345
2010-07-27 06:27:45 +00:00
Tony Puccinelli 4e530debd2 moved flushDataCache function from ds-loader.cpp to elf-loader.cpp and moved arm-relocations from ds-loader.cpp to arm-relocs.cpp; deleted ds-loader.cpp
svn-id: r51289
2010-07-26 00:41:31 +00:00
Tony Puccinelli 95f66e6fb2 changed ds makefile to use abstracted ELF-loader with ds-specific additions added to backends/plugins/ds
svn-id: r51236
2010-07-24 07:14:19 +00:00
Eugene Sandulenko b3f08d183b SDL: Fix bug #3025258
Bug #3025258: "Cursor Leaves Trail in GUI when Screen is Shaking". Based
on patch provided by eriktorbjorn but extended with another edge case.

svn-id: r51212
2010-07-23 16:38:31 +00:00
Willem Jan Palenstijn 7b485a7978 GP2XWIZ: Fix warning
svn-id: r51203
2010-07-23 12:09:54 +00:00
Tony Puccinelli 155f45cec1 Added linker flags to ensure R_ARM_TARGET1 is treated as R_ARM_ABS32
svn-id: r51188
2010-07-23 01:05:26 +00:00
Tony Puccinelli 8d946ab847 Added code for relocation R_ARM_TARGET1 (untested)
svn-id: r51130
2010-07-22 01:44:45 +00:00
Tony Puccinelli da414e62b8 switched out linker script for plugin linking on ds, added in check for RELA type relocations in ARM loader and coded for REL type relocations (DS now runs many games with Dynamic Plugins enabled)
svn-id: r51083
2010-07-21 08:50:30 +00:00
Tony Puccinelli 3d3e4e6c39 coded for more relocations, added check for RELA type relocations, added comments
svn-id: r51048
2010-07-20 04:04:13 +00:00
Alejandro Marzini 38b4098f67 SDL: Hack to handle special SDL events.
svn-id: r51015
2010-07-19 05:33:58 +00:00
Andre Heider 70dfcdfb54 trying to fix psp build for case sensitive filesystems.
svn-id: r50989
2010-07-18 12:53:24 +00:00
Yotam Barnoy 30d7517343 PSP: switched to using my memcpy
svn-id: r50982
2010-07-18 07:03:14 +00:00
Yotam Barnoy 844a332f8d PSP: forgot test files
svn-id: r50981
2010-07-18 06:59:25 +00:00
Yotam Barnoy 58a1fbc13c Made memcpy faster but not as fast with uncached mem.
svn-id: r50980
2010-07-18 06:49:56 +00:00
Max Horn 0b48a71c99 Remove PalmOS port
svn-id: r50964
2010-07-17 18:41:38 +00:00
Alejandro Marzini 0e748c5a97 Added basic cursor drawing.
svn-id: r50954
2010-07-16 23:50:46 +00:00
Tony Puccinelli d5f442dc6b put in initial relocations for R_ARM_ABS32, R_ARM_THM_CALL and R_ARM_V4BX
svn-id: r50942
2010-07-16 20:44:11 +00:00
Tony Puccinelli 4da73f4a38 added necessary #includes to loader
svn-id: r50910
2010-07-15 05:25:19 +00:00
Tony Puccinelli e6c9dc4d6c Fixed function prototype typos
svn-id: r50909
2010-07-15 05:07:59 +00:00
Alejandro Marzini 9ef2fc4744 Fixed doing OpenGL calls before a graphical context was created.
svn-id: r50905
2010-07-15 04:01:41 +00:00
Tony Puccinelli 625230a8a9 restructured ps2loader to use Common::SeekableReadStream instead of a file descriptor
svn-id: r50903
2010-07-15 02:45:49 +00:00
Tony Puccinelli 03b188468b various dsloader fixes, including initializing _symtab_sect to -1 in the header
svn-id: r50869
2010-07-14 03:57:36 +00:00
Tony Puccinelli 264cb839da changed Elf32_Rela to Elf32_Rel
svn-id: r50868
2010-07-14 03:55:11 +00:00
Tony Puccinelli 6e5b0def20 formatting fix for dsloader.h
svn-id: r50852
2010-07-13 20:20:29 +00:00
Yotam Barnoy 762c569207 PSP: Typos in trace.h
svn-id: r50844
2010-07-13 08:00:22 +00:00
Tony Puccinelli 4d92cefb2f Changed loader to use Common::SeekableReadStream (compiles but doesn't run and needs polishing)
svn-id: r50843
2010-07-13 06:48:43 +00:00
Alejandro Marzini 84ceae9328 Check if USE_OPENGL is defined for compiling OpenGL code.
svn-id: r50842
2010-07-13 05:38:10 +00:00
Alejandro Marzini 609e08d5db Merged from trunk, from Rev 49499 to HEAD
svn-id: r50840
2010-07-13 04:31:15 +00:00
Tony Puccinelli 9d06726b69 Started changing loader to use Common::SeekableReadStream
svn-id: r50839
2010-07-13 03:24:06 +00:00
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
Max Horn dcd520ce31 Get rid of yet another global object with constructor
svn-id: r50835
2010-07-12 23:19:56 +00:00
Max Horn e2c1ee853a SDL: Tweak OSystem_SDL::detectSupportedFormats a bit
Previously, the code in OSystem_SDL::detectSupportedFormats
assumed that the arrays RGBList and BGRList had the exact
same length, and that the entries in each mirrored those in
the other 100%. Instead of relying on that, the code now
simply iterates over both lists separately. This changes the
resulting order a bit, but since we never gave any
guarantees on that, this should not matter.

svn-id: r50833
2010-07-12 23:19:08 +00:00
Max Horn 8e9d933658 SDL: Overhaul OSystem_SDL::getSupportedFormats
* Do not use global constructor for the RGBList and BGRList
  tables anymore, by moving them inside a function.
* Update the list of supported formats if the hardware
  screen surface changes. Previously, the list of supported
  pixel formats (and its order) was computed only once and
  then never changed.

svn-id: r50832
2010-07-12 23:18:44 +00:00
Alejandro Marzini 4dca7c7e02 Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions.
svn-id: r50796
2010-07-11 04:32:24 +00:00
Alejandro Marzini 85034dc730 Added BaseSdlGraphicsManager. Added GLTexture.
svn-id: r50795
2010-07-10 22:47:29 +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