mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 16:05:56 +00:00
[rpcsx-os] implement shm
This commit is contained in:
parent
d52a53cfcd
commit
645e41eed8
28 changed files with 187 additions and 47 deletions
|
|
@ -88,7 +88,8 @@ struct DceDevice : IoDevice {
|
|||
orbis::shared_mutex mtx;
|
||||
VideoOutBuffer bufferAttributes{}; // TODO
|
||||
orbis::ErrorCode open(orbis::Ref<orbis::File> *file, const char *path,
|
||||
std::uint32_t flags, std::uint32_t mode) override;
|
||||
std::uint32_t flags, std::uint32_t mode,
|
||||
orbis::Thread *thread) override;
|
||||
};
|
||||
|
||||
static orbis::ErrorCode dce_ioctl(orbis::File *file, std::uint64_t request,
|
||||
|
|
@ -262,7 +263,7 @@ static const orbis::FileOps ops = {
|
|||
|
||||
orbis::ErrorCode DceDevice::open(orbis::Ref<orbis::File> *file,
|
||||
const char *path, std::uint32_t flags,
|
||||
std::uint32_t mode) {
|
||||
std::uint32_t mode, orbis::Thread *thread) {
|
||||
auto newFile = orbis::knew<DceFile>();
|
||||
newFile->device = this;
|
||||
newFile->ops = &ops;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue