aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2/systemps2.cpp
AgeCommit message (Collapse)Author
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
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-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
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)
2011-11-27PS2: Remove the unused method OSystem_PS2::grabRawScreen().Christoph Mallon
This was removed from OSystem in b51f2f3212ae8a5abbdce4d947ec2d1cad1a0b6f.
2011-07-01BACKENDS: Fix PS2 backend compilation for real.Johannes Schickel
2011-07-01BACKENDS: Fix compilation of PS2 backend.Johannes Schickel
2011-06-07PS2: Use OSystem's 'slots' for timer/savefile managerMax Horn
2011-06-06PS2: Add missing semicolonMax Horn
2011-06-06PS2: Simplify OSystem_PS2::logMessageMax Horn
2011-06-06BACKENDS: Unify EventManager setupMax Horn
2011-06-06PS2: Add logMessage() implementationMax Horn
2011-06-06BACKENDS: Add OSystem::getDefaultConfigFileNameMax Horn
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-06BACKENDS: Unify AudioCD manager instantiationMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03PS2: Fix various forbidden symbol clashesMax Horn
2011-04-17BACKEND: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth.
2011-02-16PS2: Adapt to setPalette/grabPalette RGBA->RGB change.Johannes Schickel
This change is not tested.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-11-29SDL: Trying to cleanup the FORBIDDEN_SYMBOL situationMax Horn
svn-id: r54575
2010-11-03Merge from gsoc2010-pluginsYotam Barnoy
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-10-31Updated with latest from trunkYotam Barnoy
svn-id: r53976
2010-10-30PS2: Enable use of forbidden symbolsMax Horn
svn-id: r53969
2010-08-07made MIPSDLObject and PS2 plugin provider that uses itTony Puccinelli
svn-id: r51818
2010-07-28abstracted an ELF plugin providerTony Puccinelli
svn-id: r51400
2010-06-13loadable modules working for ps2Tony Puccinelli
svn-id: r49617
2010-06-09added tentative GDB flag to Makefile, changed calls to psp-functions to ↵Tony Puccinelli
equivalent ps2-functions in ps2loader, minor rearrangement of code in systemps2 svn-id: r49530
2010-06-06added dynamic plugins stuff to configureTony Puccinelli
svn-id: r49446
2010-06-05merged trunk into branch and corrected __PS2__ to __PLAYSTATION2__ in a ↵Tony Puccinelli
couple files svn-id: r49435
2010-06-01Remove dead code from PS2 and GP2x backendsMax Horn
svn-id: r49374
2010-06-01changed ps2 makefile and other files to use the ps2loaderTony Puccinelli
svn-id: r49368
2010-05-31Revert the rest of 49362, which wasn't meant for trunkJordi Vilalta Prat
svn-id: r49366
2010-05-31modifications to get the ps2 to use the ps2loaderTony Puccinelli
svn-id: r49363
2010-03-11Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the ↵Max Horn
MixerImpl constructor svn-id: r48238
2009-11-23PS2: Add new PS2FileStream class for std I/O.Max Horn
* Add new class PS2FileStream as substitute for class StdioStream on PS2 * Remove PS2 specific hacks from stdiostream.cpp / class StdioStream * Remove various ps2_f*() wrapper funcs, merging them into PS2FileStream TODO: Merge class Ps2File into PS2FileStream svn-id: r46111
2009-11-18PS2: Remove custom OSystem::fillScreen implementation as well as clearScreen()Max Horn
svn-id: r45973
2009-10-09PS2: Fix warningsMax Horn
svn-id: r44813
2009-10-05Here we have:Max Lingua
- dropped gBitFormat - added extra param "const Graphics::PixelFormat *" to OSystem_PS2::initSize OSystem_PS2::setMouseCursor Note! To compile on SVN you will have (for now ;-) to create few few empty folders by hand, note very elegant but will keep you going until when we (ehm...) refine the PS2 Makefile. Here comes the brute force script I use inside backends/platform/ps2 mkdir -p backends/platform/ps2 mkdir -p base mkdir -p engines/scumm mkdir -p engines/scumm/he mkdir -p engines/scumm/imuse mkdir -p engines/scumm/imuse_digi mkdir -p engines/scumm/insane mkdir -p engines/scumm/smush mkdir -p engines/agi mkdir -p engines/agos mkdir -p engines/cine mkdir -p engines/cruise mkdir -p engines/drascula mkdir -p engines/gob mkdir -p engines/gob/demos mkdir -p engines/gob/save mkdir -p engines/gob/sound mkdir -p engines/igor mkdir -p engines/igor/parts mkdir -p engines/kyra mkdir -p engines/lure mkdir -p engines/made mkdir -p engines/parallaction mkdir -p engines/queen mkdir -p engines/saga mkdir -p engines/sky mkdir -p engines/sky/music mkdir -p engines/sword1 mkdir -p engines/sword2 mkdir -p engines/touche mkdir -p gui mkdir -p graphics mkdir -p graphics/fonts mkdir -p graphics/scaler mkdir -p graphics/video mkdir -p graphics/video/coktelvideo mkdir -p sound mkdir -p sound/mods mkdir -p sound/softsynth mkdir -p sound/softsynth/opl mkdir -p backends/events/default mkdir -p backends/fs mkdir -p backends/fs/amigaos4 mkdir -p backends/fs/ds mkdir -p backends/fs/palmos mkdir -p backends/fs/posix mkdir -p backends/fs/ps2 mkdir -p backends/fs/psp mkdir -p backends/fs/symbian mkdir -p backends/fs/windows mkdir -p backends/fs/wii mkdir -p backends/keymapper mkdir -p backends/midi mkdir -p backends/plugins/dc mkdir -p backends/plugins/posix mkdir -p backends/plugins/sdl mkdir -p backends/plugins/win32 mkdir -p backends/saves mkdir -p backends/saves/default mkdir -p backends/saves/posix mkdir -p backends/saves/psp mkdir -p backends/timer/default mkdir -p backends/vkeybd mkdir -p common I know, you don't need all those "-p" but it looks more consistent ;-) svn-id: r44683
2009-07-12ScummVM/PS2 bugs fixed by this commit:Max Lingua
- general file write corruption (eg. ScummVM.ini, etc.) - COMI specific save crash / corruption (added option in engines/scumm/saveload.cpp to disable thumbnails on PS2, as emergency fallback in case the fix should prove to be insufficient) - implemented _screenChange logic (fixes grabOverlay & COMI popup menu) - fixed higher pitch (chipmunk fx) - made NET IRXs optional to allow it to work on fat PS2 without net+hd - fixed cursor restore on RTL - added "." as R2 to skip single lines of dialog - added write cache svn-id: r42404
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-03-06Implemented _overlayFormat in Gs2dScreenMax Lingua
Modified PS2FSNode openForReading -> createReadStream openForWriting -> createWriteStream Started Common::EventManager *OSystem::getEventManager() on backend side... svn-id: r39141
2009-03-04- 0.13.x friendly ;-)Max Lingua
- new GUI/themes - no more funky colors! - load/delete saved games - cleaned-up Makefile.PS2 : - dropped multiple extra paths - dropped deprecated deps (UCL, MPEG2) - all possible devices are supported to store, play and save games: - CD - HD - USB - MC - REMOTE ! (this could actually be anywhere on the internet as long as you run "ps2client listen" on the machine on the other side that hosts the games) - tested from : - ps2link - uLE - toxicOS - tested with: - bass - bs1 - mi1 - comi - indy4 - ft - ite - ihnm - elvira1 - dig - kyra - lure - simon2 - goblins1 Played all those games in 1 session using RTL. Very smooth, sub-second RTL experience. No crash! - new PAL/NTSC detection : we are now reading the flavor from PS2 ROM, it should work on all PS2 slim too - new PAL TV centering : no more missing chunk of games on top/bottom - we can now read the savefiles from Linux/SDL and other backends! if you add that you can read them from remote together with the games that you already have there, you can imagine the fun ;-) - we fully implement RTL with every games/engine - we nicely reboot / shutdown on quit - fully support for themes/savegames paths. Run from MC, play the games on remote and store your data on USB or HD. No limits! - universal write/read for every media (of course no write on CD/DVD!) - fully async / DMA read-write access to every media (even MC!) - optimized cache/read-ahead for every media - now COMI is fast and enjoyable from remote as it is from CD ;-) - non polluting MC storage, just 1 folder + 1 icon, so that you can copy all your settings / saved games to another MC in one go! svn-id: r39102
2009-01-23Renamed FSNode::openForReading / openForWriting to createReadStream / ↵Max Horn
createWriteStream, again to make ownership of the returned stream clear svn-id: r36014
2009-01-23Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to ↵Max Horn
createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them) svn-id: r36013
2009-01-22Got rid of several occurrences of gBitFormatMax Horn
svn-id: r35995
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-06Got rid of OSystem::colorToRGB and RGBToColor; added implementations for ↵Max Horn
OSystem::getOverlayFormat to several ports (pending testing by the porters) svn-id: r34912
2008-10-16OSYSTEM: Pushed out some port specific code from common/system.cpp to the ↵Max Horn
respective ports svn-id: r34812
2008-07-17Committing PS2 changes on behalf of the other Max ;)Max Horn
svn-id: r33089
2008-06-28Removed obsolete ::clearSoundCallback() codeMax Horn
svn-id: r32826
2008-03-03the ps2 changes from the 0.11.1 release, plus some bugfixes and cleanup.Robert Göffringmann
svn-id: r31034
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667