Commit Graph

1593 Commits

Author SHA1 Message Date
Unknown W. Brackets
4fa529db50 Potentially reuse a cached file loader.
Although right now we always dispose, this just makes it so we could more
easily garbage collect them if we wanted.
2015-06-09 23:19:09 -07:00
Unknown W. Brackets
2d0bc5eeee Limit time GameInfo file loaders are kept open. 2015-06-09 23:16:59 -07: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
8258a7341e Soften the outline a bit and fix overlap. 2015-05-28 07:29:05 -07:00
Unknown W. Brackets
41d54cbcbc Adjust frame profiler graph to be more readable. 2015-05-27 20:01:54 -07:00
Jan Beich
bd4b0840a3 UI: allow editing cheat file on any Unix desktop 2015-05-26 15:23:19 +03:00
Jan Beich
0af2bfe11c UI: search for assets under /usr/share on any Unix desktop 2015-05-26 15:23:19 +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💯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
64f20033d4 Profiler: More colors, allow more scaling 2015-05-26 01:11:54 +02:00
Henrik Rydgard
fb5a3ef99b profiler: Compute the max correctly in area chart mode 2015-05-26 00:56:05 +02:00
Henrik Rydgard
7f69c5fa5e Buildfix 2015-05-24 23:50:53 +02:00
Unknown W. Brackets
38d0cfe159 Make the legend width a bit more dynamic. 2015-05-24 23:45:40 +02:00
Henrik Rydgard
6f4cea860c Split texture load profiling into decode and load/replace. Make profiler work on Android. 2015-05-24 23:45:40 +02:00
Henrik Rydgard
9e15f04f15 Better colors in profiler 2015-05-24 23:45:38 +02:00
Henrik Rydgard
2e26a4798e Scale the frame profiler graph dynamically 2015-05-24 23:45:37 +02:00
Henrik Rydgard
26624709f7 Hook up the frame profiler to a few measurements 2015-05-24 23:45:36 +02:00
Henrik Rydgard
0595a76556 Start integrating the new frame profiler 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
b7ffb3a102 Rename the setting to Display Rotation, put the string in the graphics category 2015-05-16 20:09:01 +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
Henrik Rydgard
95b6b50fd5 Disable screen rotation in non-buffered rendering (as it won't worK) 2015-05-12 22:44:18 +02:00
Henrik Rydgard
3f7830743a Implement basic screen rotation as requested in #297 . Does not work correctly in non-buffered rendering yet. 2015-05-12 21:01:15 +02:00
zhyk
a06f599320 Use UIContext::DrawTextShadow instead of DrawBuffer::DrawTextShadow for drawing text correctly in Qt. 2015-05-07 11:14:04 +08:00
vnctdj
e27bf8567e Change translation category
59d0baca93 (diff-a79dfbd66a9e1e1dc097bc65fc5f7027R570)
2015-04-12 11:23:57 +02:00
Henrik Rydgård
59d0baca93 Add way to print some block bloat stats. 2015-04-11 00:12:56 -07:00
Unknown W. Brackets
9a8cd2c067 Log some file reading errors. 2015-04-08 12:14:07 -07:00
Unknown W. Brackets
5452129dfe Avoid null termination issues on long paths. 2015-04-08 11:58:00 -07:00
Henrik Rydgård
fbaffdceab Remove some outdated comments, minor stuff 2015-04-06 18:13:36 +02:00
Henrik Rydgard
db0fd1042f Add "Arm64EmitterTest" which can run on startup to play around with instructions. 2015-04-06 18:13:26 +02:00
Henrik Rydgard
0922db6062 ARM64: Some FP work. 2015-04-06 18:13:11 +02:00
Henrik Rydgard
524583d53e ARM64 emitter work, dispatcher work, etc. More work needed. 2015-04-06 18:13:03 +02:00
Henrik Rydgard
8945b2476d Add the beginnings of a rudimentary ARM64 disassembler 2015-04-06 18:13:03 +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
b7498f4581 Make some UI adjustments on TV devices 2015-04-03 11:54:24 +02:00
Henrik Rydgård
6573bca313 Fix UI navigation using gamepads when tilt is enabled 2015-04-03 11:48:58 +02:00
Unknown W. Brackets
2b0e0c547d Fix glInvalidateFramebuffer in EmuScreen. 2015-03-14 16:01:43 -07:00
Henrik Rydgard
2b98f15f17 Add option to auto-center the analog stick on touch within the boundaries of the stick
TODO: Should this be default? Does this make sense for d-pad too?
2015-03-05 11:01:58 +01:00
Unknown W. Brackets
8f7e98f484 Keep Windows devices from sleeping while playing. 2015-03-01 08:29:11 -08:00
Chin
294ade904c Remove some unused variables 2015-03-01 16:48:25 +01:00
Henrik Rydgard
0d13a3be50 Share a translation, only show new dinput/xinput dead zone options on Windows 2015-03-01 16:38:22 +01:00
Henrik Rydgard
cbf8aa41a4 Merge branch 'analog-options' of https://github.com/ShiftyAxel/ppsspp into ShiftyAxel-analog-options 2015-03-01 16:17:41 +01:00
Henrik Rydgard
f861a4cc8c Make the game button hold animation time-based instead of framecount based. Fixes #7404 2015-03-01 15:59:17 +01:00
Andrey Bondrov
ba9d0b7665 Don't set focus for Play choice 2015-03-01 22:56:57 +10:00
Henrik Rydgård
30ad27f961 Merge pull request #7536 from unknownbrackets/control-minor
Add an option to ignore gamepads when not focused
2015-03-01 01:11:40 +01:00
Mike
0653946acb fix for crash opening directory 2015-02-28 16:05:13 -08:00
Unknown W. Brackets
cf88c7ff67 Add an option to ignore gamepads when not focused. 2015-02-28 14:02:03 -08:00
Unknown W. Brackets
be26455f73 Fix size of first bg audio read.
Otherwise we get static at the start.
2015-02-28 13:29:51 -08:00
Unknown W. Brackets
d2960b23e8 Stop background audio if disabled while playing. 2015-02-28 12:42:32 -08:00
The Dax
c84343e9ae On Maemo, iOS, and Symbian, make sure to always show the menu touch button, regardless of touch control visibility. 2015-02-23 04:13:26 -05:00
The Dax
31fafe3b32 If audio is disabled, don't play background audio. 2015-02-23 03:07:34 -05:00