Henrik Rydgard
68fc776fa7
Work around some crashes I got trying to load a GTA:LCS savestate from 2014.
...
However, the savestate still loads to a black screen, although background audio is working.
2015-10-04 10:34:15 +02:00
Henrik Rydgard
eb4ca0cf81
Add a compatibility flag to revert sceAtrac to before #6976 . Makes audio work in GTA again.
...
Hopefully we will find a better fix in the future.
Also see issue #7863 .
2015-09-27 11:51:46 +02:00
Henrik Rydgard
b07b002040
Introduce "Compatibility Flags".
...
These should be used very restrictively, see comment in Compatibility.h.
Should help #8004 , by disabling depth rounding in Fight Night round 3.
2015-09-27 01:23:20 +02:00
Henrik Rydgard
8996f58693
Generate save state IDs for homebrew using the elf or directory name where applicable.
2015-09-25 19:27:40 +02:00
Henrik Rydgard
351baa101c
Some Android warning fixes
2015-09-22 18:30:57 +02:00
sergiobenrocha2
5ec87f3459
Improve detection of for shared libs in both sdl and Qt (zlib, libzip, snappy and glew).
2015-09-16 00:59:31 -03:00
Henrik Rydgård
d34219e0ba
Merge pull request #7968 from sum2012/patch-1
...
Enabled some code on proAdhoc by @lightfirst
2015-09-13 23:32:51 +02:00
sum2012
14bbfc8c96
Enabled some code on proAdhoc by @lightfirst
...
Fix #7962
2015-09-13 21:07:13 +08:00
Unknown W. Brackets
91632a1ea5
Add some fallback logic when scheduling dies.
2015-09-12 13:36:52 -07:00
Unknown W. Brackets
c03b163537
Move ThreadQueueList to a separate file.
...
Not reused anywhere, but just so it's a little cleaner.
2015-09-12 13:03:15 -07:00
Unknown W. Brackets
a1139a4f45
Add some comments to the thread queue handling.
2015-09-12 12:57:44 -07:00
Henrik Rydgård
33c39636c8
Don't use deprecated FFMPEG codec IDs. Tries to solve #7955 .
...
Simpler alternative to #7959 .
2015-09-12 10:45:03 +02:00
Unknown W. Brackets
e0f85a9c6b
Native merge part 1: skip native/ in includes.
2015-09-06 12:19:33 -07:00
Henrik Rydgard
1c67de0c21
We don't need a third set of sized integer typedefs, get rid of it.
2015-09-06 19:10:08 +02:00
Henrik Rydgard
72ae497350
Remove glstate usage except in the GPU implementation. Prepare for moving it into PPSSPP.
2015-09-06 12:42:15 +02:00
Henrik Rydgard
2430c283a5
More GPU cleaning, removing uses of GPUState.h where not needed.
...
Want to get rid of direct accesses to GPUState in modules that may be reused in
my future next-gen backends, that will reformat display lists into command lists that will
then be optimized and executed, out of sync with the real GPUState.
Candidate modules that may be reused in full are Framebuffer and Depal, possibly TextureCache to some degree.
2015-07-29 12:37:49 +02:00
Henrik Rydgard
cde585a29a
Include dependency cleanup
2015-07-29 11:48:20 +02:00
Henrik Rydgård
0726912f09
sceDisplay, GPUState cleanup and comments
2015-07-25 09:46:11 +02:00
Henrik Rydgard
828c740fd5
Correct a few comments, thanks unknown.
2015-07-24 23:27:23 +02:00
Henrik Rydgård
0763dbc641
Cleanup and comments in sceGe.cpp
2015-07-24 19:52:42 +02:00
Unknown W. Brackets
cd842ac21f
Validate blocklinking in icache invalidate all.
...
Normally blocks are invalidated on entry. But when blocklinking is on,
we don't validate on all entries.
This fixes Tales of Rebirth crashes (#7868.)
2015-07-19 13:08:32 -07:00
Henrik Rydgard
d1bbc1d3c0
More regcache fixes. ML_IMM works now although there is another stability issue somewhere.
2015-07-11 16:59:13 +02:00
Henrik Rydgard
9937b41461
ARM64: Fix vi2uc and vi2us and enable them.
2015-07-11 16:46:11 +02:00
Henrik Rydgard
b9090a25b2
Reduce logspam in Burnout
2015-07-05 23:50:06 +02:00
Unknown W. Brackets
8fdceba7ca
Add timing for all the basics.
...
This way we can see overall stats for a frame.
2015-07-03 12:05:08 -07:00
Unknown W. Brackets
909e4b9bd8
Switch lo and hi so that low comes first.
...
This way we can treat it as a single 64-bit value.
2015-06-28 10:42:19 -07:00
Henrik Rydgard
7e55b3ec96
Fix some GCC compiler warnings about potentially uninitialized variables (compilers are getting too clever..)
2015-06-14 11:32:13 +02:00
Henrik Rydgard
00094e0fcc
More work on savedata UI.
2015-06-12 11:40:50 +02:00
Henrik Rydgård
ee1299b8f2
Merge pull request #7778 from unknownbrackets/frame-profiler
...
Improve frame profiler display a bit more
2015-05-28 19:02:46 +02:00
Unknown W. Brackets
d323dd472f
Account for io sync time in io statistics.
2015-05-27 20:02:09 -07:00
Jan Beich
803e02e224
Core: assume modern Unix has tm_gmtoff
...
Core/HLE/sceRtc.cpp:471:14: error: invalid argument type 'char *(*)(int, int)' to
unary expression
srcTick -= -timezone * 1000000ULL;
^~~~~~~~~
Core/HLE/sceRtc.cpp:498:14: error: invalid argument type 'char *(*)(int, int)' to
unary expression
srcTick += -timezone * 1000000ULL;
^~~~~~~~~
Core/HLE/sceRtc.cpp:1035:16: error: invalid argument type 'char *(*)(int, int)' to
unary expression
tz_seconds = -timezone;
^~~~~~~~~
Core/HLE/sceRtc.cpp:1074:16: error: invalid argument type 'char *(*)(int, int)' to
unary expression
tz_seconds = -timezone;
^~~~~~~~~
4 errors generated.
2015-05-26 15:20:12 +03:00
Jan Beich
a4eb49f009
Unbreak build with FakeJit
...
Core/MIPS/fake/FakeJit.cpp:141:46: error:
unknown type name 'FakeJitBlock'; did you mean 'JitBlock'?
const u8 *FakeJit::DoFakeJit(u32 em_address, FakeJitBlock *b)
^~~~~~~~~~~~
JitBlock
Core/MIPS/JitCommon/JitBlockCache.h:59:8: note:
'JitBlock' declared here
struct JitBlock {
^
Core/MIPS/fake/FakeJit.cpp:141:20: error:
out-of-line definition of 'DoFakeJit' does not match any declaration in
'MIPSComp::FakeJit'
const u8 *FakeJit::DoFakeJit(u32 em_address, FakeJitBlock *b)
^~~~~~~~~
Core/HLE/ReplaceTables.cpp:1044:29: error:
use of undeclared identifier 'JITFUNC'
{ "fabsf", &Replace_fabsf, JITFUNC(Replace_fabsf), REPFLAG_ALLOWINLI...
^
Core/HLE/ReplaceTables.cpp:1101:27: error:
invalid application of 'sizeof' to an incomplete type 'const
ReplacementTableEntry []'
for (int i = 0; i < (int)ARRAY_SIZE(entries); i++) {
^~~~~~~~~~~~~~~~~~~
native/math/../base/basictypes.h:67:30: note:
expanded from macro 'ARRAY_SIZE'
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
^~~
Core/HLE/ReplaceTables.cpp:1117:9: error:
invalid application of 'sizeof' to an incomplete type 'const
ReplacementTableEntry []'
return ARRAY_SIZE(entries);
^~~~~~~~~~~~~~~~~~~
native/math/../base/basictypes.h:67:30: note:
expanded from macro 'ARRAY_SIZE'
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
^~~
Core/MIPS/JitCommon/JitCommon.cpp:31:2: error:
unknown type name 'Jit'
Jit *jit;
^
Core/MIPS/JitCommon/JitCommon.cpp:100:21: error:
no member named 'Asm' in 'MIPSComp::FakeJit'
if (MIPSComp::jit->Asm().IsInSpace((u8 *)(intptr_t)addr)) {
~~~~~~~~~~~~~ ^
Core/MIPS/JitCommon/JitCommon.cpp:101:45: error:
no member named 'Asm' in 'MIPSComp::FakeJit'
*offset = addr - (uint64_t)MIPSComp::jit->Asm().GetBasePtr();
~~~~~~~~~~~~~ ^
Core/MemMap.cpp:197:57: error:
use of undeclared identifier 'MEMVIEW32_MASK'
...position, view.size, base + (view.virtual_address & MEMVIEW32_MASK));
^
2015-05-26 15:20:10 +03:00
Henrik Rydgard
26624709f7
Hook up the frame profiler to a few measurements
2015-05-24 23:45:36 +02:00
Henrik Rydgard
18655d14a4
Release PSP buttons when losing gameplay focus, fixes part 1 of #7758 , and part 2 of #7758 on Windows only.
2015-05-21 10:49:47 +02:00
Henrik Rydgard
ee81c7f1a1
Rotate controls along with the display. Only rotates d-pad and analog stick, but easy to add more buttons if desired.
2015-05-15 18:49:54 +02:00
Unknown W. Brackets
afe52db366
Fix some issues in sceNetAdhoc with old savestates.
...
This was causing the PPGe dlist to be shared with the thread, causing
weirdness and a double-free on exit.
2015-04-27 07:53:19 -07:00
daniel229
af9e04dc97
Replace framebuffer download in Youkoso Hitsuji-Mura Portable
2015-04-20 16:36:07 +08:00
Henrik Rydgård
70fa830ba5
Split out the ReplaceJalTo test logic.
...
This makes it so the IR, in the future, can work correctly for
replacements.
2015-04-12 13:35:10 -07:00
Unknown W. Brackets
ffe7ef1ee2
Avoid spurious warnings in sceAtrac.
...
Valkyrie Profile for example calls this, doesn't seem like 0 matters.
2015-04-12 10:35:53 -07:00
Unknown W. Brackets
9dc7f7c3a2
Correct > 8 args for HLE logging again.
...
This time for real? Arg, stupid mistake.
2015-04-08 12:44:32 -07:00
Unknown W. Brackets
0847d46b79
Remove always-true condition.
...
It was only for logging anyway, can't be that important.
2015-04-08 12:15:41 -07:00
Unknown W. Brackets
c0dde25e5a
Set the sid on StreamInfo.
...
It's not used anyway, but if we have it there it might be later.
2015-04-08 11:57:58 -07:00
Unknown W. Brackets
53340056fd
Remove some unreachable code.
...
This wasn't being used, and the other path should be fine.
2015-04-08 11:28:52 -07:00
Unknown W. Brackets
b5bb07b12c
Fix HLE logging for args > 8.
2015-04-08 00:55:49 -07:00
Henrik Rydgård
bc490e60ab
Merge pull request #7661 from lioncash/false
...
sceIo: Remove always false condition
2015-04-06 23:29:52 +02:00
Henrik Rydgard
44286a2b37
ARM64: Accurate float->int conversion with rounding mode.
2015-04-06 18:13:34 +02:00
Henrik Rydgard
8dc77ff32e
ARM64: Turn off some debugging stuff, start implementing instructions. Something is wrong though, if I implement more than addiu things break..
2015-04-06 18:13:09 +02:00
Henrik Rydgard
34ab532971
ARM64 jit: Fix some pointer truncations and other fun stuff..
2015-04-06 18:13:05 +02:00
Henrik Rydgard
b309c83973
Initial work on ARM64, based on the ARM jit.
2015-04-06 18:13:01 +02:00
Henrik Rydgård
a269e118b3
Merge pull request #7658 from unknownbrackets/debugger
...
Make it easier to use memchecks in HLE
2015-04-06 17:03:14 +02:00