Unknown W. Brackets
1cefac6473
Clean up some different clamping.
...
Could be cleaned up more but at least this is less weird.
2015-01-09 15:59:39 -08:00
Unknown W. Brackets
52288f5905
Report any attempt to read a negative size.
...
If this should return an error, that should be handled in sceIo.
2015-01-09 15:50:06 -08:00
daniel229
e2b52b38d7
Replace frame download in Flowers
2015-01-09 14:36:48 +08:00
daniel229
c59ad888a1
Another replace frame download in To Heart 2 Portable
2015-01-09 14:34:03 +08:00
Unknown W. Brackets
a27be3887e
x86jit: Handle overlap better in simd vtfm.
2015-01-07 18:10:53 -08:00
Henrik Rydgård
bb1d571493
Merge pull request #7261 from hilesaz/master
...
Fix simd vmmul transpose optimizations.
2015-01-06 11:59:14 +01:00
Henrik Rydgård
d4f9a6d7c6
Merge pull request #7283 from daniel229/some_func_replacement
...
Some function replacements in some games
2015-01-06 11:58:43 +01: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
Unknown W. Brackets
c4c581000f
Report up to 9GB free on the memory stick.
...
This works around a bug in a Harry Potter game that happens on real
hardware. Thanks to gdmk02 for a lot of testing.
Unfortunately, it'll still fail with certain amounts of free space, but it
does this on a real PSP also.
2015-01-05 22:38:47 -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
23893ffba8
x86jit: Fix crash in prefixes and simd enabled.
2015-01-04 15:50:12 -08:00
Henrik Rydgard
f188737a86
Just to investigate #7269 , skip the version check on ARMEABI (very old ARM)
2015-01-04 23:45:30 +01:00
Henrik Rydgard
90376267b1
More reg number asserts
2015-01-04 23:15:33 +01:00
Henrik Rydgard
fe63a15e22
x86jit fpu regcache: Add extra invariant check for too-large mips register numbers
2015-01-04 22:54:01 +01:00
Henrik Rydgård
82c6079f1f
Merge pull request #7275 from unknownbrackets/atrac-aa3
...
Correct sceAtracSetAA3*() handling
2015-01-04 22:21:28 +01:00
Unknown W. Brackets
585d0d3a56
Update armips.
2015-01-04 13:04:30 -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 8a65d73ad25ad0f35b02f0e3af84de37625550b0.
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
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
Henrik Rydgård
f74add91e2
Merge pull request #7202 from unknownbrackets/cpu-thread
...
Allow switching cpu thread on/off ingame
2014-12-24 19:15:51 +01:00
Henrik Rydgård
6bf2c02908
x86 jit: Allow storing all imms directly without bouncing to a register, not just zero.
2014-12-23 22:25:53 +01:00
Henrik Rydgård
f51fcb9e80
Typos
2014-12-23 21:32:26 +01:00
Henrik Rydgård
98f1ac9153
Merge pull request #7217 from hilesaz/master
...
Fix to VFPU register allocation. Fixes #7174
2014-12-23 13:28:53 +01:00
Bovine
a9b7656f93
Fix to VFPU register allocation. Fixes #7174
...
GetFreeXRegs(_,_,true) invalidates registers it can see on spill,
but it can't see all the registers in the array due to how we call it
so we have to invalidate the rest ourselves. Not doing so can get it
to use the same register twice.
2014-12-23 03:39:50 -07:00
Henrik Rydgård
53ab7ab4b2
Fix FakeJit, start preparing a little for ARM64
2014-12-23 09:36:28 +01:00
Henrik Rydgård
102aa8e387
Merge pull request #7216 from chinhodado/patch-1
...
Avoid calling GetPointer() multiple times in a row
2014-12-23 09:26:11 +01:00
Unknown W. Brackets
326c298207
armjit: Fix BKPT on simple exits.
...
If we get lucky and write a single-op destination address, we only emit
one op. So we have to check the next op before overwriting.
2014-12-22 22:56:15 -08:00
Unknown W. Brackets
cb50075cf9
armjit: Correct NEON/non-VFPU reg allocation order.
...
This fixes vh2f, which unbreaks games like Dissidia 012 and others.
2014-12-22 21:27:27 -08:00
chinhodado
81197f18a0
Avoid calling GetPointer() multiple times in a row
2014-12-22 22:46:37 -05:00
Unknown W. Brackets
c52b73393b
Try default constructors for Symbian.
2014-12-20 23:39:44 -08:00
Unknown W. Brackets
306786db60
Oops, ignore DX9 on non-Windows.
...
This probably had broken Qt before, whoops.
2014-12-20 23:31:16 -08:00
Unknown W. Brackets
fed8b48e04
Just leave Symbian the way it was.
2014-12-20 23:18:42 -08:00
Unknown W. Brackets
2dd9b10c8d
Take screenshots with savestates.
2014-12-20 23:14:46 -08:00
Unknown W. Brackets
b1c9e7382f
Save state to a temp file and rename.
...
This way, if you run out of disk or hit a bug, at least you have your old
state. Better than having neither.
2014-12-20 22:24:02 -08:00
Unknown W. Brackets
3f0b759746
Switch to std::function for savestate callbacks.
2014-12-20 22:23:26 -08:00
Unknown W. Brackets
0a6a70f53f
Allow switching cpu thread on/off ingame.
2014-12-20 17:39:42 -08:00
Henrik Rydgård
71c9804ffd
Merge pull request #7195 from Bigpet/copydefaults
...
copy the current config when creating a pre-game config
2014-12-20 19:25:31 +01:00
Henrik Rydgård
e9e6b46cd8
Merge pull request #7199 from unknownbrackets/screenshot
...
Add support for screenshots from Direct3D
2014-12-20 19:24:51 +01:00
Unknown W. Brackets
37c7f56b1e
Remove a clear copy/paste error.
2014-12-20 09:42:08 -08:00
Unknown W. Brackets
71eb709845
fixup! Fix some missing case warnings.
2014-12-20 09:11:45 -08:00
Unknown W. Brackets
a2f4efa50f
Fix an unsigned less than 0 warning.
2014-12-20 09:10:53 -08:00
Unknown W. Brackets
1479a6dd32
Correct a no return value warning.
2014-12-20 09:10:18 -08:00
Unknown W. Brackets
a514603f40
Fix some missing case warnings.
2014-12-20 09:10:09 -08:00
Unknown W. Brackets
8d68c055cc
Clear SFO data on game quit.
...
Saves the correct MENU after game exit. Seems more sane.
2014-12-20 08:29:56 -08:00
Peter Tissen
a5fcf9dd5f
Make 'load defaults' work for per-game configs. Move 'stop' code into PSP_Shutdown
2014-12-19 14:56:36 +01:00
Peter Tissen
664ac1061f
copy the current config when creating a pre-game config
2014-12-19 02:22:47 +01:00
Henrik Rydgård
a074c06f68
Merge pull request #7183 from Bigpet/pergamesettings
...
per game settings
2014-12-18 23:25:50 +01: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
Unknown W. Brackets
a292fa87ea
x86jit: Fix an x32 compile error in disabled code.
2014-12-17 08:50:31 -08:00
Unknown W. Brackets
2743c5cacd
x86jit: Shave off a couple bytes in asm.
2014-12-17 08:25:18 -08:00
Unknown W. Brackets
77777e372d
x86jit: Use R15 when safe for the jit.
...
This is virtually always safe.
2014-12-17 08:09:59 -08:00
Unknown W. Brackets
b9eddc3d25
x86jit: Oops, fix a typesafety error.
2014-12-17 08:07:43 -08:00
Unknown W. Brackets
9022b48069
x86jit: Skip reload of EAX in safe cases.
...
Probably no real improvement in perf, but a bit cleaner and one less TODO.
2014-12-17 01:12:41 -08:00
Unknown W. Brackets
afdbf5610b
jit: Use nicknames for a few more static regs.
2014-12-17 01:11:33 -08:00
Unknown W. Brackets
b6a75bf255
x86jit: Set CTXREG in a fixed place.
2014-12-17 01:00:21 -08:00
Henrik Rydgard
e3c6ec4dc6
Get rid of PowerPC from the MSVC project files as well
2014-12-16 22:01:21 +01:00
Henrik Rydgard
a54e0cf244
Goodbye PowerPC, you can always be resurrected when the time comes
2014-12-16 21:58:38 +01:00
Peter Tissen
be3389fdef
added optional per-game settings
...
call button 'game settings' only when modifying game-only settings
make the user confirm deleting settings
2014-12-16 00:14:11 +01:00
Henrik Rydgard
4ec30d98e1
Port the x86 and ARM emitters over to use the generic CodeBlock class
2014-12-15 22:32:55 +01:00
Henrik Rydgard
b2951f0def
Transplant Dolphin's ARM64 emitter over. Not hooked up to anything (yet...)
2014-12-15 22:09:26 +01:00
chinhodado
422764e077
Remove an unnecessary memcpy
2014-12-14 23:59:55 -05:00
Unknown W. Brackets
9a41dec0ff
Fix some type comparison warnings.
2014-12-14 17:35:20 -08: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
Lioncash
ff0ea751c5
MediaEngine: Get rid of implicit boolean conversions to int
2014-12-13 23:40:04 -05:00
Unknown W. Brackets
cb7e7643db
Blackberry buildfix.
2014-12-13 19:38:04 -08: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
32a452d671
Blackberry buildfix, added a commen this time..
2014-12-13 22:14:53 +01:00
Henrik Rydgard
5de011fe95
Again, sigh..
2014-12-13 21:53:28 +01:00
Henrik Rydgard
db5478135b
Typo fix
2014-12-13 21:26:13 +01:00
Henrik Rydgard
05a8e2e35d
Some work towards being able to build two JITs together
...
This will be useful for testing/debugging, but not there yet.
2014-12-13 21:13:54 +01: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
5ae4cc8959
x86: Turn VFPU SIMD off again. See #7173 and #7174
2014-12-13 13:35:29 +01:00
Henrik Rydgard
75a9420b21
Reduce the number of places we include JitCommon.h. Update native.
2014-12-12 23:49:08 +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