13927 Commits

Author SHA1 Message Date
Unknown W. Brackets
1fd6214945 Improve function range detection.
This improves a pattern like this:

  j endOfLoop;
  li v0, 0;
  startOfLoop:
  addiu v0, v0, 1
endOfLoop:
  bne v0, a0, startOfLoop;
  nop
  jr ra
  nop

Where it jumps to the end of the loop, which only jumps back to the top of
the loop.  This might misdetect a few cases of tail recursion, but only
when the funcs are right next to each other.

Also, stops scanning at a jr ra, which was causing funcs to be incorrectly
long in cases.
2014-07-18 00:22:19 -07:00
Unknown W. Brackets
aa28c0f40d Improve a crash in disassembly on game shutdown. 2014-07-18 00:22:19 -07:00
Unknown W. Brackets
9581de449a Fix some logging in sceNetAdhoc. 2014-07-15 23:35:19 -07:00
Unknown W. Brackets
2f90c8d35a Fix a bad == comparison typo. 2014-07-15 23:33:01 -07:00
Unknown W. Brackets
30f363a71f Remove debugging output for git-version. 2014-07-15 23:31:31 -07:00
Unknown W. Brackets
a168126ef6 Travis fix. 2014-07-15 23:31:01 -07:00
Henrik Rydgård
459e244917 Merge pull request #6555 from xsacha/timing2
Improve frame timing on non-Windows.
2014-07-15 19:58:29 +02:00
Sacha
1ce39d7e95 Improve frame timing on non-Windows. Disable IdleTiming when audio is disabled. 2014-07-16 01:04:43 +10:00
Unknown W. Brackets
ff7c3ab10d Oops, would still infinite loop on a bad module.
Should really fix #6552 this time.
2014-07-15 07:14:13 -07:00
Unknown W. Brackets
2da02f97c8 Null check modules on loadexec.
Should fix #6552.
2014-07-14 22:14:23 -07:00
Henrik Rydgård
c4bebda182 Merge pull request #6549 from unknownbrackets/modules
Correct some module func return values, info values, and clear on unload
2014-07-14 14:11:29 +02:00
Henrik Rydgård
f1446f7ae9 Merge pull request #6551 from vnctdj/patch-1
Switch to fullscreen on the monitor PPSSPP is.
2014-07-14 13:23:24 +02:00
vnctdj
cf00fd1ac8 Switch to fullscreen on the monitor PPSSPP is.
When using more than one monitor, PPSSPP was always switching to full screen on the main monitor.
Now it will switch to full screen on the monitor he currently is.

