Commit Graph
3625 Commits
Author SHA1 Message Date
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
Lioncash 1ac81b5014 sceIo: Remove always false condition 2015-04-06 10:05:44 -04:00
Unknown W. Brackets e2ecd1eabd Add memchecks for ReadStruct/WriteStruct. 2015-04-05 18:09:35 -07:00
Unknown W. Brackets 2450724be2 Make Memory::Memcpy() execute memchecks directly.
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
Unknown W. Brackets 0fc64dc717 Return an error when the atrac stream is full. 2015-04-05 17:22:38 -07:00
Unknown W. Brackets 67d9233de1 Fix some compiler warnings.
Oops, f format in hle logging wasn't working right.  See #7641.
2015-03-28 20:50:34 -07:00
Unknown W. Brackets 8d5f843bb8 Cleanup thread start and create logging.
Also report less cases.
2015-03-28 14:46:09 -07:00
Unknown W. Brackets fc3d6ff04a Disable reporting for some thread funcs.
We know they are misused and it's not giving us extra information.
2015-03-28 14:32:32 -07:00
Unknown W. Brackets 0aaabcaac9 Clear old registered action types on reset. 2015-03-28 13:01:49 -07:00
Unknown W. Brackets c642f92bfb Initialize a few display state values on init. 2015-03-28 13:01:30 -07:00
Unknown W. Brackets ae4811d0d1 Still fudge seek positions for low level.
Since in this case we're tricking it into reading the same buffer area.
2015-03-26 22:34:45 -07:00
Unknown W. Brackets 425eed7bea Keep separate track of ffmpeg pos and decode pos.
FFmpeg buffers, so forcing the pos only makes FFmpeg read in garbage
because it doesn't know that you seeked in the bytestream on it.
2015-03-26 20:23:37 -07:00
Henrik Rydgård 62e621f8a1 Merge pull request #6976 from unknownbrackets/atrac-minor
When seeking to atrac positions, force alignment and start from zero
2015-03-26 00:29:51 +01:00
Unknown W. Brackets c2153ff976 Add new logging in sceKernelCreateThread(). 2015-03-22 21:22:40 -07:00
Unknown W. Brackets 74c6f2696d Add log formatting for 64-bit arg types + stack. 2015-03-22 21:15:13 -07:00
Unknown W. Brackets 110cc119ce Change some logging in the last Callback func. 2015-03-22 20:51:56 -07:00
Unknown W. Brackets 52a37c1330 Actually use the table's arg and ret masks. 2015-03-22 20:51:56 -07:00
Unknown W. Brackets fcf0518223 Update all the HLE tables with arg and ret info. 2015-03-22 20:51:55 -07:00
Unknown W. Brackets 1b2b5f41a9 Fix a typo. 2015-03-22 20:49:43 -07:00
Unknown W. Brackets 2c8199ec73 Make gcc happy when there are no var args. 2015-03-22 20:49:42 -07:00
Unknown W. Brackets 41631eb2b1 Try a different format of HLE logging. 2015-03-22 20:49:42 -07:00
Henrik Rydgård cac05197ed Merge pull request #7623 from sum2012/Atrac-minor-
Add a logging in sceAtracGetRemainFrame
2015-03-22 00:32:47 +01:00
sum2012 35c04e1187 Fix tab 2015-03-22 06:35:49 +08:00
sum2012 2c89d78f9d Add a logging in sceAtracGetRemainFrame 2015-03-22 06:16:28 +08:00
sum2012 09c8670730 oop 2015-03-22 06:01:06 +08:00
sum2012 38eb713794 Fix tab 2015-03-22 05:58:00 +08:00
sum2012 b26e597479 Imp sceUtilityCheckNetParam
CS Combined Assault v06 homebrew use it
2015-03-22 05:42:44 +08:00
Henrik Rydgård 87f31d0803 Merge pull request #7616 from sum2012/atrac-minor-
Add more log in sceAtrac
2015-03-20 14:40:04 +01:00
sum2012 1ce1da9e73 Remove another blank 2015-03-20 21:38:13 +08:00
sum2012 b92c0538b6 Remove blank 2015-03-20 21:36:31 +08:00
Henrik Rydgard f7215c39ee Add missing memcheck to Replace_memcpy_jak 2015-03-19 23:09:39 +01:00