mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
remove shm from devices list
thanks to red_prig for investigation
This commit is contained in:
parent
1d840adfdf
commit
2a6daa5538
1 changed files with 2 additions and 3 deletions
|
|
@ -145,11 +145,11 @@ handle_signal(int sig, siginfo_t *info, void *ucontext) {
|
||||||
allowMonoDebug = true;
|
allowMonoDebug = true;
|
||||||
if (sig != SIGINT) {
|
if (sig != SIGINT) {
|
||||||
char buf[128] = "";
|
char buf[128] = "";
|
||||||
int len = snprintf(buf, sizeof(buf), " [%s] %u: Signal address=%p\n",
|
int len = snprintf(buf, sizeof(buf), " [%s] %u: Signal %u, address=%p\n",
|
||||||
orbis::g_currentThread ? "guest" : "host",
|
orbis::g_currentThread ? "guest" : "host",
|
||||||
orbis::g_currentThread ? orbis::g_currentThread->tid
|
orbis::g_currentThread ? orbis::g_currentThread->tid
|
||||||
: ::gettid(),
|
: ::gettid(),
|
||||||
info->si_addr);
|
sig, info->si_addr);
|
||||||
write(2, buf, len);
|
write(2, buf, len);
|
||||||
|
|
||||||
if (std::size_t printed =
|
if (std::size_t printed =
|
||||||
|
|
@ -442,7 +442,6 @@ static void ps4InitDev() {
|
||||||
});
|
});
|
||||||
|
|
||||||
auto shm = createShmDevice();
|
auto shm = createShmDevice();
|
||||||
vfs::addDevice("shm", shm);
|
|
||||||
orbis::g_context.shmDevice = shm;
|
orbis::g_context.shmDevice = shm;
|
||||||
orbis::g_context.blockpoolDevice = createBlockPoolDevice();
|
orbis::g_context.blockpoolDevice = createBlockPoolDevice();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue