Commit Graph

7888 Commits

Author SHA1 Message Date
Unknown W. Brackets
ef566a3adf SaveState: Clean up some constant usage. 2016-02-28 18:21:57 -08:00
Henrik Rydgard
cef0a6311d ISOFileSystem: Remove the "restrictTree" functionality which is now obsolete with lazy directory loading. 2016-02-29 01:13:57 +01:00
Henrik Rydgard
6f9755d498 ISOFileSystem: Lazily load directory information as needed. Should speed up game icon loading a bit. 2016-02-28 12:02:01 +01:00
Henrik Rydgard
0b95c4bbd1 ISOFileSystem: Move the level into the tree nodes 2016-02-28 11:51:15 +01:00
Henrik Rydgard
afc8736b9a ISOFileSystem: Move the startsector and dirsize information into the tree nodes 2016-02-28 11:46:21 +01:00
Henrik Rydgard
0458c7a590 ISOFileSystem coding style cleanup to reduce future diffs 2016-02-28 11:39:57 +01:00
Henrik Rydgard
6ef779402a Update PPGE atlas (font used for in-game save dialogs etc) 2016-02-15 19:24:39 +01:00
Henrik Rydgard
e954768a84 sceAtrac: Work-around crash with older versions of FFMPEG when free-ing.
Better leaking than dead, although there has to be a better way.
2016-02-14 17:19:32 +01:00
Henrik Rydgard
eb3706c20a Fix version parsing for upgrade checker for short versions like "1.2" 2016-02-14 16:24:33 +01:00
Unknown W. Brackets
8bea240c25 Atrac: Specify endianness for reset info. 2016-02-10 21:02:41 -08:00
zhyk
fa6fe85dc3 Fix audio lag in Qt without SDL. 2016-02-10 23:34:38 +08:00
Henrik Rydgard
d60f5ba285 Fix minor memory leak in JIT block cache 2016-02-10 15:43:36 +01:00
Henrik Rydgard
35b6c7341b Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
Henrik Rydgård
6accac3b33 Merge pull request #8556 from unknownbrackets/diskcache
Correct recovery of locked disk cache files
2016-02-07 11:42:57 +01:00
Henrik Rydgård
eb72f16701 Merge pull request #8559 from unknownbrackets/savestate
Limit savestate screenshots to top left of screen
2016-02-07 11:42:37 +01:00
Henrik Rydgård
329d58e3db Merge pull request #8557 from unknownbrackets/hle-minor
Handle floats and sign extension in HLE logs
2016-02-07 11:42:29 +01:00
Unknown W. Brackets
76ed1e10c4 Limit savestate screenshots to top left of screen.
Sometimes framebuffers have extra stuff outside, we don't need that in the
screenshot.  Fixes #8552.
2016-02-07 00:04:12 -08:00
Unknown W. Brackets
0e85225e29 Bring back the depth range hack. 2016-02-06 20:28:45 -08:00
Unknown W. Brackets
e75af43f0a Handle floats and sign extension in HLE logs.
In some cases, we were previously logging sign-extended error codes.  This
handles that better using type_traits.
2016-02-06 19:53:56 -08:00
Unknown W. Brackets
0517d3721c Correct recovery of locked disk cache files.
We were keeping the index when creating a new file, rather than clearing
it.  Additionally, flush before all reads - in case of overlap.
2016-02-06 19:49:33 -08:00
Henrik Rydgard
b68f2deca8 Set the reverb type when loading a savestate. May help #8528 2016-01-31 11:20:26 +01:00
Henrik Rydgård
f14dcb15db Merge pull request #8532 from unknownbrackets/armjit-linking
armjit: Fix block exit safety writes
2016-01-31 10:09:07 +01:00
Henrik Rydgård
dc407023fb Merge pull request #8533 from unknownbrackets/diskcache
Lock the HTTP diskcache while in use
2016-01-31 10:06:51 +01:00
Unknown W. Brackets
666f1898c6 Fix crash loading old savestates.
Oops.  Forgot that this could be saved as -1 when loading an old
savestate, and then resaving it.

Fixes #8531.
2016-01-30 21:39:25 -08:00
Unknown W. Brackets
288a5c7aab Lock the diskcache while in use.
This prevents it from being corrupted due to a crash.
2016-01-30 20:50:37 -08:00
Unknown W. Brackets
eebe3e7bce armjit: Fix block exit safety writes.
This ensures we don't link to invalid blocks, fixes BKPTs on relinking,
and fixes BKPTs when relinking a prelinked block.

Should help #8524.
2016-01-30 20:44:57 -08:00
daniel229
9385fed5d2 Enable extra ram support for Saints Row 2 alpha 2016-01-30 10:07:00 +08:00
Henrik Rydgård
194e9eddec Merge pull request #8503 from unknownbrackets/hle-minor
Minor logging adjustments, not used yet
2016-01-27 12:29:43 +01:00
Unknown W. Brackets
65a5c92c7e Io: Change some logging flags.
Not used yet, just prep work.
2016-01-24 22:52:19 -08:00
Unknown W. Brackets
3a64388eee Support 64-bit args/return in new HLE logging.
Pulls in a new header, unfortunately, but this is a mostly clean way to do
it.
2016-01-24 22:22:23 -08:00
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