logging & comment

This commit is contained in:
buzzer-re
2026-05-11 12:17:29 -03:00
parent 28e2ccd35a
commit 1be941e9bd
2 changed files with 6 additions and 1 deletions

View File

@@ -171,6 +171,9 @@ static int resolve_ps5_wifi_firmware(void **initrd, size_t *initrd_size) {
return 0;
}
//
// Wrapper to resolve future firmwares images using the kernel, at the moment only Marvell WiFi driver
//
int resolve_device_firmwares(void **initrd, size_t *initrd_size) {
return resolve_ps5_wifi_firmware(initrd, initrd_size);
}

View File

@@ -228,8 +228,10 @@ int fetch_linux(struct linux_info *info) {
return -1;
}
if (resolve_device_firmwares(&initrd, &initrd_size) < 0)
if (resolve_device_firmwares(&initrd, &initrd_size) < 0) {
notify("Something went wrong while resolving device firmwares - Aborting\n");
return -1;
}
size_t vram_size;
char buf_vram[16] = {};