Commit Graph
8117 Commits
Author SHA1 Message Date
Unknown W. Brackets e9916bdf0b ThreadEvent: Add management functions.
Currently never being triggered, though.
2016-05-28 21:17:16 -07:00
Unknown W. Brackets 04576189b4 Callbacks: Fix delete when multiple for a thread.
Oops, this was deleting all after the deleted one.
2016-05-28 21:15:25 -07:00
Henrik Rydgard 0d6ad3df2f Fix wrong type of parameter to UpdateRunLoop. Do not understand how this compiled. 2016-05-28 16:11:02 +02:00
Henrik Rydgård 3147f1ac95 Merge pull request #8775 from unknownbrackets/http
Clean up HTTP server implementation
2016-05-28 12:34:55 +02:00
Unknown W. Brackets a1fbcc3d93 Avoid directly calling osm from Core/GPU code.
This allows UI to handle the message however it wants to, and reduces
cross linkage issues.
2016-05-27 22:05:30 -07:00
Unknown W. Brackets 27d135d48a Decouple save states from UI.
It's the UI's job to decide how and what things are displayed, not Core's.
This also reduces reasons for linkage issues.
2016-05-27 21:25:05 -07:00
Unknown W. Brackets e6cf296d1a Trigger save slot display from UI code.
Core shouldn't be calling UI code.
2016-05-27 20:53:20 -07:00
Unknown W. Brackets afdd01571c Uncouple savestates from NativeApp some.
Still have osm.
2016-05-27 20:41:37 -07:00
Unknown W. Brackets 95d912c378 Get rid of the input_state global linkage. 2016-05-27 20:24:01 -07:00
Unknown W. Brackets 9e9bc91405 Fix a crash when opening a file without extension. 2016-05-26 18:16:41 -07:00
Unknown W. Brackets 8dd7527dc8 Clamp reads at the beginning too.
Safer, avoids an index overrun in disk cache.
2016-05-26 00:07:46 -07:00
Unknown W. Brackets 1c357f7f7b Fix reads from cache outside the file.
Homebrew seems to all trigger us to read after the end of file, which was
looping infinitely.  Fixes #8773.
2016-05-25 18:42:21 -07:00
Unknown W. Brackets 4113fd940c Add ugly invalidation workaround for SGS7s.
Otherwise they just crash, and crash often.  Special thanks to Jaaan for
numerous trials to try to find the best way to solve the crashes.
2016-05-23 21:35:28 -07:00
Henrik Rydgård 540181c32d Merge pull request #8759 from unknownbrackets/qt-size
Improve display of Qt at 1x size
2016-05-22 10:56:00 +02:00
Henrik Rydgård faa6b16319 Merge pull request #8763 from unknownbrackets/jit-minor
x86jit: Fix vmmul of matrix with itself
2016-05-22 10:55:39 +02:00
Unknown W. Brackets 12f8df395b Return correct bytes near end in RAM caching.
Reading beyond the end of file should not return data.  Also check what
the backend actually returned, in case it wasn't able to return data
either.
2016-05-22 01:35:16 -07:00
Unknown W. Brackets 546c0a5d9b Fix buffer overflow in RAM caching feature.
Would mainly affect files not even block sizes, such as CSO files, but
might affect all files.  Oops.  Fixes #8764.
2016-05-22 01:34:31 -07:00
Unknown W. Brackets e65e794f28 x86jit: Fix vmmul of matrix with itself.
Was not SIMDing correctly.  Probably rare in practice.
2016-05-21 23:02:29 -07:00
Unknown W. Brackets 6159bc003b Allow Qt platforms to use smallWindow dpi logic.
It doesn't look like there's any reason to limit this to Windows.
2016-05-21 09:58:23 -07:00
Henrik Rydgård bb7dd908ba Merge pull request #8760 from unknownbrackets/warnings
Warning fixes + more ccache
2016-05-21 18:35:29 +02:00
Unknown W. Brackets a913e0f0fc Remove some unused private properties. 2016-05-21 09:29:04 -07:00
Unknown W. Brackets b09c2b1f75 Add some missing override definitions. 2016-05-21 09:29:03 -07:00
Unknown W. Brackets f0cc975865 Hook some funcs in Me and My Katamari.
One is a very hardcoded screenshot download / vfpu convert to 565, and the
other is some very weird check to make sure render is clear or has
happened or something.

The screenshot func detects downloads for the "Royal Album".  The render
check detects downloads for post-rename (no idea why it checks here.)

