Commit Graph

3474 Commits

Author SHA1 Message Date
daniel229
c59ad888a1 Another replace frame download in To Heart 2 Portable 2015-01-09 14:34:03 +08:00
daniel229
6ff5084b8b Update as unknownbrackets' suggestion. 2015-01-06 17:37:33 +08:00
daniel229
f0b6826d67 Replace frame download in To Heart 2 Portable 2015-01-06 15:22:44 +08:00
daniel229
be8f9f50e4 Replace frame download in Kokoro Connect Yochi Random 2015-01-06 15:13:53 +08:00
daniel229
f288cd04a9 Replace frame download in Grisaia no Kajitsu La Fruit de la Grisaia 2015-01-06 15:05:30 +08:00
daniel229
c5aafb3be4 Replace frame download in Sangoku Koi Senki Otome no Heihou 2015-01-06 14:48:56 +08:00
daniel229
923f398d0d Replace frame download in Amatsumi Sora ni Kumo no Hatate ni 2015-01-06 14:39:06 +08:00
daniel229
daa145d282 Replace frame download in Kud Wafter 2015-01-06 14:30:45 +08:00
daniel229
a66423dfa3 Replace frame download in "Rewrite Portable" 2015-01-06 14:19:36 +08:00
Unknown W. Brackets
61d43f1616 Fix some glitches in the new AA3 handling.
Matches a test better.
2015-01-04 16:34:58 -08:00
Unknown W. Brackets
db5af4f838 Correct sceAtracSetAA3*() handling.
This is used to send OMA / AA3 files, which have a different format.

Couldn't have been working before, may not work correctly still.
2015-01-04 12:56:28 -08:00
Henrik Rydgård
7b2f05d0a0 Merge pull request #7270 from Bigpet/adhocthread
don't use Thread* to create thread
2015-01-04 20:34:19 +01:00
Peter Tissen
a7d9370a69 don't use Thread* to create thread
slightly less hacky, as in, a little bit closer to what the actual PSP does, although the timings are still complete guesses

also

* Protect the adhoc Events by a mutex lock
* don't use emplace_back since symbian doesn't compile with it
2015-01-04 18:58:42 +01:00
Henrik Rydgard
a5d961b8d7 Clean up some compiler warnings in adhoc code 2015-01-04 14:09:41 +01:00
Henrik Rydgard
d479fae481 Show some major networking errors on the OSD 2015-01-04 13:04:11 +01:00
Henrik Rydgard
101fe5c481 Don't launch the friend finder thread if the adhoc network init fails.
Adds a flag for network success but doesn't check it anywhere yet..
2015-01-04 13:04:10 +01:00
Henrik Rydgard
58238bc7ed GCC buildfix 2015-01-04 13:04:10 +01:00
sum2012
9933ae0c6e netAdhocctlInited should be true when return success
Update back new file

Windows (?) build fix
2015-01-04 13:04:09 +01:00
Bigpet
43b3707ee6 don't initialize adhoc connection when networking is disabled 2015-01-04 13:04:08 +01:00
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