Commit graph

22459 commits

Author SHA1 Message Date
Henrik Rydgård
102be8654f Remove RIP access from some matrix ops, SafeMem 2017-07-07 11:33:05 +02:00
Henrik Rydgård
2e9a9f2d7c Move mscxr_temp to MIPSState 2017-07-07 11:33:05 +02:00
Henrik Rydgård
d82f90f1b2 More RIP removal 2017-07-07 11:33:05 +02:00
Henrik Rydgård
78538ff61e Some code cleanup. More work towards removing RIP addressing 2017-07-07 11:33:04 +02:00
Henrik Rydgård
80b82ecd81 Buildfix attempt 2017-07-07 11:33:02 +02:00
Henrik Rydgård
f44f7472e5 Remove more RIP addressing 2017-07-05 13:27:38 +02:00
Henrik Rydgård
99d23fb021 X64/X86: Even more use of the context register 2017-07-05 13:21:35 +02:00
Henrik Rydgård
730e9ced6c X86/X64: We have the context register loaded, let's use it more. 2017-07-05 13:12:42 +02:00
Henrik Rydgård
385204bec6 X64 vertex decoder: Use relative memory accesses when loading matrices. 2017-07-05 12:51:41 +02:00
Henrik Rydgård
c4db0a2311 x64: Use context register to access saved_flags 2017-07-05 12:45:56 +02:00
Henrik Rydgård
e6e96c0d89 Fix build with NDK 15. This does force us to make do with 32-bit file sizes... 2017-07-03 16:25:12 +02:00
Henrik Rydgård
7da5dfcdd7 Don't use stat64 unless we need to 2017-07-03 16:14:41 +02:00
Henrik Rydgård
7939cb5024 Minor debugging feature: Show vertex normals in GE debugger 2017-07-02 22:51:52 +02:00
Henrik Rydgård
0d49bc9835 Merge pull request #9824 from unknownbrackets/ui-slow
UI: Show slow message based on refresh rate
2017-07-02 11:15:48 +02:00
Henrik Rydgård
ca12ffb656 Merge pull request #9823 from unknownbrackets/texscaling
D3D11: Fix texture scaling with blank first half
2017-07-02 11:15:21 +02:00
Unknown W. Brackets
79cb51aa91 UI: Show slow message based on refresh rate.
It was always showing because it wasn't divided by 1000.
2017-07-01 16:21:47 -07:00
Unknown W. Brackets
c711b00d4c GPU: Clean up some GLES3 defaults.
It should default both of them the same way.  And we already set subimage
on desktop.
2017-07-01 16:16:59 -07:00
Unknown W. Brackets
c724df5f52 D3D11: Fix texture scaling with blank first half.
This would cause some textures to become blank.  Fixes #9813.
2017-07-01 16:10:00 -07:00
Henrik Rydgård
5175abe1fd Merge pull request #9822 from nagisa/windows-has-no-weak-linking
Fix Windows XP support in LocalFileLoader
2017-07-01 18:01:13 +02:00
Simonas Kazlauskas
ee00815da3 Fix Windows XP support in LocalFileLoader
Because that junk from 50 years ago still matters to people, apparently.
2017-07-01 13:21:34 +03:00
Henrik Rydgård
3f8ccf4866 Merge pull request #9796 from zminhquanz/Runningslowmessage
Fix message running slow always show when game running stable speed
2017-06-27 11:45:05 +02:00
Unknown W. Brackets
9dced68812 Core: Buildfix. 2017-06-24 14:19:25 -07:00
Unknown W. Brackets
94a14bde27 Merge pull request #9810 from nagisa/master
Make the Loader API thread-safe
2017-06-24 11:59:16 -07:00
Unknown W. Brackets
9550771994 Core: Windows buildfix. 2017-06-24 11:58:25 -07:00
Simonas Kazlauskas
0c8faeb3ea Fix windows build 2017-06-24 21:23:52 +03:00
Simonas Kazlauskas
38c416df86 Add a note about thread-safety req in FileLoader 2017-06-24 21:10:20 +03:00
Simonas Kazlauskas
55c193ce78 Remove use of C file api in LocalFileLoader
Instead use native system calls.
2017-06-24 21:07:37 +03:00
Simonas Kazlauskas
597a1af85c Add conservative locking arond Caching/HTTP FLs
Making them hopefully thread-safe.
2017-06-24 21:06:18 +03:00
Simonas Kazlauskas
3f63c29736 Also support atomic windows readAt 2017-06-23 18:40:00 +03:00
Simonas Kazlauskas
3c3596dbf2 Make the Loader API thread-safe
Since the majority of the code is using ReadAt API already, map this to
a `readp` "syscall" which does not mutate any state about the file
descriptor therefore making it fairly safe multi-threading wise.

