1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-02-19 21:45:11 +00:00

[minimig] fixed loading of AmigaForever encrypted ROMs.

This commit is contained in:
Rok Krajnc
2015-09-10 19:07:45 +02:00
parent 7c84b4e5b2
commit ceb9794fe6

4
fpga.c
View File

@@ -489,6 +489,10 @@ void SendFileV2(RAFile* file, unsigned char* key, int keysize, int address, int
unsigned int keyidx=0;
iprintf("File size: %dkB\r", size>>1);
iprintf("[");
if (keysize) {
// read header
RARead(file, sector_buffer, 0xb);
}
for (i=0; i<size; i++) {
if (!(i&31)) iprintf("*");
RARead(file, sector_buffer, 512);