Commit Graph

44 Commits

Author SHA1 Message Date
Pavel
2dc4d5304c hamt backport and bugfixes 2023-11-08 12:56:20 +03:00
Addy2004
929e72b83a
SDL2 Input Implementation (#131)
* initial SDL2 input stub restored

only light button presses, bumpers, d-pad works
axis, triggers, haptics and long presses haven't been implemented yet

* fixed bumpers, buttons and hats

cross, circle, square, triangle,
L1, R1, L3, R3 and D-PAD
should now work well

* axes and triggers support added

Left and Right stick should now work along with L2 and R2

* minor oopsie daisy

fixed dpad down button

* +

controller info console output added
+
led set to pink (for goofy reasons)

* Clipped headers from "SDL2-for-Pascal"

* sdl2 made dynamically loadable

* xinput made dynamically loadable

* Detached headers

* sce_pad_interface prototype

* +

* keyboard/mouse interface

* touchpad

* +

* xinput interface

* add LightBar interface

* SDL_PollEvent

* select_pad_interface

* select_led_color

* +

---------

Co-authored-by: red-prig <vdpasha@mail.ru>
2023-06-18 21:11:25 +03:00
Kagamma
72a39fe4e7
sceNpHeapInit + sceNpAuthCreateRequest + sceHttpAbortRequest (#99)
* sceNpAuthCreateRequest + sceHttpAbortRequest

* Minor

* sceNpHeapInit

* +

---------

Co-authored-by: red-prig <vdpasha@mail.ru>
2023-03-10 20:08:30 +03:00
Kagamma
224254aee9
libSceFiber + libSceUlt (#92)
* libSceFiber

* Minor

* Minor

* Minor

* Minor

* Struct align

* Minor

* Minor

* Minor

* Minor

* Minor

* sceDepthInitialize + sceDepthQueryMemory

* Minor

* ult

* More ult funcs

* Minor

* Minor

* Minor

* sceUlt mutex

* Minor

* wait instead of yield

* sceUltUlthreadExit

* Minor

* Minor

* Minor

* Adds assertion

* Minor

* sceUltSemaphoreXxx

* sceNpTssCreateNpTitleCtx

* Adjust SceUltUlthreadRuntime size

* Adds reversing info of SceFiber structs

* Minor

* Minor
2023-02-26 18:48:22 +03:00
Kagamma
174b491e44
libSceAudiodec + libSceAudiodecCpu + sceAvPlayerGetVideoData (#82)
* sceAvPlayerGetVideoData

* LongBool->Boolean

* sceAudiodecCreateDecoder + sceAudiodecDecode + sceAudiodecDeleteDecoder

* ps4_sceAudiodecCpuQueryMemSize + ps4_sceAudiodecClearContext

* sceAudiodecCpuDecode

* audiodec dir
2023-02-11 16:20:31 +03:00
Pavel
c12ed274d0 move ps4_libscenpwebapi 2023-02-10 11:38:05 +03:00
Pavel
5cd6d3c2b2 add np_error 2023-02-10 11:34:59 +03:00
Pavel
4b47ce1f9b Branch in libSceNpCommon 2023-02-10 10:54:49 +03:00
Kagamma
a8fda5d367
sceUsbdInit + sceContentExportInit + sceNpCmpOnlineId (#81)
* sceUsbdInit

* sceContentExportInit

* sceNpCmpOnlineId

* Minor
2023-02-10 10:41:52 +03:00
Kagamma
cbcf47cac7
videorecording + a few other funcs (#80)
* libSceVideoRecording

* sceGameLiveStreamingPermitServerSideRecording

* sceSharePlaySetProhibition

* sceGameLiveStreamingEnableLiveStreaming

* sceGameLiveStreamingPermitLiveStreaming

* fix types

* LongBool->Boolean

---------

Co-authored-by: red-prig <vdpasha@mail.ru>
2023-02-09 20:15:14 +03:00
Kagamma
00040613cf
sceAudiodecInitLibrary (#75) 2023-02-04 21:31:42 +03:00
red-prig
bdf93c6719 libSceComposite and etc 2023-01-26 22:06:17 +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
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
be570f1c63 Separate pthread_attr 2023-01-04 21:42:45 +03:00
flyingtincan
d6d45ba1a2
Add XInput UI for mapping buttons (#39)
Perfectly!
2022-12-30 18:43:33 +03:00
red-prig
ac4820c896 libkernel_exception 2022-12-29 20:37:38 +03:00
Pavel
264ded3072 bzero, Throw_C_errori, mtx_internal 2022-12-29 16:16:05 +03:00
Pavel
0715ebe4ef __cxa_guard_acquire, mspace fix 2022-12-29 11:17:36 +03:00
Pavel
82287af29b Move to libcinternal, atexit 2022-12-28 16:24:34 +03:00
flyingtincan
9bc478ab2e
Add basic XInput controller support (#38) 2022-12-28 13:19:45 +03:00
Pavel
a54fce10df param.sfo parser and etc 2022-12-21 16:45:08 +03:00
Pavel
cec6e3d54c move files 2022-12-20 15:37:11 +03:00
Pavel
baa12ac48b + 2022-12-12 15:33:05 +03:00
Pavel
32c587fe7f libSceRandom 2022-12-03 19:46:46 +03:00
Pavel
d698001d06 Precompile shaders 2022-12-01 13:43:54 +03:00
Pavel
260b053c5c + 2022-10-20 17:29:28 +03:00
Pavel
5a5bf2daf4 + 2022-10-18 16:42:07 +03:00
red-prig
144fedd550 + 2022-10-17 02:18:56 +03:00
red-prig
9671a78e1b + 2022-10-13 20:33:48 +03:00
Pavel
3264287e64 + 2022-10-12 09:49:52 +03:00
Pavel
7ef60bd00b + 2022-10-07 17:21:05 +03:00
Pavel
edf8dc7a25 + 2022-09-29 17:17:37 +03:00
red-prig
7fdb7bacc0 + 2022-09-20 20:57:07 +03:00
Pavel
a27ec63608 + 2022-09-07 14:55:44 +03:00
Pavel
6e6b843ae6 + 2022-09-07 13:57:39 +03:00
Pavel
add237e7c1 sorted 2022-09-07 10:50:59 +03:00
Pavel
5a0fb40fc7 Add logo and icon 2022-09-05 16:52:38 +03:00
red-prig
fb40aa7070 + 2022-06-26 23:50:32 +03:00
Pavel
8e45297e69 + 2022-06-03 14:15:35 +03:00
Pavel
c4e23700b4 Big update 2022-05-31 10:20:10 +03:00
red-prig
384f7b817c fix name 2021-12-17 20:06:48 +03:00
red-prig
1218138700 set TargetCPU="x86_64" 2021-12-12 21:44:16 +03:00
red-prig
49e069874b Initial commit 2021-12-08 23:04:07 +03:00