Commit Graph
4067 Commits
Author SHA1 Message Date
Unknown W. Brackets 2c763365b4 Check size is within bounds in AllocAt(). 2013-09-11 22:52:22 -07:00
Henrik Rydgård e8b8ed7d65 Merge pull request #3733 from thedax/simplifyOSKBypass
Win32: Simplify NativeKeyboard(OSK bypass), and speed up the char copy loop.
2013-09-11 13:23:49 -07:00
Henrik Rydgard 91f9161d76 Fix some bugs found in reports in the Android crash reporting console 2013-09-11 22:21:32 +02:00
The Dax 58aab2eeb8 Simplify NativeKeyboard, and only copy the amount of bytes of the output plus null terminator. 2013-09-11 15:42:32 -04:00
Unknown W. Brackets db7496a37c Write only changed characters from OSK. 2013-09-11 08:04:01 -07:00
Unknown W. Brackets a8c7421a0b Add some additional and mostly pointless accuracy. 2013-09-11 00:15:49 -07:00
Unknown W. Brackets 8e69b70bf5 Start sceRtc at now, not 1970. 2013-09-11 00:12:33 -07:00
Henrik Rydgård e875e8597a Merge pull request #3728 from unknownbrackets/savedata-minor
Don't copy a negative size in savedata
2013-09-11 00:02:48 -07:00
Unknown W. Brackets 5352432d8f Don't copy a negative size in savedata.
Not sure what's correct here, Street Fighter Alpha 3 passes -1.
It seems to call it twice, so probably the first time is to get the size?

Fixes #3722, thanks @thedax.
2013-09-10 22:23:47 -07:00
Henrik Rydgard 2745744d99 Split the resolution setting into Window Size and Rendering Resolution (internal resolution).
Gets rid of our "antialiasing" (simply crank up internal resolution to 2x your window size).

Proper MSAA is coming later.
2013-09-11 00:19:34 +02:00
Henrik Rydgård fb48defa75 Experiment: Disable VROT on x86 32-bit except on Windows where I know it works. 2013-09-10 18:17:00 +02:00
Henrik Rydgård 5a9bed50bf Merge pull request #3715 from unknownbrackets/savedata-minor
Fix custom save dialog dates
2013-09-10 02:12:48 -07:00
Unknown W. Brackets e75ea49a66 Fix #3706, custom save dialog dates. 2013-09-10 02:09:18 -07:00
Henrik Rydgård d20e7a93aa Merge pull request #3713 from unknownbrackets/thread-stack
Correct sceKernelGetThreadStackFreeSize()
2013-09-10 02:04:26 -07:00
Unknown W. Brackets 9fb64183e6 Don't write more than the savedata buffer.
Fixes Numblast when there's savedata, probably others.
Could use more testing.
2013-09-10 01:46:49 -07:00
Unknown W. Brackets b898e397aa Correct sceKernelGetThreadStackFreeSize().
It was always returning 0.
2013-09-10 01:31:03 -07:00
Unknown W. Brackets 0f7ac377cd Offset the root thread's stack by arg size.
Otherwise it'll just overwrite, right?
2013-09-10 01:12:51 -07:00
Henrik Rydgård ff0eb6eb62 Merge pull request #3712 from unknownbrackets/volatile-mem
Improve volatile mem locking w/ suspended intr
2013-09-09 23:57:26 -07:00
Henrik Rydgård 164d0972a7 Merge pull request #3711 from unknownbrackets/thread-minor
Fixes to various thread functions + heap corruption fix
2013-09-09 23:56:07 -07:00
Unknown W. Brackets 6d949f4d0b Improve volatile mem locking w/ suspended intr. 2013-09-09 23:49:06 -07:00
Unknown W. Brackets 15f66f2ff2 Log when syscalls fail due to intr/dispatch. 2013-09-09 23:14:40 -07:00
Unknown W. Brackets 19f517b042 Add a few new syscalls from reporting. 2013-09-09 22:38:29 -07:00
Unknown W. Brackets ada492febe Fix really stupid heap corruption mistake. 2013-09-09 22:33:17 -07:00
Unknown W. Brackets ccf021cef0 Return a negative error code in __KernelGetWaitID.
This way we can use 0 as a proper wait id.
2013-09-09 21:39:56 -07:00
Unknown W. Brackets 2577f65b80 Reset waits when terminating a thread.
Terminated threads can't be waiting.
2013-09-09 21:39:38 -07:00
Unknown W. Brackets e19fdef0fd Reset thread priority on terminate. 2013-09-09 21:31:04 -07:00
Unknown W. Brackets a3637a1cad Set the low mystery bits of the thread attr.
Tests on PSP show this, and I can't find a way to not have them set.
But I don't really know what they mean.

