Commit Graph
39166 Commits
Author SHA1 Message Date
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
Daniel Nagel 439ea67cc2 Add error handling for SDL_GL_CreateContext 2014-09-02 07:34:08 +02: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
Daniel Nagel 66c19727ce Add missing mode flag 2014-09-01 20:24:26 +02:00
Unknown W. Brackets 58f8b7aa21 thin3d: Avoid dynamic texturing locking.
Seems like it requires checking caps, and these textures are probably
not dynamic anyway.
2014-09-01 08:41:36 -07:00
Unknown W. Brackets 2d8f6f8287 thin3d: Simplify d3d9 debug dll loading. 2014-09-01 08:09:20 -07:00
Unknown W. Brackets 3ab1f8baa9 thin3d: Use dynamic index/vertex buffers. 2014-09-01 08:08:51 -07:00
Daniel Nagel afefac86ad Update to SDL2 2014-09-01 16:35:19 +02:00
Daniel Nagel 1d096f7d02 Look for SDL_gamecontroller.h instead of SDL.h to prevent CMake from
using SDL1 include dirs
2014-09-01 15:47:21 +02:00
Daniel Nagel d4014f5f7f Update to SDL2 2014-09-01 15:46:14 +02:00
Daniel Nagel dbdef45559 Detect and use SDL2 with help of this Dolphin CMake module:
https://github.com/dolphin-emu/dolphin/blob/master/CMakeTests/FindSDL2.cmake
2014-09-01 11:48:23 +02: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
Toad King 91cb8ea1c9 typo 2014-08-31 23:53:48 -04:00
Henrik Rydgård 1fd2316e32 Merge pull request #6818 from sum2012/log
Add a "no loop information" log
2014-09-01 00:54:56 +02:00
sum2012 06fae5bcbc Add a "no loop information" log 2014-09-01 04:47:12 +08:00
Unknown W. Brackets ff8846eabb Disable the loadexec test for now.
It hangs because it calls sceKernelSelfStopUnloadModule which we ignore,
but for now let's skip it to speed up tests.
2014-08-31 09:25:00 -07:00
The Dax 612cc37878 Fix a couple small style issues.
Trying to be consistent with the coding style..
2014-08-31 04:16:22 -04: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 94ee0c5a01 Merge pull request #6815 from unknownbrackets/gpu-minor
Eat cycles during GE block transfers
2014-08-31 09:29:09 +02:00
Henrik Rydgård afb31ef79a Merge pull request #6811 from unknownbrackets/d3d9
d3d: Add basic stencil mask handling
2014-08-31 09:27:46 +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
Henrik Rydgard abe08c977c Update native (now compiles dx shaders as 2_0) 2014-08-31 09:11:22 +02:00
Henrik Rydgard 9a72d5323b Change thin3d to compile model 2_0 shaders by default. We can add a way to choose 3_0 later. 2014-08-31 09:10:41 +02:00
The Dax 906396c602 GetWideCmdLine doesn't need to be exposed in the header anymore.
Also fix a warning.
2014-08-31 03:07:52 -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 e1d2e72480 Add block transfer to null gpu.
For tests, better to have it here.
2014-08-30 22:14:58 -07:00