[Emulator] Send XNotification after installing content package
This commit is contained in:
parent
d00dd5a83d
commit
a3bd34122b
|
@ -643,8 +643,16 @@ X_STATUS Emulator::InstallContentPackage(
|
||||||
|
|
||||||
vfs::VirtualFileSystem::ExtractContentHeader(device.get(), header_path);
|
vfs::VirtualFileSystem::ExtractContentHeader(device.get(), header_path);
|
||||||
|
|
||||||
return vfs::VirtualFileSystem::ExtractContentFiles(device.get(),
|
X_STATUS error_code = vfs::VirtualFileSystem::ExtractContentFiles(
|
||||||
installation_path);
|
device.get(), installation_path);
|
||||||
|
if (error_code != X_ERROR_SUCCESS) {
|
||||||
|
return error_code;
|
||||||
|
}
|
||||||
|
|
||||||
|
kernel_state()->BroadcastNotification(kXNotificationIDLiveContentInstalled,
|
||||||
|
0);
|
||||||
|
|
||||||
|
return error_code;
|
||||||
}
|
}
|
||||||
|
|
||||||
X_STATUS Emulator::ExtractZarchivePackage(
|
X_STATUS Emulator::ExtractZarchivePackage(
|
||||||
|
|
Loading…
Reference in New Issue