aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp
AgeCommit message (Collapse)Author
2010-08-18PSP: fixed issue in ME MP3 player that prevented different MP3 layers and ↵Yotam Barnoy
versions from working. MAD doesn't give enough information to decide the length of the PCM data -- it provides the Layer but not the MPEG version. I had to read the MP3 header directly to figure it out. This fixes issues with any MP3 files that might be used in any of the games. svn-id: r52191
2010-08-17PSP: changed display options to Full Screen, Keep Aspect Ratio and Original ↵Yotam Barnoy
Resolution This greatly simplifies the display options and makes them more practical. Original resolution will try to fit the game to the screen pixel-to-pixel, and will revert to full screen if it fails. Keep AR maximizes height and adjusts the width accordingly. This works very well with 320x200 games (AR of 1.6) which is close to the PSP's 1.7, but not so well with 320x240/640x480 (AR of 1.3). Full Screen is still default. svn-id: r52138
2010-08-15PSP: slight fix to ME MP3 playerYotam Barnoy
A bad function call during initialization of a stream was causing rare instances where the ME failed to decode some MP3 data. svn-id: r52101
2010-08-03PSP: Factored out thread creation routines into PspThreadable class.Yotam Barnoy
This should aid in further optimizations. svn-id: r51685
2010-07-30PSP: optimized memcpy some more and fixed memcpy testingYotam Barnoy
Found that the particular implementation was producing messy assembly for misaligned copies. Improved it and also fixed up wrapping the memcpy, which would cause endless prints in case memcpy testing is asked for. svn-id: r51503
2010-07-29BUILD: Unify how MODULE_DIRS is computed for backendsMax Horn
This should help avoid situations where MODULE_DIRS is not set to a complete list of build dirs (which causes troubles with the automatic header dependency detection logic). On the long run, we should replace the relevant code by a macro or also use rules.mk for this (with yet another if/else case add to it). svn-id: r51467
2010-07-29BUILD: Compile & link certain files only for specific BACKEND valuesMax Horn
svn-id: r51465
2010-07-18trying to fix psp build for case sensitive filesystems.Andre Heider
svn-id: r50989
2010-07-18PSP: switched to using my memcpyYotam Barnoy
svn-id: r50982
2010-07-18PSP: forgot test filesYotam Barnoy
svn-id: r50981
2010-07-18Made memcpy faster but not as fast with uncached mem.Yotam Barnoy
svn-id: r50980
2010-07-13PSP: Typos in trace.hYotam Barnoy
svn-id: r50844
2010-06-21PSP: Whitespace fix (and rewrap overlong line for readability)Max Horn
svn-id: r50129
2010-06-21PSP: moved RTC to singleton to allow usage by classes other than OsystemYotam Barnoy
svn-id: r50116
2010-06-21PSP: errors from both ScummVM and the PSP port now print to file by default. ↵Yotam Barnoy
This should make debugging easier, especially for users. svn-id: r50113
2010-06-21PSP: removed default 'using ME' messageYotam Barnoy
svn-id: r50112
2010-06-21PSP: switched loader to use PSP's debug mechanismYotam Barnoy
svn-id: r50111
2010-06-16PSP: got rid of SDLYotam Barnoy
svn-id: r49903
2010-06-15PSP: fixed up PowerManager and removed dependency on SDLYotam Barnoy
svn-id: r49852
2010-06-15SYSTEM: Unify OSystem::getSupportedFormats() signatureMax Horn
svn-id: r49838
2010-06-15PSP: fixed invisible bug in power callbackYotam Barnoy
svn-id: r49756
2010-06-15PSP: fixed SCI freeze issue by using recursive mutexesYotam Barnoy
svn-id: r49682
2010-06-15PSP: fixed bug in hardware MP3 that caused crash in broken sword. The sample ↵Yotam Barnoy
rate must be returned from our member variable, not from the header value which disappears. svn-id: r49680
2010-06-10PSP: swapped order of checks in renderAll. It's a little cheaper this way.Yotam Barnoy
svn-id: r49574
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-30PSP: added preliminary support for using ME hardware to play MP3 files. If ↵Yotam Barnoy
the decoder fails to load, MAD is used instead. Disable with DISABLE_PSP_MP3. svn-id: r49319
2010-05-27PSP: fixed a screen shake bugYotam Barnoy
svn-id: r49258
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-24PSP: moved timer thread to backends/timer/pspYotam Barnoy
svn-id: r49173
2010-05-23PSP: commented out new PSP audio. Still has some clicking issuesYotam Barnoy
svn-id: r49169
2010-05-23PSP: changed thread stack sizes to prevent crashes in COMIYotam Barnoy
svn-id: r49168
2010-05-23PSP: forgot to add a fileYotam Barnoy
svn-id: r49162
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-20PSP: Had to switch to different way of using callbacks as last one wasn't ↵Yotam Barnoy
working well. Seems to be working well this way, so I activated it. If need be, deactivate it by commenting out USE_DISPLAY_CALLBACK svn-id: r49115
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-05-16Add back README.PSPJoost Peters
svn-id: r49052
2010-05-12PSP: fixed debug function. Compiler optimization was calling the destructor ↵Yotam Barnoy
before the end of the function, causing incorrect stack output. svn-id: r49013
2010-05-09Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to ↵Andre Heider
configure. svn-id: r48977
2010-04-28PSP: added profiling support to custom makefile for ease of useYotam Barnoy
svn-id: r48826
2010-04-26PSP: Added support for profiling using configure:Yotam Barnoy
svn-id: r48804
2010-04-26PSP: Cleanup trace.h a bitMax Horn
svn-id: r48802
2010-04-25PSP: A couple of small fixes to the debugging supportYotam Barnoy
svn-id: r48793
2010-04-25PSP:Implemented fingolfin's suggestion for cleaning up debugging codeYotam Barnoy
svn-id: r48792
2010-04-12add const keyword to some methodsJoost Peters
svn-id: r48639