Commit Graph

3482 Commits

Author SHA1 Message Date
Yotam Barnoy
6884ffc291 PSP: added preliminary support for using ME hardware to play MP3 files. If the decoder fails to load, MAD is used instead. Disable with DISABLE_PSP_MP3.
svn-id: r49319
2010-05-30 09:47:00 +00:00
Neil Millstone
989c1fdddd DS: Various fixes to allow the DS port to compile on DevkitARM r30 and libnds 1.4.3.
svn-id: r49313
2010-05-29 20:30:54 +00:00
Torbjörn Andersson
1c32db1e08 Removed some unused variables, found by cppcheck.
svn-id: r49306
2010-05-29 08:09:47 +00:00
Yotam Barnoy
5f53683cab PSP: fixed a screen shake bug
svn-id: r49258
2010-05-27 06:21:37 +00:00
Yotam Barnoy
f7ba7b4684 PSP: fixed issue with handling of EOS. Caused crashes.
svn-id: r49257
2010-05-27 06:11:50 +00:00
Yotam Barnoy
8b54efd8a6 PSP: implemented basic file cache. Turns out the PSP reads 1 byte as fast as it reads 1 KB.
svn-id: r49243
2010-05-26 14:43:25 +00:00
Yotam Barnoy
1caf98700b PSP: to fix the audio, I cleaned up the audio thread and changed the thread priorities.
svn-id: r49200
2010-05-24 18:20:16 +00:00
Yotam Barnoy
55e29af78a PSP: switched to using slightly faster delay and getMillis
svn-id: r49179
2010-05-24 11:41:45 +00:00
Yotam Barnoy
cfbf1a8a67 PSP: turn off psp audio thread again. Must have tested it wrong.
svn-id: r49178
2010-05-24 09:19:40 +00:00
Yotam Barnoy
87eb782496 PSP: switched to the way SDL does things in the audio thread to get rid of clicking. PSP's thread is still more efficient.
svn-id: r49175
2010-05-24 06:57:58 +00:00
Yotam Barnoy
50847c02a6 PSP: moved timer thread to backends/timer/psp
svn-id: r49173
2010-05-24 03:05:17 +00:00
Yotam Barnoy
734042a32c PSP: commented out new PSP audio. Still has some clicking issues
svn-id: r49169
2010-05-23 19:32:56 +00:00
Yotam Barnoy
e5d239b779 PSP: changed thread stack sizes to prevent crashes in COMI
svn-id: r49168
2010-05-23 19:31:38 +00:00
Yotam Barnoy
e321e25514 PSP: forgot to add a file
svn-id: r49162
2010-05-23 17:35:31 +00:00
Yotam Barnoy
20c654f63b PSP: replaced SDL's timer with much simpler and more efficient PspTimer class
svn-id: r49155
2010-05-23 11:48:21 +00:00
Yotam Barnoy
7a6a2a62ee PSP: switched from SDL's audio to my own thread. Removed needless blocking while playing and made it generally more efficient. To deactivate, simply comment out USE_PSP_AUDIO
svn-id: r49149
2010-05-23 05:51:32 +00:00
Paweł Kołodziejski
47d6e9eab7 sync with parent sdl backend
svn-id: r49134
2010-05-21 18:33:24 +00:00
Eugene Sandulenko
01c55efc95 SDL: Split quit() method into deinit() so error codes could be returned.
svn-id: r49131
2010-05-21 18:22:11 +00:00
Eugene Sandulenko
e7330aa0af Fix spelling
svn-id: r49130
2010-05-21 18:18:52 +00:00
Yotam Barnoy
23eae4e139 PSP: Had to switch to different way of using callbacks as last one wasn't 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-20 10:36:54 +00:00
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
Joost Peters
9891932d56 Add back README.PSP
svn-id: r49052
2010-05-16 18:05:47 +00:00
Yotam Barnoy
dd8aa85eb5 PSP: fixed debug function. Compiler optimization was calling the destructor before the end of the function, causing incorrect stack output.
svn-id: r49013
2010-05-12 14:11:28 +00:00
Lars Persson
dce50f2e2d Error.cpp needs to be included in the application mmp also for error translation.
svn-id: r48999
2010-05-10 19:44:19 +00:00
Andre Heider
be0885e9d1 Revert r48979. Instead, make the HQ scalers depend on the normal ones. Configure reflects that now.
svn-id: r48996
2010-05-10 17:25:12 +00:00
Andre Heider
998531a022 Since configure allows HQ scalers without the normal onces, allow this combination.
svn-id: r48979
2010-05-09 12:30:20 +00:00
Lars Persson
37e5691f1e Remove unsupported platforms for UIQ3
svn-id: r48978
2010-05-09 12:14:16 +00:00
Andre Heider
a3e428f6db Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to configure.
svn-id: r48977
2010-05-09 11:00:17 +00:00
Lars Persson
cff786341f Updated build files, version nr and added v5 compability flag
svn-id: r48976
2010-05-09 10:31:32 +00:00
Fabio Battaglia
b99508da84 N64: Remove a potentially dangerous define in makefile
svn-id: r48975
2010-05-09 09:50:19 +00:00
Johannes Schickel
caf31ee5af Replace various strncpy usages by strlcpy.
svn-id: r48955
2010-05-05 17:54:12 +00:00
Andre Heider
eb429872d8 Fixed warnings when building a GC binary.
svn-id: r48877
2010-04-30 16:49:57 +00:00
Frantisek Dufka
664fdfc914 remove unused files
svn-id: r48862
2010-04-29 21:35:11 +00:00
Yotam Barnoy
5cb9f7ca2e PSP: added profiling support to custom makefile for ease of use
svn-id: r48826
2010-04-28 14:13:19 +00:00
Yotam Barnoy
6ccdb3cba0 PSP: Added support for profiling using configure:
svn-id: r48804
2010-04-26 12:12:42 +00:00
Max Horn
516fd1dc76 PSP: Cleanup trace.h a bit
svn-id: r48802
2010-04-26 10:28:38 +00:00
Yotam Barnoy
731a9eda68 PSP: A couple of small fixes to the debugging support
svn-id: r48793
2010-04-25 15:14:57 +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
Andre Heider
845d1869d8 abort() when calling setPalette() or grabPalette() in non CLUT8 modes.
svn-id: r48757
2010-04-20 21:16:58 +00:00
Andre Heider
d1bb33fbac Round up the game texture dimensions if the requested size is incompatible to the hardware.
svn-id: r48751
2010-04-20 18:24:14 +00:00
Robin Watts
626784f28e Add note about fix for 1.1.1 to README-WinCE.txt
svn-id: r48739
2010-04-19 23:01:26 +00:00
Andre Heider
e6b835bce4 Fix lockScreen() for 16bit modes.
svn-id: r48728
2010-04-19 20:26:06 +00:00
Andre Heider
eb05f83a08 Reinit the video mode when showing the console on an abnormal exit. This was not sccessful under some circumstances.
svn-id: r48727
2010-04-19 20:25:20 +00:00
Max Horn
b191acf7cc DS: Merge changes from 1.1.0 branch into trunk
svn-id: r48677
2010-04-16 20:49:16 +00:00
Max Horn
fcb8719e93 Replace ancient maemo patch with the one from 1.1.0 branch
svn-id: r48660
2010-04-15 21:45:03 +00:00
Joost Peters
fe566293e7 remove useless getObjectName() method
svn-id: r48640
2010-04-12 11:43:14 +00:00
Joost Peters
f966f3184f add const keyword to some methods
svn-id: r48639
2010-04-12 10:19:35 +00:00
Max Horn
fc40276ed7 formatting
svn-id: r48638
2010-04-12 09:14:37 +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