Henrik Rydgård
dad5ca45f2
Delete some unnecessary loads. These loads are done properly inside trigCallHelper.
2017-07-07 14:15:10 +02:00
Henrik Rydgård
d312086a61
32-bit fixes
2017-07-07 13:57:37 +02:00
Henrik Rydgård
e5a7d0df95
Buildfix for platforms with standards-compliant offsetof (no dynamic indexing allowed)k
2017-07-07 12:59:23 +02:00
Henrik Rydgård
087c118003
Workaround
2017-07-07 12:48:17 +02:00
Henrik Rydgård
ecbeee5225
RegCacheFPU
2017-07-07 11:33:07 +02:00
Henrik Rydgård
758cbd748e
Replace vminmax_sreg with mips->temp
2017-07-07 11:33:07 +02:00
Henrik Rydgård
270001e651
vminmax_sreg only needs a single element
2017-07-07 11:33:07 +02:00
Henrik Rydgård
567937fa4d
x64: Enable non-RIP addressing for FPU registers
2017-07-07 11:33:07 +02:00
Henrik Rydgård
077fafba64
Get rid of sincostemp global. Solution not tested on linux yet.
2017-07-07 11:33:06 +02:00
Henrik Rydgård
cfa7c61651
More RIP removal. Also add some comments to make it easy to just search for "M(&" to find remaining offenders.
2017-07-07 11:33:06 +02:00
Henrik Rydgård
0645677fea
Access FPU temps through CTXREG
2017-07-07 11:33:06 +02:00
Henrik Rydgård
752254d404
Surprise! More. Making many commits for easier bisects.
2017-07-07 11:33:06 +02:00
Henrik Rydgård
0743334946
Guess what? More RIP elimination (but keep the fast path too)
2017-07-07 11:33:05 +02:00
Henrik Rydgård
7c3b37c561
More RIP elimination
2017-07-07 11:33:05 +02:00
Henrik Rydgård
7c1ae5b3e6
Move tempValues into MIPSState
2017-07-07 11:33:05 +02:00
Henrik Rydgård
f08c278fd5
Move another couple of temps into MIPSState
2017-07-07 11:33:05 +02:00
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
c4db0a2311
x64: Use context register to access saved_flags
2017-07-05 12:45:56 +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
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
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
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
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
42bdf3e19b
ELF loading potential out-of-bounds fix
2017-06-07 00:22:37 +02:00
Henrik Rydgård
b1b3b7c9d7
Refuse to load truncated ~PSP files.
2017-06-06 23:41:23 +02:00
Henrik Rydgård
57a20f02ed
Fix minor overallocation during elf loading
2017-06-06 23:20:09 +02:00
Henrik Rydgård
c17f5f1a13
Fix get/set confusion
2017-06-06 19:07:11 +02:00