Commit Graph
6727 Commits
Author SHA1 Message Date
Yotam Barnoy 0fe65d3e5f PSP: fixed invisible bug in power callback
svn-id: r49756
2010-06-15 10:36:53 +00:00
Yotam Barnoy ff66c67439 PSP: fixed SCI freeze issue by using recursive mutexes
svn-id: r49682
2010-06-15 06:30:49 +00:00
Alejandro Marzini 54377bbb30 Adapted null backend to ModularBackend.
svn-id: r49681
2010-06-15 05:53:15 +00:00
Yotam Barnoy 25c7dc08b1 PSP: fixed bug in hardware MP3 that caused crash in broken sword. The sample rate must be returned from our member variable, not from the header value which disappears.
svn-id: r49680
2010-06-15 05:34:37 +00:00
Alejandro Marzini d2f9355aee Improved ModularBackend and OSystem_SDL destructors.
svn-id: r49679
2010-06-15 05:15:34 +00:00
Alejandro Marzini e1ef3cd9fc Renamed getAudioCD to getAudioCDManager.
svn-id: r49678
2010-06-15 04:13:12 +00:00
Alejandro Marzini 6a52a168ee Renamed abstract Manager files.
svn-id: r49677
2010-06-15 03:49:20 +00:00
Tony Puccinelli c49760d780 changed which modified linker to use for plugin.ld as loading from USB-drive seemed to break after last commit. Also added some comments to the linkers.
svn-id: r49676
2010-06-14 23:39:07 +00:00
Tony Puccinelli 02e1362895 merged GP2x-Wiz debug build scripts from trunk into branch
svn-id: r49671
2010-06-14 21:31:53 +00:00
Max Horn 3cd521ec30 Update build system
svn-id: r49664
2010-06-14 18:19:16 +00:00
John Willis b921cebce8 GP2XWiz: Add shellscripts to support building a non-stripped bundle for use with GDB.
* This should help Tony (GSoC) get debug builds going.

svn-id: r49648
2010-06-14 09:33:36 +00:00
Alejandro Marzini 77f114b835 Added SdlTimerManager. Added getMillis, delayMillis and getTimeAndDate to Common::TimerManager, DefaultTimerManager and ModularBackend. Removed timer code from OSystem_SDL.
svn-id: r49637
2010-06-13 21:09:52 +00:00
Alejandro Marzini a77738e53b Updated makefiles.
svn-id: r49636
2010-06-13 20:33:54 +00:00
Alejandro Marzini 360b82858c Added SdlEventManager.
svn-id: r49635
2010-06-13 20:31:25 +00:00
Tony Puccinelli 819bbfba01 changed DBG to printf instead of sioprintf
svn-id: r49626
2010-06-13 08:26:39 +00:00
Tony Puccinelli fb54698b37 loadable modules working for ps2
svn-id: r49617
2010-06-13 05:57:24 +00:00
Alejandro Marzini 3cfa482b43 Created SdlMixerImpl. Added setSampleRate method to Audio::MixerImpl. Updated and removed mixer code in OSystem_SDL for using SdlMixerImpl.
svn-id: r49602
2010-06-12 02:54:51 +00:00
Alejandro Marzini 1447396d3f Added virtual desctructor to MutexManager.
svn-id: r49601
2010-06-12 00:15:22 +00:00
Alejandro Marzini b49814f274 Fixed compilation error on Mac.
svn-id: r49600
2010-06-11 23:04:57 +00:00
Angus Lees 580c9032f0 Add support for setFocusRectangle - enabled on 'small' Android screens.
svn-id: r49594
2010-06-11 10:54:49 +00:00
Alejandro Marzini e81fb60d34 Add Common::EventSource inheritance for ModularBackend. OSystem_SDL now subclass from ModularBackend insteand of BaseBackend. Added forceFullRedraw() to SdlGraphicsManager and removed _modeChanged.
svn-id: r49590
2010-06-11 02:50:25 +00:00
Alejandro Marzini 11e8ac61d1 Added missing virtual functions in abstract class GraphicsManager.
svn-id: r49589
2010-06-11 01:55:59 +00:00
Tony Puccinelli a302fdb2c4 changed DBG to use sioprintf but temporarily commented out those statements
svn-id: r49588
2010-06-11 01:08:47 +00:00
Alejandro Marzini 475fe8a3bd Added ModularBackend base class for backends.
svn-id: r49584
2010-06-10 20:31:08 +00:00
Yotam Barnoy d89da56f47 PSP: swapped order of checks in renderAll. It's a little cheaper this way.
svn-id: r49574
2010-06-10 14:01:30 +00:00
Yotam Barnoy c8ee854600 PSP: switched to psp semaphores rather than SDL's. Removal of SDL is almost complete.
svn-id: r49572
2010-06-10 13:41:29 +00:00
Alejandro Marzini 9e90858305 Removed deleted DefaultMutexManager from makefile.
svn-id: r49557
2010-06-10 03:20:00 +00:00
Alejandro Marzini 1cebd33262 Added an abstract version of MutexManager. Deleted DefaultMutexManager, now it's NullMutexManager.
svn-id: r49556
2010-06-10 03:18:16 +00:00
Alejandro Marzini 7b63e8ae25 Made creation of SdlMutexManager earlier than other modules.
svn-id: r49555
2010-06-10 03:16:50 +00:00
Alejandro Marzini 33c36f3c7c Commented AudioCDManager
svn-id: r49554
2010-06-10 02:08:08 +00:00
Angus Lees d44efa817f Fix dirty tracking in paletted textures.
svn-id: r49552
2010-06-09 21:31:48 +00:00
Angus Lees d8050029f9 Improve build instructions to include themeengine patch and
scummmodern.zip compression.

