MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / get_patches

Function get_patches

g2all/900/lapse.js:1519–1527  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

1517// FUNCTIONS FOR STAGE: PATCH KERNEL
1518
1519async function get_patches(url) {
1520 const response = await fetch(url);
1521 if (!response.ok) {
1522 throw Error(
1523 `Network response was not OK, status: ${response.status}\n`
1524 + `failed to fetch: ${url}`);
1525 }
1526 return response.arrayBuffer();
1527}
1528
1529async function patch_kernel(kbase, kmem, p_ucred, restore_info) {
1530 if (!is_ps4) {

Callers 1

patch_kernelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected