Commit Graph

10156 Commits

Author SHA1 Message Date
Henrik Rydgård
9be3f8fc0a Use ANDI2R instead of a BIC with a too large parameter 2013-11-06 10:50:30 +01:00
Henrik Rydgård
e687b283f1 Logspam reduction 2013-11-06 10:34:56 +01:00
Henrik Rydgård
c290cb2d93 Merge pull request #4464 from Kingcom/SlashFix
Convert backslashes when opening directory
2013-11-06 00:53:33 -08:00
Kingcom
ce5ffdfe7a Convert backslashes when opening directory 2013-11-06 09:41:56 +01:00
Sacha
81d3df0841 ARMJIT: Minor optimisations for armv6 and armv7. 2013-11-06 15:28:26 +10:00
Kingcom
aae08173f1 Extend follow functionality of disassembly 2013-11-05 21:20:21 +01:00
Henrik Rydgard
0eb3d79de9 x86 VertexDecoder jit: Fix typo in 16-bit weight decoder. May fix crashes. 2013-11-05 21:06:43 +01:00
Sacha
61e6054920 Revert change to WSBH as we don't have a swap16 that takes/returns u32. 2013-11-06 01:38:02 +10:00
Henrik Rydgård
a03e5c6de0 Merge pull request #4460 from hrydgard/vertex-decoder-jit
Vertex decoder JIT
2013-11-05 07:30:58 -08:00
Henrik Rydgard
6483c0c2cd Two minor armjit optimizations 2013-11-05 16:25:01 +01:00
Sacha
a5011e3ff0 Improve swap usage in MIPS. ARMv6 can use REV/REV16. Intepreter can use existing swap functions. 2013-11-06 01:20:35 +10:00
shenweip
bbeed2d870 Add a check to avoid overwriting cheat file. 2013-11-05 20:38:51 +08:00
xsacha
f0bd904af3 Merge pull request #4452 from Bigpet/QtWinFixes
add Linux debug menus Qt Windows build
2013-11-05 04:19:57 -08:00
Peter Tissen
b40278fff6 Set Qt to build debug menus on non Linux platforms and fix some debugger crashes
This makes Common.pro and Native.pro use their own distinct object directories
to prevent the two fbo.cpp and sha1.c files repectively to clash into the same
*.obj file.

The registerlist had polled register values of -1 in some cases when resizing
the window. Making sure it doesn't poll values smaller than 0 fixes it.

The memoryview crashed if it was switched into symbol mode outside of the
symbol definition range. Also, under Windows the monospace font wasn't
used because there's not literal font called "monospace" so a font family
hint had to be used.

The UpdateDisassembly() function jumped to the current PC, which sounds
reasonable at first but the issue is that this function gets called when a
breakpoint get set, so if you set a breakpoint somewhere completely
different then you suddenly lose that position for no good reason.

Enable the desktop QT interface for all non ARM QT platforms

