Yotam Barnoy
8d1f3f00ad
PSP: fixed bug exhibited in Gob engine with blacked out video frames
...
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-12-17 10:58:34 +00:00
Johannes Schickel
a1d99836cd
BACKENDS: Fix SVN keyword usage.
...
svn-id: r54584
2010-11-29 18:48:43 +00:00
Yotam Barnoy
50e6fe264b
PSP: reduced fragmentation by allocating overlay just once
...
svn-id: r54316
2010-11-18 11:32:53 +00:00
Max Horn
abe1959d36
COMMON: Simplify DECLARE_SINGLETON macro
...
This makes it possible to write
DECLARE_SINGLETON(foo);
instead of
DECLARE_SINGLETON(foo)
without causing a warning about an extra semicolon.
The extra semicolon helps some editors at parsing the C++ code.
svn-id: r54258
2010-11-16 08:23:13 +00:00
Yotam Barnoy
7c22545899
PSP: added image viewer for viewing images during games
...
svn-id: r53455
2010-10-14 13:19:32 +00:00
Jordi Vilalta Prat
8388e0dfea
JANITORAL: Clean trailing whitespaces.
...
svn-id: r53160
2010-10-12 02:18:11 +00:00
Yotam Barnoy
b006082cf1
PSP: moved VramAllocator to display_manager.cpp.
...
It didn't really belong in memory.cpp and we're going to want to include memory.h everywhere.
* * *
PSP: more Vram Allocator cleanup
svn-id: r52815
2010-09-20 14:05:32 +00:00
Yotam Barnoy
aa16c9e046
PSP: changed display options to Full Screen, Keep Aspect Ratio and Original 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-17 09:45:14 +00:00
Yotam Barnoy
3b4b00cf50
PSP: Factored out thread creation routines into PspThreadable class.
...
This should aid in further optimizations.
svn-id: r51685
2010-08-03 12:29:08 +00:00
Max Horn
703f0ca29c
SYSTEM: Unify OSystem::getSupportedFormats() signature
...
svn-id: r49838
2010-06-15 12:21:08 +00:00
Yotam Barnoy
d89da56f47
PSP: swapped order of checks in renderAll. It's a little cheaper this way.
...
svn-id: r49574
2010-06-10 14:01:30 +00:00
Yotam Barnoy
f770156dcc
PSP: fixed missing frame issue with kyrandia and possibly other games by calling updateScreen() from pollEvent() once in a while
...
svn-id: r49541
2010-06-09 14:15:51 +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
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
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
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