Commit graph

6468 commits

Author SHA1 Message Date
Unknown W. Brackets
0180d18449 Correct sceRtcGetDayOfWeek() for odd years. 2014-09-05 09:13:08 -07:00
daniel229
202f987e9b Replace function for Zero no Kiseki and Ao no Kiseki 2014-09-05 00:52:04 +08: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
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
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
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
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
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
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
Unknown W. Brackets
2923800217 Eat some cycles when starting a thread.
Seems to improve a test a bit, based on tests.
2014-09-01 21:12:13 -07:00
Unknown W. Brackets
84231c0188 Eat some cycles when canceling/deleting fpls.
Improves tests measuing timeouts remaining after delete.
2014-09-01 21:11:41 -07:00
Unknown W. Brackets
c5b15cc9fc Adjust semaphore timing slightly.
This matches tests a bit better.
2014-09-01 20:03:58 -07:00
Unknown W. Brackets
6599430c04 Improve some timing in msgpipes.
Probably not super important, but makes tests happier.

Also, when unscheduling an event, return the current time left, including
already spent time since last Advance.
2014-09-01 20:03:58 -07:00
Unknown W. Brackets
a42a2864a6 Protect against vtimers scheduled in past. 2014-09-01 20:03:57 -07:00
Unknown W. Brackets
f78712ec3a Simplify alarm timing.
This is from when it seemed like sceKernelSetAlarm() was by cycles.
Corrects handling of large timer / sysclock params.
2014-09-01 20:03:57 -07:00
Unknown W. Brackets
2cad35ad59 Put a 250us minimum on all vtimer scheduling. 2014-09-01 20:03:56 -07:00
Unknown W. Brackets
4e9f54a400 Require 250us lead time to start a vtimer.
Matches tests, improves the threads/vtimers/delete test.
2014-09-01 20:03:56 -07:00
Unknown W. Brackets
baf465500a Fix a bad iterator dereference in sceMpeg.
Though not sure it should actually reach here, let's at least not crash.
2014-08-31 21:15:04 -07:00
sum2012
06fae5bcbc Add a "no loop information" log 2014-09-01 04:47:12 +08:00
Henrik Rydgård
c02f1ca3e1 Merge pull request #6812 from unknownbrackets/jit-minor
Correctly handle flags/temp regs when setting rounding mode
2014-08-31 09:30:51 +02:00
Henrik Rydgård
218fd7bab5 Merge pull request #6805 from sum2012/kernel
Fix sceKernelSelfStopUnloadModule parameters
2014-08-31 09:27:23 +02:00
Henrik Rydgård
64bc2b7bdb Merge pull request #6816 from thedax/win32-Unicode
Win32: Use wide strings to parse some command-line arguments, and convert them to proper UTF-8 for others.
2014-08-31 09:26:31 +02:00
The Dax
f22212369f Remove a few unneeded parentheses, and use nullptr instead of NULL. 2014-08-31 03:19:19 -04:00
Unknown W. Brackets
5f6f6827b5 jit: Update rounding mode immediately on ctc1. 2014-08-30 23:48:27 -07:00
The Dax
3590352429 Win32: Use wide strings to parse most command-line arguments.
Also do a tiny bit of cleanup in main.cpp (replacing strcmps with simple string equality checks).
2014-08-31 02:47:25 -04:00
Unknown W. Brackets
8e14dc1acd Fix path issue running tests on Linux.
No trailing slash.  Doesn't hurt Windows to have an extra one.
2014-08-30 22:38:19 -07:00
Unknown W. Brackets
e8cdbcc33f x86jit: Fix some flags/EAX trashing in rounding.
Fixes #6810.
2014-08-30 16:46:43 -07:00
Unknown W. Brackets
8daff0a25e armjit: Fix some downcount issues with rounding.
When setting the rounding mode we need to be super careful about not
destroying flags or R0 if they are needed.
2014-08-30 16:43:13 -07:00
Unknown W. Brackets
820a8e8f2b armjit: Don't reset downcount on fpu instructions.
It's maintained always, oops.
2014-08-30 16:30:13 -07:00
sum2012
55cb292bad Correct sceKernelSelfStopUnloadModule 's name and logging 2014-08-29 20:36:21 +08:00
sum2012
26b25052c2 Fix sceKernelSelfStopUnloadModule parameters
According to http://code.google.com/p/jpcsp/source/detail?r=3597
2014-08-29 20:31:25 +08:00
Sacha
7b308247f8 Symbian buildfix. It doesn't use MemArena. 2014-08-25 02:18:58 +10:00
Henrik Rydgard
1d7642fa48 Remove most mentions of the "_XBOX" define 2014-08-24 14:21:35 +02:00
Henrik Rydgård
812d64a4b7 Merge pull request #6774 from hrydgard/merge-ced2911-dx9-work
Cherry-pick from ced2911's dx9 work
2014-08-24 14:06:04 +02:00
Henrik Rydgard
6011255e6f D3D: Don't display buffered rendering upside down. Support screen scaling filter setting 2014-08-24 14:04:55 +02:00
Unknown W. Brackets
5f015793d8 Seems like this else was a mistake. 2014-08-23 21:54:04 -07:00