[Emulator] Send XNotification after installing content package

This commit is contained in:
NicknineTheEagle 2024-10-01 00:45:50 +03:00 committed by Radosław Gliński
parent d00dd5a83d
commit a3bd34122b
1 changed files with 10 additions and 2 deletions

View File

@ -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(