Age | Commit message (Collapse) | Author |
|
The problem that caused the crash in BS2 had to do with GCC making improper assumptions about our code. Specifically, the alignment trick we use for READ_UINT32/16 allows some targets(e.g. MIPS) to generate better code, but it also goes against ANSI C aliasing rules, which prohibit the sharing of addresses between a struct and another variable value. Using -fno-strict-aliasing tells GCC not to assume strict ANSI C aliasing and also unfortunately prevents it from making some good optimizations.
This change is probably needed for other platforms as well -- the crash on the PSP was simply a very rare coincidence.
svn-id: r52473
|
|
of ScummVM window. Just don't change actual mouse position
svn-id: r52472
|
|
This enables translators to use a different translation for these strings in
1x mode (e.g. 320x200 or 320x240) and in 2x or 3x modes.
svn-id: r52461
|
|
updateScreen() itself skips redraws when called too frequently. With
the right timing and number of consecutive calls this can result in
missing gfx updates, so lets abuse pollEvent() to check for overdue
redraws.
svn-id: r52456
|
|
svn-id: r52435
|
|
Disable aspect ratio correction for games which have a native 240px
height res, this fixes Maniac Mansion NES on dingux.
svn-id: r52422
|
|
svn-id: r52405
|
|
Most of the codebase is the same, but the toolchain and libs are different.
Support for Caanoo specific features will follow, I just want to get the build support into trunk for now.
svn-id: r52400
|
|
I was missing a flag (PSP_O_TRUNC) causing the config file to be opened on top of the old file, causing file corruption.
svn-id: r52387
|
|
The last PSP optimization made reading much faster, but writing isn't buffered so saving the config file was VERY slow.
I decided the cleanest way to do this would be to add BWS and use BSRS.
svn-id: r52327
|
|
device.
svn-id: r52321
|
|
svn-id: r52309
|
|
svn-id: r52280
|
|
svn-id: r52277
|
|
svn-id: r52275
|
|
Turns out that stdio is about 30x(!) slower than using the PSP's functions. Very significant optimization.
svn-id: r52271
|
|
svn-id: r52270
|
|
warnings
svn-id: r52262
|
|
svn-id: r52210
|
|
versions from working.
MAD doesn't give enough information to decide the length of the PCM data -- it provides the Layer but not the MPEG version. I had to read the MP3 header directly to figure it out. This fixes issues with any MP3 files that might be used in any of the games.
svn-id: r52191
|
|
svn-id: r52161
|
|
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
|
|
A bad function call during initialization of a stream was causing rare instances where the ME failed to decode some MP3 data.
svn-id: r52101
|
|
svn-id: r52089
|
|
access for the GameCube port.
svn-id: r52074
|
|
svn-id: r51977
|
|
svn-id: r51976
|
|
svn-id: r51784
|
|
svn-id: r51781
|
|
graphics/ inclusion
svn-id: r51779
|
|
This should aid in further optimizations.
svn-id: r51685
|
|
svn-id: r51656
|
|
svn-id: r51640
|
|
svn-id: r51638
|
|
svn-id: r51637
|
|
Add -mno-thumb to OPT_SPEED to override the -mthumb from OPT_SIZE.
svn-id: r51636
|
|
svn-id: r51581
|
|
forum post 29/7/10
svn-id: r51567
|
|
svn-id: r51558
|
|
svn-id: r51556
|
|
svn-id: r51555
|
|
Found that the particular implementation was producing messy assembly for misaligned copies. Improved it and also fixed up wrapping the memcpy, which would cause endless prints in case memcpy testing is asked for.
svn-id: r51503
|
|
If a game CD has a scummvm.ini file with at least one game domain in
it, the normal autodetection is now bypassed and a menu of only the
games in the .ini file is presented instead. The descriptions of the
games are taken from the .ini file, but icons are still scanned for
in the old fashion.
Note that previously ScummVM would read global options from the
scummvm.ini file on the boot disc (if present), but now global options
are instead taken from the scummvm.ini on the game disc (in case of
a disc swap).
svn-id: r51480
|
|
Implement platform-specific variants of createConfigReadStream()
and createConfigWriteStream(), instead of inheriting the BaseBackend
definitions. Nonstandard behavious is as follows:
* createConfigWriteStream() always returns 0 (read-only filesystem)
* createConfigReadStream() returns an empty MemoryReadStream instead
of NULL if scummvm.ini does not exist. This is to make sure that
loadDefaultConfigFile() always clears out any old config data, as
I'll want to restart config parsing from scratch after a disc
swap.
svn-id: r51478
|
|
svn-id: r51474
|
|
svn-id: r51473
|
|
This should help avoid situations where MODULE_DIRS is not set to a
complete list of build dirs (which causes troubles with the automatic
header dependency detection logic).
On the long run, we should replace the relevant code by a macro or also
use rules.mk for this (with yet another if/else case add to it).
svn-id: r51467
|
|
svn-id: r51466
|
|
svn-id: r51465
|
|
Often, a client has more than one available port. Pick the first one
that isn't already in use. For instance, on my computer client 17 is
the "Emu10k1 WaveTable", and it has four available ports. If, say,
aplaymidi is already playing on port 17:0, ScummVM will use port 17:1
instead. Otherwise the two programs will mess up each others
instruments and controller settings.
Of course, in reality I doubt that anyone will run two different MIDI
playing applications at once.
svn-id: r51380
|