mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
actually return an error when data.zip is missing
We should return an error code when we can't find data.zip, just letting the program crash is a little crude.
This commit is contained in:
committed by
Ethan Lee
parent
3b66877287
commit
3a961310ca
@@ -36,7 +36,10 @@ scriptclass script;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
FILESYSTEM_init(argv[0]);
|
||||
if(!FILESYSTEM_init(argv[0]))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
SDL_Init(
|
||||
SDL_INIT_VIDEO |
|
||||
SDL_INIT_AUDIO |
|
||||
|
||||
Reference in New Issue
Block a user