Commit Graph

14371 Commits

Author SHA1 Message Date
Unknown W. Brackets
94c1271761 Add an experiment with using a texture for tests.
Using an option for now so it's easy to test, if it works well we can
maybe remove the option.
2014-09-07 10:04:57 -07:00
Henrik Rydgard
780ed765c7 Update dx9sdk (got rid of redundant headers) 2014-09-07 10:45:38 +02:00
Henrik Rydgård
6b751a03e2 Merge pull request #6851 from unknownbrackets/d3d9
Use PS 2.0 and VS 2.0 on Direct3D 9
2014-09-07 10:00:12 +02:00
Unknown W. Brackets
ebe71e3ec4 d3d: Properly initialize cullmode. 2014-09-06 23:01:04 -07:00
Unknown W. Brackets
5639b056b3 d3d: Use 0 texcoord when not specified. 2014-09-06 23:01:04 -07:00
Unknown W. Brackets
a29c2f4f2f d3d: Use 2.0 vertex and pixel shaders. 2014-09-06 23:01:03 -07:00
Unknown W. Brackets
07ccc37689 d3d: Use drawPixelsTex as a non-dynamic texture. 2014-09-06 23:01:03 -07:00
Unknown W. Brackets
f2c50f5315 Update native (Linux buildfix.) 2014-09-06 08:13:26 -07:00
Henrik Rydgard
0264ff62f0 Update native with GL-lost-management (UI comes back on Android after switching away) 2014-09-06 13:50:50 +02:00
Henrik Rydgard
78e9a25d59 Increase android version to 0.9.9.2 (as I pushed out a recompile of 0.9.9.1 with an older SDK with that version, there are no additional changes)
Should have done this a little while ago but whatever.
2014-09-06 13:50:49 +02:00
Henrik Rydgård
a272255671 Merge pull request #6844 from unknownbrackets/rtc-minor
Implement the sceRtc formatting and reincarnated time funcs
2014-09-06 11:14:33 +02:00
Henrik Rydgard
215abfb951 Some cleanup in /Common 2014-09-06 10:47:25 +02:00
Henrik Rydgard
995da23425 XInput: Try a different mapping of circular stick values to square psp stick values. May help #6772 ? 2014-09-05 23:31:25 +02:00
Henrik Rydgard
ab0b999010 Add really basic test screen for mapped analog sticks. Only works with the first mapped axis if several. 2014-09-05 23:21:07 +02:00
Unknown W. Brackets
cddc289675 Use fixed dates for rtc adjusted and reincarnated.
This may be safer in case a game thinks funny business is going on if the
user changed the clock very recently, which wouldn't be the case on a
real PSP.
2014-09-05 09:34:09 -07:00
Unknown W. Brackets
1e31fd54eb Implement rtc date formatting funcs. 2014-09-05 09:13:33 -07:00
Unknown W. Brackets
0180d18449 Correct sceRtcGetDayOfWeek() for odd years. 2014-09-05 09:13:08 -07:00
Unknown W. Brackets
8914cb9f67 Update tests. 2014-09-04 23:10:24 -07:00
Henrik Rydgård
11069ddb4a Merge pull request #6839 from daniel229/replace_func
Replace function for Zero no Kiseki and Ao no Kiseki
2014-09-04 20:04:05 +02:00
daniel229
202f987e9b Replace function for Zero no Kiseki and Ao no Kiseki 2014-09-05 00:52:04 +08:00
Henrik Rydgård
1b0e065514 Merge pull request #6837 from achurch/master
Read lw offset as a signed value.
2014-09-04 17:35:08 +02:00
Andrew Church
6afa948d06 s32 -> int because it doesn't need to explicitly be 32 bits. 2014-09-05 00:31:25 +09:00
Andrew Church
0512a17654 Read lw offset as a signed value. 2014-09-05 00:25:48 +09:00
Henrik Rydgård
c7c4987c04 Merge pull request #6836 from achurch/master
Brandish hook: read framebuffer index offset from instruction stream, drop memcpy()
2014-09-04 17:00:15 +02:00
Andrew Church
230bbad1c6 Read the offset for the framebuffer index from the instruction stream
instead of using a literal constant, so the hook works for other games
using the same function but a different offset (e.g. Zero no Kiseki).
Also remove the memcpy() since the original function will do it anyway
(and may do it differently if other games call the function with
different arguments).
2014-09-04 23:44:32 +09:00
Henrik Rydgård
60541f2fa0 Merge pull request #6835 from PGGB/principal_class
Set NSPrincipalClass to get retina widget rendering on OS X
2014-09-04 12:45:15 +02:00
Daniel Nagel
1c74f95018 Set NSPrincipalClass to get retina widget rendering on OS X 2014-09-04 12:05:21 +02:00
Henrik Rydgård
d697acbffb Merge pull request #6834 from achurch/master
Ensure that sceIoOpen() fails on directories.
2014-09-04 11:23:49 +02:00
Andrew Church
97a0b0c510 Remove bogus blank line. 2014-09-04 18:09:07 +09:00
Andrew Church
f976c309b4 Ensure that sceIoOpen() fails on directories. 2014-09-04 18:03:28 +09:00
Henrik Rydgård
2186892381 Merge pull request #6833 from achurch/master
Hook Brandish frame capture for menu fadeout and save screenshots.
2014-09-04 10:59:10 +02:00
Andrew Church
33264a6b8f Hook Brandish frame capture for menu fadeout and save screenshots. 2014-09-04 17:36:56 +09:00
Henrik Rydgård
7af2c1ac01 Merge pull request #6831 from unknownbrackets/glsl-int
Try to use bitwise / texelFetch in glsl based on EXT_gpu_shader4
2014-09-04 10:35:36 +02:00
Unknown W. Brackets
de2c951665 Detect EXT_gpu_shader4 to use bitwise ops pre-3.3.
This may allow it to work on more cards, and should fix a (probably driver
bug) error we've had reported in GL 3.0 / GLSL 1.3.
2014-09-04 00:39:54 -07:00
Unknown W. Brackets
8ef0be6d55 Increase the reporting message buffer a bit.
Although, I'm not sure it's actually being hit.
2014-09-04 00:38:49 -07:00
Henrik Rydgård
7dfe622b27 Merge pull request #6828 from achurch/master
Handle the FS (flush-to-zero) bit in FCR31 for x86 JIT.
2014-09-04 08:41:26 +02:00
Andrew Church
3033dc5138 Revert to unconditional ClearRoundingMode() when setting FCR31. 2014-09-04 11:36:56 +09:00
Andrew Church
128122af39 Fix broken rounding mode handling. 2014-09-04 11:30:11 +09:00
Andrew Church
726cb851b9 Don't unconditionally ClearRoundingMode() before setting it. 2014-09-04 09:28:56 +09:00
Andrew Church
5816685668 Handle the FS (flush-to-zero) bit in FCR31 for x86 JIT. 2014-09-04 01:50:24 +09:00
Henrik Rydgård
8b67f427b0 Merge pull request #6826 from thedax/hle-stub
Add a non-functional stub for sceNetResolverInit.
2014-09-02 22:42:15 +02:00
The Dax
c2afa8f221 Add a non-functional stub for sceNetResolverInit.
Lets a Quake II homebrew port by CROW_BAR boot again.
2014-09-02 15:40:42 -04:00
Henrik Rydgård
c5225c2362 Merge pull request #6825 from unknownbrackets/cpu-minor
x86jit/ppcjit: Correct some bad sltiu compares
2014-09-02 20:42:37 +02:00
Unknown W. Brackets
4a1514730f x86jit/ppcjit: Correct some bad sltiu compares. 2014-09-02 08:04:22 -07:00
Henrik Rydgård
b2f5efaa50 Merge pull request #6822 from unknownbrackets/thread-funcs
Improve some timing / thread funcs
2014-09-02 09:49:46 +02:00
Henrik Rydgård
1ac04887aa Merge pull request #6823 from unknownbrackets/vfpu-minor
Fix the vrndi.s output range
2014-09-02 09:48:34 +02:00
Unknown W. Brackets
c9df66a450 Initialize the VFPU revision from a PSP-3000 value. 2014-09-01 23:16:50 -07:00
Unknown W. Brackets
4459b8f483 jit: Actually jit vmtfc/vmfvc.
Sicne we have them and they are easy.
2014-09-01 23:13:39 -07:00
Unknown W. Brackets
fd1b01b573 Fix the vrndi.s output range.
Was previously outputting only valid positive float values, but should use
a much wider range of a u32.

Might've affected randomness in some games.
2014-09-01 22:33:01 -07:00
Unknown W. Brackets
d637de8b4c Eat some cycles when signaling semaphores.
Seems to match tests.
2014-09-01 21:12:56 -07:00