feat(host): expose memcard controls and qualify process persistence
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good
This commit is contained in:
@@ -74,5 +74,79 @@
|
||||
"params": {
|
||||
"targetRequestId": "advance"
|
||||
}
|
||||
},
|
||||
{
|
||||
"requestId": "mem-11",
|
||||
"command": "initialize",
|
||||
"params": {
|
||||
"protocolVersion": {
|
||||
"major": 1,
|
||||
"minor": 1
|
||||
},
|
||||
"requiredCapabilities": [
|
||||
"memcard"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"requestId": "mem-12",
|
||||
"command": "memcard_mount",
|
||||
"params": {
|
||||
"path": "/save.pmc",
|
||||
"action": "open",
|
||||
"access": "read_only"
|
||||
}
|
||||
},
|
||||
{
|
||||
"requestId": "mem-13",
|
||||
"command": "memcard_mount",
|
||||
"params": {
|
||||
"path": "/new.pmc",
|
||||
"action": "create",
|
||||
"access": "read_write"
|
||||
}
|
||||
},
|
||||
{
|
||||
"requestId": "mem-14",
|
||||
"command": "boot",
|
||||
"params": {
|
||||
"path": "/cartridge",
|
||||
"memcardChoice": "memory_existing"
|
||||
}
|
||||
},
|
||||
{
|
||||
"requestId": "mem-15",
|
||||
"command": "get_memcard_state",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"requestId": "mem-16",
|
||||
"command": "memcard_unmount",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"requestId": "mem-17",
|
||||
"command": "memcard_reconcile",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"requestId": "mem-18",
|
||||
"command": "memcard_continue_in_memory",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"requestId": "mem-19",
|
||||
"command": "reset",
|
||||
"params": {
|
||||
"discardUnsaved": true,
|
||||
"pendingWrites": "cancel"
|
||||
}
|
||||
},
|
||||
{
|
||||
"requestId": "mem-20",
|
||||
"command": "shutdown",
|
||||
"params": {
|
||||
"pendingWrites": "wait"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user