Commit Graph

124 Commits

Author SHA1 Message Date
Bastien Bouclet
11cfa0d357 PS3: Initial version of the PlayStation 3 backend 2011-06-22 19:51:02 +02:00
Bastien Bouclet
872d672c33 SDL: Allow building with current SDL 1.3hg 2011-06-22 19:44:46 +02:00
Johannes Schickel
1c21232416 SDL: Rename SdlGraphicsManager to SurfaceSdlGraphicsManager to reflect its purpose.
Hopefully I catched all uses of the old name in our ports...
2011-06-19 20:10:21 +02:00
David-John Willis
f759ff1704 BACKENDS: Remove stale GP2X code references. 2011-06-11 17:07:08 +01:00
D G Turner
1edcbe0b00 BUILD: Fix Linking.
These defines are adding to, not replacing the MODULES list.
2011-05-31 01:18:31 +01:00
Max Horn
9c3a8cd3b5 BUILD: Compile more files only when necessary 2011-05-31 00:35:27 +02:00
Max Horn
127a6f920a BUILD: Add SDL_BACKEND=1 to config.mk for all SDL based backends 2011-05-31 00:25:40 +02:00
Max Horn
39076ef972 BUILD: Rename UNIX #define to POSIX 2011-05-25 13:23:03 +02:00
Pawel Kolodziejski
abd973ee37 SAMSUNGTV: fix typo 2011-05-24 13:24:37 +02:00
Pawel Kolodziejski
944e0be209 SAMSUNGTV: update port 2011-05-23 18:11:40 +02:00
CeRiAl
fb6b61f14e WINCE: Add win32-provider.o to backends/module.mk for WinCE (fixes dynamic plugins) 2011-05-18 06:04:27 +08:00
Max Horn
608ce4343a WINCE: Link against Windows FS code again 2011-05-05 10:57:35 +02:00
Max Horn
e19de13a5d BUILD: Further restrict which backend source files are compiled 2011-05-04 16:18:18 +02:00
Max Horn
3797971c48 BUILDS: Sort some stuff in backends/module.mk 2011-05-03 23:58:33 +02:00
Max Horn
fc74fb357d BUILD: Compile backend specific files only if their backend is selected 2011-05-03 23:58:33 +02:00
Max Horn
f62fd4f25f BACKENDS: Avoid #including .cpp files
So far, the various *-fs-factory.cpp files were #including the
corresponding *-fs.cpp files. This is surprising and hence could lead to
all kinds of problems). To fix this, provide proper headers for the
*-fs.cpp files.
This also makes code reuse via subclassing possible.

Since not all ports were tested, this will likely lead to a few
easy to fix compile regressions.
2011-05-03 13:22:00 +02:00
Marcus Comstedt
21421d2e86 DC: Move dynamic plugin handling into the platform 2011-04-20 23:46:44 +02:00
Klaus Reimer
a4e757834e WEBOS: Create webos backend with custom events
Currently only contains test code.
2011-04-12 11:05:35 +02:00
David-John Willis
b95013dfe2 OPENPANDORA: Refactor OpenPandora backend and move events and graphics into modular backend style. 2011-03-24 21:24:05 +00:00
David-John Willis
16e28747c7 BACKENDS: Add GPH event and graphics files to the build. 2011-03-24 21:24:05 +00:00
Max Horn
aa452d3aeb WINCE: Make scummvm compile and run again for WinCE platform (patch #3202337) 2011-03-08 12:53:41 +01:00
Yotam Barnoy
6817d4b300 PLUGINS: add ELF memory manager to solve fragmentation
Following lordhoto's suggestion, I implemented a simple allocator that grabs the size of the biggest available plugin in memory. This is an elegant solution to the fragmentation problem, with the caveat that memory is wasted. As such, it's not suited for the DS, so I added a #define to disable it there.

svn-id: r55009
2010-12-22 14:48:51 +00:00
Max Horn
7760077cf5 Merging the gsoc2010-opengl branch
svn-id: r54518
2010-11-28 14:56:31 +00:00
Johannes Schickel
d93698fc1c BACKENDS: Add a basic logger implementation.
This is the logger I posted at our patch tracker. Item #3115757
"OSYSTEM: Basic logger". It includes the changes proposed by Max.

It is currently not hooked into any backend, since we still need to decide
where to log files, whether to have multiple log files etc.

svn-id: r54451
2010-11-24 00:08:26 +00:00
Max Horn
82e473bc3b BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).

The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.