Many thanks to @unknownbrackets for explaining me how to do this !
2014-07-14 12:59:02 +02:00
Unknown W. Brackets
bddeba5901 Add a safety check for lots of segments. 2014-07-13 23:51:36 -07:00
Unknown W. Brackets
4ced0e86b1 Return an error code when module load fails.
If we're out of memory, we need to tell the game, of course.
2014-07-13 22:00:33 -07:00
Unknown W. Brackets
7c4aab3cc2 Warn on exports from syslib.
They don't seem to hook up properly on hardware by the module name.
2014-07-13 22:00:33 -07:00
Unknown W. Brackets
50402a3d49 Return NOT_YET_LINKED for unlinked module funcs. 2014-07-13 22:00:32 -07:00
Unknown W. Brackets
292a9ea567 Clear module text and bss on unload.
Text is set to break instructions, data/bss to -1.  Matches results on a
PSP.
2014-07-13 22:00:32 -07:00
Unknown W. Brackets
ede29179c6 Cleanup remaining modules on loadexec. 2014-07-13 22:00:31 -07:00
Unknown W. Brackets
729377881c Protect against modules with no start address.
Generally, fake ones.
2014-07-13 19:58:30 -07:00
Unknown W. Brackets
4a94a30ba6 Calculate the module info data/text/bss size. 2014-07-13 19:53:00 -07:00
Unknown W. Brackets
1c7873e2f5 Fill the module info segment addresses and sizes. 2014-07-13 19:16:25 -07:00
Unknown W. Brackets
399d4d1ba9 Correct sceKernelModuleStart() return value. 2014-07-13 15:16:03 -07:00
Henrik Rydgård
3f26cc6ed0 Merge pull request #6548 from unknownbrackets/minor
Adjust some reporting
2014-07-13 21:36:06 +02:00
Unknown W. Brackets
bf01fd2185 Try to avoid false reporting of depthbuf reuse. 2014-07-13 11:59:45 -07:00
Unknown W. Brackets
3fa1481fe9 Cut down on "remaining data in packet" reports.
Looks potentially like a bug in FFmpeg.
2014-07-13 11:26:00 -07:00
Unknown W. Brackets
8dd783f719 Correct HLE function name per sha. 2014-07-13 11:03:23 -07:00
Unknown W. Brackets
81096f6bd0 Hook Dissidia's avi record func.
This makes it so replays can be recorded.  Though you could probably just
record separately anyway.
2014-07-13 08:36:34 -07:00
Unknown W. Brackets
98d3dc4be8 Typos. 2014-07-12 13:48:30 -07:00
Unknown W. Brackets
ef4847b6f5 Don't double decrease g_inCbCount.
Happened when a thread was deleted, it seems like.  Fixes #6542.
2014-07-12 09:57:13 -07:00
Sacha
88cfcf7e26 Qt: Don't detect executable by name (in case we change it). 2014-07-11 02:41:13 +10:00
Sacha
10be547ec0 Qt: Update desktop menus 2014-07-10 22:41:37 +10:00
Henrik Rydgård
45ff37dc17 Merge pull request #6535 from thedax/no-sprintf
Kill off some usages of sprintf.
2014-07-10 09:29:38 +02:00
The Dax
db34490b9c Kill off some usages of sprintf. 2014-07-10 03:24:53 -04:00
Unknown W. Brackets
d80d5beb71 Stop reporting blits when render mode is swapped. 2014-07-09 23:40:29 -07:00
Unknown W. Brackets
b583e446e6 Skip reporting savedata stuff in known cases.
We were always doing 3 before for 5, so skip reporting it.  Other cases
are the interesting ones.
2014-07-09 23:30:20 -07:00
Henrik Rydgård
00c54a82a8 Merge pull request #6532 from unknownbrackets/gpu-minor
Avoid a texture offset if framebuf attach fails
2014-07-10 00:15:38 +02:00
Unknown W. Brackets
f553b632be Avoid a texture offset if framebuf attach fails.
But, I'm not sure in what case this could happen.
2014-07-09 08:22:57 -07:00
Henrik Rydgård
41601d714b Change default of "disable slow framebuf effects" to false 2014-07-09 13:42:46 +02:00
Henrik Rydgård
b855898390 Merge pull request #6530 from thedax/tex-cache-crashfix
Don't crash when framebuffer is a nullptr.
2014-07-09 13:11:00 +02:00
The Dax
97b467683a Don't crash when framebuffer is a nullptr. 2014-07-09 06:11:41 -04:00
Henrik Rydgård
c60b14cab6 Merge pull request #6527 from unknownbrackets/fb-slow-option
Add an option to disable clut/render-to-self/etc.
2014-07-09 11:16:39 +02:00
Unknown W. Brackets
9903407353 Show option to disable framebuf effects in UI. 2014-07-08 23:57:43 -07:00
Unknown W. Brackets
4a8d52ab1a Add a config option for the slow framebuf effects.
Like cluts, blitting, etc.  At higher render resolutions these are
expensive, and on some mobile devices they may be too much.

Of course, they're only used when needed so this is a speedhack.
2014-07-08 23:57:27 -07:00
Unknown W. Brackets
40ac84e442 Cut down on cached booleans for non-softgpu things. 2014-07-08 23:56:50 -07:00
Sacha
45de6f5baf Qt: Buildfix ffmpeg search 2014-07-09 05:22:56 +10:00
Sacha
8527dfda46 Qt: Buildfix Symbian. QT_ARCH='symbian', QMAKE_TARGET.arch='' 2014-07-08 17:32:34 +10:00
Sacha
d1fffede2c Qt: Modularise the settings file in to platforms with Arch / OS detection. 2014-07-08 17:15:28 +10:00
Henrik Rydgård
0795f793b7 Merge pull request #6515 from unknownbrackets/savedata
Hash and detect savedata hashmode correctly
2014-07-07 15:12:33 +02:00
Unknown W. Brackets
0b22d8f56c Check for missing SAVEDATA_PARAMS. 2014-07-06 22:42:14 -07:00