Commit Graph
6340 Commits
Author SHA1 Message Date
Unknown W. Bracketsandsum2012 e8b651fbd6 Thread: Default to kernel threads from kernel.
This is an experiment.  In most cases, allowKernel will be false.
2020-05-25 18:59:07 +08:00
Unknown W. Brackets 5507116d3f Ge: Check stack depth based on args struct size.
Matches tests against firmware.
2020-05-21 22:16:13 -07:00
Unknown W. Brackets 49abe9ed6c Io: Open sce_lbn references and whole ISO faster. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets 91427c1f4e Io: Account for OpenAsync timing. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets 5e1adcdbd2 Io: Fail without fd on bad device in OpenAsync. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets 52283a50dc Io: Improve non-async open timing. 2020-05-21 18:58:22 -07:00
Unknown W. Brackets c829ccb87d Io: Track whether the game is on a UMD or storage. 2020-05-21 18:57:46 -07:00
Unknown W. Brackets 67416e5919 Io: Simulate VFAT bug only when simulating FAT32.
And cleanup flag handling a bit.
2020-05-21 18:57:46 -07:00
Unknown W. Brackets 51db9f0f85 Io: Improve timing of sceIoOpen().
Currently ignores filesystem, but this is more accurate.
2020-05-21 18:57:44 -07:00
Unknown W. Brackets 3777d32ac8 Io: Cleanup sceIoOpen errors and logging. 2020-05-21 18:56:57 -07:00
sum2012 2c3833c28d Add more debug info in scePsmfPlayerStart 2020-05-17 22:31:37 +08:00
Henrik Rydgård a9befb5496 Remove our custom atomics code entirely. 2020-05-17 13:11:36 +02:00
Unknown W. Brackets 7e70fa1627 Mp4: Cleanup some parameters. 2020-05-17 00:05:04 -07:00
Henrik Rydgård fce09f1865 Simplify how to get the debug stats from StereoResampler 2020-05-16 19:47:13 +02:00
Henrik Rydgård 34ae4cc5a9 Address additional feedback from Unknown, finally 2020-04-26 11:34:17 +02:00
Henrik Rydgård e3aa2f5e4c Assorted fixes (build and crash) 2020-04-26 11:19:31 +02:00
Henrik Rydgård e0614b7ce2 Use PPSSPP's kernel interface to retrieve Heap objects
Allows us to get rid of DoState and the map<>.
2020-04-26 11:19:31 +02:00
Henrik Rydgård bf73d3d663 Address Unknown's feedback
https://github.com/hrydgard/ppsspp/pull/7965/files
2020-04-26 11:19:31 +02:00
sum2012andHenrik Rydgård 3604a92bee Change to info log
As this commit is work
(tested on Tales of Phantasia with Chinese patch)
2020-04-26 11:18:41 +02:00
sum2012andHenrik Rydgård b12fbb9d3e Attempt to make save status 2020-04-26 11:18:41 +02:00
sum2012andHenrik Rydgård e1ce6c061e Fix crash in sceKernelDeleteHeap 2020-04-26 11:18:41 +02:00
sum2012andHenrik Rydgård 52138f8ce8 Attempt to build fix non-windows 2020-04-26 11:18:41 +02:00
sum2012andHenrik Rydgård 6c4043b9de remove comment 2020-04-26 11:18:41 +02:00
sum2012andHenrik Rydgård fed2b42c5f Try to Implement SysMemForKernel 2020-04-26 11:18:41 +02:00
sum2012andHenrik Rydgård a8c2c02b82 Move SysMemForKernel to sceKernelMemory
As SysMemForUser in there
2020-04-26 11:18:41 +02:00
sum2012andHenrik Rydgård 8d8ba3e963 oop 2020-04-26 11:18:41 +02:00
sum2012andHenrik Rydgård 043ef8c9d4 Wrap some SysMemForKernel's nids
#7960
2020-04-26 11:18:41 +02:00
LunaMoo e999444b23 Implement PPSSPP specific cheats:
0xA0 vibration cheat(Xinput)
Syntax is: 0xA0NNLLLL 0x00MMRRRR
where NN/MM is time vibration lasts LLLL/RRRR is the vibration power

