Skip to content

Commit

Permalink
Add ResetToMenu to docs (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxLisk authored Oct 24, 2024
1 parent a36853f commit 266cf98
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ service.

Currently defined capabilities are:
```grpc
// capabilities of a SNES device
// capabilities of a device
enum DeviceCapability {
None = 0;
ReadMemory = 1;
Expand All @@ -326,6 +326,18 @@ enum DeviceCapability {
ResetSystem = 4;
PauseUnpauseEmulation = 5;
PauseToggleEmulation = 6;
ResetToMenu = 7;
FetchFields = 8;
ReadDirectory = 10;
MakeDirectory = 11;
RemoveFile = 12;
RenameFile = 13;
PutFile = 14;
GetFile = 15;
BootFile = 16;
NWACommand = 20;
}
```

Expand All @@ -338,6 +350,9 @@ The `WriteMemory` capability grants usage of the the `DeviceMemory` service's
The `ResetSystem` capability grants usage of the `DeviceControl` service's
`ResetSystem` method.

The `ResetToMenu` capability grants usage of the `DeviceControl` service's
`ResetToMenu` method.

The `PauseUnpauseEmulation` capability grants usage of the
`DeviceControl.PauseUnpauseEmulation` method.

Expand Down Expand Up @@ -554,6 +569,9 @@ executing the request and in the same order received.
On devices that support it, this method resets the system the same way pressing
the RESET button/slider on the SNES hardware console does.

#### [ResetToMenu](https://github.com/alttpo/sni/blob/main/protos/sni/sni.proto#L21)
On devices that support it (currently only FXPakPro), this method resets the system to the menu.

#### [PauseUnpauseEmulation](https://github.com/alttpo/sni/blob/main/protos/sni/sni.proto#L83)
On devices that support it, this method allows the application to explicitly
control the paused/running state of emulation. This is generally not supported
Expand Down

0 comments on commit 266cf98

Please sign in to comment.