aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
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-13PSP: Typos in trace.hYotam Barnoy
svn-id: r50844
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-07DS: Fix OPT_SPEED and OPT_SIZE usage being reversed; add ARM7 files to 'make ↵Max Horn
clean' svn-id: r50745
2010-07-07DS: Split buildrule for scummvm.nds and scummvm.ds.gbaMax Horn
This parallels what I did in ds.mk svn-id: r50744
2010-07-07DS: Remove cruft from MakefilesMax Horn
svn-id: r50743
2010-07-07DS: Code formattingMax Horn
svn-id: r50742
2010-07-07DS: Fix some quirks in the NDS build system, remove some dead codeMax Horn
* 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-07DS: Remove redundant lines from arm9/makefileMax Horn
svn-id: r50736
2010-07-06DS: cleanup arm9/makefileMax Horn
svn-id: r50729
2010-07-06DS: Implemented (ugly, but working) support for optimization level overridesMax Horn
svn-id: r50728
2010-07-06DS: Add isScrollingWithDPad() to make code more readableMax Horn
svn-id: r50727
2010-07-05DS: Fix warning about anonymous structMax Horn
svn-id: r50709
2010-07-05DS: More formating, made more vars staticMax Horn
svn-id: r50708
2010-07-05DS: Only include NDS/scummvm_ipc.h where necessary; minor tweaksMax Horn
svn-id: r50702
2010-07-05DS: Fix warnings, make some vars static, cleanupMax Horn
svn-id: r50701
2010-07-05DS: Fix MODULE_DIRS value (now dependency tracking works correctly)Max Horn
svn-id: r50694
2010-07-05DS: Fix various warnings and errors in the DS FS codeMax Horn
* 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-05DS: Fix error in std_fopen (warnings are great :)Max Horn
svn-id: r50692
2010-07-05DS: Remove unused portdefs.cppMax Horn
svn-id: r50691
2010-07-05DS: Cleanup NDS portdefs.h a bitMax Horn
* 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-05NDS: Update GPL/copyright headers; add namespace DS closing commentsMax Horn
svn-id: r50689
2010-07-05DS: Code formatting: "char* foo" -> "char *foo"Max Horn
svn-id: r50688
2010-07-05DS: Fix warnings, cleanupMax Horn
svn-id: r50687
2010-07-05DS: Augment 'clean' target, simplify bin->elf conversion ruleMax Horn
svn-id: r50686
2010-07-05Drop direct use of (private) libEGL.so and call EGL functions via Java.Angus Lees
This removes the final private library - we should be completely above board now. svn-id: r50677
2010-07-05DS: Add missing .bin -> .elf ruleMax Horn
svn-id: r50676
2010-07-05DS: Fix typo; change bin2o/bin2h to create taget dirMax Horn
svn-id: r50675
2010-07-05DS: Fix setShakePosMax Horn
svn-id: r50674
2010-07-05DS: Made some vars static, code formatting, cleanupMax Horn
svn-id: r50673
2010-07-05DS: Can now build binaries via our "configure/make" build system.Max Horn
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-05NDS: Enable compilation of backend specific filesMax Horn
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-05Switch Android toolchain prefix from arm-android-eabi toAngus Lees
arm-*-linux-androideabi, since this is what the upcoming gcc-4.6 change uses. Work around Android 2.0 and newer dynamic linker bug by explicitly linking plugins against the core libscummvm.so. Mark Android packages as preferring to be on external storage. Move -lm from LDFLAGS to LIBS. svn-id: r50665
2010-07-05Skip /dev/sequencer MIDI on Android.Angus Lees
svn-id: r50664
2010-07-01NDS: Some tweaks for compiling via std build systemMax Horn
svn-id: r50582
2010-07-01NDS: Fix typoMax Horn
svn-id: r50557
2010-07-01NDS: Fix compile errors and a warningMax Horn
svn-id: r50555
2010-06-29Replace some code with constructs that work on Android pre-1.6.Angus Lees
Add a boolean for disabling the "no plugins found" warning. svn-id: r50494
2010-06-29enable reading ZIP archives even without USE_ZLIBRobert Špalek
our module unzip.cpp can read uncompressed ZIP archives even without zlib. if some of the files inside are compressed and zlib is not linked in, an error is returned. svn-id: r50483
2010-06-26Define WIN32_LEAN_AND_MEAN before including windows.h.Johannes Schickel
This will cause our code to include less functionality, but might on the other hand fasten up the compilation. svn-id: r50346
2010-06-26GUI: Add and improve some messages to translateJordi Vilalta Prat
svn-id: r50324
2010-06-21PSP: Whitespace fix (and rewrap overlong line for readability)Max Horn
svn-id: r50129
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-21PSP: moved RTC to singleton to allow usage by classes other than OsystemYotam Barnoy
svn-id: r50116
2010-06-21PSP: errors from both ScummVM and the PSP port now print to file by default. ↵Yotam Barnoy
This should make debugging easier, especially for users. svn-id: r50113
2010-06-21PSP: removed default 'using ME' messageYotam Barnoy
svn-id: r50112
2010-06-21PSP: switched loader to use PSP's debug mechanismYotam Barnoy
svn-id: r50111
2010-06-16PSP: got rid of SDLYotam Barnoy
svn-id: r49903