svn-id: r49551
2010-06-09 21:30:06 +00:00
Alejandro Marzini e991cd8c53 - Revised abstract AudioCDManager.
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.

svn-id: r49548
2010-06-09 20:09:57 +00:00
Alejandro Marzini 4177a1e16d Added an abstract version of AudioCDManager.
svn-id: r49547
2010-06-09 18:51:55 +00:00
Yotam Barnoy f770156dcc PSP: fixed missing frame issue with kyrandia and possibly other games by calling updateScreen() from pollEvent() once in a while
svn-id: r49541
2010-06-09 14:15:51 +00:00
Alejandro Marzini 9f2358612a Created DefaultAudioCDManager and SdlAudioCDManager
svn-id: r49532
2010-06-09 05:39:27 +00:00
Alejandro Marzini 7840aa1966 Added directives for avoiding compilation of sdl managers on platforms that don't use them (Other platforms may also need to be added later)
svn-id: r49531
2010-06-09 05:29:14 +00:00
Tony Puccinelli d6b194aaa8 added tentative GDB flag to Makefile, changed calls to psp-functions to equivalent ps2-functions in ps2loader, minor rearrangement of code in systemps2
svn-id: r49530
2010-06-09 04:04:34 +00:00
Alejandro Marzini 5548548f95 Removed feature methods. Destructor made virtual.
svn-id: r49529
2010-06-09 03:38:57 +00:00
Alejandro Marzini 4fe0b4e1ad Renamed and moved DefaultGraphicsManager to NullGraphicsManager. Added pure virtual class GraphicsManager.
svn-id: r49528
2010-06-08 23:44:05 +00:00
Angus Lees f6b02e9986 Whitespace fixup in last submit. I'll get the hang of this eventually :/
svn-id: r49507
2010-06-08 13:27:46 +00:00
Angus Lees d72ae64e34 Provide a replacement for bionic's __assert().
The usual Android version doesn't actually print the assert message
before aborting.

svn-id: r49506
2010-06-08 13:25:00 +00:00
Angus Lees ec524e3705 Remove obsolete ANDROID_VERSION_GE macro
svn-id: r49505
2010-06-08 13:23:08 +00:00
Angus Lees fb73cef4d9 Add a few files mistakenly left out of initial Android patch :(
svn-id: r49502
2010-06-08 13:15:15 +00:00
Alejandro Marzini 7ea78b1036 Merged from trunk.
svn-id: r49499
2010-06-08 03:31:27 +00:00
Alejandro Marzini 7e9d54a69a Added Graphics and Mutex managers to makefile.
svn-id: r49498
2010-06-08 03:03:03 +00:00
Alejandro Marzini 8f5e39079c Deleted DefaultAudioManager.
svn-id: r49496
2010-06-08 01:00:21 +00:00
Tony Puccinelli dcdebf60b0 rearranged Makefile for clarity and added comments
svn-id: r49493
2010-06-07 19:54:14 +00:00
Yotam Barnoy 356728dab7 PSP: found bug in fast getMillis() implementation. Fixed it by adding a fixed amount to the time counter.
svn-id: r49485
2010-06-07 13:47:27 +00:00
Alejandro Marzini 9d8bff31a4 Moved toggleMouseGrab from SdlGraphicsManager. Disabled some code, will fix later. Added code for access for moved variables and functions in SdlGraphicsManager.
svn-id: r49475
2010-06-07 03:25:24 +00:00