The Dax
1fbd94d589
Win32: Make pausing when minimizing optional in the ini.
2014-07-21 10:30:51 +02:00
Henrik Rydgård
9efefeb89c
Merge pull request #6598 from unknownbrackets/debugger
...
Limit stack walk distance a bit
2014-07-21 09:21:59 +02:00
Unknown W. Brackets
6aa9b8aa36
Limit stack walk distance a bit.
...
It was spending 0.5s in debug scanning all of memory for an entry (due to
some fp/sp tricks that aren't well detected yet.) Let's just assume a 1MB
func doesn't need to be walked properly.
2014-07-20 21:52:55 -07:00
Henrik Rydgard
0986f27f33
Detect screen size and choose resolution defaults accordingly.
...
Also prevent recreate on older Android versions where it doesn't seem reliable.
2014-07-21 00:35:36 +02:00
Unknown W. Brackets
b03460c169
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-20 14:42:20 -07:00
Unknown W. Brackets
640c1231f3
Improve a crash in disassembly on game shutdown.
2014-07-20 14:42:20 -07:00
Henrik Rydgård
0e5679c833
Revert "Detect Peace Walker's anti-cheat hash func"
2014-07-20 23:39:11 +02:00
Unknown W. Brackets
55403e42c2
Introduce a memory shutdown lock.
...
This allows the debugger to access memory in a safe way that should never
crash.
2014-07-19 23:30:19 -07:00
Henrik Rydgard
b6569af71c
Add an "Auto" mode that makes display res match internal res.
...
Change wording according to unknown's idea
2014-07-20 00:22:08 +02:00
Henrik Rydgard
76bdd84e43
Add option to use the Android hardware scaler by setting a low resolution
2014-07-20 00:22:08 +02:00
The Dax
c1fc04ee64
Remove the "Change MAC Address" screen, and simply generate a new (random) one upon pressing the button.
2014-07-18 16:58:26 -04:00
Henrik Rydgård
06f058de54
Merge pull request #6506 from unknownbrackets/replace-funcs
...
Detect Peace Walker's anti-cheat hash func
2014-07-18 09:34:46 +02:00
Unknown W. Brackets
a59d8b5c1f
Override the codehashing func used in Peace Walker.
...
This makes the demo work fine even with jit enabled. May help the full
game when fighting a certain boss.
2014-07-18 00:23:26 -07:00
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
Sacha
6957808b97
ArmJit: Optimisation when comparing float against 0.0f
2014-07-17 05:12:43 +10:00
Sacha
d4c983d9e1
Android: ARMv5 fix
2014-07-17 02:34:22 +10:00
Sacha
cd20288d99
Fix some compiler warnings.
2014-07-17 00:49:58 +10: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
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
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
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
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
41601d714b
Change default of "disable slow framebuf effects" to false
2014-07-09 13:42:46 +02: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
0b22d8f56c
Check for missing SAVEDATA_PARAMS.
2014-07-06 22:42:14 -07:00
Unknown W. Brackets
30f8ec447a
Hash and detect savedata hashmode correctly.
...
Fixes Persona 1 savedata compatibility.
2014-07-06 19:27:51 -07:00
Unknown W. Brackets
b1b2c91eb3
Fix issues on win32 with multithreading.
...
We weren't properly rechecking based on spurious wakeups (which
technically can happen on x64 too.)
2014-07-06 14:02:00 -07:00
Unknown W. Brackets
b370621a3a
Fix sceCtrl buffer update timing drift.
...
Spotted by xsacha. Only when not using vblank timing (most commonly used
by games.)
2014-07-06 01:08:44 -07:00
Unknown W. Brackets
09b9d2ad81
Keep track of ranges that have emuhack ops.
...
So that we can invalidate them smarter.
2014-07-05 16:25:16 -07:00
Unknown W. Brackets
2910f7e7a2
Flush icache before memcpys.
...
Maybe there's a way to optimize this better...
2014-07-05 13:23:47 -07:00
Unknown W. Brackets
d2e7dfcc51
Minor logging improvement.
2014-07-05 13:19:53 -07:00
Unknown W. Brackets
4b9229a5ba
x86jit: Flush the PC before r/w in debug.
...
This way we get better log output.
2014-07-05 12:57:44 -07:00