Commit Graph

4183 Commits

Author SHA1 Message Date
Filippos Karapetis
cc9f2944ed MIDI: Fixed unnecessary casts of return values to void, reported in bug #3153076
svn-id: r55248
2011-01-15 09:43:02 +00:00
Jordi Vilalta Prat
e49b35d706 SYMBIAN: Fix some small issues in the README file (M4 isn't included)
svn-id: r55243
2011-01-14 19:47:25 +00:00
Lars Persson
06acd96244 SYMBIAN: Updated revision history
svn-id: r55236
2011-01-14 08:10:51 +00:00
Marcus Comstedt
910e2f0760 DC: Sync legacy makefile with recent changes
svn-id: r55173
2011-01-08 20:51:25 +00:00
Marcus Comstedt
59945ac2d0 DC: Fix a compilation warning
svn-id: r55172
2011-01-08 20:34:54 +00:00
Marcus Comstedt
98e057603c DC: Implement logMessage()
svn-id: r55171
2011-01-08 20:33:07 +00:00
Jordi Vilalta Prat
b24aab3052 OPENGL: Skip empty texture updates.
This fixes some hangs when calling the GMM while running Fascination.

svn-id: r55166
2011-01-08 16:05:27 +00:00
Marcus Comstedt
176be9adad DC: Ensure creation of output sections .{c,d}tors
Add an object with an empty .ctors and .dtors section to the build
of each plugin.  This ensures that there will be an output section
.ctors and one .dtors in the output file (they could be empty though).
If these output sections were to be removed, the symbols defined inside
by the linker script could disappear as well, and we don't want that.

svn-id: r55149
2011-01-07 16:25:05 +00:00
Marcus Comstedt
710e41c3e8 DC: Check plugins for required symbols
Make sure that all the required symbols exist in generated plugins.
If not, the strip command may have removed them...

svn-id: r55144
2011-01-07 14:40:25 +00:00
Arnaud Boutonné
6a299ce0b8 COPYRIGHT: Update copyright year - Happy new year!
svn-id: r55082
2010-12-31 23:04:49 +00:00
Yotam Barnoy
7558331550 PLUGINS: rename ONE_PLUGIN_AT_A_TIME define to UNCACHED_PLUGINS
ONE_PLUGIN_AT_A_TIME is too long.

svn-id: r55064
2010-12-30 08:01:58 +00:00
Yotam Barnoy
8f36a5f887 PLUGINS: single plugin model now saves plugin filename to config file
After searching for the right plugin once, the filename will be saved to the config file under the domain 'plugin_files'. The key is the gameid and the value is the plugin file. The backup mechanism is searching plugin by plugin.

svn-id: r55061
2010-12-29 15:25:21 +00:00
Yotam Barnoy
4f36239644 PLUGINS: fixed resource leak that caused PSP to crash
The leaky file handles didn't show up when debugging using the shell since that uses the Windows file handles, of which there are many more.

svn-id: r55048
2010-12-26 20:44:19 +00:00
Angus Lees
1dce5fa11d ANDROID: Remove obsolete reference to ANDROID_TOP in build instructions.
svn-id: r55029
2010-12-24 02:09:59 +00:00
Yotam Barnoy
a79ccfed55 PLUGINS: replace all size_t's with uint32's and add #include <malloc.h> to memory manager
uint32 is all we need since we only handle ELF32 anyway.

svn-id: r55012
2010-12-22 15:33:46 +00:00
Johannes Schickel
0134ffd86e PLUGINS: Only enable ELFMemoryManager when dynamic plugins and the ELF loader is enabled.
This should fix compilation on desktop systems, where for example memalign
is not present.

svn-id: r55011
2010-12-22 15:09:42 +00:00
Johannes Schickel
48ce90419f PLUGINS: Fix ELFMemoryManager::pluginAllocate signature.
svn-id: r55010
2010-12-22 15:07:14 +00:00
Yotam Barnoy
6817d4b300 PLUGINS: add ELF memory manager to solve fragmentation
Following lordhoto's suggestion, I implemented a simple allocator that grabs the size of the biggest available plugin in memory. This is an elegant solution to the fragmentation problem, with the caveat that memory is wasted. As such, it's not suited for the DS, so I added a #define to disable it there.

svn-id: r55009
2010-12-22 14:48:51 +00:00
Fabio Battaglia
5f6dfb2b67 N64: save and return exact palette for grabPalette
Save the exact palette and return it when grabPalette is called,
The less precise 16bit conversion is still used inside though.

svn-id: r54981
2010-12-20 21:46:28 +00:00
Yotam Barnoy
8d1f3f00ad PSP: fixed bug exhibited in Gob engine with blacked out video frames
The problem was that I was allowing changes to the palette (in this case) even before the separate display thread, which is synchronized to vsync, was done drawing. This caused the palette to change mid-render.

The fix is a semaphore synchronizing the threads.

svn-id: r54942
2010-12-17 10:58:34 +00:00
Johannes Schickel
d184686189 OPENGL: Fix OSD support by only updating the OSD texture in internUpdateScreen.
This actually still has the drawback that if one calls OSystem::updateScreen
from the sound thread that it might crash. Hopefully no code does this though...

svn-id: r54830
2010-12-08 01:53:20 +00:00
Johannes Schickel
da2880be47 OPENGL: Disable OSD support for now.
I added an comment explaining why OSD is broken currently. The basic problem is
that OpenGL is not thread safe, thus in case we try to display any message on
the OSD from the sound thread for example it will result in crashes.

svn-id: r54829
2010-12-08 01:35:54 +00:00
Johannes Schickel
e361b84d3b BACKENDS: Fix OSD implementation in ModularBackend.
svn-id: r54828
2010-12-08 01:35:34 +00:00
Jordi Vilalta Prat
5884f5a7ac OPENGLES: Fix the projection matrix and the includes.
svn-id: r54756
2010-12-03 19:43:27 +00:00
Jordi Vilalta Prat
f1d961a35e OPENGL: Some slight formatting fixes.
svn-id: r54755
2010-12-03 19:16:23 +00:00
Jordi Vilalta Prat
bd6f33380e OPENGL: Fix the fullscreen mode detection when SDL accepts any resolution.
svn-id: r54754
2010-12-03 19:09:27 +00:00
Johannes Schickel
7f533ba253 DC: Remove extra semicolon. (Should fix compiliation hopefully).
svn-id: r54753
2010-12-03 19:01:52 +00:00
Marcus Comstedt
878674809e DC: Implement getSystemLanguage()
svn-id: r54752
2010-12-03 18:57:20 +00:00
Jordi Vilalta Prat
68937e6e77 WII: Use more standard Chinese locales.
Don't distinguish between simplified and traditional Chinese in the
language tag, as suggested by LordHoto.

svn-id: r54751
2010-12-03 15:11:43 +00:00
Jordi Vilalta Prat
44483e1e6e OPENGL: Fix compilation when OpenGL error checks are enabled.
svn-id: r54734
2010-12-02 13:13:10 +00:00
Filippos Karapetis
5990753271 OPENGL: Fixed flawed include file logic in gltexture.h, when USE_GLES is defined (a regression from r54704)
svn-id: r54732
2010-12-02 09:09:53 +00:00
Marcus Comstedt
1ed5b5b353 DC: Adapted CDDA interface to the new standard.
svn-id: r54714
2010-12-01 19:57:23 +00:00
Jordi Vilalta Prat
cb8ce9feac WII: Let the base backend decide the default detected language.
svn-id: r54713
2010-12-01 19:46:46 +00:00
Filippos Karapetis
e5f2c235d3 BACKENDS: Simplify the inclusion of gl.h. SDL has already simplified it for us :)
svn-id: r54704
2010-12-01 15:15:42 +00:00
Filippos Karapetis
1a2b512ff0 BACKENDS: Use SDL_opengl.h instead of the nonstandard glext.h to ensure OpenGL 1.2 compatibility in Windows systems
svn-id: r54700
2010-12-01 14:54:13 +00:00
Jordi Vilalta Prat
768d3dd6f7 WII: Fix compilation
svn-id: r54698
2010-12-01 12:30:58 +00:00
Jordi Vilalta Prat
0fc6a9bb45 WII: Add system language auto-detection.
svn-id: r54697
2010-12-01 12:23:37 +00:00
Travis Howell
e2282e4816 Fix mingw compile.
svn-id: r54696
2010-12-01 11:29:26 +00:00
Joost Peters
084ea7fc4a OpenGL: remove unnecessary glext.h include
svn-id: r54695
2010-12-01 09:53:43 +00:00
Lars Persson
5fb635dabf SYMBIAN : Forgot to init the SDL backend
svn-id: r54590
2010-11-29 20:02:15 +00:00
Max Horn
73cf5dba99 SDL: Add Mac OS X log file support
svn-id: r54589
2010-11-29 19:54:55 +00:00
Lars Persson
960efd93d8 SYMBIAN : Updated so it builds with latest structures and add support to last express
svn-id: r54588
2010-11-29 19:44:22 +00:00
Johannes Schickel
ff7357cfc5 NULL: Remove extra semicolons in null-graphics.h
svn-id: r54587
2010-11-29 19:28:19 +00:00
Johannes Schickel
a1d99836cd BACKENDS: Fix SVN keyword usage.
svn-id: r54584
2010-11-29 18:48:43 +00:00
Johannes Schickel
f199761756 SDL: Slight formatting fix.
svn-id: r54583
2010-11-29 18:33:46 +00:00
Johannes Schickel
c5e28f69b7 BACKEND: Assure that the correct destructor of FilesystemFactory is called.
svn-id: r54582
2010-11-29 18:31:39 +00:00
Johannes Schickel
39aad6ece7 SDL: Move createLogFile implementions to the OSystem_SDL subclasses.
svn-id: r54581
2010-11-29 18:30:23 +00:00
David Turner
91a6b7f537 BACKENDS: Improve safety of Modular Backend Destructor And Close _fsFactory Memory Leak
Since the modular backend implements abstract modules to be written in the future which _may_ have interdependencies, they should be set to null pointers after deletion. 

This allows assert(_eventManager) type lines to work, which would have detected bug #3121841 without a segfault...

Also, _fsFactory should be deleted to ensure it is not leaked though this causes a group of GCC warnings and probably should be done in a different manner.

svn-id: r54580
2010-11-29 18:22:31 +00:00
David Turner
0e90a2a808 BACKENDS: Close Memory Leak of Mouse Surfaces in SDL Graphics Backend
svn-id: r54579
2010-11-29 18:16:11 +00:00
Max Horn
4bed2b3ff5 SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation
svn-id: r54575
2010-11-29 16:35:29 +00:00