mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 16:05:56 +00:00
implement unix socket ops
implement cross process dmem support implement ipmi try send message implement sys_batch_map store saves to game directory (.rpcsx subfolder) fix get dir entries added uvd & vce devices
This commit is contained in:
parent
a6211b514f
commit
6e25f347d3
39 changed files with 1526 additions and 294 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "io-device.hpp"
|
||||
#include "orbis/KernelAllocator.hpp"
|
||||
#include "orbis/uio.hpp"
|
||||
#include <span>
|
||||
|
||||
struct NullDevice : public IoDevice {
|
||||
orbis::ErrorCode open(orbis::Ref<orbis::File> *file, const char *path,
|
||||
|
|
@ -11,7 +12,9 @@ struct NullFile : public orbis::File {};
|
|||
|
||||
static orbis::ErrorCode null_write(orbis::File *file, orbis::Uio *uio,
|
||||
orbis::Thread *) {
|
||||
uio->resid = 0;
|
||||
for (auto entry : std::span(uio->iov, uio->iovcnt)) {
|
||||
uio->offset += entry.len;
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue