TheTurtle
0d6edaa0a0
Move presentation to separate thread/improve sync ( #303 )
...
* video_out: Move presentation to separate thread
* liverpool: Better sync for CPU flips
* driver: Make flip blocking
* videoout: Proper flip rate and vblank management
* config: Add vblank divider option
* clang format
* videoout: added `sceVideoOutWaitVblank`
* clang format
* vk_scheduler: Silly merge conflict
* externals: Add renderdoc API
* clang format
* reuse
* rdoc: manual capture trigger
* clang fmt
---------
Co-authored-by: psucien <168137814+psucien@users.noreply.github.com>
2024-07-28 15:54:09 +02:00
raziel1000
600a13c38f
fs: added /download0 mount
...
fs: get rid of double slashes
2024-07-26 08:07:22 -06:00
raziel1000
fa76a723ad
Applied feedback from @raphaelthegreat
2024-07-26 07:59:35 +03:00
georgemoralis
b62836d29f
forgot a file
2024-07-26 07:53:46 +03:00
raziel1000
f35518d527
sdl window: Added game title (serial, title and app_ver)
2024-07-26 07:53:18 +03:00
TheTurtle
a2cd1669b6
memory: Cleanups and refactors ( #324 )
...
* memory: Various fixes
* Added (Partial) sceKernelBatchMap/sceKernelBatchMap2
* memory: Rename and implement batch unmap
* memory: Remove uneeded assert
* memory: Commonize free search routine
* memory: Contains check is inclusive
* memory: Address some alignment issues
* clang format
---------
Co-authored-by: raziel1000 <ckraziel@gmail.com>
2024-07-25 23:01:12 +03:00
squidbus
685b0bfd5e
Fix missing logging on memory manager initalization.
2024-07-21 22:36:12 +03:00
squidbus
66fa29059c
Add initial macOS support.
2024-07-21 22:36:12 +03:00
georgemoralis
c578ccc435
load every available prx from sce_module folder of game
2024-07-18 18:34:08 +03:00
georgemoralis
439c0be9a6
clang format fix
2024-07-17 17:57:54 +03:00
IndecisiveTurtle
b89941fbd9
emulator: Add libSceUlt too
2024-07-17 15:44:20 +03:00
IndecisiveTurtle
0408d8596d
emulator: Add libSceFiber and simplify logic
2024-07-17 15:37:32 +03:00
Daniel R.
1421f82bf5
Another ifdef (sigh)
2024-07-11 15:29:36 +02:00
Daniel R
914aa10875
Misc implementations and fixes. ( #250 )
...
* Implement `sceKernelFtruncate` and `sceKernelUnlink`.
* Remove unused variable.
* Implement `sceKernelReserveVirtualRange`, misc fixes
* Fix `sceKernelReserveVirtualRange`.
* Add TODO on reserve
* Replace comment with assert.
* Add missing copyright header
* Add `UNREACHABLE` for `IOFile::Unlink`.
* Move NT API initialization out of the header
* Fix bug where files were always mapped as read only.
* `clang-format`
2024-07-11 15:35:58 +03:00
georgemoralis
d4d7e9f5f6
removed hardware info seems make perfomance issues , will test something more lightweight
2024-07-06 10:27:57 +03:00
georgemoralis
a91c049754
added library to print system info to be able to debug user files better
2024-07-04 14:30:34 +03:00
raziel1000
0ecc54032c
- Several SaveData functions. Dysmantle and we are doomed should save and load now.
2024-07-04 01:51:46 -06:00
IndecisiveTurtle
20e83b4d53
clang format
2024-07-01 13:56:14 +03:00
IndecisiveTurtle
410ba37ec2
code: Add additional logging during init
2024-07-01 13:56:14 +03:00
IndecisiveTurtle
22b930ba5e
video_core: Track renderpass scopes properly
2024-07-01 13:56:14 +03:00
IndecisiveTurtle
114f06d3f2
tls: Fix linux crash
2024-07-01 13:56:14 +03:00
georgemoralis
1f83824a8a
Merge pull request #225 from shadps4-emu/stabilization/10
...
Various fixes and improvements
2024-07-01 13:09:11 +03:00
psucien
1f55eff9d8
libraries: gnmdriver: added initialization preamble to every first submit in a frame
2024-06-30 18:22:39 +02:00
georgemoralis
8e01a1b6d8
libSceJpegEnc,libSceJson2 can be loaded LLE
2024-06-30 10:12:36 +03:00
georgemoralis
84a39e2fb0
load existing lle modules from sys_module folder
2024-06-26 14:43:01 +03:00
TheTurtle
ca25333a1e
core: Address a few more regressions ( #202 )
...
* tls: Actaully fix TLS on linux
* emulator: Remove nptoolkit
* Not quite supported yet, makes games misbehave
* kernel: Back to SCHED_OTHER
* kernel: Remove unused signal function
* address_space: Fix Unmap call on linux
* clang format
2024-06-16 01:50:07 +03:00
Younes
0fa7d5d02c
- sceKernelUuidCreate, sceAppContentAppParamGetInt, sceAppContentTemporaryDataMount2 ( #199 )
...
- PlayGo
- stub libusbd
-added /temp0 and /data mounts at emu start.
(Ghost Files: Memory of a Crime, Abyss: The Wraiths of Eden)
- some posix functions
2024-06-15 17:51:51 +03:00
TheTurtle
c5d1d579b1
core: Many things ( #194 )
...
* video_core: Add a few missed things
* libkernel: More proper memory mapped files
* memory: Fix tessellation buffer mapping
* Cuphead work
* sceKernelPollSema fix
* clang format
* fixed ngs2 lle loading and rtc lib
* draft pthreads keys implementation
* fixed return codes
* return error code if sceKernelLoadStartModule module is invalid
* re-enabled system modules and disable debug in libs.h
* Improve linux support
* fix windows build
* kernel: Rework keys
---------
Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-06-15 14:36:07 +03:00
TheTurtle
31bd502764
core: Fixup linux support ( #195 )
...
* tls: Implement for linux
* core: Implement memory manager for linux
2024-06-14 00:58:57 +03:00
psucien
04b1226e9c
tracy: basic markup and project palette
2024-06-11 12:14:33 +02:00
raziel1000
0f27e0edf2
- Added trophy decryption when extracting a fpkg. trp icons and xmls are dumped to game_data/<title> (can be restored if deleted by accident by opening the trophy viewer)
...
- Added a trophy viewer (right click on game ==> trophy viewer)
- Enabled Run button.
- Switched gui settings to toml.
- Added recent files (6 max)
- Applied @raphaelthegreat suggestions and corrections (Thanks a lot).
- Fixed several bugs and crashes.
- Full screen should disabled by default.
- Added region in list mode.
- Added a simple temp elf list widget.
- Added messages when extracting pkg (ex: installing a patch before the game...etc)
2024-06-10 20:42:21 -06:00
georgemoralis
e84d2cf9cf
wrong spdx
2024-06-10 18:36:18 +03:00
georgemoralis
beb631607a
review fixes
2024-06-10 18:26:37 +03:00
georgemoralis
d89e4463e7
moved main code , to emulator,cpp , emulator.h class
2024-06-10 15:18:42 +03:00
GPUCode
c01b6f8397
video_core: Rewrite vulkan and videoout
2024-04-14 17:10:40 +03:00
GPUCode
0a94899c86
src: Move control to input directory
2024-04-14 01:18:25 +03:00
GPUCode
5e2ac6c72b
src: Reorganize and cleanup libraries
2024-04-14 00:37:17 +03:00
georgemoralis
b0cd6e5178
added sceVideoOutGetVblankStatus
2024-04-07 09:27:41 +03:00
georgemoralis
2e931c9f72
More modules ( #99 )
...
* added dummy sceAudio lib
* added lseek in file_system
* updated sdl3
* forgot sdl3 in cmake
* cmake is case sensitive in linux
* fixed SDL_CreateWindowWithPosition
* fixed vulkan issues with latest sdl3
* some progress in sceAudio
* improvements in audio
* more sound improvements
* first working sound output , from openorbis sound demo
* updated sdl3 , zlib-ng can now be build with msvc+clangci
* fixed cmake
* fix for audio buffering
* clang format fix
* format fix
* better error handling for sceAudioOutput
2024-03-22 18:12:37 +02:00
georgemoralis
2a03b4d03b
Autogen system,user,dialog modules ( #98 )
...
* some rework on system_service, user_service
* fixed clang format
* more clang fix
* more clang fix
* added error codes in system service
* some libc functions
* fixed fprintf
* small fix
* linux fix
* error handling in user service
* error codes reorganized
2024-03-14 14:18:16 +02:00
GPUCode
79d6c8a377
common: Rewrite logging based on cut down citra logger ( #86 )
...
* common: Rewrite logging based on cut down Citra logger
* code: Misc fixes
* core: Bring back tls handler
* linker: Cleanup
* config: Remove log level
* logging: Enable console output by default
* core: Fix windows build
2024-02-28 00:10:34 +02:00
GPUCode
584b7d2b15
chore: Make shadps4 REUSE compliant
2024-02-23 23:33:43 +02:00
GPUCode
6f4c6ae0bb
code: Add clang-format target and CI workflow ( #82 )
...
* code: Add clang format target, rules and CI workflow
* code: Run clang format on sources
2024-02-23 22:57:57 +02:00
GPUCode
fe43558779
common: Rework timekeeping with native RDTSC and port to linux
2024-02-23 11:30:06 +02:00
GPUCode
099d01f96c
common: Move timer to common
2023-11-06 01:17:28 +02:00
GPUCode
369d92fa56
core: Reorganize
2023-11-06 01:11:54 +02:00
GPUCode
7bccfeb8cc
emulator: Use fmt::format instead of snprintf
2023-11-05 17:14:50 +02:00
GPUCode
303f086b14
common: Move classes to common namespace
2023-11-05 16:56:28 +02:00
GPUCode
17aefc1aef
src: Move certain headers in common
2023-11-05 13:41:26 +02:00
georgemoralis
c488b7132d
refactored libpad to new package
2023-10-31 09:01:20 +02:00
georgemoralis
93e75481c7
refactoring Core folder to core
2023-10-31 08:47:58 +02:00
georgemoralis
61e8919cf1
pause emu with p button
2023-10-30 14:52:01 +02:00
georgemoralis
f732704b83
implemented fps counter
2023-10-29 23:46:34 +02:00
GPUCode
e196e35669
vulkan: Remove orphan new part 1
2023-10-26 23:38:37 +03:00
GPUCode
28819dede1
code: Replace printf/scanf with type safe fmt
2023-10-26 23:29:19 +03:00
GPUCode
e2b1b059ed
core: Switch to std threading primitives
2023-10-22 17:10:25 +03:00
georgemoralis
e9d2d37aae
moved controller to host
2023-10-20 07:25:52 +03:00
georgemoralis
58721d84a0
refactoring singleton class
2023-10-15 10:03:26 +03:00
georgemoralis
5a905b0c4f
map for dpad keys to emulator
2023-10-13 20:41:03 +03:00
georgemoralis
e1b64617a8
pad somehow working
2023-10-13 17:44:15 +03:00
georgemoralis
da9adf84c0
some work on pad emulation (WIP)
2023-10-13 09:40:59 +03:00
georgemoralis
1395fd4939
v0.0.1 release files
2023-09-29 08:40:30 +03:00
georgemoralis
05fdea61fc
more work on graphics . tiles are not yet supported
2023-09-27 22:47:53 +03:00
georgemoralis
abe6d39295
more on buffer rendering, added vulkan command pool
2023-09-27 15:15:18 +03:00
georgemoralis
3b853413c7
preparing for drawing
2023-09-27 09:26:50 +03:00
georgemoralis
1f0beb0ec3
gpumemory works
2023-09-25 12:04:40 +03:00
georgemoralis
0859964888
almost finished vulkan init
2023-09-21 23:48:16 +03:00
georgemoralis
f6388c367e
added vulkan extension initialize
2023-09-17 20:01:29 +03:00
georgemoralis
243c0158c1
more to buffers
2023-09-16 00:03:11 +03:00
georgemoralis
15089ae0b0
small fixes
2023-09-15 14:40:03 +03:00
georgemoralis
da2a942415
better event handling
2023-09-14 18:47:42 +03:00
georgemoralis
61280cb6cf
initial work on sdl events
2023-09-14 16:49:47 +03:00
georgemoralis
8954a35eec
basic sdl window init
2023-09-12 19:39:08 +03:00
georgemoralis
ab932e7503
event queue events now process nicely
2023-09-11 13:14:13 +03:00
georgemoralis
3e1386666b
threading part 1
2023-08-09 10:31:18 +03:00