Commit Graph

3526 Commits

Author SHA1 Message Date
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
Johannes Schickel
9c8813b6d4 Commit of patch #2980597 "GSoC: GUI: Text input + Right Alt (bug #2978736)".
svn-id: r48524
2010-04-04 22:08:18 +00:00
Robin Watts
38e2506d4e Updated README-WinCE.txt with release details.
svn-id: r48484
2010-04-03 11:33:27 +00:00
Oystein Eftevaag
0d83045b5f Updated XCode project
svn-id: r48479
2010-04-03 00:44:38 +00:00
Lars Persson
09da7ca563 Updated readme with history of releases
svn-id: r48456
2010-04-01 09:00:39 +00:00
Robin Watts
660950dadd Tweak WinCE port readme file to correct version numbers.
svn-id: r48451
2010-03-31 23:35:22 +00:00
Max Horn
6545e728b6 Patch #2938173: LinuxMoto update 23012010
svn-id: r48362
2010-03-22 23:04:55 +00:00
Max Horn
92c896d883 Patch #2973290: Semicolon cleanup
svn-id: r48359
2010-03-22 20:28:08 +00:00
Marcus Comstedt
e6619b5792 Ack, typo!
svn-id: r48352
2010-03-21 10:35:15 +00:00
Marcus Comstedt
487eebf9cf Autodetect long V numbers and shorten them.
svn-id: r48351
2010-03-21 10:34:10 +00:00
Johannes Schickel
9d4cb7c23c Add missing tokenizer.h include.
svn-id: r48326
2010-03-20 16:45:11 +00:00
Neil Millstone
6fb96d7e90 DS: Changing version number on title screen
svn-id: r48322
2010-03-20 15:52:31 +00:00
Max Horn
9015be8165 Also remove Win32PluginProvider::addCustomDirectories, as it obviously isn't being used
svn-id: r48304
2010-03-19 13:55:25 +00:00
Max Horn
23547d6041 DC: Removing unneeded DCPluginProvider::addCustomDirectories
svn-id: r48301
2010-03-19 13:46:59 +00:00
Yotam Barnoy
b9d876e23a PSP: removed unneeded overload of addCustomDirectories()
svn-id: r48299
2010-03-19 11:55:18 +00:00
Max Horn
ad8584d25c One more try to make DC & PSP compile again
svn-id: r48290
2010-03-18 20:19:58 +00:00
Max Horn
156a106ebc Trying to fix compilation (porters should review these changes, seems I uncovered some lurking old breakage)
svn-id: r48289
2010-03-18 16:53:20 +00:00
Max Horn
81a698d0a0 Convert some occurences of StringList to StringArray;
try to fix compile error in GP2x code

svn-id: r48286
2010-03-18 15:44:59 +00:00
Max Horn
c934642bdb COMMON: Move typedef StringList from str.h to new header str-array.h
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.

svn-id: r48282
2010-03-18 15:09:24 +00:00
Max Horn
ef93d6921e Make keymapper compilable again
svn-id: r48278
2010-03-18 15:05:14 +00:00
Max Horn
0e0e11e641 Fix warnings
svn-id: r48277
2010-03-18 15:04:57 +00:00
Johannes Schickel
40562798d6 Fix our DECLARE_SINGLETON macro to conform to the C++ specs.
We need to use a namespace Common { } there to make strict C++ compilers
like clang++ and comeau happy. I also added a slight comment about why
that is needed to the macro definition and a note that you need to use
it from the global namespace.

svn-id: r48254
2010-03-13 21:55:49 +00:00
Max Horn
314a119b9d GP2x: Oops, forgot to checkin this file
svn-id: r48244
2010-03-12 10:31:58 +00:00
Max Horn
d3c29a62ae GP2X: Try to fix compile error
svn-id: r48243
2010-03-12 00:46:54 +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
Max Horn
5af51ba9a1 N64: code formatting
svn-id: r48228
2010-03-10 20:58:09 +00:00
Robin Watts
575ddc434c Add missing include that caused build failures with Normal1xAspect and
Normal2xAspect being undefined.

