aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2010-07-29BUILD: Compile & link certain files only for specific BACKEND valuesMax Horn
svn-id: r51465
2010-07-28added some comments to shorts-segment-manager, moved main engine linker ↵Tony Puccinelli
script for ps2 into the plugins folder as it is only used when dynamic plugins are enabled svn-id: r51447
2010-07-28added check for MIPS machine type in the 'readElfHeader' methodTony Puccinelli
svn-id: r51403
2010-07-28abstracted an ELF plugin providerTony Puccinelli
svn-id: r51400
2010-07-28fixed incorrect header file includeTony Puccinelli
svn-id: r51399
2010-07-28various manual tweaks to get ds port compiling from branch again after ↵Tony Puccinelli
earlier merge from trunk svn-id: r51398
2010-07-27ALSA: Be more intelligent when picking MIDI portTorbjörn Andersson
Often, a client has more than one available port. Pick the first one that isn't already in use. For instance, on my computer client 17 is the "Emu10k1 WaveTable", and it has four available ports. If, say, aplaymidi is already playing on port 17:0, ScummVM will use port 17:1 instead. Otherwise the two programs will mess up each others instruments and controller settings. Of course, in reality I doubt that anyone will run two different MIDI playing applications at once. svn-id: r51380
2010-07-27ALSA: Tweak capability and type flags for the MIDI portTorbjörn Andersson
This keeps ScummVM's own port from being included in the list of available MIDI devices. svn-id: r51378
2010-07-27ALSA: Simplify device querying code.Johannes Schickel
Thanks to eriktorbjorn for some quick testing. svn-id: r51366
2010-07-27Remove Android themeengine patch - an improved version is now part ofAngus Lees
the main ScummVM codebase thanks to fingolfin :) svn-id: r51362
2010-07-27Continued abstraction of generic ELF-loader, splitting off MIPS-processor ↵Tony Puccinelli
specific things into their own files and testing on the PS2 svn-id: r51345
2010-07-26moved flushDataCache function from ds-loader.cpp to elf-loader.cpp and moved ↵Tony Puccinelli
arm-relocations from ds-loader.cpp to arm-relocs.cpp; deleted ds-loader.cpp svn-id: r51289
2010-07-24changed ds makefile to use abstracted ELF-loader with ds-specific additions ↵Tony Puccinelli
added to backends/plugins/ds svn-id: r51236
2010-07-24Finished initial abstraction of ELF-loader (works for DS)Tony Puccinelli
svn-id: r51233
2010-07-23renamed MIPS loader header to match file naming conventionsTony Puccinelli
svn-id: r51219
2010-07-23SDL: Fix bug #3025258Eugene Sandulenko
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-23GP2XWIZ: Fix warningWillem Jan Palenstijn
svn-id: r51203
2010-07-23Began abstraction of generic ELF-loaderTony Puccinelli
svn-id: r51195
2010-07-23Added abstracted elf32 header file to plugins directoryTony Puccinelli
svn-id: r51192
2010-07-23Added linker flags to ensure R_ARM_TARGET1 is treated as R_ARM_ABS32Tony Puccinelli
svn-id: r51188
2010-07-22Added code for relocation R_ARM_TARGET1 (untested)Tony Puccinelli
svn-id: r51130
2010-07-21switched out linker script for plugin linking on ds, added in check for RELA ↵Tony Puccinelli
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-20General: Fixed building the SEQ MIDI driverTorbjörn Andersson
An #include was missing, causing the driver to never be built. Also fixed what looked like a cut-and-paste error in generating the features string. svn-id: r51056
2010-07-20BUILD: Unify adding -DUNIX to DEFINES; complete SEQ MIDI detectionMax Horn
* Added a yes/no variable _unix to configure, which controls when -DUNIX is added to DEFINES * Enable SEQ MIDI via _seq_midi by default on UNIX type systems, except for those which override that. * Switch SEQ MIDI code to check #define USE_SEQ_MIDI (alternatively, we could compile it only conditionally...) svn-id: r51055
2010-07-20MIDI: Build and use ALSA driver if and only if USE_ALSA is definedMax Horn
svn-id: r51053
2010-07-20coded for more relocations, added check for RELA type relocations, added ↵Tony Puccinelli
comments svn-id: r51048
2010-07-19ALSA: Get ALSA port settings from the new device config settings.Torbjörn Andersson
This is also an attempt to make the transition from the old settings to the new ones a little less rough, by trying to put something sensible into the first device, which is what's used by default. Currently it prefers 17:x and 65:x since they're the old defaults, followed by 128:x since that's probably TiMidity. The old SCUMMVM_PORT environment variable still overrides any config settings. I haven't made up my mind whether or not that's a good idea, but at least it prints a warning message. TODO: The old 'alsa_port' setting is not handled. It should probably be used to set sensible defaults for the new settings, but I'm not sure where this should be done. TODO: The documentation will need to be updated, once everything is working the way it should. svn-id: r51019
2010-07-19SUBSYSTEM: ALSA music driverTorbjörn Andersson
We should probably open the sequencer the exact same way, both when opening the driver and when asking it for available MIDI devices. Not that I've been able to figure out the difference between "hw" and "default" from the fine ALSA manual... And I'm not sure we really need to try and keep compatibility with ancient (pre-0.9.0?) ALSA any longer... svn-id: r51014
2010-07-18trying to fix psp build for case sensitive filesystems.Andre Heider
svn-id: r50989
2010-07-18PSP: switched to using my memcpyYotam Barnoy
svn-id: r50982
2010-07-18PSP: forgot test filesYotam Barnoy
svn-id: r50981
2010-07-18Made memcpy faster but not as fast with uncached mem.Yotam Barnoy
svn-id: r50980
2010-07-17Remove PalmOS portMax Horn
svn-id: r50964
2010-07-16put in initial relocations for R_ARM_ABS32, R_ARM_THM_CALL and R_ARM_V4BXTony Puccinelli
svn-id: r50942
2010-07-15added necessary #includes to loaderTony Puccinelli
svn-id: r50910
2010-07-15Fixed function prototype typosTony Puccinelli
svn-id: r50909
2010-07-15restructured ps2loader to use Common::SeekableReadStream instead of a file ↵Tony Puccinelli
descriptor svn-id: r50903
2010-07-14If the ALSA driver hasn't been opened, closing it should do nothing. This keepsTorbjörn Andersson
ScummVM from crashing if, for instance, someone accidentally closes the driver twice. svn-id: r50870
2010-07-14various dsloader fixes, including initializing _symtab_sect to -1 in the headerTony Puccinelli
svn-id: r50869
2010-07-14changed Elf32_Rela to Elf32_RelTony Puccinelli
svn-id: r50868
2010-07-13formatting fix for dsloader.hTony Puccinelli
svn-id: r50852
2010-07-13PSP: Typos in trace.hYotam Barnoy
svn-id: r50844
2010-07-13Changed loader to use Common::SeekableReadStream (compiles but doesn't run ↵Tony Puccinelli
and needs polishing) svn-id: r50843
2010-07-13Started changing loader to use Common::SeekableReadStreamTony Puccinelli
svn-id: r50839
2010-07-13removed --gc-sections linker flags so functions/data needed after run-time ↵Tony Puccinelli
linking of plugins won't be mistakenly garbage-collected during building svn-id: r50838
2010-07-12Get rid of yet another global object with constructorMax Horn
svn-id: r50835
2010-07-12SDL: Tweak OSystem_SDL::detectSupportedFormats a bitMax Horn
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-12SDL: Overhaul OSystem_SDL::getSupportedFormatsMax Horn
* 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-08fixed dependencies/paths/etc. in arm9/makefile to get engine plugins ↵Tony Puccinelli
building; changed makefile to not clean before building further engines when building all engines; fixed syntax of plugin.ld svn-id: r50751
2010-07-07DS: Fix OPT_SPEED and OPT_SIZE usage being reversed; add ARM7 files to 'make ↵Max Horn
clean' svn-id: r50745