Commit Graph
3655 Commits
Author SHA1 Message Date
sum2012 ee6f6d11fc Move Kill AdhocServer Thread to __NetAdhocShutdown 2015-01-04 13:04:08 +01:00
sum2012 aa69489aaf Move built-in AdhocServer Thread to __NetAdhocInit
There are games (ie. Naruto Kizuna Drive) who tried to initialize
network/connect to adhoc server early when the game started, if adhoc
server wasn't ready the player may need to restart the game in order to
connect successfully
2015-01-04 13:04:07 +01:00
sum2012 6ed15ab1f5 Add EnableWlan check 2015-01-04 13:04:06 +01:00
sum2012 21f3d0ecf2 Add built-in AdhocServer option 2015-01-04 13:04:06 +01:00
sum2012 589cf551a0 Revert "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"
This reverts commit 8a65d73ad2.
2015-01-04 13:04:05 +01:00
sum2012 accda25ce0 Travis CI Fix, typo 2015-01-04 13:04:05 +01:00
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
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
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
Henrik Rydgard 240ebcb085 Fix memory leaks in sceJpeg 2014-12-31 15:34:50 +01:00
Unknown W. Brackets 3d29b0d278 Fix typo breaking old savestates. 2014-12-29 08:53: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 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
chinhodado 81197f18a0 Avoid calling GetPointer() multiple times in a row 2014-12-22 22:46:37 -05:00
Unknown W. Brackets 37c7f56b1e Remove a clear copy/paste error. 2014-12-20 09:42:08 -08:00
Unknown W. Brackets a2f4efa50f Fix an unsigned less than 0 warning. 2014-12-20 09:10:53 -08:00
Henrik Rydgård a9be90229a Merge pull request #7140 from AbandonedCart/master
use libc++ for iOS to avoid additional directives
2014-12-18 22:38:14 +01:00
Henrik Rydgård 76b1313ed9 Merge pull request #7164 from daniel229/func_replace_orenoimouto_2
Another replace frame download in Ore no Imouto ga Konnani Kawaii Wake g...
2014-12-18 22:22:20 +01:00
Henrik Rydgard a54e0cf244 Goodbye PowerPC, you can always be resurrected when the time comes 2014-12-16 21:58:38 +01:00
Unknown W. Brackets 0a8e6c2a06 Remove some unused functions. 2014-12-14 17:35:20 -08:00
Lioncash 3610473b78 sceNetAdhoc: Remove unnecessary assignments 2014-12-14 00:10:46 -05:00
Unknown W. Brackets 3ce21ce672 Allocate a correct amount for helper threads.
This was usually "saved" by the round up to 0x100, but was
underallocating.
2014-12-13 18:35:58 -08:00
Henrik Rydgard 8ad1ea4c84 Split JitCommon.h so that you can include it without getting the "NativeJit" definition 2014-12-13 21:13:28 +01:00
Henrik Rydgård 4021252119 Merge pull request #7169 from daniel229/wchar_t_in_scePauth
Support wchar_t in scePauth.
2014-12-12 09:37:12 +01:00
daniel229 fc0ba3f0fe Updata as hrydgard' suggestion 2014-12-12 10:07:28 +08:00
Henrik Rydgård ea5126ef0b Merge pull request #7165 from lioncash/safe
ReplaceTables: Fix null checks
2014-12-11 20:57:41 +01:00
Lioncash 2f269ac8c0 ReplaceTables: Fix null checks 2014-12-11 14:34:10 -05:00
daniel229 4e017014ae Support wchar_t in scePauth. 2014-12-11 23:03:55 +08:00
Henrik Rydgård 973f4ea0ca Merge pull request #7167 from lioncash/unused
sceKernelModule: Remove unused array in __KernelLoadPBP
2014-12-11 10:21:27 +01:00
Henrik Rydgård 2e8b1363d9 Merge pull request #7166 from lioncash/conds
scePsmf: Remove unnecessary conditions
2014-12-11 09:48:25 +01:00
Lioncash fc7439ec2a proAdhoc: Change resolveMAC to return bool
Must have missed this in my initial commit.
2014-12-10 23:42:40 -05:00
Lioncash d8da1cd44d sceKernelModule: Remove unused array in __KernelLoadPBP 2014-12-10 23:38:35 -05:00
Lioncash 0e3d68e27f scePsmf: Remove unnecessary conditions
tempBuf is a stack-allocated array, and filehandle has a check for it above this conditional.
2014-12-10 23:30:19 -05:00
daniel229 eee73607b5 Another replace frame download in Ore no Imouto ga Konnani Kawaii Wake ga Nai 2014-12-11 11:13:59 +08:00
Unknown W. Brackets f5d5f7d3fa Use SSE shifts for high-vol channels. 2014-12-08 21:23:47 -08:00