Commit Graph
5295 Commits
Author SHA1 Message Date
Lars Persson 9e4dff9164 SYMBIAN : Remove application resource include not used.
svn-id: r52863
2010-09-23 10:34:45 +00:00
Lars Persson 86a7d4382e SYMBIAN : Updated define for S60v3 detection
svn-id: r52862
2010-09-23 10:34:00 +00:00
Lars Persson f155d902c7 Additional include paths for Symbian^3
svn-id: r52854
2010-09-22 10:27:09 +00:00
Lars Persson 3518a3d18f Added include paths for Symbian^3 SDK support
svn-id: r52853
2010-09-22 09:56:03 +00:00
Lars Persson c586517b94 ADded translations.dat to pkg files
svn-id: r52840
2010-09-21 06:50:29 +00:00
Yotam Barnoy f7f743ac31 PSP: switch from wrapping memcpy to defining our own memcpy
The advantage is that we get to do inlining and even use lwl and lwr instructions where appropriate. We have to do it ourselves because the PSP doesn't tolerate built-in instructions, but also we have a more efficient memcpy than the lib's.

svn-id: r52817
2010-09-20 14:10:44 +00:00
Yotam Barnoy 05f0ebf262 PSP: Split up PspMemory class.
PspMemorySwap is more specific ie. it only needs to be known by PSP files. It could be put in another file, but not worth the effort.

svn-id: r52816
2010-09-20 14:09:39 +00:00
Yotam Barnoy b006082cf1 PSP: moved VramAllocator to display_manager.cpp.
It didn't really belong in memory.cpp and we're going to want to include memory.h everywhere.
* * *
PSP: more Vram Allocator cleanup

svn-id: r52815
2010-09-20 14:05:32 +00:00
Torbjörn Andersson c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +00:00
Eugene Sandulenko 9efa316a61 RELEASE: This is 1.3.0svn
svn-id: r52773
2010-09-17 19:13:47 +00:00
Yotam Barnoy 8df4278ba8 PLUGINS: fixed issue with R_MIPS_32 relocations
Caused crash in some games. The problem was referring to the right segment. R_MIPS_32 relocations can be found in the Shorts segment, but still need to refer to the main segment if the symbol is found there.

svn-id: r52750
2010-09-16 17:37:54 +00:00
Yotam Barnoy 09cb941690 PLUGINS: Fix function arguments in MIPS loader
Derived virtual function wasn't overwriting base function.

svn-id: r52749
2010-09-16 17:37:31 +00:00
Fabio Battaglia 5982337485 DINGUX: Add placeholder for dingux specific readme
Add an almost empty readme for dingux, to be filled soon.

svn-id: r52745
2010-09-16 09:37:15 +00:00
Fabio Battaglia 7fea0c00b9 DINGUX: add exec wrapper for scummvm.elf
Add a wrapper to set HOME var when running scummvm on dingux.

svn-id: r52744
2010-09-16 09:32:10 +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 41834499ed PLUGINS: Cleanup.
- Unify ELF loader handling in configure
- Rename ELF_LOADER_TARGET to USE_ELF_LOADER

svn-id: r52728
2010-09-15 07:43:16 +00:00
Yotam Barnoy a1b16661de PSP: remove virtual inheritance of BufferedWriteStream and BufferedSeekableReadStream
As Max pointed out to me, one can't really use virtual functions called from constructors/destructors.

svn-id: r52722
2010-09-14 14:00:15 +00:00
Fabio Battaglia 68dd99643c DINGUX and N64: changes to dists targets
Run instructions to copy engine data only if there is really some 
datafiles to copy for the built engines.

svn-id: r52656
2010-09-09 13:30:15 +00:00
John Willis 9307304d7e GP2XWIZ: Rename GP2XWIZ backend to GPH.
* This better reflects the supported devices
  from GPH (GamePark Holdings), namely the 
  GP2XWiz, Caanoo and merging in of the old 
  GP2X backend.

svn-id: r52648
2010-09-09 09:48:32 +00:00
John Willis 39899e51d0 GP2X: Clean up input code a little.
* Match the GP2XWiz input code.

svn-id: r52645
2010-09-08 21:43:46 +00:00
Fabio Battaglia 43a142bbff N64: saner fake date in getDateAndTime
- Set the fake date in 2010 instead of year 3800

svn-id: r52644
2010-09-08 21:18:22 +00:00
Fabio Battaglia 0288f60f19 CONFIGURE and N64: add n64.mk with nintendo64 specific dist targets
svn-id: r52641
2010-09-08 18:04:38 +00:00
Andre Heider f3a9828d36 WII: Fix typo, update translations.
svn-id: r52640
2010-09-08 17:41:31 +00:00
Fabio Battaglia 690fea2933 DINGUX: Add dingux.mk with specific 'dist' targets
svn-id: r52632
2010-09-08 08:26:20 +00:00
John Willis 4c107cc97a GP2XWIZ: Reformat switches to code guidelines.
svn-id: r52630
2010-09-07 20:14:05 +00:00
John Willis 56b09b605d GP2XWIZ: Clean up input code.
* Clean up the if/switch mess.
* Also add missing Caanoo icon.

