Commit Graph
5105 Commits
Author SHA1 Message Date
Unknown W. Brackets db77dcd149 Fix some includes on Windows/etc. 2013-12-29 15:59:36 -08:00
Henrik Rydgård be74da8f3c More include cleanup, hopefully buildfix Symbian 2013-12-30 00:23:04 +01:00
Henrik Rydgård ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård 87f203a5b8 More include untangling 2013-12-29 23:44:35 +01:00
Henrik Rydgård 79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Unknown W. Brackets e6b2d00a2f Avoid reseved identifiers like _SP, etc.
R_SP is not that bad.
2013-12-29 14:25:34 -08:00
Henrik Rydgård 0952674b37 Merge pull request #4898 from raven02/patch-21
GLES3: enable PSP-based mipmapping generation
2013-12-29 02:07:31 -08:00
Kentucky Compass db77b52caa Save/restore local file handles and seek positions 2013-12-28 23:43:02 -08:00
Henrik Rydgård ff10d0b0f2 Merge pull request #4887 from unknownbrackets/io-minor
Implement a few more ioctl commands
2013-12-28 00:17:37 -08:00
Henrik Rydgård 80d73f3d93 Merge pull request #4923 from lioncash/master
Fix possible null ptr derefs in sceFont.cpp. Also fix typo in if statement comparison in sceNetAdhoc.cpp
2013-12-27 23:47:49 -08:00
Unknown W. Brackets ed759d32ff Correctly identify a blockwise memcpy.
Oops, I didn't realize this one went in blocks of 16.
2013-12-27 21:39:05 -08:00
Lioncash 442cc2f1c7 Fix a typo in an if statement comparison in function sceNetAdhocPdpDelete. This was likely intended to check against 'sock', not 'socket'. On Windows, initially 'socket' referred to a function in the WinSock2.h header file. Naturally, this will alway be non-null, which further leads to the conclusion that this was the intended comparison.
Also updated the commented out sections accordingly.
2013-12-27 12:02:53 -05:00
Lioncash 19dee283f2 Access font after the null check in sceFontGetCharImageRect, not before. 2013-12-27 11:42:14 -05:00
Unknown W. Brackets 0c3dd53c2b Remove extraneous lookup. 2013-12-27 08:05:19 -08:00
Unknown W. Brackets 0bf1ef5773 Improve sceIoGetDevType() return values.
At least for block/file devices.  Can't find a way to get an alias.
2013-12-27 08:04:00 -08:00
Unknown W. Brackets 23971e9900 Implement ioctl command 0x01020002. 2013-12-27 08:03:59 -08:00
Unknown W. Brackets dbf86187e3 Add Ioctl() to IFileSystem, cleaner. 2013-12-27 08:03:59 -08:00
Unknown W. Brackets 8c34f5f78e Implement ioctl command 0x01d20001. 2013-12-27 08:03:58 -08:00
Unknown W. Brackets d916ce7658 Correct result for sceIoRead type ioctls. 2013-12-27 08:03:58 -08:00
Unknown W. Brackets 76d0cd444e Implement ioctl command 0x01f100a6. 2013-12-27 08:03:57 -08:00
Unknown W. Brackets 2433ff5f04 Implement ioctl command 0x01f30003.
Wonder if this will fix anything, it was silently not reading before.
2013-12-27 08:03:57 -08:00
Henrik Rydgård 7a643f3c78 Merge pull request #4918 from unknownbrackets/memblocks
Allow memblocks to be used with partition funcs
2013-12-27 02:26:49 -08:00
Henrik Rydgård 1741fa54a7 Merge pull request #4919 from unknownbrackets/load-module
Implement sceKernelLoadModuleBufferUsbWlan()
2013-12-27 02:24:51 -08:00
Unknown W. Brackets bde1d14f25 Update hashmap before deciding to abort.
Otherwise, if you delete it, it can never generate one.
2013-12-27 00:29:37 -08:00
Unknown W. Brackets 0f3c9ca92f Implement sceKernelLoadModuleBufferUsbWlan(). 2013-12-27 00:28:38 -08:00
Unknown W. Brackets 6816bb9948 Allow memblocks to be used with partition funcs.
It seems that the uids are interchangeable.  Probably won't matter, but
now they have proper uids.
2013-12-26 21:00:17 -08:00
raven02 0a44bff7fa GLES3: Try to re-enable PSP-based mipmapping generation 2013-12-25 17:17:10 +08:00
Henrik Rydgård 038b0f51aa Merge pull request #4892 from sum2012/sceumd
Fix Sceumd
2013-12-24 12:25:05 -08:00
Henrik Rydgard acce50aaa5 A few more math functions replaced 2013-12-22 12:51:16 +01:00
Henrik Rydgård b0bfda6333 Merge pull request #4515 from bollu/improvedTilControls
Redid the tilt controls in a nicer way
2013-12-22 02:13:28 -08:00
Henrik Rydgard 7189adf33a non-windows x86 buildfix 2013-12-21 19:47:59 +01:00
Henrik Rydgard 9e109e16d9 Android buildfix.
Also, this warning flag appears not supported. (4.6?)
2013-12-21 13:06:29 +01:00
Henrik Rydgard 6a051a9eed Oops 2013-12-21 13:05:30 +01:00
Henrik Rydgard 215a269b34 Optimize dl_write_matrix just because. not expecting a big speedup... 2013-12-21 12:39:34 +01:00
raven02 ee566d2e79 emnu fix#4 2013-12-21 16:24:16 +08:00
sum2012 f3b0582750 Fix Sceumd
Fix Narisokonai Eiyuutan: Taiyou to Tsuki no Monogatari black screen
Fix The History Channel: Great Battles of Rome load probrem.
Fix Sora no Kiseki SC change disc issue
2013-12-21 07:15:35 +08:00
Henrik Rydgard 455a73bba7 Bugfix replace function inlining (compilerPC needs to be increased). Misc. 2013-12-20 15:37:37 +01:00
Henrik Rydgard a53a032120 Prevent hashes from coming out differently after replacement. 2013-12-20 13:53:03 +01:00
Sacha 3cad2ed850 Use VFS for Flash0 dir on non-Windows/Apple platforms. 2013-12-19 23:30:32 +10:00
Henrik Rydgård 28a518bfa7 Reformat JitBlockCache 2013-12-19 13:34:06 +01:00
Henrik Rydgård 2eb1f89ad0 Rework proxy blocks a bit 2013-12-19 13:31:13 +01:00
Henrik Rydgård 3957b5fb42 Call ProxyBlock in ArmJit too. Plus various cleanup and one more string function. 2013-12-19 11:45:39 +01:00
Henrik Rydgård 5585b85ccc Use GetPointerUnchecked in replaced functions. No point in checking these addresses really. 2013-12-19 11:34:55 +01:00
Unknown W. Brackets 46e0ac5f23 Logging tweak. 2013-12-19 00:18:29 -08:00
Unknown W. Brackets b48c625adc Replacements: use memmove, avoid invalid addr.
If size = 0, don't care about addresses.  Some games use 0, 0, 0 and
expect it to work just fine, which it should.
2013-12-19 00:15:03 -08:00
Unknown W. Brackets 9bb03072e6 Increase the min size of an "interesting" func.
Seeing a bunch of forwarders and stuff that won't hash safely.
2013-12-18 23:58:45 -08:00
Unknown W. Brackets 438361d0bc Clean up code pointer naming for the jit.
Now it properly identifies thunk code which is actually a decent percent
when fastmem is off at least.
2013-12-18 23:57:39 -08:00
Henrik Rydgard 1cb7965cb1 Jit feature preparation: Introduce "proxy blocks".
When these are invalidated, the block they point to gets invalidated too.

Will be useful to implement various types of block merging and function inlining
without affecting correctness of cache clears etc.

Also, with this commit we can now fully inline replaced functions. fabsf() boils
down to 1-2 instructions and the block continues, for example.
2013-12-19 00:39:49 +01:00
Henrik Rydgard 1e300447e1 Fix some replace-related bugs. Add "jal" replace inlining, not activated. 2013-12-18 16:27:23 +01:00
Henrik Rydgard 2d4c28826a Show replaced instructions correctly in disassembly 2013-12-18 11:42:19 +01:00