mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
cellGem: reset struct on controller reset
This commit is contained in:
parent
e03f323fdd
commit
995e9b5f9f
1 changed files with 1 additions and 0 deletions
|
@ -142,6 +142,7 @@ struct gem_config
|
||||||
// Assign status and port number
|
// Assign status and port number
|
||||||
if (gem_num < connected_controllers)
|
if (gem_num < connected_controllers)
|
||||||
{
|
{
|
||||||
|
controllers[gem_num] = {};
|
||||||
controllers[gem_num].status = CELL_GEM_STATUS_READY;
|
controllers[gem_num].status = CELL_GEM_STATUS_READY;
|
||||||
controllers[gem_num].port = 7u - gem_num;
|
controllers[gem_num].port = 7u - gem_num;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue