libraw2crtc.c: translated error messages

Remove french accentuated characters
This commit is contained in:
Thomas Bernard 2018-03-03 02:59:18 +01:00
parent 044a042e38
commit d33dd775f7

View File

@ -114,14 +114,14 @@ unsigned char *raw2crtc(T_IO_Context *context, unsigned char mode, unsigned char
tmpBuffer = (unsigned char*)malloc(0xFFFF);
if (tmpBuffer == NULL)
{
printf("Allocation tmpBuffer raté\n");
fprintf(stderr, "failed to allocate tmpBuffer\n");
exit(4);
}
allocationBuffer = (unsigned char*)malloc(0xFFFF);
if(allocationBuffer == NULL)
{
printf("Allocation allocationBuffer raté\n");
fprintf(stderr, "failed to allocate allocationBuffer\n");
exit(4);
}
memset(allocationBuffer, 0, 0xFFFF);
@ -149,7 +149,7 @@ unsigned char *raw2crtc(T_IO_Context *context, unsigned char mode, unsigned char
{
if(*(allocationBuffer + i) > 1)
{
printf("Attention : Ecriture multiple a l'adresse mémoire %d\n",i);
fprintf(stderr, "WARNING : Multiple writte to memory address 0x%04X\n",i);
}
if(*(allocationBuffer + i) > 0)
{
@ -167,7 +167,7 @@ unsigned char *raw2crtc(T_IO_Context *context, unsigned char mode, unsigned char
outBuffer = (unsigned char*)malloc((*outSize));
if (outBuffer == NULL)
{
printf("Allocation outBuffer raté\n");
fprintf(stderr, "failed to allocate outBuffer");
exit(4);
}