mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-20 07:31:27 +00:00
Fix issue #8 - Code would return error when file was CORRECTLY opened and report success when it failed.
This commit is contained in:
parent
96704a002a
commit
7a697309e2
@ -581,7 +581,7 @@ BOOL ProcessCmd(FILE *fp, int id, int un, int cmd, int type, char *file)
|
|||||||
filepath.SetPath(file);
|
filepath.SetPath(file);
|
||||||
|
|
||||||
// Open the file
|
// Open the file
|
||||||
if (pUnit->Open(filepath)) {
|
if (!pUnit->Open(filepath)) {
|
||||||
FPRT(fp, "Error : File open error [%s]\n", file);
|
FPRT(fp, "Error : File open error [%s]\n", file);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user