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
Sven Hesse
5886a0cc77
Removing a debug warning() and adding some comments
...
svn-id: r48236
2010-03-11 19:47:59 +00:00
Sven Hesse
8191092c18
Loading the intro videos tira.imd and tirb.imd as early PreIMD
...
svn-id: r48235
2010-03-11 06:15:51 +00:00
Sven Hesse
c8d5f21010
Adding support for the early Fascination IMD format
...
svn-id: r48234
2010-03-11 06:15:23 +00:00
Sven Hesse
31f980ffde
Adding support for the very primitive and simply early IMD format used in Fascination
...
svn-id: r48233
2010-03-11 06:14:52 +00:00
Andrew Kurushin
802ed6eb40
Fix bug #2963556 : SAGA: Memory leaks #2
...
isomap-malloc to Common::Array conversation
svn-id: r48232
2010-03-10 21:44:58 +00:00
Max Horn
05b8c5b9c5
Replace mutex_up/mutex_down methods by Common::StackLock
...
svn-id: r48231
2010-03-10 21:05:48 +00:00
Max Horn
43abd0e019
cleanup
...
svn-id: r48230
2010-03-10 21:03:50 +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
Max Horn
8d1431a5ab
AGOS: cleanup
...
svn-id: r48227
2010-03-10 20:56:54 +00:00
Johannes Schickel
80fae481b0
Fix a valgrind warning.
...
It is *not* a good idea to pass a reference to a list entry to List::remove.
Since List::remove will remove *all* occurances of that list entry, it will
also invaldiate the reference, resulting in invalid memory reads after the
entry has been removed from the list, when List::remove will continue to
search the rest of the list for more occurances of the same entry.
svn-id: r48225
2010-03-10 20:33:38 +00:00
Andrew Kurushin
91e7d27468
Fix bug #2963556 : SAGA: Memory leaks
...
svn-id: r48224
2010-03-10 17:05:25 +00:00
Paul Gilbert
ca64698408
Split up the SceneResources class into a generic common set, with specific versions each for M4 and Mads, and merged the MadsSceneInfo data into it
...
svn-id: r48223
2010-03-10 11:43:48 +00:00
Max Horn
77592b5690
Fix warning
...
svn-id: r48222
2010-03-10 11:26:27 +00:00
Max Horn
ae3cf39763
Patch #2967256 : Bashisms in configure break build on Solaris
...
svn-id: r48219
2010-03-10 10:57:03 +00:00
Torbjörn Andersson
65585f6433
Silenced some harmless cppcheck warnings about unreachable code after a return.
...
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.
svn-id: r48218
2010-03-10 06:39:23 +00:00
Max Horn
fc50408ce3
DRASCULA: Simplify playFLI and its subroutines
...
svn-id: r48217
2010-03-09 23:36:18 +00:00
Max Horn
c6f752ce30
DRASCULA: Simplified some code, cleanup
...
svn-id: r48216
2010-03-09 23:35:56 +00:00
Max Horn
da81c58af1
DRASCULA: Some cleanup; turn some global C++ objects into members of DrasculaEngine
...
svn-id: r48215
2010-03-09 23:35:30 +00:00
Torbjörn Andersson
d9c4ee9376
Initialise 'releaseAdd' to avoid a Valgrind warning in Write20() when the
...
emulator is initialised.
svn-id: r48214
2010-03-09 05:03:38 +00:00
Robin Watts
99e032e954
Fix missing definition of gBitFormat.
...
svn-id: r48213
2010-03-09 01:20:23 +00:00
Johannes Schickel
3eab993d03
Only use CXX_UPDATE_DEP_FLAG for .S file rule, in case it is defined. (Thus matching the .cpp etc. file rules).
...
svn-id: r48210
2010-03-09 00:45:24 +00:00
Robin Watts
b84beeb602
Add missing MKDIR command. This was upsetting the WinCE build.
...
I can't see how this should upset any other build, and every other rule
seems to have this (or a variant of this) anyway, so...
svn-id: r48209
2010-03-09 00:43:31 +00:00
Johannes Schickel
6dacac2187
Conistenlty use USE_NASM instead of using HAVE_NASM in config.mk (this matches all the external library use too).
...
svn-id: r48208
2010-03-08 23:56:59 +00:00
Max Horn
bc2b90f43b
Workaround for bug #1878514 : COMI: Glitch when turning pages in recipe book
...
svn-id: r48207
2010-03-08 23:36:59 +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
Max Horn
3366a19c37
Fix bug #2872076 (MIXER: Division by 0 in rate conversion if w/o soundcd)
...
svn-id: r48203
2010-03-08 21:54:32 +00:00
Max Horn
38bf3d0d3c
SCI: Make EngineState parameter to INV_SEL explicit
...
svn-id: r48202
2010-03-08 21:54:07 +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
5e8743d0d6
SCI: Made some stuff static
...
svn-id: r48199
2010-03-08 20:12:17 +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
Johannes Schickel
56bd4a6e18
Use a template for hq2x and hq3x instead of using #include and defines.
...
svn-id: r48197
2010-03-08 19:16:50 +00:00
Johannes Schickel
807f0223d7
Fix compilation.
...
svn-id: r48196
2010-03-08 19:07:31 +00:00
Max Horn
e90f074177
Add new aspect ratio scaler variant, based on the Normal2xAspect ARM code
...
svn-id: r48195
2010-03-08 10:32:45 +00:00
Max Horn
706769a3dc
Rewrite Normal1xAspect (untested, may be broken)
...
svn-id: r48194
2010-03-08 10:32:28 +00:00
Max Horn
569273040e
Remove redundant code
...
svn-id: r48193
2010-03-08 10:32:05 +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
deec3408a1
Move some var declarations into '#ifdef USE_NASM'
...
svn-id: r48190
2010-03-08 10:30:39 +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
78b6bed8db
Code formatting
...
svn-id: r48188
2010-03-08 10:29:52 +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
Max Horn
f24cc1c8be
Tweak makeVOCDiskStream
...
* now takes a SeekableReadStream *pointer* like (almost) all other
audiostream factories
* fix potential memory leak in it
* rename takeOwnershipOfStream to disposeAfterUse for consistency
svn-id: r48184
2010-03-08 10:27:42 +00:00
Johannes Schickel
50116130ef
Show an error message in case multiple OPL outputs are created instead of using an assert.
...
The new DBOPL emulator we are using should support multiple instances though. We *might*
consider allowing as many instances as the user wants. Of course since the original
games only had one OPL chip available, that should not be required. Also just in case
we might allow real hardware as playback device that would be out of the question again
too.
svn-id: r48183
2010-03-08 00:54:05 +00:00
Johannes Schickel
b8901a4741
Add a slight comment when the DBOPL sources where synched with DOSBox.
...
svn-id: r48182
2010-03-08 00:34:53 +00:00
Johannes Schickel
e941780d39
Use memset instead of a custom loop for zeroing the sample buffer.
...
svn-id: r48181
2010-03-08 00:34:29 +00:00