Unknown W. Brackets
f1896abf74
Atrac: Move buffer offset only if needed.
...
Hmm, need to manage this buffer smarter, though, when streaming. Right
now it's only getting it right enough to ask for the right amount of data,
really...
Fixes #8498 .
2016-01-24 09:09:07 -08:00
sum2012
bbeaf67cd6
Support port offset by @ANR2ME
...
Useful of adhoc of non-windows
2016-01-24 16:52:39 +08:00
daniel229
d032c3895b
Replace function in Omerta Chinmoku No Okite The Legacy
2016-01-24 11:58:20 +08:00
daniel229
0ab6c544b7
Replace function in unENDing Bloody Call
2016-01-24 11:55:56 +08:00
daniel229
80952d5e06
Replace function in ATV Offroad Fury Pro (US) demo
2016-01-24 11:53:46 +08:00
Unknown W. Brackets
9232a0cdb4
Merge branch 'font-subpixel'
2016-01-23 16:02:21 -08:00
Unknown W. Brackets
e8fb61cf43
Font: Fix clipping when x/y aren't 0.
...
The final X2/Y2 are relative to the glyph at x,y.
2016-01-23 16:01:25 -08:00
Unknown W. Brackets
b8a2a6647d
Font: Turns out this happens a lot.
2016-01-23 15:59:47 -08:00
Henrik Rydgård
fac38ba624
Merge pull request #8491 from unknownbrackets/font-subpixel
...
Respect subpixel offsets in PGF rendering
2016-01-24 00:58:01 +01:00
Unknown W. Brackets
621f86c7f1
Font: Blend after swizzling to 8 bit.
...
This is much closer, but the values still are slightly off.
2016-01-23 15:42:42 -08:00
Unknown W. Brackets
1860180c2e
Font: Implement subpixel rendering.
2016-01-23 15:37:19 -08:00
Unknown W. Brackets
9ff8d719de
Add function to determine ppst title.
2016-01-23 13:06:30 -08:00
Unknown W. Brackets
6a5096e546
Save the game title in savestates, if available.
...
So that the UI can show them. Old savestates still load fine, just don't
have the title.
2016-01-23 12:56:36 -08:00
Henrik Rydgard
e866d83547
Temporarily revert "Mpeg: Return errors when no audio is available."
...
This reverts commit c03f6c23ed
.
This caused trouble as seen in #8464 , but is probably right - needs other fixes though so
it will have to wait until after 1.2.0.
2016-01-23 17:08:01 +01:00
Henrik Rydgård
c306312b80
Merge pull request #8473 from unknownbrackets/hashmap
...
Don't trust symbol map func defines
2016-01-22 10:39:28 +01:00
Unknown W. Brackets
67450f2625
Don't trust symbol map func defines.
...
Unfortunately, some games dynamically load modules that all have the same
name, but different content. This tries to detect that situation better,
by at least not using the name if the address is different.
This will also track the right sizes for hashing, making incorrect
identification of functions much less likely.
Fixes #8420 .
2016-01-22 00:39:31 -08:00
Henrik Rydgård
2abf848a80
Merge pull request #8472 from unknownbrackets/mpeg-mono
...
Mpeg: Correctly handle mono audio in videos
2016-01-22 09:24:53 +01:00
Unknown W. Brackets
0b1102a622
Mpeg: Correctly handle mono audio in videos.
2016-01-21 23:19:03 -08:00
Unknown W. Brackets
bc48509f33
Add a bit more safety to func replacements.
...
In case somehow the replacement changes.
2016-01-21 22:17:25 -08:00
Henrik Rydgård
cd35684a46
Merge pull request #8454 from unknownbrackets/gpu-depth-round
...
Add pixel depth rounding to d3d9, gles2 and support forcing via config
2016-01-21 09:41:26 +01:00
Unknown W. Brackets
8713e532e0
arm64jit: Log if HI is set an an imm.
2016-01-20 23:26:49 -08:00
Unknown W. Brackets
79750ed1ad
Add a config setting to control depth quality.
...
For those who want 1x PSP like behavior.
2016-01-20 22:11:00 -08:00
Henrik Rydgard
dedcc149d8
ARM64: Fix typo in mfhi and mflo instructions. May help #8383
2016-01-19 23:26:43 +01:00
Henrik Rydgård
27fac6e226
Merge pull request #8451 from unknownbrackets/volume
...
Add a volume configuration setting
2016-01-19 21:59:35 +01:00
Unknown W. Brackets
1b72d3a67a
Atrac: Correct remaining frame count for streaming.
...
This makes more sense, I think this is the right value.
2016-01-18 22:05:01 -08:00
Unknown W. Brackets
600df17eb6
Atrac: Correct loop read pos with offset.
...
In case it doesn't loop from the start.
2016-01-18 18:11:25 -08:00
Unknown W. Brackets
3466fb1755
Atrac: Adjust loop/nonloop remaining full values.
...
These are tricky, but it seems like this is right.
2016-01-18 18:00:48 -08:00
Unknown W. Brackets
e2f2c1af90
Atrac: Mark the leading frame consumed on loop.
...
This is the frame we skip samples from. Might need smarter logic.
2016-01-18 18:00:48 -08:00
Unknown W. Brackets
3130b7a489
Atrac: Correct stream offset after non-loop end.
2016-01-18 18:00:47 -08:00
Unknown W. Brackets
036c965cf5
Atrac: Correct stream write offset after seek.
2016-01-18 18:00:46 -08:00
Unknown W. Brackets
4c25072328
Atrac: Never ask for more bytes than filesize.
2016-01-18 18:00:46 -08:00
Unknown W. Brackets
fb831b0f48
Add a global volume config setting.
...
This applies to all audio, UI, game, etc. Fixes #7749 .
2016-01-17 22:47:29 -08:00
Unknown W. Brackets
0a5bf7e12c
Add a means to apply volume in the resampler.
2016-01-17 22:34:48 -08:00
Unknown W. Brackets
59523f1327
Atrac: Fix logging of new atrac ID.
2016-01-17 20:10:11 -08:00
Unknown W. Brackets
516147680c
Merge pull request #8182 from LunaMoo/minor_cleaning
...
Move "Display Rotation" and stretching options to display layout editor.
2016-01-17 14:54:39 -08:00
Unknown W. Brackets
6d6c415f2b
Merge pull request #8443 from hrydgard/pseudo-shader-cache-gl-2
...
GL shader disk cache .. kind of
2016-01-17 14:28:05 -08:00
Henrik Rydgård
2e2904c796
Merge pull request #8442 from unknownbrackets/atrac-remaining
...
Atrac: Correct remaining values when looping
2016-01-17 22:40:08 +01:00
Unknown W. Brackets
face527d7e
Atrac: Correct remaining values when looping.
...
Otherwise it was going negative, which was wrong.
2016-01-17 13:22:12 -08:00
Henrik Rydgard
b39206f922
Use the app cache directory on Android for the shader cache.
2016-01-17 22:15:23 +01:00
Unknown W. Brackets
48729b90d8
Correct buffer size when writing a video range.
2016-01-17 12:57:27 -08:00
Unknown W. Brackets
f60aef2e16
Add a more specific interface for video frames.
...
Since we know more about them. No functional change yet.
2016-01-17 12:57:26 -08:00
Unknown W. Brackets
63aa4291eb
Atrac: Fix savestates.
...
Darn, totally forgot. This should populate acceptable values for old
streamed atrac as well.
2016-01-17 10:05:15 -08:00
Unknown W. Brackets
d5196b44f9
Minor tweaks.
2016-01-17 09:45:55 -08:00
Henrik Rydgard
3ba911bf07
Replace some calls to fopen with File::OpenCFile (utf8).
2016-01-17 15:59:20 +01:00
Henrik Rydgård
b2140d73e7
Merge pull request #8435 from unknownbrackets/atrac-stream
...
Calculate stream data info a bit more accurately
2016-01-17 10:30:09 +01:00
Henrik Rydgård
93490f5329
Merge pull request #8436 from unknownbrackets/atrac-lowlevel
...
Simplify lowlevel atrac decoding a lot
2016-01-17 10:26:59 +01:00
Unknown W. Brackets
74d40115a0
Mpeg: Initialize esBuffer to safer values.
...
Makes the audio work properly in Dan Ball Senki W (#4786.)
2016-01-17 00:31:22 -08:00
Unknown W. Brackets
c03f6c23ed
Mpeg: Return errors when no audio is available.
...
Before, we were only returning an error once, in an effort to log only
once. This meant sometimes games would not realize they needed to add
packets.
2016-01-17 00:22:46 -08:00
LunaMoo
55903cee77
Set default partial stretch only for blackberry devices without ws.
2016-01-17 09:21:14 +01:00
LunaMoo
6061ad7579
Some improvements, comments and polishing.
2016-01-17 09:21:12 +01:00
LunaMoo
e4271fe1bc
Integrate stretching options into display layout editor.
2016-01-17 09:18:41 +01:00
Unknown W. Brackets
849df69690
Atrac: Simplify lowlevel init more.
2016-01-16 23:12:12 -08:00
Unknown W. Brackets
a686ca69fd
Atrac: Simplify lowlevel decoding.
...
No need for all these variables that just spin and do nothing.
2016-01-16 23:03:22 -08:00
Unknown W. Brackets
a4d875cd2a
Atrac: Stop generating headers in lowlevel.
2016-01-16 22:46:24 -08:00
Unknown W. Brackets
45e6f9e9b7
Atrac: Fix lowlevel jointStereo usage.
...
Seems this value is supposed to be (channels << 3) form the lowlevel code,
which is believable. FFmpeg skips it anyway.
Also, need to set the flag so it gets used.
2016-01-16 22:35:39 -08:00
Unknown W. Brackets
4e20b61d3a
Atrac: Fix some confusing variable use in lowlevel.
2016-01-16 22:35:13 -08:00
Unknown W. Brackets
53e990e116
Atrac: Fix a leak from an unused var.
2016-01-16 22:34:45 -08:00
Unknown W. Brackets
a2417b4779
Atrac: Ensure correct fileoffset when adding data.
...
If we looped, especially in the middle or toward the end, this ensures the
data ends up in the correct place in our larger buffer.
2016-01-16 18:36:22 -08:00
Unknown W. Brackets
e41a1f476f
Atrac: Simulate ringbuffer for writable bytes.
...
Ringbuffer is not actually read from PSP RAM, and there are a couple
inaccuracies, but this should be a lot better than before.
2016-01-16 18:34:44 -08:00
Unknown W. Brackets
23523a2fdc
Atrac: Add missing output channels for AA3.
...
Although, default was 2 so this shouldn't change anything.
2016-01-16 18:10:57 -08:00
Unknown W. Brackets
d3ee48a770
Atrac: Make buffer init functions more consistent.
2016-01-16 18:10:35 -08:00
Henrik Rydgård
067095e2b4
Merge pull request #8410 from latot/mini
...
little changes
2016-01-17 00:44:07 +01:00
Unknown W. Brackets
cf9cb798fc
Atrac: Remove unused variables, cleanup some names.
2016-01-16 14:47:07 -08:00
Unknown W. Brackets
aac603534a
Reset failedDecode when the game sets new data.
...
Should not last forever.
2016-01-16 14:01:12 -08:00
Unknown W. Brackets
d97dfac594
Atrac: Log bad data more consistently.
...
Let's always give the HLE func in the actual error.
2016-01-16 13:59:38 -08:00
Unknown W. Brackets
7c07922076
Atrac: Clean up some logging.
2016-01-16 13:44:54 -08:00
Henrik Rydgård
6d3368b088
Merge pull request #8433 from hrydgard/whitelist-vertex-depth-rounding
...
Specify which games need vertex depth rounding instead of which ones don't
2016-01-16 19:01:37 +01:00
latot
e82620c572
remove
...
remove
2016-01-16 09:32:39 -03:00
Henrik Rydgård
07dadca89c
Merge pull request #8417 from unknownbrackets/atrac-second
...
Basic handling of sceAtrac second buffer
2016-01-16 11:48:47 +01:00
Henrik Rydgard
7e24801fc1
Specify which games need vertex depth rounding instead of which ones don't.
...
Vertex depth rounding is a not-fully-accurate hack, and most games are better off with the extra depth precision
of 24-bit Z than reducing it to a not-fully-accurate 16-bit. So let's only use it where necessary, like in Phantasy Star.
See issue #8187 .
2016-01-16 11:31:27 +01:00
Henrik Rydgard
03674fd571
Flip around how compat.ini works (now the settings are the categories, games are listed within)
2016-01-16 11:24:42 +01:00
Unknown W. Brackets
d3da6d8c6e
Atrac: Validate second buffer on reset position.
2016-01-12 00:19:35 -08:00
Unknown W. Brackets
a317b10777
Atrac: Keep track of the set second buffer.
...
Not actually used yet, but this way our context/etc. can be right.
2016-01-12 00:19:34 -08:00
Unknown W. Brackets
40bd31f50b
Atrac: Request second buffer data.
...
It's not used, but at least we ask for it properly.
2016-01-12 00:19:33 -08:00
Unknown W. Brackets
397094651c
Atrac: Skip copying to data_buf when unused.
2016-01-12 00:19:33 -08:00
Unknown W. Brackets
b29e856055
Atrac: Remove some unused calculations.
...
Halfway buffers now always calculate writableBytes realtime.
2016-01-12 00:19:32 -08:00
Unknown W. Brackets
0fc774927f
jit: Minor cleanups.
2016-01-10 12:28:29 -08:00
Henrik Rydgard
b4dd094f56
x86jit: Save a MOV in many cases of "jr ra"
2016-01-10 12:28:00 -08:00
latot
53ac6d98d8
Little things
...
back 1
other little change, join 2 in 1
2016-01-09 20:44:02 -03:00
Henrik Rydgard
94c91e199a
Minor GPU interface change needed for a WIP backend
2016-01-06 23:53:21 +01:00
Henrik Rydgard
e11d0a7e1c
Minor GPU interface cleanup
2016-01-06 23:49:02 +01:00
Unknown W. Brackets
2b5d38d2d0
Buildfix.
2016-01-06 07:20:41 -08:00
Unknown W. Brackets
b1e10894a4
Don't forget global setting when switching configs.
...
Fixes #8393 .
2016-01-05 23:02:19 -08:00
Unknown W. Brackets
02f6b3dec7
Refactor config setting iteration.
...
Cleaner.
2016-01-05 23:01:49 -08:00
Unknown W. Brackets
aa0055cea7
Track the running GPU backend separate from config.
...
This way we can change the config directly when we want to save a new
setting, rather than having hacks to use a temp var.
2016-01-05 22:37:28 -08:00
Henrik Rydgård
f0812297a6
Merge pull request #8376 from unknownbrackets/gpu-depth
...
Correct universally for clamped depth range
2016-01-04 09:55:02 +01:00
Unknown W. Brackets
abc0f27c95
Merge pull request #8373 from daniel229/replacefuncs
...
Replace functions in games
2016-01-03 17:11:59 -08:00
daniel229
1e984b48ef
update functions
2016-01-04 09:08:52 +08:00
Unknown W. Brackets
18cdf9f352
Remove the depth range hack.
...
Ths removes the game-specific hack to workaround depth issues.
2016-01-03 12:05:59 -08:00
Henrik Rydgård
5bd72ea268
Merge pull request #8347 from hrydgard/graphics-context
...
Graphics context
2016-01-03 18:54:58 +01:00
daniel229
de8503f83b
Replace function in Shinigami to Shoujo
2016-01-03 22:35:46 +08:00
daniel229
05612bbc25
Replace function in Little Busters! Converted Edition
2016-01-03 22:28:38 +08:00
daniel229
3b461a00cc
Replace function in ATV Offroad Fury Blazin' Trails
2016-01-03 22:20:50 +08:00
daniel229
107fa1c09a
Replace function in ATV Offroad Fury Pro
2016-01-03 22:13:42 +08:00
Unknown W. Brackets
18dbaac3c7
Fix savestate compat with older versions.
2016-01-02 18:50:59 -08:00
daniel229
ed12bb9c89
Fix flickering in SD Gundam G Generation Portable
2016-01-03 09:56:40 +08:00
Unknown W. Brackets
4fac4d364e
Atrac: Read non-streamed data from PSP RAM.
...
This should fix games that don't actually read into the RAM right away,
which is probably "incorrect" but works on the PSP, should should work in
PPSSPP.
2016-01-02 13:20:17 -08:00
Unknown W. Brackets
f0551b4591
Atrac: Add a flag to use PSP RAM (not yet used.)
2016-01-02 13:20:17 -08:00
Unknown W. Brackets
d0c7cc85de
Atrac: Update writableBytes/offset on adding data.
...
It should go in these places, even if GetStreamDataInfo is not called.
2016-01-02 13:20:16 -08:00
Unknown W. Brackets
2df6d7700e
Atrac: Refactor out some common validation.
...
This seems to be happening a lot.
2016-01-02 13:20:15 -08:00
Unknown W. Brackets
1b6dbd45e7
Atrac: Get stream info right for half/full buffers.
...
Improve it a bit for streamed buffers, but it's still not quite right.
2016-01-02 13:20:15 -08:00
Unknown W. Brackets
e60dc24d29
Atrac: Update some comments/docs on buffers.
2016-01-02 13:20:14 -08:00
Unknown W. Brackets
959015f823
Atrac: Correct typo.
2016-01-02 13:16:22 -08:00
Unknown W. Brackets
96d5e10549
Atrac: Seek ahead only one frame at end.
...
If it had a partial ending frame, it should go ahead one frame, not one
frame plus the partial ending.
2016-01-02 11:13:48 -08:00
Unknown W. Brackets
85ff5eb68a
Atrac: Adjust reads a bit earlier when skipping.
...
The frames we initially get may not start at 0, depending on how many
frames we're skipping. Of course...
2016-01-02 11:13:09 -08:00
Unknown W. Brackets
6fe5fe07a4
Atrac: Revert broken seeking fix.
...
This wasn't the right solution to getting the right packets.
2016-01-02 11:12:35 -08:00
daniel229
678ca9301a
Fix tutorial videoes in Tony Hawk P8
2016-01-02 13:33:22 +08:00
Unknown W. Brackets
182d281750
Atrac: Move currentSample on finish.
...
This seems to be what happens, and allows remaining frames to calculate
properly in some cases where it wasn't before.
2016-01-01 11:34:56 -08:00
Unknown W. Brackets
f88a82e0a6
Atrac: Respect null output even in fail workaround.
2016-01-01 11:34:33 -08:00
Unknown W. Brackets
dafb15d96e
Atrac: Clamp packets to valid data.
...
In case we don't have full valid data yet, return only the part of the
data that is valid. This allows FFmpeg to decode data it already has, as
necessary.
2016-01-01 11:33:48 -08:00
Unknown W. Brackets
cdca0492a4
Atrac: Update fileoffset handling per tests.
...
This accounts for the extra offset value.
2016-01-01 11:33:19 -08:00
Unknown W. Brackets
55e450fb1e
Atrac: Fix a typo in loop handling.
2016-01-01 10:41:21 -08:00
Unknown W. Brackets
2eb960a3ce
Atrac: remove double-read.
2016-01-01 10:24:52 -08:00
Unknown W. Brackets
448e18fba9
Atrac: Backfill buffer when seeking anywhere.
...
This corrects the output of sample data when seeking to arbitrary
locations. Otherwise, it's off for a frame or two.
2016-01-01 10:24:18 -08:00
Henrik Rydgård
95822a165d
Fix Mac build
2016-01-01 14:40:19 +01:00
Henrik Rydgard
3398288bd0
Some cleanup around input_state
2016-01-01 14:40:18 +01:00
Henrik Rydgard
15de6e6b98
GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
...
Needed to prevent clutter all over the codebase.
Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Unknown W. Brackets
7b217af59e
Net: don't double-delete thread on shutdown.
...
Prevents spurious logging / reporting.
2015-12-31 11:19:28 -08:00
Henrik Rydgård
955b8287fe
Merge pull request #8341 from unknownbrackets/display-minor
...
Allow games to set the display to black
2015-12-31 09:42:11 +01:00
gmvbif
281f0e18e6
Fixed some errors from PVS-Studio in Core project
...
FixedSizeQueue
- Added private operator=
- Changed signature of EndPop
Some changed to printf like functions.
Fixed typo in syn-att.c
2015-12-31 10:25:11 +03:00
Unknown W. Brackets
abede77059
Clean up some logging in sceDisplay.
2015-12-30 17:37:14 -08:00
Unknown W. Brackets
9327749f16
Allow setting the display off.
...
Final Fantasy Tactics does this to avoid some brief flicker.
2015-12-30 17:29:20 -08:00
Henrik Rydgård
f7c6a98d5c
Merge pull request #8337 from unknownbrackets/minor
...
Fix glCopyImageSubData even more
2015-12-30 21:56:55 +01:00
Unknown W. Brackets
f982e777e5
Stop logging alphatested draws for debug stats.
...
Measured a small perf hit here, and we're not really using these stats
much anymore.
2015-12-30 10:24:54 -08:00
Henrik Rydgård
290958060f
Merge pull request #8314 from unknownbrackets/remaster
...
Identify remasters based on UMD_DATA hash
2015-12-29 22:09:49 +01:00
Yoshi Sugawara
746ccfc215
changed order of freeing codex context pointer for older versions of ffmpeg
2015-12-29 13:30:15 -05:00
Yoshi Sugawara
e63d01e287
Merge remote-tracking branch 'upstream/master'
2015-12-29 11:04:41 -05:00
Yoshi Sugawara
08cc02d11e
removed spacing around pCodecCtx conditional check, added else clause to log that it was NULL when it was not expected to be
2015-12-29 10:54:43 -05:00
Yoshi Sugawara
4d2313ed9f
fixed indenting from soft spaces to hard tabs
2015-12-29 04:23:41 -05:00
Yoshi Sugawara
73c04e59fa
[iOS]: prevent crashing (EXC_BAD_ACCESS) when releasing FFMPEG context by adding NULL check on codec context pointer
2015-12-28 21:43:11 -05:00
Unknown W. Brackets
a563e606b3
Resolve PBP directories earlier in load process.
...
This allows us to initialize the memory AFTER determining the proper size,
in the case of remasters. It also avoids going through load twice.
2015-12-28 14:13:07 -08:00
Unknown W. Brackets
ea6afdff93
Avoid remaster vertex doubling in PPGe.
2015-12-28 14:13:07 -08:00
Unknown W. Brackets
1987c9e157
Dumb typo fix.
2015-12-28 14:13:06 -08:00
Unknown W. Brackets
a8d918b50a
Automatically mount exdata/ for remasters.
...
Using memstick/exdata/GAMEID/.
2015-12-28 14:13:05 -08:00
Unknown W. Brackets
cf1b8e5384
Identify remasters based on UMD_DATA hash.
2015-12-28 14:13:05 -08:00
sum2012
8debe785b8
Revert "Fix Yu-Gi-Oh 6 crash with edit card in Android version"
...
This reverts commit f659e60c8d
.
The crash is correctly fixed
2015-12-29 04:10:18 +08:00
Henrik Rydgård
6764ff295e
Merge pull request #8321 from unknownbrackets/jit-invalidate
...
Invalidate jit blocks on IO read and a few other places
2015-12-28 19:48:25 +01:00
Henrik Rydgård
d70125f953
Merge pull request #8319 from unknownbrackets/jit-branch
...
Jit: Always link RA, even if branch not taken
2015-12-28 19:47:14 +01:00
Henrik Rydgård
b117896b63
Merge pull request #8317 from unknownbrackets/minor
...
Minor fixes to SDL + resolution display
2015-12-28 19:46:18 +01:00
Henrik Rydgård
d5121cd974
Merge pull request #8306 from unknownbrackets/lang-fuzzy
...
Fuzzy match lang when user locale doesn't exist + XP support
2015-12-28 19:44:32 +01:00
Unknown W. Brackets
ddcfed1b5e
Jit: Invalidate on dmac copy as well.
2015-12-27 22:06:05 -08:00
Unknown W. Brackets
51016eb1c5
Jit: Invalidate after module loads.
...
Just to be safe, let's invalidate the entire range.
2015-12-27 22:05:53 -08:00
Unknown W. Brackets
3687be42bc
Jit: Invalidate blocks after IO reads.
...
Fixes #7617 .
2015-12-27 21:58:29 -08:00
Unknown W. Brackets
3ec7404d2d
Jit: Always link RA, even if branch not taken.
...
The ops don't write RA conditionally.
2015-12-27 20:47:15 -08:00
Unknown W. Brackets
0c46d7c081
Correct scratchpad memory range checks.
2015-12-27 14:29:12 -08:00
Unknown W. Brackets
1c852ac482
Remove old alphamask hack setting.
...
No longer used.
2015-12-27 12:04:53 -08:00
Unknown W. Brackets
86127b3d0d
Update armips to latest version.
...
The new version has some speed and other improvements.
2015-12-26 20:30:35 -08:00
Unknown W. Brackets
5fdc72f893
Fuzzy match lang when user locale doesn't exist.
...
So for example, fr_CA would select fr_FR rather than en_US. Wrong dialect
can sometimes be pretty far off, but it's still likely a better default.
2015-12-26 07:59:20 -08:00
Henrik Rydgård
b278299324
Merge pull request #8301 from unknownbrackets/savestates
...
Fix iOS savestate compatibility issue
2015-12-26 10:42:52 +01:00
Henrik Rydgård
dc94b8622b
Merge pull request #8308 from unknownbrackets/gamedata
...
Improve sceUtilityGamedataInstall a bit
2015-12-26 10:41:10 +01:00
Unknown W. Brackets
7471516d05
Gamedata: Reduce the transfer per call.
...
The standard value made my desktop drop frames without the data cached.
2015-12-25 23:24:04 -08:00
Unknown W. Brackets
34fc03068a
Gamedata: Create a basic PARAM.SFO in data dir.
...
Fixes #7903 . Have not really tested, just based on game behavior. Could
be inaccurate.
2015-12-25 21:54:14 -08:00
Unknown W. Brackets
e4c6a8398e
Gamedata: Copy in chunks instead of all at once.
...
This way the game's progress shows correctly. Also, correct the progress
calculation for < 100% (integer rounding.)
2015-12-25 21:39:24 -08:00
Unknown W. Brackets
fb9e5d4741
Gamedata: Refactor out file iteration.
...
Goal here is to process files in chunks, rather than one file at a time.
Files are often > 100MB, so we don't want to copy all in one frame.
2015-12-25 21:13:55 -08:00
Unknown W. Brackets
43e7d9dbc2
Gamedata: Use status delays in init/update/etc.
...
Like with savedata.
2015-12-25 21:01:13 -08:00
Unknown W. Brackets
7b921d3bb7
Avoid crash when savestate is for different ISO.
2015-12-24 14:31:23 -08:00
Henrik Rydgård
21bf73a612
Merge pull request #8281 from unknownbrackets/ui-tweaks
...
Add feature to auto-hide buttons after X seconds
2015-12-24 23:15:59 +01:00
Henrik Rydgård
27c6770c74
Merge pull request #8297 from unknownbrackets/warnings
...
Warnings fixes
2015-12-24 23:14:10 +01:00
Unknown W. Brackets
9b91713308
Right, Symbian doesn't have vector.data().
2015-12-24 13:21:03 -08:00
Unknown W. Brackets
f3df6b307f
Use a FileLoader for PBPs.
...
Improves consistency, caching, etc.
2015-12-24 12:21:40 -08:00
Unknown W. Brackets
a53f0360f3
Use a less leak prone interface for PBP reading.
2015-12-24 10:20:27 -08:00
Unknown W. Brackets
7b4315bc70
Respect MEMSIZE for ISOs also, cleanup.
2015-12-24 10:04:08 -08:00
Unknown W. Brackets
d6cd3bd5ad
Remove some unused variables.
2015-12-23 15:22:28 -08:00
Unknown W. Brackets
103b959d50
Fix a type comparison warning.
2015-12-23 15:22:13 -08:00
Unknown W. Brackets
d273deedeb
Use MEMSIZE SFO param to detect 64MB homebrew.
...
Now, use 32MB for normal games even in PSP-2000 mode, which is how real
firmware behaves.
2015-12-23 15:16:48 -08:00
Unknown W. Brackets
80cc5a4a9c
Default to hide controls after 20 seconds.
2015-12-20 16:14:08 -08:00
Unknown W. Brackets
a3f9b954d1
Add feature to auto-hide buttons after X seconds.
2015-12-20 12:40:47 -08:00
Unknown W. Brackets
7807598690
Mutex around PBP file access.
...
There's some thread safety issue in there, this makes it so we can read
thumbnails without crashing sometimes - fixes #7330 .
2015-12-20 09:35:50 -08:00
Unknown W. Brackets
edf3bf4a8e
Silence some unused result warnings.
2015-12-19 19:58:32 -08:00
Unknown W. Brackets
95abf332d1
Disable ISO RAM cache if out of memory.
...
Better to fail to preload than to crash.
2015-12-19 15:29:34 -08:00
Unknown W. Brackets
dd5c91108c
Use a background thread to load ISO into RAM.
...
This way we don't get slow startup. This will also cache the CSO data,
for example, rather than the raw data, using up less RAM. It might even
be reasonable to enable on 32-bit.
2015-12-19 15:23:25 -08:00
Henrik Rydgård
a2e09eada7
Merge pull request #8216 from unknownbrackets/sas-thread
...
Move SAS mixing to a thread
2015-12-06 18:59:09 +01:00
Unknown W. Brackets
f759a2a3fd
Sas: Sync result when mix calling thread returns.
2015-11-25 18:44:43 -08:00
Unknown W. Brackets
546590106f
Sas: Fail to mix when dispatch disabled.
2015-11-25 18:44:42 -08:00
Unknown W. Brackets
23441d12fb
Sas: Estimate time taken for mixing.
...
Tests seem to show it's not affected by mhz.
2015-11-25 18:44:34 -08:00
Unknown W. Brackets
75290cfd56
Sas: Enable SAS thread on multicore only.
2015-11-25 18:44:33 -08:00
Unknown W. Brackets
5a6c8b513c
Sas: Drain thread before reading/writing SAS state.
...
This should be the safest option, but I'm pretty sure some operations give
a BUSY operation or have different behavior, actually.
2015-11-25 18:44:32 -08:00
Unknown W. Brackets
fc8acc781e
Sas: Add config for SAS thread.
2015-11-25 18:44:31 -08:00
Unknown W. Brackets
0394319e89
Sas: Drain thread on savestate.
2015-11-25 18:44:30 -08:00
Unknown W. Brackets
6290ac6cbd
Sas: Process SAS on a separate thread.
...
Remaining issues:
* Need a config setting.
* Locking for voices / config?
* Locking for atrac interop?
2015-11-25 18:44:30 -08:00
Unknown W. Brackets
7bfe100b0f
Fix some unused variable warnings.
...
The CheckAlpha one looks like it will matter.
2015-11-25 16:11:53 -08:00
Henrik Rydgard
9825dad340
Zero deleted objects in the kernel object pool
...
Just doing this to narrow down the possible causes of our crashes in WaitSema/SignalSema that I can't reproduce and only have Android auto-reports of... The crash comments do mention the GTA games though.
2015-11-25 14:24:32 +01:00
Henrik Rydgard
06eee7bc1b
Oops, fix #8234
2015-11-25 14:23:39 +01:00
Henrik Rydgard
7dd631b7f2
Some code reformatting of the kernel object pool
...
Also deletes an unused [] operator
2015-11-25 13:00:29 +01:00
Henrik Rydgard
ee4261cf5c
Attempt to address some auto-reported crashes on Android
...
Still confused about the SignalSema/WaitSema ones.. they are still getting reported at high frequency
2015-11-25 12:05:32 +01:00
Unknown W. Brackets
723a2c98af
Minor warning fix.
2015-11-18 22:03:35 -08:00
Unknown W. Brackets
0264422b8d
Add a bit more error detection to the disk cache.
2015-11-18 21:56:07 -08:00
Unknown W. Brackets
475964133c
Make disk cache size a bit more flexible.
...
This way it will shrink to allow a few games to be cached simultaneously.
2015-11-18 21:56:06 -08:00
Unknown W. Brackets
9bec81b9c5
Enable the disk cache for URLs by default.
2015-11-18 21:56:05 -08:00
Unknown W. Brackets
f2cefebcb6
Garbage collect files when low on free cache space.
2015-11-18 21:56:04 -08:00
Unknown W. Brackets
df6cbafe0f
Measure free disk space to size block count.
2015-11-18 21:56:03 -08:00
Unknown W. Brackets
f0ec6fab4d
Reorganize disk cache to allow for dynamic size.
2015-11-18 21:56:02 -08:00
Henrik Rydgård
5b21c1aa39
Merge pull request #8174 from hrydgard/remove-option-depthrangehack
...
Remove the depth range hack option, turning it into an ugly game specific compatibility hack.
2015-11-15 23:05:20 +01:00
Henrik Rydgard
4b360a571c
Remove the depth range hack option, turning it into an ugly game specific compatibility hack.
...
I hate doing this, but it's not really better off as an option.
See #8171
2015-11-15 23:00:25 +01:00
Henrik Rydgård
54535ec72a
Merge pull request #8215 from unknownbrackets/savedata
...
Correct utilityData size calculation for "sizes" savedata call
2015-11-15 22:02:05 +01:00
Unknown W. Brackets
8c337850fc
Disallow thread termination in interrupts.
...
But only for certain SDK versions, as per testing.
2015-11-15 11:38:59 -08:00
Unknown W. Brackets
b71b1bbff9
Initially count the dir for save info size.
...
Should help #6068 , verified by the sizes test and JpcspTrace results.
2015-11-15 10:29:13 -08:00
Henrik Rydgård
99b7741b96
Merge pull request #8194 from unknownbrackets/atrac-remaining
...
Atrac: Correct outputs of sceAtracGetSoundSample()
2015-11-09 18:46:46 +01:00
Unknown W. Brackets
c22c181148
Sas: Automatically unpause voice on unset ATRAC3.
...
Thie fixes voices in Sol Trigger after skipping a cutscene, and matches
tests.
2015-11-09 08:25:35 -08:00
Unknown W. Brackets
5374e6a8fc
Sas: Add validation for ATRAC3 voices.
2015-11-09 08:25:28 -08:00