svn-id: r48206
2010-03-08 22:25:38 +00:00
Robin Watts
9bf5bbf9bf Move gBitFormat definition so it works in both sizes of an ifdef.
svn-id: r48205
2010-03-08 22:14:57 +00:00
Lars Persson
688288ec7d Re-enable the arm asm costume drawer
svn-id: r48201
2010-03-08 21:33:23 +00:00
Max Horn
c554c8541e WINCE: Rewrote SmartphoneLandscape scaler C version to match what the ARM assembler version does (untested)
svn-id: r48198
2010-03-08 20:11:44 +00:00
Max Horn
2cdf8996f3 Rename PocketPCLandscapeAspect to Normal1xAspect and move it to
graphics/scaler/aspect.cpp

svn-id: r48192
2010-03-08 10:31:42 +00:00
Max Horn
0fc137cdf2 Rename PocketPCPortrait scaler to DownscaleHorizByThreeQuarters,
and move it to graphics/scaler.

svn-id: r48191
2010-03-08 10:31:09 +00:00
Max Horn
a558e60fec SCALERS: Get rid of MAKE_WRAPPER; make RGBtoYUV internal
svn-id: r48189
2010-03-08 10:30:23 +00:00
Max Horn
d239d5c2f8 SCALERS: Change 'bitformat' template params to 'colormasks';
get rid of some #defines

svn-id: r48187
2010-03-08 10:29:35 +00:00
Max Horn
28c6c600d4 Move some aspect ratio related stuff to graphics/scaler/aspect.h
svn-id: r48186
2010-03-08 10:29:00 +00:00
Max Horn
9fb27a26f8 Remove unnecessary #includes
svn-id: r48185
2010-03-08 10:28:14 +00:00
Fabio Battaglia
5f6e0c3e94 N64: Use mips timer to partially simulate an RTC for the n64 port
svn-id: r48170
2010-03-06 13:49:20 +00:00
Fabio Battaglia
4f74853f93 N64: Reduce N64 mouse sensibility a bit
svn-id: r48169
2010-03-06 12:59:19 +00:00
Fabio Battaglia
2741705758 N64: change how asserts are printed
svn-id: r48153
2010-02-28 13:09:09 +00:00
Jordi Vilalta Prat
22e5a557b7 Added the svn:keywords property to some files missing it.
svn-id: r48148
2010-02-27 17:02:58 +00:00
Fabio Battaglia
9fcbfc180e N64: added list of required devices to use the port
svn-id: r48146
2010-02-27 11:44:35 +00:00
Fabio Battaglia
8658040553 N64: correct control buttons naming
svn-id: r48145
2010-02-27 11:08:42 +00:00
Fabio Battaglia
deab6f83cd N64: Add a preliminary port specific readme
svn-id: r48144
2010-02-27 10:34:33 +00:00
Neil Millstone
bd2e65a02f DS: Attempting to rename Makefile to makefile. Not sure why it hasn't been a problem in the past.
svn-id: r48138
2010-02-26 17:55:27 +00:00
Neil Millstone
4a8ab4b075 DS: Merging accross changes from branch1-0-0 into trunk.
svn-id: r48136
2010-02-26 17:29:18 +00:00
Fabio Battaglia
6876e1f9de N64: some input related cleanup
svn-id: r48129
2010-02-25 20:58:52 +00:00
Fabio Battaglia
2ca06e3e0a N64: force screen update after hiding overlay
svn-id: r48108
2010-02-21 19:02:45 +00:00
Fabio Battaglia
4577a9038a N64: some input related cleanup
svn-id: r48106
2010-02-21 15:01:06 +00:00
Fabio Battaglia
52f66d54cc N64: send ascii code for numpad keys
svn-id: r48105
2010-02-21 14:34:22 +00:00
Fabio Battaglia
6af6d66e2b N64: Simulate numpad using C-Buttons on the gamepad
svn-id: r48104
2010-02-21 13:54:58 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Max Horn
8ac5d00d57 Hide ZipArchive implementation, only expose it via factory functions: makeZipArchive()
svn-id: r48040
2010-02-13 11:56:30 +00:00
Fabio Battaglia
6938ca072a Add N64 backend to credits
svn-id: r47988
2010-02-08 11:44:29 +00:00
Fabio Battaglia
822e59288f N64: remove some unused code
svn-id: r47886
2010-02-04 20:17:03 +00:00
Chris Apers
a13af0270b Updated so that code compiles again
svn-id: r47769
2010-01-31 18:14:20 +00:00
Fabio Battaglia
bff00f002b N64: added comments and slight cleanup
svn-id: r47709
2010-01-30 12:57:57 +00:00