Fixes #7695.
2016-05-20 22:30:25 -07:00
Unknown W. Brackets eee98966f4 Add Memory utility to detect shutdown. 2016-05-19 21:17:17 -07:00
Henrik Rydgård 306f7423e7 Merge pull request #8755 from unknownbrackets/cpu-div
Handle divide by zero more accurately in jit
2016-05-19 09:30:25 +02:00
Unknown W. Brackets 2d3df5c621 armjit: Handle divide by zero more accurately.
Turns out, some games may depend on this behavior.
2016-05-19 00:07:41 -07:00
Unknown W. Brackets 5105e1947f x86jit: Set HI/LO properly on divide by zero. 2016-05-19 00:06:53 -07:00
Henrik Rydgård 3554024a05 Merge pull request #8750 from unknownbrackets/display-minor
Add vblank wait to sceDisplaySetMode, fix default brightness value
2016-05-19 08:49:19 +02:00
Henrik Rydgard 3cae60b320 Revert potentially dangerous optimization that may have caused #8754, though not sure how. 2016-05-18 21:22:08 +02:00
Unknown W. Brackets ee31f09b67 Buildfix. 2016-05-18 07:12:21 -07:00
Unknown W. Brackets 5534fba72c jit-ir: Add load/store reorder and merge passes.
Can do more in merge, potentially.  Maybe it's not useful...
2016-05-17 21:24:13 -07:00
Unknown W. Brackets a9cdf7651e jit-ir: Mark prefixes unknown in mtv. 2016-05-17 21:22:57 -07:00
Unknown W. Brackets b1c7f3dd3f jit-ir: Correct vx2i with partial overlap. 2016-05-17 21:22:23 -07:00
Unknown W. Brackets 842e450965 Display: Correct default brightness, add reporting.
Not sure if any games use hold/resume in a way that ought to work.
Display didn't seem to react to them being called.
2016-05-16 22:33:50 -07:00
Unknown W. Brackets d0dc03f359 Display: Wait for vblank when setting mode.
Some games call this even when not needed, and it turns out to have an
important behavior.
2016-05-16 22:02:21 -07:00
Henrik Rydgård b5b94f4a4d Merge pull request #8747 from unknownbrackets/display-minor
Display: Return 1 during the vsync period
2016-05-16 09:19:47 +02:00
Unknown W. Brackets 9ed604f9c8 Display: Return 1 during the vsync period.
Timing is based on manual tests, where the vsync signal is near the end of
the vblank.  Curiously, it stops right before the vblank stops, reliably.
2016-05-15 23:46:46 -07:00
Henrik Rydgård 558d4297fc Merge pull request #8743 from unknownbrackets/display-minor
Add validation to sceDisplaySetFramebuf
2016-05-16 08:04:37 +02:00
Unknown W. Brackets 597824eec6 Display: Add validation/report to set mode.
This seems to be involved in using the video out cable, but fails for
anything but these fixed parameters in normal situations.
2016-05-15 22:16:31 -07:00
Unknown W. Brackets 5e8e2d5e56 Display: Allow only immediate address changes.
It seems you must latch a change to stride/fmt first, which basically
makes sense.  Otherwise it would revert, I suppose.
2016-05-15 16:42:25 -07:00
Unknown W. Brackets 249a85b7e0 Display: Validate framebuf parameters. 2016-05-15 16:38:00 -07:00
Unknown W. Brackets 44cee09adc Dsiplay: Initialize the framebuf params better. 2016-05-15 16:29:58 -07:00
Unknown W. Brackets 958d7f0944 Display: Record bufw/fmt even when display is off.
These are returned by sceDisplayGetFrameBuf().
2016-05-15 15:55:04 -07:00
Unknown W. Brackets 26e9acee4b Display: Skip transitions between off/on in FPS.
We're just trying to detect frequent flips, so off/on doesn't play into
it.
2016-05-15 15:54:04 -07:00
Henrik Rydgard fff898b526 Log the block when "uneaten prefix" happens 2016-05-16 00:05:03 +02:00
Henrik Rydgard dc772e6f3a Add missing cases to simplify pass 2016-05-15 23:39:42 +02:00
Henrik Rydgard f544364c4a Fix bug in vus2i (thanks unknown), recognize vectors in IR disasm 2016-05-15 23:35:33 +02:00
Unknown W. Brackets e960158490 jit-ir: Add notes and report about vrot prefixes. 2016-05-15 14:08:59 -07:00
Unknown W. Brackets ab1461faca Add prefix handling to vfpu color conv per tests. 2016-05-15 13:16:03 -07:00
Unknown W. Brackets 3f0fc2d851 jit-ir: Fix FSat0_1 behavior on -0.0f. 2016-05-15 13:10:49 -07:00