0xA1 read value for the vibration(Xinput) from game memory
Syntax is: 0xA1000000 0xNNNNNNNN
where NNNNNNNN is the address that stores following values at offset:
0xNNNNNNNN + 0x0 Left Vibration power,
0xNNNNNNNN + 0x2 Right Vibration Power
0xNNNNNNNN + 0x4 Left Vibration time
0xNNNNNNNN + 0x6 Right Vibration time

Left some room for other PPSSPP specific cheats(0xA2-0xAF)
2020-04-16 23:00:29 +02:00
Unknown W. Brackets 580c74c3e7 Audio: Remove latency setting.
This setting only changes some internal values that are shown in tests not
to match PSP behavior.  Removed, it now matches how the PSP works.

This setting wasn't really affecting any actual audio latency.
See #11844.
2020-04-08 00:08:19 -07:00
Unknown W. Brackets 91e1e75692 Net: Correct pool allocation. 2020-04-05 07:01:45 -07:00
Unknown W. Brackets 8b6d2f9025 HLE: Oops, make sure we don't deadbeef mips calls.
See #12752.
2020-03-25 17:11:02 -07:00
Unknown W. Brackets 03cd1d5c5e HLE: Fix some misleading logging. 2020-03-23 09:05:14 -07:00
Unknown W. Brackets 9cb74691b6 Core: Add argmask for threadhacks to prevent crash.
Every HLEFunction should have an argmask.  Some asserts for shutdown
crashes someone was seeing when calling HLE funcs from a shutdown
function.
2020-03-22 23:33:05 -07:00
Henrik Rydgård d6ba1b7f99 More correctly handle UCS2 encoding. 2020-03-22 19:29:25 +01:00
Unknown W. Brackets 54e1afda1e HLE: Make calling mips funcs simpler.
This makes their return value handling, scheduling, etc. more
straight-forward.
2020-03-22 06:59:43 -07:00
Henrik RydgårdandGitHub 0d2acb6d73 Merge pull request #12740 from unknownbrackets/font-minor
Font: Prevent crash on game exit
2020-03-21 23:11:34 +01:00
Unknown W. Brackets 000a166dba Font: Prevent crash on game exit.
We should not try to call __KernelDirectMipsCall() on shutdown.
2020-03-21 12:36:09 -07:00
Henrik RydgårdandGitHub 7d13d2e863 Merge pull request #12727 from shenweip/mipscall
Correcting return value of some mipscalls without after action.
2020-03-21 00:47:21 +01:00
Unknown W. Brackets d734f7ccb4 Reporting: Log SceIoChstat calls.
Might be used to truncate save data or do other things.
2020-03-19 20:57:23 -07:00
shenweip fc55d2b81b Correcting return value of some mipscalls without after action. 2020-03-18 16:58:07 +08:00
Henrik Rydgård 788b8a29d6 Fix the logic around postEffectRequiresFlip so duplicateFrames doesn't require a post shader. 2020-03-17 13:10:43 +01:00
Unknown W. Brackets 916ba4edaf Vpl: Correct allocation order when splitting block.
More fuzz testing produced cases that were still off.  This is simpler.
2020-03-16 21:17:23 -07:00
Unknown W. BracketsandGitHub 6310f559f9 Merge pull request #12709 from shenweip/Font-alloc/free
Font:alloc/free memory for font file and char bitmap.
2020-03-16 22:32:57 -04:00
Henrik RydgårdandGitHub e14bf3bcc3 Merge pull request #12714 from unknownbrackets/display-minor
Display: Update latched fbaddr on immediate update
2020-03-16 08:23:29 +01:00
shenweip a286c657e3 Reset the useAllocCallbacks on font init. 2020-03-16 10:54:46 +08:00
shenweip cefecb12b7 Buildfix.
Buildfix2.
2020-03-16 10:22:09 +08:00
Unknown W. Brackets a6edf70aa0 Display: Update latched fbaddr on immediate update.
This is needed for the next sceDisplayGetFramebuf() to return the right
value.  This is why it didn't seem to match tests.
2020-03-15 19:13:41 -07:00
shenweipandGitHub c7db6b6466 Merge branch 'master' into Font-alloc/free 2020-03-16 08:16:50 +08:00
shenweip ac56a8e93a Fix states. 2020-03-16 07:54:42 +08:00
shenweip 2f088d0970 No need to manually decide pending or not for mipscalls. 2020-03-16 07:46:13 +08:00