// Allocate space for the rom plus padding\r
rom=PicoCartAlloc(size);\r
if (rom==NULL) {\r
- printf("out of memory (wanted %i)\n", size);\r
+ elprintf(EL_STATUS, "out of memory (wanted %i)", size);\r
return 1;\r
}\r
\r
else\r
bytes_read = pm_read(rom,size,f); // Load up the rom\r
if (bytes_read <= 0) {\r
- printf("read failed\n");\r
+ elprintf(EL_STATUS, "read failed");\r
free(rom);\r
return 1;\r
}\r