Fixed the PCX loader (broken by r176)
Made the calls to Error() more verbose git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@179 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
6
main.c
6
main.c
@@ -105,10 +105,14 @@ void Afficher_syntaxe(void)
|
||||
|
||||
|
||||
// ---------------------------- Sortie impromptue ----------------------------
|
||||
void Erreur(int Code)
|
||||
void Erreur_fonction(int Code, const char *Nom_fichier, int Numero_ligne, const char *Nom_fonction)
|
||||
{
|
||||
T_Palette Palette_temporaire;
|
||||
int Indice;
|
||||
printf("Code %d\n", Code);
|
||||
printf("File %s\n", Nom_fichier);
|
||||
printf("Line %d\n", Numero_ligne);
|
||||
printf("Function %s\n", Nom_fonction);
|
||||
|
||||
if (Code==0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user