aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2010-09-05PLUGINS: Added _segmentVMA to the MIPS loader.Andre Heider
Also added 2 TODOs for all loaders not respection that offset. svn-id: r52577
2010-09-05PLUGINS: Remove spurious extra allocation.Andre Heider
Elf32_Phdr.p_align is to align the memory location of the loaded segment, not to extend its size. The size of the scratch area (like .bss and .sbss) is p_memsz-p_filesz, which has to be set to zero by the loader. svn-id: r52576
2010-09-05PLUGINS: Plug some memleaks.Andre Heider
svn-id: r52575
2010-09-05PLUGINS: Move doxygen to the base class header.Andre Heider
No point in documenting it on every derived class. svn-id: r52574
2010-09-05PLUGINS: Add missing variable initialization.Andre Heider
svn-id: r52573
2010-09-05PLUGINS: Formatting.Andre Heider
Misformatted casts in an earier commit, oops. svn-id: r52572
2010-09-05SAVES: Revert whitespace changes to minimize the diff to trunk.Andre Heider
svn-id: r52567
2010-09-05PLUGINS: Set svn:keywords property on all new files.Andre Heider
svn-id: r52566
2010-09-05MERGE: Merge trunk to branch.Andre Heider
svn-id: r52564
2010-09-05PLUGINS: Make the file stream a member of DLObject.Andre Heider
No point in passing it to functions all over the place. Release the stream when it's not required anymore. svn-id: r52558
2010-09-05PLUGINS: Type cleanup.Andre Heider
Use our types, get rid of some casts. svn-id: r52557
2010-09-05PLUGINS: Move platform specific code out of the generic ELF loader.Andre Heider
Instead overwrite pure virtual functions in a backend specific class. svn-id: r52556
2010-09-05PLUGINS: Move all ELF loader related files to its own directory.Andre Heider
svn-id: r52555
2010-09-05WII: Add plugins to the distribution.Andre Heider
svn-id: r52554
2010-09-05PLUGINS: Plugin support for the GameCube/Wii backend.Andre Heider
svn-id: r52553
2010-09-05PLUGINS: Formatting.Andre Heider
svn-id: r52552
2010-09-05PLUGINS: Respect the VMA when relocating.Andre Heider
Plugins do not have to be linked at 0x0. Some platforms have limited relocation jump offsets, which makes 0x0 unusable. svn-id: r52551
2010-09-05PLUGINS: Properly check the ELF header.Andre Heider
The ELFMAG is only 4 bytes, not 6. Properly check for endianess. svn-id: r52550
2010-09-05PLUGINS: The VMA doesn't get added to any PHDR.Andre Heider
svn-id: r52549
2010-09-05PLUGINS: Fix warnings.Andre Heider
svn-id: r52548
2010-09-05PLUGINS: Cleanup includes and debug output.Andre Heider
Use the common debug functions instead of spamming #defines. svn-id: r52547
2010-09-05PLUGINS: Flush only memory ranges, not everythingAndre Heider
svn-id: r52546
2010-09-05DS: Enable debug level 2 when DISABLE_TEXT_CONSOLE is not set.Andre Heider
svn-id: r52545
2010-09-05WII: Merge r52536 from trunk.Andre Heider
svn-id: r52537
2010-09-05WII: New disttarget 'wiiloaddist'Andre Heider
Uploads a .zip file to HBC to unpack to the used storage media. svn-id: r52536
2010-09-04DS: Merge r52533 from trunk.Andre Heider
svn-id: r52534
2010-09-04DS: Enable stdout/err via nocash when DISABLE_COMMAND_LINE in not set.Andre Heider
svn-id: r52533
2010-09-03OPENGL: Properly initialize the graphics manager again.Johannes Schickel
Starting with r52503 the graphics manager's only initialize their event observer when initEventObserver is called. It seems like it was an oversight that this was not done in OSystem_SDL::setGraphicsMode, when a new graphics manager was initialized. This should fix window resizing with the OpenGL graphic's manager and mouse movement. svn-id: r52506
2010-09-03SDL/OPENGL: Fix backend initialization when building with ENABLE_VKEYBD.Alejandro Marzini
svn-id: r52503
2010-09-03OPENGL: Fix enable aspect ratio feature.Alejandro Marzini
svn-id: r52502
2010-09-03OPENGL: Improve scaling, aspect ratio correction and display(GFX) modes.Alejandro Marzini
Now the previous aspect ratio modes are handled as GFX modes. The previous GFX modes were for scaling, but are removed now. A new 4/3 display mode added. Added Ctrl-Shift-A for backward switching through display modes, and Ctrl-Alt-<number key> for switching to a specific GFX mode. Window resizing now is available for all display modes, and will automatically change the scale factor as well as maintain the aspect ratio when needed. svn-id: r52501
2010-09-01PSP: removed strict-aliasingYotam Barnoy
It's no longer needed after adding __may_alias__ flag in endian.h. svn-id: r52481
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-29PLUGINS: Fix warnings and unnecessary casts.Andre Heider
svn-id: r52439
2010-08-29Build a couple of different variant to split engines in two.Lars Persson
svn-id: r52435
2010-08-28WII: svn merge Wii port commits from trunkAndre Heider
svn-id: r52425
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-23OPENGL: Add Ctrl-Shift-Enter hotkey for backward switching fullscreen modes.Alejandro Marzini
svn-id: r52310
2010-08-23dingux: Add standard ScummVM copyright headers to the dingux backend.John Willis
svn-id: r52309
2010-08-23SDL/OPENGL: Fix segfault when using -g command line option.Alejandro Marzini
svn-id: r52307
2010-08-23AMIGAOS: Fix build.Alejandro Marzini
svn-id: r52306
2010-08-23AMIGAOS: Again, fix build.Alejandro Marzini
svn-id: r52304