Commit Graph

582 Commits

Author SHA1 Message Date
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
red-prig
64cd074fff AVX2 check support 2023-01-14 17:43:57 +03:00
Pavel
00f5d0472b + 2023-01-13 15:43:10 +03:00
Pavel
5c144b1327 move files op to ntapi
I hope I didn't break anything....
2023-01-12 20:30:56 +03:00
Pavel
d91819f4ff + 2023-01-11 22:01:01 +03:00
Pavel
361dbd2f58 sceKernelChmod 2023-01-11 14:43:49 +03:00
Pavel
7882b646ea + 2023-01-11 14:06:55 +03:00
red-prig
ae44cd497a sceKernelPreadv 2023-01-09 22:06:26 +03:00
red-prig
66f585c245 sceHttpSetRequestContentLength 2023-01-09 21:24:56 +03:00
Pavel
29d0872599 Shader recompiler bug fixes 2023-01-09 15:16:08 +03:00
red-prig
34c5f3bdbb VOP3a?344 2023-01-08 22:33:52 +03:00
red-prig
b9987cef5b sceHttpSetRecvTimeOut 2023-01-08 20:21:26 +03:00
red-prig
5d1dfb67cb sceKernelGetGPI 2023-01-08 20:18:50 +03:00
red-prig
6400ceeb5e VOP3a?292 2023-01-08 19:37:07 +03:00
red-prig
6a745deb16 AllocBinding:etMrtz 2023-01-08 18:41:13 +03:00
red-prig
d8324627a9 sceHttpSetAuthInfoCallback 2023-01-08 18:38:12 +03:00