|
|
@@ -7,10 +7,10 @@
|
|
|
void pof_start(PoFApp* app) {
|
|
|
furi_assert(app);
|
|
|
|
|
|
- if (app->type == PoFHid) {
|
|
|
+ if (app->virtual_portal->type == PoFHid) {
|
|
|
app->pof_usb = pof_usb_start(app->virtual_portal);
|
|
|
}
|
|
|
- if (app->type == PoFXbox360) {
|
|
|
+ if (app->virtual_portal->type == PoFXbox360) {
|
|
|
app->pof_usb = pof_usb_start_xbox360(app->virtual_portal);
|
|
|
}
|
|
|
}
|
|
|
@@ -18,10 +18,10 @@ void pof_start(PoFApp* app) {
|
|
|
void pof_stop(PoFApp* app) {
|
|
|
furi_assert(app);
|
|
|
|
|
|
- if (app->type == PoFHid) {
|
|
|
+ if (app->virtual_portal->type == PoFHid) {
|
|
|
pof_usb_stop(app->pof_usb);
|
|
|
}
|
|
|
- if (app->type == PoFXbox360) {
|
|
|
+ if (app->virtual_portal->type == PoFXbox360) {
|
|
|
pof_usb_stop_xbox360(app->pof_usb);
|
|
|
}
|
|
|
}
|