Commit graph

62 commits

Author SHA1 Message Date
Yotam Barnoy
8b59e45e6e PSP: added option for render by callback and fixed up and cleaned up debug 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-17 07:22:26 +00:00
Yotam Barnoy
f036b6b9d2 PSP:Implemented fingolfin's suggestion for cleaning up debugging code
svn-id: r48792
2010-04-25 15:12:24 +00:00
Max Horn
87028c546f PSP: Fix code formatting using astyle
svn-id: r48634
2010-04-12 07:28:54 +00:00
Yotam Barnoy
9a2eac7eee PSP: refactoring/redesign of the backend
svn-id: r48632
2010-04-12 06:49:05 +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
Max Horn
c97ee14a65 Remove last traces of OSystem::getOutputSampleRate()
svn-id: r48229
2010-03-10 21:01:44 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Yotam Barnoy
832779497e PSP: added keypad to d-pad. Allows control of AGI,SCI0, and Indy3
svn-id: r46810
2009-12-31 23:59:07 +00:00
Max Horn
bfc553081c PSP: Fix whitespace usage and code formatting
svn-id: r46126
2009-11-24 14:18:46 +00:00
Yotam Barnoy
b8b042d4bf PSP: Replaced virtual keyboard and cleaned up makefiles in the process.
svn-id: r46120
2009-11-24 10:33:30 +00:00
Yotam Barnoy
f79d3bb7cd PSP: small fix for cache coherency affecting nippon and some others. Trunk only.
svn-id: r45328
2009-10-22 06:50:59 +00:00
Yotam Barnoy
739b462753 PSP palette fix for bsword1: fixed cache coherency issue
svn-id: r45165
2009-10-16 12:45:53 +00:00
Joost Peters
15e427c2c2 whitespace changes aka. buildbot rebuilding :)
svn-id: r44831
2009-10-09 16:35:37 +00:00
Max Horn
42120ed626 Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
2009-10-08 19:41:38 +00:00
Joost Peters
fd5cf8f2db Cleaned up version of patch #2872626: "PSP: flicker part 2"
svn-id: r44646
2009-10-04 22:59:39 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Joost Peters
0a36b67a1f reduce display list size - we only use a fraction of it.
svn-id: r44418
2009-09-27 20:46:38 +00:00
Joost Peters
6a5bd81599 PSP: improved suspend/resume support [patch from bluddy]
svn-id: r44276
2009-09-23 16:11:23 +00:00
Joost Peters
161659052b cleanup
svn-id: r44253
2009-09-22 09:37:39 +00:00
Joost Peters
58f7f2132e Apply patch #2863653: "PSP: Flickering problem fix" + some formatting changes and fixing several incorrect depth values.
svn-id: r44251
2009-09-22 09:31:19 +00:00
Joost Peters
978d9dfd10 some cleanup
svn-id: r43618
2009-08-21 22:44:49 +00:00
Joost Peters
9a3218e673 unify OSystem_PSP_GU and OSystem_PSP (which was hopelessly outdated and mostly useless)
svn-id: r43615
2009-08-21 22:30:35 +00:00
Joost Peters
7d350b215c fix compilation after RGB API changes
svn-id: r43606
2009-08-21 19:11:02 +00:00
Joost Peters
bbac75bc1c PSP: throttle the number of updateScreen() calls
svn-id: r43539
2009-08-19 16:23:44 +00:00
Joost Peters
a35056b555 Implement setCursorPalette(), correct hasFeature() <-> getFeatureState() mixup.
svn-id: r43519
2009-08-18 18:06:50 +00:00
Joost Peters
ed2a733b2a PSP: Make R-trigger act as a context sensitive modifier key, remap ENTER to triangle
svn-id: r43517
2009-08-18 17:12:01 +00:00
Joost Peters
62bcb2e51b Commit (slightly) modified version of patch #2831248: Allow suspend/resume for PSP
svn-id: r43477
2009-08-17 12:57:37 +00:00
Max Horn
bb28ed7b7a Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;
also intentionally broke WinCE and Symbian ports (in an obvious way that
can be undo by commenting out some text) -- hopefully this will get the
maintainers' attention during the next release cycle, unlike my emails

svn-id: r41932
2009-06-28 19:58:11 +00:00
Joost Peters
1a5f531d23 Allow building of psp backend via configure (Part 1 - Still need to add the fixup + EBOOT packing steps).
Thanks dhewg and fingolfin for assistance. :)

svn-id: r39693
2009-03-25 21:58:16 +00:00
Joost Peters
cd6a141815 report kFeatureOverlaySupportsAlpha (knowing that nothing queries it, and it may even be phased out at some point).
svn-id: r38476
2009-02-18 13:30:35 +00:00
Joost Peters
6103e821c6 remove InitScalers() call, since the PSP port doesn't use scalers, and we no longer need to set gBitFormat.
svn-id: r36333
2009-02-14 18:17:27 +00:00
Max Horn
8f16458e9b Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
2009-01-23 03:41:36 +00:00
Max Horn
e4b013f616 Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to 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-23 03:30:40 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
edf9f24926 Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
2008-11-06 15:02:50 +00:00
Max Horn
f238a12b27 Got rid of OSystem::ARGBToColor and colorToARGB
svn-id: r34911
2008-11-06 14:27:13 +00:00
Joost Peters
f12b76b7fb add PSPSaveFileManager class (subclassed DefaultSaveFileManager)
svn-id: r34891
2008-11-03 22:21:34 +00:00
Max Horn
f1a0d7dfb2 Code formatting fixes
svn-id: r34827
2008-10-19 21:06:26 +00:00
Max Horn
36311eefb4 OSYSTEM: Pushed out some port specific code from common/system.cpp to the respective ports
svn-id: r34812
2008-10-16 17:18:15 +00:00
Joost Peters
3930783928 move save directory detection/creation from main() to OSystem_PSP::initBackend()
svn-id: r34326
2008-09-04 08:34:02 +00:00
Joost Peters
912684de2d remove deprecated SCUMMVM_SAVEPATH define -- pass default savepath to DefaultSaveFileManager ctor
svn-id: r34324
2008-09-04 08:16:39 +00:00
Joost Peters
926df065f4 changes for new Mixer API
svn-id: r32967
2008-07-08 17:20:26 +00:00
Max Horn
c45d632f3b Patch ##1956946 (Audio::Mixer internal API revision) with some tweaks
svn-id: r32828
2008-06-28 15:28:29 +00:00
Max Horn
3b1a60c3b2 Removed obsolete ::clearSoundCallback() code
svn-id: r32826
2008-06-28 15:13:54 +00:00
Max Horn
b2aea51d58 Call InitScalers instead of setting gBitFormat directly
svn-id: r31242
2008-03-26 14:56:51 +00:00
Joost Peters
2c67073084 Implement OSystem_PSP::getFilesystemFactory() and OSystemPSP::getTimeAndDate()
svn-id: r31195
2008-03-19 11:07:27 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
c4c481fecf Removed backends/intern.h
svn-id: r30611
2008-01-22 14:16:02 +00:00
Johannes Schickel
c9a7cbf6ee Cleanup.
svn-id: r29584
2007-11-20 19:59:29 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00