svn-id: r52629
2010-09-07 19:02:07 +00:00
John Willis fd407eeca3 GP2XWIZ: Refactor backend.
* Add support for TouchScreen 'Tap Modes'
  Left Click, Right Click and Hover.
* Rename OSystem_GP2XWIZ to OSystem_GPH to 
  start the work on supporting a unified 
  backend codebase for the GP2X, Wiz and
  Caanoo.
* Sort out bugs in Caanoo input code.
* Rework GP2XWiz input code to support
  switching new TouchScreen modes.

svn-id: r52619
2010-09-07 14:17:31 +00:00
Andre Heider 83a931dac0 PLUGINS: Only resolve __dso_handle if loading was successful.
svn-id: r52612
2010-09-06 22:17:46 +00:00
Andre Heider d3ea6265ba PLUGINS: Formatting.
svn-id: r52611
2010-09-06 22:17:23 +00:00
Andre Heider ae408db07f PLUGINS: Use the C++ ABI to call dtors when unloading a plugin.
Avoid linking all plugins against libstdc++ to free up some memory
(about ~40kb on Wii per plugin). Enable it on GameCube, Wii, DS and PSP
(PS2 doesn't have __cxa_atexit support in its libc).

svn-id: r52607
2010-09-06 20:34:00 +00:00
John Willis 2e1b4278e2 SDL: Add masks to the SDL backend to support the OpenPandora backend.
svn-id: r52599
2010-09-06 17:28:17 +00:00
John Willis e81dad8e61 OPENPANDORA: Commit basic version of the OpenPandora backend.
Overload of the SDL backend.
Basic functional backend with support for most main ScummVM features and engines.
Supports building to a .PND OpenPandora bundle for ease of use on the device.

svn-id: r52598
2010-09-06 17:22:22 +00:00
Yotam Barnoy c2cafe426e PLUGINS: used variation of ScopedPtr to clean up load() function
svn-id: r52592
2010-09-06 13:31:27 +00:00
Yotam Barnoy b77fd21969 PLUGINS: fixed MIPS plugin loader
Adjusted to new VMA handling and fixed a few errors which caused crashes. Also removed unneeded expansion of alignment value.

svn-id: r52589
2010-09-06 12:04:30 +00:00
Yotam Barnoy a3190a5bb5 PLUGINS: added missing call in destructor which caused crashing
svn-id: r52588
2010-09-06 12:03:15 +00:00
Andre Heider cd5e62bbe8 PLUGINS: Added _segmentVMA to the MIPS loader.
Also added 2 TODOs for all loaders not respection that offset.

svn-id: r52577
2010-09-05 22:00:41 +00:00
Andre Heider 364acaae45 PLUGINS: Remove spurious extra allocation.
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-05 22:00:19 +00:00
Andre Heider 4c7f5084c2 PLUGINS: Plug some memleaks.
svn-id: r52575
2010-09-05 21:59:50 +00:00
Andre Heider a4c9de25e6 PLUGINS: Move doxygen to the base class header.
No point in documenting it on every derived class.

svn-id: r52574
2010-09-05 21:59:29 +00:00
Andre Heider a318934e45 PLUGINS: Add missing variable initialization.
svn-id: r52573
2010-09-05 21:59:07 +00:00
Andre Heider d8b85ffcb8 PLUGINS: Formatting.
Misformatted casts in an earier commit, oops.

svn-id: r52572
2010-09-05 21:58:45 +00:00
Andre Heider 284b23092b SAVES: Revert whitespace changes to minimize the diff to trunk.
svn-id: r52567
2010-09-05 15:48:22 +00:00
Andre Heider 8889f4c5ad PLUGINS: Set svn:keywords property on all new files.
svn-id: r52566
2010-09-05 15:47:04 +00:00
Andre Heider 09834b8bec MERGE: Merge trunk to branch.
svn-id: r52564
2010-09-05 15:26:00 +00:00
Andre Heider 402c71860f PLUGINS: Make the file stream a member of DLObject.
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-05 12:53:15 +00:00
Andre Heider 3b2a9734d1 PLUGINS: Type cleanup.
Use our types, get rid of some casts.

svn-id: r52557
2010-09-05 12:52:49 +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 a9a615a867 WII: Add plugins to the distribution.
svn-id: r52554
2010-09-05 12:49:50 +00:00
Andre Heider 13770ce9cd PLUGINS: Plugin support for the GameCube/Wii backend.
svn-id: r52553
2010-09-05 12:49:29 +00:00