Commit Graph

6425 Commits

Author SHA1 Message Date
The Dax
f22212369f Remove a few unneeded parentheses, and use nullptr instead of NULL. 2014-08-31 03:19:19 -04:00
The Dax
3590352429 Win32: Use wide strings to parse most command-line arguments.
Also do a tiny bit of cleanup in main.cpp (replacing strcmps with simple string equality checks).
2014-08-31 02:47:25 -04:00
Sacha
7b308247f8 Symbian buildfix. It doesn't use MemArena. 2014-08-25 02:18:58 +10:00
Henrik Rydgard
1d7642fa48 Remove most mentions of the "_XBOX" define 2014-08-24 14:21:35 +02:00
Henrik Rydgård
812d64a4b7 Merge pull request #6774 from hrydgard/merge-ced2911-dx9-work
Cherry-pick from ced2911's dx9 work
2014-08-24 14:06:04 +02:00
Henrik Rydgard
6011255e6f D3D: Don't display buffered rendering upside down. Support screen scaling filter setting 2014-08-24 14:04:55 +02:00
Unknown W. Brackets
5f015793d8 Seems like this else was a mistake. 2014-08-23 21:54:04 -07:00
Unknown W. Brackets
d4ec7d8019 Add another memcpy variant.
Fixes #4324 (Marvel Ultimate Alliance 2 videos), thanks daniel229.
2014-08-23 08:45:25 -07:00
Henrik Rydgård
5d836bfa5a Merge pull request #6765 from hrydgard/thin3d
Switch UI drawing from GL to Thin3D. This activates the D3D9 path as well.
2014-08-23 10:52:21 +02:00
Henrik Rydgård
b7da82eebb Merge pull request #6762 from unknownbrackets/fpu-rounding
Handle fpu rounding mode at least in jits
2014-08-23 10:43:22 +02:00
Henrik Rydgard
0f973a3276 Get it running on Android again 2014-08-23 09:48:08 +02:00
Unknown W. Brackets
e9b5e6f277 armjit: Maintain rounding mode throughout jit. 2014-08-22 19:57:50 -07:00
Henrik Rydgard
e2ecbb7a4d Convert more UI code to Thin3D 2014-08-22 20:55:18 +02:00
Henrik Rydgard
e539c7009f Hook up DX9 backend. Not really working though, it seems. 2014-08-22 20:55:12 +02:00
Henrik Rydgard
92c3775d95 Start hooking up D3D 2014-08-22 20:55:04 +02:00
Henrik Rydgard
808f05da89 (Partially) slip thin3d underneath DrawBuffer. 2014-08-22 20:54:53 +02:00
Unknown W. Brackets
925557ed47 x86jit: Maintain the rounding mode always.
This should be less often than doing it per block that uses fpu, unless
the game doesn't use fpu much at all.
2014-08-22 09:53:00 -07:00
Henrik Rydgård
f8a4236d58 Merge pull request #6679 from unknownbrackets/gpu-blend
Handle doubled alpha blending using premultiplication
2014-08-22 10:06:24 +02:00
Unknown W. Brackets
1fcbb7bbd4 armjit: Respect the rounding mode for mul/etc. 2014-08-22 00:32:01 -07:00
Unknown W. Brackets
ab13b36484 x86jit: Implement cvt.w.s.
Not really used that often, anyway, but easy enough and good for testing
that we set the rounding mode correctly.
2014-08-22 00:01:06 -07:00
Unknown W. Brackets
dc91dc1ce8 x86jit: Support fpu rounding modes for mul, etc.
Fixes Gods Eater Burst loading PSP savedata, but can no longer load old
savedata.
2014-08-21 23:59:55 -07:00
Henrik Rydgard
dfbb0bdea2 Hack: Return -1 specifically for trying to load SFO's as modules. Works around #6748
Will test properly later and return the correct value but this should be zero-impact.
2014-08-21 10:34:56 +02:00
Henrik Rydgård
d52c87d82c Merge pull request #6722 from sum2012/wwe
check for duplicated stack addresses by JimLee168
2014-08-20 16:34:02 +02:00
Sacha
97e93f48fd Clean up LitPool code and re-enable flushing in AsmJit 2014-08-20 18:29:37 +10:00
Unknown W. Brackets
d52fdafa3c Note the location of a memset variant. 2014-08-18 23:20:44 -07:00
Henrik Rydgård
2de6b471ce Merge pull request #6616 from unknownbrackets/modules
Improve module loading and allocation
2014-08-19 08:00:47 +02:00
Henrik Rydgård
72d5a55791 Merge pull request #6675 from unknownbrackets/threadman
Correct sceKernelThreadmanIdList behavior
2014-08-19 07:56:54 +02:00
Henrik Rydgård
e7a1761147 Merge pull request #6597 from unknownbrackets/ge-minor
Unpause lists after wait signals with no handler
2014-08-19 07:56:37 +02:00
Henrik Rydgård
5f8f3633a8 Merge pull request #6685 from unknownbrackets/kill-volume
Remove bgm and sfx volume settings
2014-08-19 07:56:01 +02:00
Henrik Rydgård
d234ab03c6 Merge pull request #6696 from LunaMoo/master
Add Buffer Scalling Filter option
2014-08-19 07:55:45 +02:00
Unknown W. Brackets
9d3cf346c3 Clarify GetSureBranchTarget() for fpu branches.
They also have CONDTYPE_ flags.  Looks like this was just getting lucky
that rs can't equal rt, but the code looks confusing when you're looking
at it from an fpu/vfpu perspective.
2014-08-18 07:46:48 -07:00
Henrik Rydgård
486461a725 Merge pull request #6735 from unknownbrackets/psmf-loop
Only loop psmf players at video end
2014-08-18 11:08:34 +02:00
Unknown W. Brackets
78296d15c6 Don't recurse when disasming an emuhack.
Although, should this happen?  Apparently does in Peace Walker.
2014-08-17 18:43:59 -07:00
Unknown W. Brackets
3fbab33c91 Only loop at video end.
In case of a short video that runs out of data but isn't ready to loop
yet.
2014-08-17 15:46:04 -07:00
Unknown W. Brackets
909ac62669 Return a proper error for fake TMIDs. 2014-08-17 14:38:56 -07:00
Unknown W. Brackets
6852e32d6b Support other thread TMIDs in uid listing. 2014-08-17 14:38:55 -07:00
Unknown W. Brackets
b8f8707ea1 Allow a bad pts on zero size when listing uids. 2014-08-17 14:38:55 -07:00
Unknown W. Brackets
feeb03b5ff Fix return values in sceKernelGetThreadmanIdList().
Support other object types as well, but not threads/etc. properly yet.
2014-08-17 14:38:54 -07:00
Unknown W. Brackets
774589aa4f Correct the Tlspl TMID value. 2014-08-17 14:38:54 -07:00
Unknown W. Brackets
dc16ad3744 Report forwarding module load to loadexec.
Shouldn't do this probably.
2014-08-17 14:26:01 -07:00
Unknown W. Brackets
abacba4e31 Clarify some module loading code. 2014-08-17 14:26:00 -07:00
Unknown W. Brackets
b7c96e1942 Allocate executables low, not at a specific addr.
Since usersystemlib takes 0x4000 at the bottom, this will be the same.
The only impact is that kernel modules may also be able to allocate.
2014-08-17 14:26:00 -07:00
Unknown W. Brackets
a16ccf52e7 Allocate kernel modules that fail to decrypt.
This corrects some memory semantics to match real firmware.
2014-08-17 14:25:59 -07:00
Unknown W. Brackets
f864b6be63 Allocate 0x4000 at the bottom like real firmware.
Should fix #4056.
2014-08-17 14:25:59 -07:00
Unknown W. Brackets
71e8c0f6e0 Sum all .bss* sections when counting bss size. 2014-08-17 14:25:58 -07:00
Unknown W. Brackets
0a14fd5ee9 Skip zero size segments in module segment info. 2014-08-17 14:25:58 -07:00
Unknown W. Brackets
3ccc0d1e47 Don't count strings as text in module info. 2014-08-17 14:25:57 -07:00
Unknown W. Brackets
bf03e32027 Add a safety check for freeing kernel modules. 2014-08-17 14:25:57 -07:00
Unknown W. Brackets
892980ada1 Blackberry buildfix. 2014-08-17 14:25:56 -07:00
Unknown W. Brackets
337a8553aa Add module name to ELF allocations.
Makes debugging it easier.
2014-08-17 14:25:56 -07:00