svn-id: r54147
2010-11-08 22:53:36 +00:00
Yotam Barnoy
3fedacdb43 DC: remove multi-build of dc-provider that slipped in with plugin merge.
svn-id: r54058
2010-11-04 05:51:58 +00:00
Fabio Battaglia
74a53df11b DINGUX: fix compilation for the opengl branch
Moved events related code to backends/events/dinguxsdl/*
and move graphics related code to backends/graphics/dinguxsdl/*
Subclass OSystem_POSIX instead of OSystem_SDL

svn-id: r53730
2010-10-23 09:30:26 +00:00
Andre Heider
2596143e2b PLUGINS: Additional plugin check for the ELF loader.
The ELF loader does not have access to the symbols of the main
executable, it just relocates symbols to it via fixed offsets. We need
to make sure that loaded plugins are from the same link process to
prevent crashes. An embedded build date is used for that.

svn-id: r52730
2010-09-15 07:44:08 +00:00
Andre Heider
c4a88559a5 PLUGINS: Move platform specific code out of the generic ELF loader.
Instead overwrite pure virtual functions in a backend specific class.

svn-id: r52556
2010-09-05 12:52:17 +00:00
Andre Heider
86f4dbd956 PLUGINS: Move all ELF loader related files to its own directory.
svn-id: r52555
2010-09-05 12:51:25 +00:00
Andre Heider
13770ce9cd PLUGINS: Plugin support for the GameCube/Wii backend.
svn-id: r52553
2010-09-05 12:49:29 +00:00
Tony Puccinelli
34b5eb3ba3 added a todo to plugins.cpp and a comment to elf32.h; Collapsed plugin providers for a few ports into their .h files, removing the corresponding .cpp files
svn-id: r52112
2010-08-16 08:41:04 +00:00
Tony Puccinelli
682807f0e9 merged trunk into branch, reverted Cruise Singleton changes
svn-id: r51961
2010-08-10 23:21:08 +00:00
Tony Puccinelli
924c4e0c06 removed gp2x-wiz plugin provider from backends/module.mk
svn-id: r51847
2010-08-07 22:42:12 +00:00
Tony Puccinelli
0712d41870 modified psp to use mips-loader.cpp (and added things to backends/module.mk)
svn-id: r51826
2010-08-07 05:01:43 +00:00
Tony Puccinelli
6982aed8a4 made MIPSDLObject and PS2 plugin provider that uses it
svn-id: r51818
2010-08-07 00:40:15 +00:00
Alejandro Marzini
234aa49f17 Fix dc build.
svn-id: r51814
2010-08-06 23:33:44 +00:00
Tony Puccinelli
d4a4176123 added DSPlugin and DS Plugin Provider (steps towards using subtypes of DLObject)
svn-id: r51777
2010-08-06 06:03:34 +00:00
Alejandro Marzini
fb4086cadb Merged from trunk, from Rev 50841 to HEAD
svn-id: r51495
2010-07-30 05:28:09 +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
ff78cf6771 abstracted an ELF plugin provider
svn-id: r51400
2010-07-28 02:05:17 +00:00
Max Horn
0b48a71c99 Remove PalmOS port
svn-id: r50964
2010-07-17 18:41:38 +00:00
Alejandro Marzini
609e08d5db Merged from trunk, from Rev 49499 to HEAD
svn-id: r50840
2010-07-13 04:31:15 +00:00
Alejandro Marzini
386785e2b8 Added OpenGLSDLGraphicsManager.
svn-id: r50768
2010-07-09 19:45:56 +00:00
Tony Puccinelli
0b0bc1050b added ds plugin provider to module.mk
svn-id: r50613
2010-07-03 03:47:39 +00:00
Alejandro Marzini
a35db656d3 Modularized GP2X backend. Renamed GP2XWIZSdlEventManager to GP2XSdlEventManager, and added GP2X code.
svn-id: r50542
2010-07-01 06:07:24 +00:00
Alejandro Marzini
c174d5327b Modularized GP2XWIZ backend.
svn-id: r50514
2010-06-30 04:46:55 +00:00
Alejandro Marzini
afd2a2c01d Renamed Samsung TV SDL Event Manager class and file for constancy, and added initialization for it on Samsung TV backend.
svn-id: r50481
2010-06-29 05:00:44 +00:00
Alejandro Marzini
06290230d5 Updated makefile. Fixed compile errors.
svn-id: r50475
2010-06-29 01:21:30 +00:00
Alejandro Marzini
62ac3982aa Modularized Symbian port.
svn-id: r50356
2010-06-26 23:05:37 +00:00