mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
cellGem: reset struct on controller reset
This commit is contained in:
parent
e03f323fdd
commit
995e9b5f9f
@ -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…
x
Reference in New Issue
Block a user