aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2010-08-31PSP: fix BS2 crash by disabling strict aliasingYotam Barnoy
The problem that caused the crash in BS2 had to do with GCC making improper assumptions about our code. Specifically, the alignment trick we use for READ_UINT32/16 allows some targets(e.g. MIPS) to generate better code, but it also goes against ANSI C aliasing rules, which prohibit the sharing of addresses between a struct and another variable value. Using -fno-strict-aliasing tells GCC not to assume strict ANSI C aliasing and also unfortunately prevents it from making some good optimizations. This change is probably needed for other platforms as well -- the crash on the PSP was simply a very rare coincidence. svn-id: r52473
2010-08-31SCI: still set game cursor, when mouse outsideMartin Kiewitz
of ScummVM window. Just don't change actual mouse position svn-id: r52472
2010-08-30I18N: Add "lowres" context for several GUI strings when in 1x mode.Thierry Crozat
This enables translators to use a different translation for these strings in 1x mode (e.g. 320x200 or 320x240) and in 2x or 3x modes. svn-id: r52461
2010-08-30WII: Abuse pollEvent() to update the screen of skipped frames.Andre Heider
updateScreen() itself skips redraws when called too frequently. With the right timing and number of consecutive calls this can result in missing gfx updates, so lets abuse pollEvent() to check for overdue redraws. svn-id: r52456
2010-08-29Build a couple of different variant to split engines in two.Lars Persson
svn-id: r52435
2010-08-28DINGUX: disable aspect ratio correction for some resolutionsFabio Battaglia
Disable aspect ratio correction for games which have a native 240px height res, this fixes Maniac Mansion NES on dingux. svn-id: r52422
2010-08-27Add support for HUGO game engineLars Persson
svn-id: r52405
2010-08-26GP2XWIZ: Add initial support for the GPH Caanoo.John Willis
Most of the codebase is the same, but the toolchain and libs are different. Support for Caanoo specific features will follow, I just want to get the build support into trunk for now. svn-id: r52400
2010-08-25PSP: fixed flag to open()Yotam Barnoy
I was missing a flag (PSP_O_TRUNC) causing the config file to be opened on top of the old file, causing file corruption. svn-id: r52387
2010-08-24PSP: switched to using BufferedSeekableReadStream and BufferedWriteStreamYotam Barnoy
The last PSP optimization made reading much faster, but writing isn't buffered so saving the config file was VERY slow. I decided the cleanest way to do this would be to add BWS and use BSRS. svn-id: r52327
2010-08-24GP2XWIZ: Graphics code cleanup and start to add support for the GP2X Caanoo ↵John Willis
device. svn-id: r52321
2010-08-23dingux: Add standard ScummVM copyright headers to the dingux backend.John Willis
svn-id: r52309
2010-08-22DINGUX: whitspace commit to start buildbotFabio Battaglia
svn-id: r52280
2010-08-22N64: add some comments to codeFabio Battaglia
svn-id: r52277
2010-08-22N64: small fix to the port readmeFabio Battaglia
svn-id: r52275
2010-08-22PSP: switched from stdio to psp functions -- dramatic speed improvementYotam Barnoy
Turns out that stdio is about 30x(!) slower than using the PSP's functions. Very significant optimization. svn-id: r52271
2010-08-22N64: fix some signed/unsigned int comparison warningsFabio Battaglia
svn-id: r52270
2010-08-21N64: Remove some unused variable and silence some signed/unsigned comparison ↵Fabio Battaglia
warnings svn-id: r52262
2010-08-19DINGOO: new port. Patch #3039277Eugene Sandulenko
svn-id: r52210
2010-08-18PSP: fixed issue in ME MP3 player that prevented different MP3 layers and ↵Yotam Barnoy
versions from working. MAD doesn't give enough information to decide the length of the PCM data -- it provides the Layer but not the MPEG version. I had to read the MP3 header directly to figure it out. This fixes issues with any MP3 files that might be used in any of the games. svn-id: r52191
2010-08-17WII: Bump the sfx buffer size to fix MT32 emulator hiccups.Andre Heider
svn-id: r52161
2010-08-17PSP: changed display options to Full Screen, Keep Aspect Ratio and Original ↵Yotam Barnoy
Resolution This greatly simplifies the display options and makes them more practical. Original resolution will try to fit the game to the screen pixel-to-pixel, and will revert to full screen if it fails. Keep AR maximizes height and adjusts the width accordingly. This works very well with 320x200 games (AR of 1.6) which is close to the PSP's 1.7, but not so well with 320x240/640x480 (AR of 1.3). Full Screen is still default. svn-id: r52138
2010-08-15PSP: slight fix to ME MP3 playerYotam Barnoy
A bad function call during initialization of a stream was causing rare instances where the ME failed to decode some MP3 data. svn-id: r52101
2010-08-14WII: Fix compilation of the GameCube port.Andre Heider
svn-id: r52089
2010-08-14WII: Update port for the current versions of the base libraries. Enable DVD ↵Andre Heider
access for the GameCube port. svn-id: r52074
2010-08-11LINUXMOTO: Do not include base/internal_version.hMax Horn
svn-id: r51977
2010-08-11GP2X: Do not include base/internal_version.hMax Horn
svn-id: r51976
2010-08-06Enabled translation by default. Include common/error.cpp in uiq3 makefile Lars Persson
svn-id: r51784
2010-08-06Start to support Flac when building!Lars Persson
svn-id: r51781
2010-08-06Don't include engines/sci as userinclude path, causes conflicts with ↵Lars Persson
graphics/ inclusion svn-id: r51779
2010-08-03PSP: Factored out thread creation routines into PspThreadable class.Yotam Barnoy
This should aid in further optimizations. svn-id: r51685
2010-08-02N64: mention hkz-libn64 download location in port readmeFabio Battaglia
svn-id: r51656
2010-08-02DS: Allow disabling assert via NDEBUG; cleanupMax Horn
svn-id: r51640
2010-08-02DS: Disable debug mode in setup-builddirs.shMax Horn
svn-id: r51638
2010-08-02DS: More closely immitate CXXFLAGS of custom DS build systemMax Horn
svn-id: r51637
2010-08-02DS: Reorder & complete list of OPT_SPEED files; some tweaksMax Horn
Add -mno-thumb to OPT_SPEED to override the -mthumb from OPT_SIZE. svn-id: r51636
2010-08-01CONFIGURE: add support for N64 port to configureFabio Battaglia
svn-id: r51581
2010-08-01iPhone: changed GL_NEAREST to GL_LINEAR in miniaturization filter as per ↵Yotam Barnoy
forum post 29/7/10 svn-id: r51567
2010-07-31DS: Remove now redundant ds-fs.o from PORT_OBJSMax Horn
svn-id: r51558
2010-07-31DS: Add shell script which emulates old DS builds using configure&makeMax Horn
svn-id: r51556
2010-07-31DS: Fix custom DS build systemMax Horn
svn-id: r51555
2010-07-30PSP: optimized memcpy some more and fixed memcpy testingYotam Barnoy
Found that the particular implementation was producing messy assembly for misaligned copies. Improved it and also fixed up wrapping the memcpy, which would cause endless prints in case memcpy testing is asked for. svn-id: r51503
2010-07-29DC: Let scummvm.ini override autodetect of gamesMarcus Comstedt
If a game CD has a scummvm.ini file with at least one game domain in it, the normal autodetection is now bypassed and a menu of only the games in the .ini file is presented instead. The descriptions of the games are taken from the .ini file, but icons are still scanned for in the old fashion. Note that previously ScummVM would read global options from the scummvm.ini file on the boot disc (if present), but now global options are instead taken from the scummvm.ini on the game disc (in case of a disc swap). svn-id: r51480
2010-07-29DC: Specialize createConfig{Read,Write}Stream Marcus Comstedt
Implement platform-specific variants of createConfigReadStream() and createConfigWriteStream(), instead of inheriting the BaseBackend definitions. Nonstandard behavious is as follows: * createConfigWriteStream() always returns 0 (read-only filesystem) * createConfigReadStream() returns an empty MemoryReadStream instead of NULL if scummvm.ini does not exist. This is to make sure that loadDefaultConfigFile() always clears out any old config data, as I'll want to restart config parsing from scratch after a disc swap. svn-id: r51478
2010-07-29DS: Add WRAP_MALLOC support to ds.mk, update commentsMax Horn
svn-id: r51474
2010-07-29DS: Get rid of DS_NON_SCUMM_BUILD and DS_SCUMM_BUILDMax Horn
svn-id: r51473
2010-07-29BUILD: Unify how MODULE_DIRS is computed for backendsMax Horn
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-29BUILD: Fix MODULE_DIRS for WinCE portMax Horn
svn-id: r51466
2010-07-29BUILD: Compile & link certain files only for specific BACKEND valuesMax Horn
svn-id: r51465
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