aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/osys_psp.cpp
AgeCommit message (Collapse)Author
2014-02-18PSP: Make GPL headers consistent in themselves.Johannes Schickel
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2012-06-20Merge pull request #246 from lordhoto/osystem-void-buffersJohannes Schickel
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-16ALL: Let overlay related methods in OSystem take a void * and use a proper ↵Johannes Schickel
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support.
2012-06-16BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.Johannes Schickel
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte ↵Johannes Schickel
*" 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-09COMMON: Add tm_wday to our TimeDate structMatthew Hoops
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
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.
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-17PSP: Make logMessage() implementation independent from parent class(es)Max Horn
2011-06-08BACKENDS: Shuffle backends class hierarchy and module initializationMax Horn
2011-06-07PSP: Use OSystem's 'slots' for timer/savefile managerMax 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-06-04BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState callsMax Horn
2011-06-04COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPaletteMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-03BACKENDS: Allow various files to use stuff from time.hMax Horn
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-12-17PSP: fixed bug exhibited in Gob engine with blacked out video framesYotam Barnoy
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-11-18BACKENDS: Implement logging API proposed by Max on -devel.Johannes Schickel
This commits a slightly modified patch from my patch tracker item #3104630 "OSYSTEM: Add logging API as proposed by Max on -devel". I was not able to test compilation on Android and SamsungTV, since there is no toolchain for those on buildbot (or I was too blind to find them). svn-id: r54339
2010-10-23PSP: Fix up imageViewer to pause gameYotam Barnoy
The only real way to pause the game is to take over the event loop, which is a little sad... Also fixed a possible crash when loading an image that was to big, by only rendering when we have _init set. svn-id: r53741
2010-10-14PSP: made image viewer reset to the first image between engine loadsYotam Barnoy
svn-id: r53460
2010-10-14PSP: added image viewer for viewing images during gamesYotam Barnoy
svn-id: r53455
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-06-21PSP: moved RTC to singleton to allow usage by classes other than OsystemYotam Barnoy
svn-id: r50116
2010-06-16PSP: got rid of SDLYotam Barnoy
svn-id: r49903
2010-06-15SYSTEM: Unify OSystem::getSupportedFormats() signatureMax Horn
svn-id: r49838
2010-06-10PSP: switched to psp semaphores rather than SDL's. Removal of SDL is almost ↵Yotam Barnoy
complete. svn-id: r49572
2010-06-09PSP: fixed missing frame issue with kyrandia and possibly other games by ↵Yotam Barnoy
calling updateScreen() from pollEvent() once in a while svn-id: r49541
2010-06-07PSP: found bug in fast getMillis() implementation. Fixed it by adding a ↵Yotam Barnoy
fixed amount to the time counter. svn-id: r49485
2010-05-24PSP: to fix the audio, I cleaned up the audio thread and changed the thread ↵Yotam Barnoy
priorities. svn-id: r49200
2010-05-24PSP: switched to using slightly faster delay and getMillisYotam Barnoy
svn-id: r49179
2010-05-24PSP: turn off psp audio thread again. Must have tested it wrong.Yotam Barnoy
svn-id: r49178
2010-05-24PSP: switched to the way SDL does things in the audio thread to get rid of ↵Yotam Barnoy
clicking. PSP's thread is still more efficient. svn-id: r49175
2010-05-23PSP: commented out new PSP audio. Still has some clicking issuesYotam Barnoy
svn-id: r49169
2010-05-23PSP: replaced SDL's timer with much simpler and more efficient PspTimer classYotam Barnoy
svn-id: r49155
2010-05-23PSP: switched from SDL's audio to my own thread. Removed needless blocking ↵Yotam Barnoy
while playing and made it generally more efficient. To deactivate, simply comment out USE_PSP_AUDIO svn-id: r49149
2010-05-17PSP: added option for render by callback and fixed up and cleaned up debug ↵Yotam Barnoy
mechanism. This allows for about 4% speedup since we no longer need to wait for VSYNC in our main thread. I'll activate it as soon as I've tested it out properly. svn-id: r49055
2010-04-25PSP:Implemented fingolfin's suggestion for cleaning up debugging codeYotam Barnoy
svn-id: r48792
2010-04-12PSP: Fix code formatting using astyleMax Horn
svn-id: r48634
2010-04-12PSP: refactoring/redesign of the backendYotam Barnoy
svn-id: r48632
2010-03-11Replace Audio::MixerImpl::setOutputRate with a new 'sampleRate' param to the ↵Max Horn
MixerImpl constructor svn-id: r48238
2010-03-10Remove last traces of OSystem::getOutputSampleRate()Max Horn
svn-id: r48229
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-12-31PSP: added keypad to d-pad. Allows control of AGI,SCI0, and Indy3Yotam Barnoy
svn-id: r46810
2009-11-24PSP: Fix whitespace usage and code formattingMax Horn
svn-id: r46126
2009-11-24PSP: Replaced virtual keyboard and cleaned up makefiles in the process.Yotam Barnoy
svn-id: r46120
2009-10-22PSP: small fix for cache coherency affecting nippon and some others. Trunk only.Yotam Barnoy
svn-id: r45328