mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 05:08:43 +00:00
Kernel.Fs: Device file cleanup and /dev/rng implementation (#3682)
* Add RNG device * rng device implementation Tailored around libSceSsl2's usage, and based on fpPS4's implementation. * Device file function types and log fixups * Updated creates Updates device file create functions to be the same as the directory file create functions. * Fix compile * Includes cleanup Generally preferred to have full paths. Also removed some unused imports too. * Fix buffer size * Bring back cstdlib imports Needed for Mac OS.
This commit is contained in:
@@ -769,6 +769,8 @@ set(CORE src/core/aerolib/stubs.cpp
|
||||
src/core/file_sys/devices/deci_tty6_device.h
|
||||
src/core/file_sys/devices/random_device.cpp
|
||||
src/core/file_sys/devices/random_device.h
|
||||
src/core/file_sys/devices/rng_device.cpp
|
||||
src/core/file_sys/devices/rng_device.h
|
||||
src/core/file_sys/devices/urandom_device.cpp
|
||||
src/core/file_sys/devices/urandom_device.h
|
||||
src/core/file_sys/devices/srandom_device.cpp
|
||||
|
||||
Reference in New Issue
Block a user