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:
4
fpga.c
4
fpga.c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user