This allows to get rid of read-time mutexes in RamCachedFileLoader and
therefore fixes #9803
2017-06-23 17:23:43 +03:00
Unknown W. Brackets
3249d81654 GE Debugger: Buildfix for BSD.
`tm` was not defined, as per jbeich.
2017-06-18 12:17:48 -07:00
zminhquanz
7347c28464 Fixes 2017-06-15 21:43:41 +07:00
zminhquanz
e2c9fa7f57 Fixes 2017-06-15 12:15:56 +07:00
Henrik Rydgård
dd23588cd7 Merge pull request #9799 from unknownbrackets/case-hack
Apply a hack to simulate USB created files
2017-06-13 19:17:58 +02:00
Unknown W. Brackets
a223d4e272 Apply a hack to simulate USB created files.
Fixes #9794.  Some homebrew accidentally depend on this PSP firmware bug.
2017-06-12 22:55:50 -07:00
zminhquanz
bb5114bc84 Add 1 line 2017-06-12 13:41:04 +07:00
zminhquanz
6e2f152919 Add credit developer 2017-06-11 20:44:41 +07:00
zminhquanz
98586e0af8 Oops 2017-06-11 20:42:54 +07:00
zminhquanz
1fb31c73cb Fix running slow message , it's always show when game run stable above 98% speed 2017-06-11 19:26:17 +07:00
Henrik Rydgård
dfdf54813a Port a small simplification to D3D9 2017-06-09 14:53:06 +02:00
Henrik Rydgård
5f6e0feacb D3D11: Fix Star Ocean again (wasn't clearing stencil properly) 2017-06-09 14:50:39 +02:00
Henrik Rydgård
3606111113 Fix UWP build 2017-06-09 11:23:43 +02:00
Henrik Rydgård
15aff3d368 Merge pull request #9790 from unknownbrackets/homebrew
Set a working directory for homebrew outside ms0:/PSP/GAME/
2017-06-08 09:39:06 +02:00
Unknown W. Brackets
1339bf18c1 sceVaudio: Fix typo in constant name.
Same value, but this is clearer.
2017-06-07 18:54:47 -07:00
Unknown W. Brackets
2c01bc80d0 Core: Set cwd for non-ms0:/ games on boot.
This isn't ideal (games should be in ms0:/PSP/GAME/), but it gives a
better chance of games working than not setting a cwd at all.

Fixes #9785.
2017-06-07 18:52:46 -07:00
Henrik Rydgård
2cd8bb53d5 Merge pull request #9783 from hrydgard/elf-safety
Various ELF loading size checks for safety
2017-06-07 09:59:05 +02:00
Henrik Rydgård
b7263b6dc0 Merge pull request #9784 from unknownbrackets/warnings
Warning fixes
2017-06-07 09:57:11 +02:00
Unknown W. Brackets
21fbacd993 Build: Include Roboto in buildscripts. 2017-06-06 23:28:43 -07:00
Unknown W. Brackets
e24216e55b UI: Add some missing overrides. 2017-06-06 19:50:19 -07:00
Unknown W. Brackets
a6f56769a8 SoftGPU: Avoid some compile warnings.
Remove some no-longer used funcs, add some switch default logs.
2017-06-06 19:49:42 -07:00