Commit Graph

697 Commits

Author SHA1 Message Date
Pavel
43da0027a0 strcmp, strstr 2023-01-27 17:27:15 +03:00
Pavel
c80b8e346a sceCompositorIsDebugCaptureEnabled, sceCompositorInsertThreadTraceMarker 2023-01-27 16:48:45 +03:00
Pavel
77973d5196 pthread_setcanceltype 2023-01-27 15:16:39 +03:00
Pavel
61761f251e sigemptyset 2023-01-27 14:50:11 +03:00
Pavel
be383e1af3 pthread_set_name_np, scePthreadSetName 2023-01-27 14:44:43 +03:00
Pavel
5eee3a20d3 sceCompositorGetCanvasHandle, sceApplicationSetCanvasHandle 2023-01-27 14:16:29 +03:00
Pavel
ab46774872 + 2023-01-27 10:44:10 +03:00
red-prig
2dc840503f sceCompositorAllocateIndex, sceCompositorReleaseIndex 2023-01-27 00:02:35 +03:00
red-prig
c7edd69934 pthread_mutex_setname_np 2023-01-26 23:09:50 +03:00
red-prig
bdf93c6719 libSceComposite and etc 2023-01-26 22:06:17 +03:00
Pavel
6dec6012b5 SKIP_UNKNOW_TILING hack 2023-01-26 16:54:36 +03:00
red-prig
cb96613478 + 2023-01-25 23:08:48 +03:00
red-prig
d8e95a3785 fix SELF loading 2023-01-25 22:19:42 +03:00
red-prig
fcfd168c6a sceKernelGetCpuTemperature 2023-01-25 21:52:46 +03:00
red-prig
3d9cb9f454 fix root dir fstat 2023-01-25 21:04:28 +03:00
red-prig
379d5497d3 sceNetInetNtop 2023-01-25 20:34:39 +03:00
Kagamma
3efe0912ec
sceAvPlayerStreamCount, sceAvPlayerJumpToTime, sceAvPlayerStart, sceAvPlayerPause, sceAvPlayerResume (#72)
* sceAvPlayerStreamCount, sceAvPlayerJumpToTime, sceAvPlayerStart, sceAvPlayerPause, sceAvPlayerResume

* Minor

* Minor

* Minor

* Unlock player

* Refactor, fix event callback

* More event callbacks

* Reverts some of the changes in previous 2 commits

* Minor

* Temp disable SCE_AVPLAYER_STATE_READY callback because it causes lock in certain games

* Forgotten release of playerState

* Take care of autoStart, adds removed callbacks back

* Fix autoStart, add log

* revert autoStart to not isPaused

* change to class and ne locking model

* sceAvPlayerGetStreamInfo

* sceAvPlayerEnableStream and sceAvPlayerDisableStream

* Refactor code

* +

Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
2023-01-25 19:08:48 +03:00
red-prig
592e819c93 sceKernelGetModuleInfoInternal, sceKernelLoadStartModuleForSysmodule, sceSysmoduleLoadModuleByNameInternal 2023-01-25 00:26:54 +03:00
red-prig
0e78854da2 sys crt extended 2023-01-24 20:33:12 +03:00
Kagamma
f2d4f52331
Correct AvPlayer handle, avoid dangling pointers + Refactor code (#71)
* Correct avplayer handle, avoid dangling pointers

* Uses TMemChunk in sys_types unit instead

* Minor

* Minor

* SceAvPlayerHandle should be 8 bytes in size

* Minor

* Minor

* Minor

* Moved from TDictionary to HAMT it's faster

* Added lock of Hamt and individual lock of Handle

* Using AllocMem instead of New (New doesn't guarantee an initial value) and fixing an endless loop of zero lastVideoTimeStamp

* Added callback helpers

* +

* +

Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
Co-authored-by: red-prig <vdpasha@mail.ru>
2023-01-24 19:00:20 +03:00
Pavel
6771f25d42 Added envrion location accounting, identified the need to align the stack before starting Entry 2023-01-24 14:01:20 +03:00
Pavel
11551a1816 parse root fix 2023-01-24 11:41:19 +03:00
Pavel
85e8e21a5c ForEachRootDir 2023-01-24 11:19:27 +03:00
Pavel
38a18ed2c0 small fix readv/writev 2023-01-24 11:18:32 +03:00
Pavel
56cf06618d + 2023-01-24 11:18:03 +03:00
Pavel
4dd8ad7ea2 Minor search optimization 2023-01-24 09:51:17 +03:00
red-prig
6ebcbed847 Minor search optimization 2023-01-23 23:26:18 +03:00
Pavel
eca77091a1 +/- 2023-01-23 17:16:43 +03:00
Pavel
da297c899d ioctl 2023-01-23 16:54:08 +03:00
Pavel
51009e606b Mount /usr and /data to current dir 2023-01-23 15:57:26 +03:00
Pavel
82f7cbd35f writev/sceKernelWritev and extended char fd 2023-01-23 15:43:15 +03:00
Pavel
bb1a892ce5 New concept of TLS patching 2023-01-23 15:41:11 +03:00
Kagamma
67c62f746d
sceAvPlayerSetLogCallback and AvPlayerEventCallback (#70)
* AvPlayerEventCallback

* sceAvPlayerSetLogCallback

* Minor

* Minor

* Minor

* Minor
2023-01-22 17:30:10 +03:00
red-prig
5e4581ec0b Add parameters: -w //Fullscreen mode 2023-01-22 01:17:20 +03:00
ArbestRi
ba9583a301
Minor changes to LPR (#69)
Update copyright, fix grammar and more. @red-prig Merge this after DISABLE_FMV_HACK PR is merged.

Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
2023-01-22 01:06:38 +03:00
Kagamma
c646a621bf
DISABLE_FMV_HACK, Boolean -> LongBool on relevant sceAvPlayerXxx functions (#68)
* DISABLE_FMV_HACK allows to disable in-game movies

* Boolean -> LongBool

* Minor
2023-01-22 00:54:19 +03:00
Kagamma
2e04d5d3fa
Fix cross-compilation on Linux host (#67)
* Unit names should match with file names to avoid case sensitive issue on Unix system

* Explicit state the build is for win64 target
2023-01-21 16:58:38 +03:00
Pavel
32680423ef sceNp*
sceNpHasSignedUp, sceNpUnregisterStateCallbackForToolkit,
sceNpAbortRequest
sceNpGetParentalControlInfoA
sceNpNotifyPlusFeature
2023-01-20 14:33:15 +03:00
VocalFan
5123ee7f2a
Updated the fpPS4 logo (#66)
* Updated icons.

* Delete fpps4.png

* Redo logo

* Update logo

* Outline update

* Outline update

* Add multi-size ICO

* Add multi-size ICO

* Backup old icons and credits

Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
2023-01-19 23:55:48 +03:00
Pavel
e84dd8c480 sceGnmUnregisterOwnerAndResources 2023-01-19 09:33:32 +03:00
Kagamma
a1414b035c
sceAvPlayerAddSourceEx and sceAvPlayerCurrentTime (#65)
* Minor

* sceAvPlayerAddSourceEx and sceAvPlayerCurrentTime

* Minor

* usec->msec

* Minor

* Squashed commit of the following:

commit b3649ee064
Author: Pavel <68122101+red-prig@users.noreply.github.com>
Date:   Wed Jan 18 12:08:08 2023 +0300

    test CI

commit 61f581ece8
Author: VocalFan <45863583+Mou-Ikkai@users.noreply.github.com>
Date:   Wed Jan 18 03:10:43 2023 -0500

    Separate PR and Main builds (#64)

    * Update Checkout and Upload-Artifact to V3

    * Step 1, separate PRs and Mains

    * Name: Main CI

    * Step 2: Parallel PR and Main builds.

    * Don't use v3 it doesn't work on my old server due to new versions of nodejs

    Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>

* Align + check for source type

* test PR CI

Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
2023-01-18 12:57:13 +03:00
Pavel
b3649ee064 test CI 2023-01-18 12:08:08 +03:00
VocalFan
61f581ece8
Separate PR and Main builds (#64)
* Update Checkout and Upload-Artifact to V3

* Step 1, separate PRs and Mains

* Name: Main CI

* Step 2: Parallel PR and Main builds.

* Don't use v3 it doesn't work on my old server due to new versions of nodejs

Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
2023-01-18 11:10:43 +03:00
Kagamma
26fc53d6e9
AvPlayer - Fix YUV issue (#63)
* Fix YUV issue

* Shows warning in case the video is not in yuv420p format
2023-01-18 08:41:00 +03:00
Kagamma
f4a3d8adc2
Fix video/audio desync issue (#62)
* Fix video desync issue

* fix sceAvPlayerInitEx
2023-01-17 19:23:15 +03:00
Kagamma
594cd56cb6
AvPlayer HLE (#58)
* Adds some libSceAvPlayer dummy functions, ps4_sceAvPlayerAddSource cache files to 'avplayer_dump' directory

* Its better for languageCode to be array of chars

* SysLogPrefix

* us -> ms

* Adds ffmpeg headers

* Fix compilation

* sceAvPlayerInitEx

* spinlock, proper close ffmpeg stuff

* Refactor + fix

* NextPacket

* ReceiveAudio

* ReceiveVideo

* audio works

* Minor fix

* Minor

* accurate GetTimeInUs

* sceAvPlayerPostInit and sceAvPlayerStop

* Is not GPU Addr err

* Fixing Structure Alignments

* The original timeStamp is listed in ms in the documentation

* Forgotten "not" and disable Exit(False); (Seems to work, need to test)

* Should check patch folder first

* Minor

* test CI

* use parse_filename

* _sceAvPlayerInit, _sceAvPlayerInitEx

* ps4_sceAvPlayerPostInit, _sceAvPlayerAddSource

* fix types

* _sceAvPlayerGetAudioData

* _sceAvPlayerGetVideoDataEx

* _sceAvPlayerStop, _sceAvPlayerClose

* Removed outdated comments + long name

* Use MemChunk instead of a simple Pointer

* fix init value

* convert to utf8

Co-authored-by: Pavel <68122101+red-prig@users.noreply.github.com>
2023-01-17 16:32:47 +03:00
red-prig
9e3d998431 sceSaveDataDialogIsReadyToDisplay 2023-01-14 18:32:52 +03:00
red-prig
48fcef061f sceSaveDataLoadIcon 2023-01-14 18:23:37 +03:00
red-prig
df7690ce9b sceSaveDataClearProgress 2023-01-14 18:15:49 +03:00
red-prig
1416e7997a + 2023-01-14 18:11:22 +03:00