Age | Commit message (Collapse) | Author |
|
Bad timing can cause stereo status not to be picked up if at some point a MAD _header is not initialized.
svn-id: r52890
|
|
Without this fix, the ME allocates more and more memory with every seek until it can't work.
svn-id: r52868
|
|
The advantage is that we get to do inlining and even use lwl and lwr instructions where appropriate. We have to do it ourselves because the PSP doesn't tolerate built-in instructions, but also we have a more efficient memcpy than the lib's.
svn-id: r52817
|
|
PspMemorySwap is more specific ie. it only needs to be known by PSP files. It could be put in another file, but not worth the effort.
svn-id: r52816
|
|
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
|
|
svn-id: r52773
|
|
- Unify ELF loader handling in configure
- Rename ELF_LOADER_TARGET to USE_ELF_LOADER
svn-id: r52728
|
|
svn-id: r52564
|
|
svn-id: r52555
|
|
It's no longer needed after adding __may_alias__ flag in endian.h.
svn-id: r52481
|
|
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
|
|
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
|
|
Also removed criticalSection calls from elf-loader.cpp, since now streams are used so the criticalSections are automatic.
svn-id: r52206
|
|
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
|
|
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
|
|
abstracted MIPS loader now)
svn-id: r52085
|
|
elf32.h files
svn-id: r51966
|
|
svn-id: r51961
|
|
backends/plugins
svn-id: r51828
|
|
svn-id: r51826
|
|
svn-id: r51716
|
|
This should aid in further optimizations.
svn-id: r51685
|
|
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
|
|
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: r51465
|
|
specific things into their own files and testing on the PS2
svn-id: r51345
|
|
svn-id: r50989
|
|
svn-id: r50982
|
|
svn-id: r50981
|
|
svn-id: r50980
|
|
svn-id: r50844
|
|
svn-id: r50129
|
|
svn-id: r50116
|
|
This should make debugging easier, especially for users.
svn-id: r50113
|
|
svn-id: r50112
|
|
svn-id: r50111
|
|
svn-id: r49903
|
|
svn-id: r49852
|
|
svn-id: r49838
|
|
svn-id: r49756
|
|
svn-id: r49682
|
|
rate must be returned from our member variable, not from the header value which disappears.
svn-id: r49680
|
|
svn-id: r49574
|
|
complete.
svn-id: r49572
|
|
calling updateScreen() from pollEvent() once in a while
svn-id: r49541
|
|
fixed amount to the time counter.
svn-id: r49485
|
|
the decoder fails to load, MAD is used instead. Disable with DISABLE_PSP_MP3.
svn-id: r49319
|
|
svn-id: r49258
|
|
priorities.
svn-id: r49200
|