make sure the QtMain.cpp in the native submodule is also updated
2013-11-05 13:17:27 +01:00
Henrik Rydgård
7bf8a4dc5e We need to use a signed VCVT to float in PosS*Through 2013-11-05 12:17:18 +01:00
Henrik Rydgård
ebd3763c7e Merge pull request #4458 from Kingcom/KeyStateFix
Correct use of GetAsyncKeyState
2013-11-05 02:36:39 -08:00
Kingcom
0e61913839 Remove redundant != 0 checks 2013-11-05 11:34:53 +01:00
Kingcom
a972b5d0dc Correct use of GetAsyncKeyState 2013-11-05 11:29:55 +01:00
Henrik Rydgård
3850f2b625 Merge pull request #4454 from unknownbrackets/perf
Optimize IndexGenerator::AddPrim() funcs for MSVC
2013-11-05 01:36:23 -08:00
Henrik Rydgård
246b856e4f Merge pull request #4456 from unknownbrackets/vertex-decoder-jit
Fix LDRH emitter bug, use STMIA where possible
2013-11-05 01:35:06 -08:00
Unknown W. Brackets
c7edf73cdb Small optimizations to the vertexjit. 2013-11-05 00:32:08 -08:00
Unknown W. Brackets
f6662054bd Fix arm emitter bug in LDRH and friends. 2013-11-05 00:32:08 -08:00
Unknown W. Brackets
e435b81281 Optimize IndexGenerator::AddPrim() funcs for MSVC.
Reduces profile from ~5.4% to ~1.6% (with vertex cache off) in
Senjou no Valkyria 3.  Similar to the TranslatePrim() funcs.
2013-11-04 22:49:28 -08:00
Sacha
ff14b69e00 Qt: Update touch controller layout on switch to fullscreen. Note: The touch controller configuration still will not update. 2013-11-05 16:00:13 +10:00
Sacha
b1b4679fe6 Scale touch controls to screen resolution.
Include a migration method for users who were on the old static system.
Scaling up may still look weird due to the hacky method of placement which is unchanged by this commit.
Next step of resolution independence would be to have the button scaling affected by resolution too.
Tested on a few devices. Mobile users should see no changes at all.
2013-11-05 14:52:31 +10:00
Sacha
eb936fd2a2 Update native. Fixes #4434 2013-11-05 12:59:42 +10:00
Sacha
747346b12d Qt: Use different temporary file dirs for each project so that names do not conflict. 2013-11-05 12:17:34 +10:00
Sacha
296372262c Qt: Don't allow double click to resize window when the user could be using touch controls. 2013-11-05 11:53:49 +10:00
Sacha
5263d53282 Implement throttling for Qt desktop UI (same as the Windows-only one in Core/Config) to stop it using 100% cpu in menus. 2013-11-05 10:54:37 +10:00
Henrik Rydgård
508830b45b Merge pull request #4447 from Bigpet/DSoundRefactoring
move direct sound specific behavior into the actual direct sound function
2013-11-04 11:22:50 -08:00
Henrik Rydgård
58fbdedd0b Merge pull request #4415 from unknownbrackets/syscalls
Avoid CallSyscall() overhead from jit
2013-11-04 11:21:53 -08:00
Peter Tissen
9b9ba165e0 move direct sound specific behavior into the actual direct sound function instead of into an ifdef 2013-11-04 18:29:49 +01:00
Unknown W. Brackets
859d14d3f5 Correct sceKernelIsCpuIntrSuspended().
It takes a param.  Verified by tests, it just returns what the param
means, not anything about the current state.
2013-11-04 08:03:51 -08:00
Unknown W. Brackets
dfbfed7534 Oops, avoid a crash on a bad HLE func.
In the debug stats area.
2013-11-04 08:03:50 -08:00
Unknown W. Brackets
5328e213a6 Clear the jit cache when toggling debug stats.
This way we can bypass that check normally, for speed.
2013-11-04 08:03:50 -08:00
Unknown W. Brackets
732ae13ebb Fast path CallSyscall where possible.
It seems we're spending a decent amount of time there, which isn't
entirely unexpected.  We can eliminate some things easily.
2013-11-04 07:59:37 -08:00
Unknown W. Brackets
baa82e0a9d Keep syscalls the same in the interpreter.
Rather than having different bugs.
2013-11-04 07:59:36 -08:00
Henrik Rydgård
ae27874cf1 Merge pull request #4445 from Bigpet/AudioBufferFix
fixes #4443 buffer underrun in the audio system
2013-11-04 07:10:10 -08:00
Peter Tissen
3bd01cce31 fixes #4443 buffer underrun in the audio system 2013-11-04 14:03:36 +01:00
Henrik Rydgård
9113c584f1 Merge pull request #4399 from raven02/patch-11
Attempt to go back to the earliest logic of finding a matching framebuffer
2013-11-04 04:43:34 -08:00
Henrik Rydgård
0d9a0bcbd4 Merge pull request #4419 from thedax/reviseLanguageSwitching
Win32: Revise how the language system/menu works.
2013-11-04 04:41:11 -08:00
Sacha
04a4f31215 Qt Desktop: Hide cursor in fullscreen during gameplay, unless on-screen controls are enabled. 2013-11-04 22:30:38 +10:00
Henrik Rydgård
5886ccffdc Merge pull request #4441 from unknownbrackets/vertex-decoder-jit
Force 5 byte jumps to avoid jump target issues (vertex jit, x86)
2013-11-04 01:25:40 -08:00
Henrik Rydgård
af3bc546fb Merge pull request #4442 from unknownbrackets/vertex-decoder-jit2
Add arm color conversions for the vertex decoder jit
2013-11-04 01:22:35 -08:00
Unknown W. Brackets
06194ac261 Add 5551 conversion to the arm vertexjit. 2013-11-04 00:47:05 -08:00
Unknown W. Brackets
7a8671f8a2 Add a TSTI2R helper for readability mainly. 2013-11-03 21:58:26 -08:00
Unknown W. Brackets
16dcf807a8 Add 565 conversion to arm vertexjit. 2013-11-03 21:58:26 -08:00
Unknown W. Brackets
ab17d659cf Implement 4444 conversion in arm vertexjit.
Seems to help Dissidia a bit.
2013-11-03 21:58:26 -08:00
Unknown W. Brackets
bfda36efff Don't subtract nrmoff in arm vertexjit. 2013-11-03 21:57:55 -08:00
Unknown W. Brackets
5de7181b36 Add other forms of LDM/STM to the emitter. 2013-11-03 21:31:05 -08:00