Anyway, since you can refer the status, you can see them, may improve
compatibility.
2013-09-09 20:51:52 -07:00
Unknown W. Brackets 0af3c50924 Eat cycles after creating a thread.
Improves things on some tests, should be more accurate.
Creating a thread sure takes a long time.
2013-09-09 20:49:30 -07:00
Unknown W. Brackets 1481bbdd3b Validate and report some thread attributes. 2013-09-09 20:48:23 -07:00
Unknown W. Brackets ce4c0d85bb Support some thread stack attr options.
May improve memory management in some games.
2013-09-09 20:46:19 -07:00
Henrik Rydgard b24ea4014a Simple tilt sensitivity setting 2013-09-09 23:48:11 +02:00
Unknown W. Brackets 65a1350f32 Oops, timegm() is supposed to modify its argument. 2013-09-09 08:50:49 -07:00
Unknown W. Brackets 281685fd43 Fix minor scheduling issues in the vpl test. 2013-09-09 01:05:38 -07:00
Unknown W. Brackets 478d007f96 I'm a typo machine. 2013-09-09 00:35:38 -07:00
Henrik Rydgård 628f77e2b0 Merge pull request #3700 from unknownbrackets/callbacks
Improve callbacks (still not rescheduling properly inside one)
2013-09-09 00:30:14 -07:00
Unknown W. Brackets 38e30e5a67 Fix bugs when memory size is 0x04C00000/etc.
Was experimenting with trying to match my non-phat's ram size.
2013-09-09 00:25:10 -07:00
Unknown W. Brackets be468af52d Refactor waiting thread removal. 2013-09-09 00:22:00 -07:00
Unknown W. Brackets 4bd391b098 Refactor waiting thread cleanup. 2013-09-09 00:22:00 -07:00
Unknown W. Brackets 1040123a97 Delete callbacks when their thread is deleted. 2013-09-09 00:22:00 -07:00
Unknown W. Brackets 4bba276696 Run callbacks in creation order, not notify order. 2013-09-09 00:21:59 -07:00
Unknown W. Brackets 87bd8d59e2 Clean up umd bad callback id errors, oops. 2013-09-09 00:21:53 -07:00
Unknown W. Brackets 64b75ed3ff Decentralize callback registration.
Callbacks are always tied to THEIR thread, and the registration was all
based on the current thread which is just not the right way.
2013-09-09 00:21:15 -07:00
Unknown W. Brackets 94e88943d8 Keep a single list of pending callbacks.
Doing it per type only meant that we'd incorrectly call a callback twice
if it was notified by e.g. scePowerRegisterCallback() and
sceKernelNotifyThread(), which isn't what's supposed to happen.
2013-09-09 00:21:14 -07:00
Henrik Rydgård 74418c13bf Merge pull request #3646 from raven02/patch-17
Toggle option "Disable Stencil Test" & "Always Depth Write"
2013-09-09 00:06:00 -07:00
Unknown W. Brackets d348b9d47a Add callback handlers for msgpipes. 2013-09-08 15:06:36 -07:00
Unknown W. Brackets 9a2beffea5 Refactor and add a way to remove msgpipe waits. 2013-09-08 15:06:35 -07:00
Unknown W. Brackets 411468dbac Adjust some helpers for msgpipes. 2013-09-08 15:06:35 -07:00
Unknown W. Brackets f59d799a5b Reorganize msgpipes code a bit to prep. for cbs.
No real changes.
2013-09-08 15:06:34 -07:00
Unknown W. Brackets 136d0b5c50 Split msgpipe handling logic from wait/resched.
This way I can reuse it for the callback stuff.
2013-09-08 15:06:34 -07:00
Henrik Rydgård 1fde96a95a Merge pull request #3694 from unknownbrackets/atrac-minor
Improve sceAtrac error handling
2013-09-08 15:02:35 -07:00