Commit graph

77 commits

Author SHA1 Message Date
Eugene Sandulenko
355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Eugene Sandulenko
c3ffbd884a Merge pull request #426 from sunmax/master
PS2: Pull request to master for latest PS2 code
2014-04-28 21:20:42 +03:00
Johannes Schickel
7aa3de5d37 PS2: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Max Lingua
5e36716be5 PS2: Made it quieter unless -DLOGORRHEIC is set 2014-01-23 18:34:58 -05:00
Max Lingua
6487c362a1 PS2: Init Ps2Input after USB drivers are loaded 2014-01-23 18:34:51 -05:00
Max Lingua
c16c6653a1 PS2: Improved support for profiling (gprof) build 2014-01-23 18:34:44 -05:00
Max Lingua
ab3a1b5e0c PS2: commented "offending" free in startIrxModules
TODO: investigate stack corruption due to double free
TODO: review modules loader fallback logic
2014-01-23 18:34:37 -05:00
Max Lingua
487e642d00 PS2: Support for latest SDK with -D__NEW_PS2SDK__ 2014-01-23 18:34:26 -05:00
Max Lingua
066c2825a6 PS2: converted malloc(x) -> memalign(64, x) 2014-01-18 13:49:45 -05:00
Max Lingua
beee456c68 PS2: support for different gfx modes 2014-01-18 13:49:07 -05:00
Max Lingua
ca2f0f0067 PS2: added [PlayStation2] section to scummvm.ini 2014-01-18 13:48:48 -05:00
Max Lingua
1cbb90d8ea PS2: modular IRX drivers loading 2014-01-18 13:48:37 -05:00
Max Lingua
e73027f2b8 PS2: fixed tabs and alignment 2014-01-18 13:39:35 -05:00
Max Lingua
17e8a6f220 PS2: cleaned cast (X*) -> (X *) 2014-01-18 12:40:58 -05:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Johannes Schickel
aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel
d27d951d0b BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16 03:28:42 +02:00
Johannes Schickel
31880186e1 BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte *" as buffer.
This removes the need to convert the parameter to copyRectToScreen to
"const byte *", which is commonly used in games, which use Graphics::Surface
to store their graphics data.
2012-06-16 02:18:01 +02:00
Johannes Schickel
a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.

Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Christoph Mallon
6a9ab747f9 PS2: Remove the unused method OSystem_PS2::grabRawScreen().
This was removed from OSystem in b51f2f3212.
2011-11-27 13:11:58 +01:00
Johannes Schickel
23dd778a16 BACKENDS: Fix PS2 backend compilation for real. 2011-07-01 23:36:35 +02:00
Johannes Schickel
12f38459e4 BACKENDS: Fix compilation of PS2 backend. 2011-07-01 23:10:48 +02:00
Max Horn
8ac63a37a8 PS2: Use OSystem's 'slots' for timer/savefile manager 2011-06-07 14:57:57 +02:00
Max Horn
96aed4d057 PS2: Add missing semicolon 2011-06-06 17:01:11 +02:00
Max Horn
4f159dba90 PS2: Simplify OSystem_PS2::logMessage 2011-06-06 16:47:20 +02:00
Max Horn
c81e94b252 BACKENDS: Unify EventManager setup 2011-06-06 16:13:57 +02:00
Max Horn
4878b2b27b PS2: Add logMessage() implementation 2011-06-06 15:35:50 +02:00
Max Horn
c847522422 BACKENDS: Add OSystem::getDefaultConfigFileName
This is used to provide default implementations for createConfigWriteStream
and createConfigReadStream, which can be used by most backends.

Note that backends can still override createConfigRead/WriteStream;
this could be useful if settings on some port are not stored in a
regular file (think 'Windows registry', for a hypothetical example).
2011-06-06 15:30:21 +02:00
Max Horn
afb06b51cc BACKENDS: Unify AudioCD manager instantiation 2011-06-06 15:02:33 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
48bbdd1708 PS2: Fix various forbidden symbol clashes 2011-05-03 13:44:14 +02:00
Johannes Schickel
7ac3ae108a BACKEND: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:24:37 +02:00
Johannes Schickel
46c5732ba5 PS2: Adapt to setPalette/grabPalette RGBA->RGB change.
This change is not tested.
2011-02-16 00:10:40 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
4bed2b3ff5 SDL: Trying to cleanup the FORBIDDEN_SYMBOL situation
svn-id: r54575
2010-11-29 16:35:29 +00:00
Yotam Barnoy
13b904d282 Merge from gsoc2010-plugins
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work.

svn-id: r54051
2010-11-03 22:01:01 +00:00
Yotam Barnoy
94c8d0a14d Updated with latest from trunk
svn-id: r53976
2010-10-31 11:08:43 +00:00
Max Horn
184c732bf6 PS2: Enable use of forbidden symbols
svn-id: r53969
2010-10-30 23:53:59 +00:00
Tony Puccinelli
6982aed8a4 made MIPSDLObject and PS2 plugin provider that uses it
svn-id: r51818
2010-08-07 00:40:15 +00:00
Tony Puccinelli
ff78cf6771 abstracted an ELF plugin provider
svn-id: r51400
2010-07-28 02:05:17 +00:00
Tony Puccinelli
fb54698b37 loadable modules working for ps2
svn-id: r49617
2010-06-13 05:57:24 +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
Tony Puccinelli
7899532815 added dynamic plugins stuff to configure
svn-id: r49446
2010-06-06 00:47:21 +00:00
Tony Puccinelli
95e56f2052 merged trunk into branch and corrected __PS2__ to __PLAYSTATION2__ in a couple files
svn-id: r49435
2010-06-05 01:05:19 +00:00
Max Horn
caf1a6bee4 Remove dead code from PS2 and GP2x backends
svn-id: r49374
2010-06-01 15:38:09 +00:00
Tony Puccinelli
e04b6b7ea0 changed ps2 makefile and other files to use the ps2loader
svn-id: r49368
2010-06-01 01:05:09 +00:00
Jordi Vilalta Prat
400542a1fe Revert the rest of 49362, which wasn't meant for trunk
svn-id: r49366
2010-05-31 23:04:30 +00:00
Tony Puccinelli
c9a38abf60 modifications to get the ps2 to use the ps2loader
svn-id: r49363
2010-05-31 22:41:46 +00:00
Max Horn
9b837d66d4 Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the MixerImpl constructor
svn-id: r48238
2010-03-11 23:39:51 +00:00