Commit graph

7154 commits

Author SHA1 Message Date
AdamN
1b8167f9df Changing the socket order checking in AdhocPollSocket a little bit
PS: The way how ppsspp indexing the socket may need to be changed to prevent PDP and PTP socket having the possibility to use the same socket id
2015-01-04 13:04:04 +01:00
AdamN
1a61bbbdf2 Adding socket error checking on AdhocServer 2015-01-04 13:04:04 +01:00
sum2012
e0a6480223 Move database.db to Tools\PSP game data 2015-01-04 13:04:03 +01:00
sum2012
7c323f8571 Another build fix 2015-01-04 13:04:03 +01:00
AdamN
1c7152db3a Adding Branch opcode to the MAKE_MIPS
Temp revert old version to fix conflict; Implementing built-in PRO Adhoc Server; Add back sceUsbGps

Implementing more Adhoc functions, and some bug fix (i don't remember them anymore)
2015-01-04 13:04:02 +01:00
AdamN
3dc6eed05b Giving access to some Kernel functions in order to execute MipsCall on the right thread instead of any random thread (current thread) 2015-01-04 13:04:01 +01:00
AdamN
69fb339a83 Fixed an issue when MipsCall executed on any random thread instead of it's own thread causing some registers to be corrupted and leading to invalid address access 2015-01-04 13:04:01 +01:00
AdamN
2cc19f56b2 Rearrange Network Shutdown to be properly in order (NetInit->AdhocInit->network functions->AdhocTerm->NetTerm) 2015-01-04 13:04:00 +01:00
Henrik Rydgård
303b92d703 Merge pull request #7265 from unknownbrackets/mpeg-ringbuffer
Reverse packetsFree to packetsAvail
2015-01-04 09:55:13 +01:00
daniel229
6cebc3a0b0 Replace function with memmove in Jui Dr. Touma Jotarou 2015-01-04 14:07:17 +08:00
Unknown W. Brackets
ce33a9f128 Try to handle savestates better.
Just in case.  This isn't perfect but it should catch common cases.
2015-01-03 21:46:40 -08:00
Unknown W. Brackets
67cbf2e904 Reverse packetsFree to packetsAvail.
This is the actual value stored in memory, which games may be accessing or
even writing to.

Makes the video/mpeg/ringbuffer/avail test pass.
2015-01-03 18:59:56 -08:00
Bovine
54c7a12306 Fix simd vmmul transpose optimizations.
Yep, gotta discard the S matrix when we're done with it.
2015-01-03 16:58:03 -07:00
Bovine
0fdebdc1ca Fix discardVS.
It's not valid for non-away values to have a lane.
2015-01-03 16:54:31 -07:00
Henrik Rydgard
3cc633f091 x86jit: Minor logging improvements in FPU recache 2015-01-03 22:55:39 +01:00
Bovine
185d4db081 Fix simd vmmul transpose optimizations.
Need to ensure S has been written back before transposing it or we'll end
up writing back S'.
2015-01-03 14:48:54 -07:00
Unknown W. Brackets
ab978b1eb1 armjit: Fix vfad/vavg sign for -0.000.
But, NEON is still broken pretty bad, not sure why.
2015-01-03 11:14:52 -08:00
Henrik Rydgård
5fffe53671 Merge pull request #7258 from unknownbrackets/jit-minor
x86jit: Fix vavg, improve vfad
2015-01-03 19:44:22 +01:00
Unknown W. Brackets
e6a50a1371 Initialize vfpu regs are NAN, not 0.0.
This matches tests, the fpu, and seems logical.
2015-01-03 10:40:21 -08:00
Unknown W. Brackets
a1864b2c78 x86jit: Fix vavg scale.
Was completely wrong, darn it.
2015-01-03 10:39:58 -08:00
Unknown W. Brackets
8a089ee583 x86jit: Handle -0.0 in vavg/vfad.
Should result in a positive result.
2015-01-03 10:39:26 -08:00
Bovine
2ed4c1bd6b Fix matrix disassembly notation
Changed disassembler output to match gas input for operations on
transposed matrices where row != col.
2015-01-03 02:04:08 -07:00
Henrik Rydgard
13c4a22967 Disable transpose optimization, seems to break games 2015-01-02 01:13:34 +01:00
Unknown W. Brackets
d0b6a3a339 Oops, fix a mistake in the screenshot func.
How did I lose the return?
2015-01-01 10:50:33 -08:00
Henrik Rydgard
6a7e5d1cc2 x86 Jit SIMD: Generate somewhat shorter code for handling transposed matrices in vmmul.
TODO: Build into regalloc instead, with a MapMatrix function?
2015-01-01 12:44:03 +01:00
Unknown W. Brackets
5f6f8ac0a2 x86jit: Fix another sequential detect problem.
Arg.  Maybe should use voffset after all, but it won't fit in a u8
anyway...
2014-12-31 22:43:31 -08:00
Unknown W. Brackets
c5f7b6fa72 x86jit: Disable simd again for now. 2014-12-31 19:43:40 -08:00
Unknown W. Brackets
1615ec69a6 Fix a typo, which fixes #7249. 2014-12-31 19:41:14 -08:00
Henrik Rydgård
239913aaae Merge pull request #7250 from unknownbrackets/screenshot-minor
Support more screenshot framebuffer formats
2015-01-01 02:52:41 +01:00
Unknown W. Brackets
7ecff0acd6 Support more screenshot framebuffer formats. 2014-12-31 16:17:23 -08:00
Henrik Rydgard
a125178b0b Add a popup dialog when clicking savestate screenshots 2014-12-31 20:43:29 +01:00
Unknown W. Brackets
7b4d152cc0 Log something when screenshot fails.
For savestates as well as user-triggered.
2014-12-31 09:41:00 -08:00
Unknown W. Brackets
d13d48575c Support ports in HTTP loading code. 2014-12-31 09:40:43 -08:00
Henrik Rydgard
240ebcb085 Fix memory leaks in sceJpeg 2014-12-31 15:34:50 +01:00
Unknown W. Brackets
b6b4a4f05e Avoid debug log spam in menu. 2014-12-30 10:05:36 -08:00
Unknown W. Brackets
a4924ff753 Fix crash using large block size cso files. 2014-12-29 08:53:30 -08:00
Unknown W. Brackets
3d29b0d278 Fix typo breaking old savestates. 2014-12-29 08:53:19 -08:00
Unknown W. Brackets
d254ec7088 Write screenshots using unicode-aware apis on win. 2014-12-28 20:39:57 -08:00
Unknown W. Brackets
a62a4a42b3 armjit: handle any known zero in mtc1. 2014-12-28 20:05:29 -08:00
Unknown W. Brackets
1a0f537967 dx9: Avoid triggering reset when size unchanged. 2014-12-28 13:19:19 -08:00
Unknown W. Brackets
93fee10899 Typo. 2014-12-27 09:12:50 -08:00
Unknown W. Brackets
523a75e2bb Fix another stupid mistake. 2014-12-26 08:03:55 -08:00
Unknown W. Brackets
6629655a56 Fix a glitch in host timing in some games. 2014-12-26 07:57:00 -08:00
Unknown W. Brackets
c64aa7f4a4 Correct some differences from IO timing.
Arg, oops.  Fixes #7231.
2014-12-26 07:49:22 -08:00
Unknown W. Brackets
efae9e0612 Make realistic timing optional. 2014-12-26 01:18:52 -08:00
Unknown W. Brackets
8f3a8fd233 Very rough approximation of UMD seek delays. 2014-12-26 01:15:18 -08:00
Unknown W. Brackets
d6a113809b Add basic infrastructure to time io better.
This allows the filesystems to more accurately control timing.
But they're not actually doing it yet (same timing as before.)
2014-12-26 01:15:17 -08:00
Unknown W. Brackets
0abd95e784 Typo. 2014-12-26 01:12:23 -08:00
Unknown W. Brackets
0599c04c1c Properly unschedule IO events on file close.
Oops, was waking threads but not bumping events.
2014-12-26 01:07:21 -08:00
Unknown W. Brackets
3f20b32041 Add an option to prevent cpu stall on slow IO.
This is good for any slow storage, including:
  * Hard disk spinning up.
  * Generally slow (cheap) SD cards.
  * HTTP or Samba streaming.

May possibly cause bugs in some cases where timing is unrealistic.  That
being said, as long as the game is a UMD game, and there's caching (could
enable memory caching for storage), it should not be a problem usually.
2014-12-26 01:07:16 -08:00