mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 03:33:56 +00:00
Fix compilation
This commit is contained in:
@@ -200,7 +200,7 @@ function getIconDataUrl(iconEntry: IconEntry, iconData: ArrayBuffer) {
|
||||
contentType = "image/x-icon";
|
||||
|
||||
const header = generateIcoHeader(iconEntry);
|
||||
iconData = mergeArrayBuffers(header, iconData);
|
||||
iconData = mergeArrayBuffers(header.slice().buffer, iconData);
|
||||
}
|
||||
|
||||
return generateDataURL(new Uint8Array(iconData), contentType);
|
||||
|
||||
Reference in New Issue
Block a user