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
68836e00c9
PS2: Added README.PS2
2014-01-23 19:30:48 -05:00
Max Lingua
0f264e2d73
PS2: Added compact Makefile.ps2.dev for debug
2014-01-23 18:35:09 -05: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
90d1e99968
PS2: added missing default engines to Makefile.ps2
2014-01-19 01:45:21 -05:00
Max Lingua
d211d579a2
PS2: do not assume _tvMode and _gfxMode are init 0
2014-01-18 13:50:19 -05:00
Max Lingua
61aaf9bafb
PS2: reverted createPixelFormat to _overlayFormat
...
<1555> alpha is otherwise broken with classic theme
2014-01-18 13:50:09 -05:00
Max Lingua
066c2825a6
PS2: converted malloc(x) -> memalign(64, x)
2014-01-18 13:49:45 -05:00
Max Lingua
27735638c2
PS2: ps2pad.cpp - fixed duplicate switch case
2014-01-18 13:49:30 -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
fb69d8eddc
PS2: enhanced Makefile.ps2 (incl. modules & debug)
2014-01-18 13:48:20 -05:00
Max Lingua
7287448e89
PS2: commented out unused Gs2dScreen::tvMode
2014-01-18 13:41:02 -05:00
Max Lingua
623a0e7d61
PS2: use createPixelFormat for overlay format
2014-01-18 13:40:32 -05:00
Max Lingua
8e009b447b
PS2: renamed animThread -> playAnim to avoid shadowing
2014-01-18 13:39:56 -05:00
Max Lingua
00b2e12897
PS2: Ps2Pad::initPad added case STAT_NONE
2014-01-18 13:39:44 -05:00
Max Lingua
e73027f2b8
PS2: fixed tabs and alignment
2014-01-18 13:39:35 -05:00
Max Lingua
b75c7f6bc4
PS2: added missing casts
2014-01-18 13:39:20 -05:00
Max Lingua
14f3a09c8c
PS2: used C++ const_cast<...> where appropriate
2014-01-18 13:38:12 -05:00
Max Lingua
17e8a6f220
PS2: cleaned cast (X*) -> (X *)
2014-01-18 12:40:58 -05:00
Johannes Schickel
6639958d7a
PS2: Do not access Surface::pixels directly.
2013-08-06 03:30:38 +02:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
D G Turner
6d4b0a2c9f
PS2: Fix three compiler warnings and minor code formatting fixes.
2012-11-27 03:55:06 +00:00
Filippos Karapetis
e10e412bba
COMMON: Allow the savefile manager to create uncompressed saves
...
These are useful in cases where the files can be used in the original
interpreters (such as the exported characters from QFG), in order to avoid
confusion in cases where the users are unaware that these saves are
compressed and are trying to load them in the original interpreters.
2012-06-21 10:48:03 +03:00
Johannes Schickel
4fb9bceabc
Merge pull request #246 from lordhoto/osystem-void-buffers
...
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20 08:02:26 -07:00
Johannes Schickel
f92f9f9faf
PS2: Small formatting fixes.
2012-06-19 01:48:21 +02:00
D G Turner
954d56a30f
PS2: Implement algorithm for day of week for use in tm_wday.
2012-06-18 20:21:22 +01: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
Matthew Hoops
249d48f77b
BACKENDS: Add #error for platforms not setting tm_wday in release builds
2012-06-10 14:53:26 -04:00
Matthew Hoops
b2f5721e58
COMMON: Add tm_wday to our TimeDate struct
...
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-09 20:21:48 -04: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
Christoph Mallon
e618e6794d
JANITORIAL: Remove unnecessary empty default constructors/destructors.
2012-03-13 15:42:30 +01: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 b51f2f3212ae8a5abbdce4d947ec2d1cad1a0b6f.
2011-11-27 13:11:58 +01:00
Christoph Mallon
e578cb8976
ALL: Remove unnecessary forward declarations.
2011-11-21 15:59:19 +01:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02: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
fce7f90a94
BACKENDS: Shuffle backends class hierarchy and module initialization
2011-06-08 14:29:22 +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
c5532153c3
PS2: Remove dead code
2011-06-06 16:50:26 +02:00