diff options
author | cnlohr <lohr85@gmail.com> | 2017-02-26 00:14:48 -0500 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2017-02-26 00:14:48 -0500 |
commit | f4ab8c084c1e23e850f436c2c0bb6777da3d942a (patch) | |
tree | e5b92a7f19ddb69320610aec46b1b6c8d05dcef0 /src/survive.c | |
parent | 55cedfc6a6b035d6eb54457782818fef61cae500 (diff) | |
parent | fe31e600d890004f0f255a20fe056e0e8a54209b (diff) | |
download | libsurvive-f4ab8c084c1e23e850f436c2c0bb6777da3d942a.tar.gz libsurvive-f4ab8c084c1e23e850f436c2c0bb6777da3d942a.tar.bz2 |
Merge branch 'master' of https://github.com/cnlohr/libsurvive
Diffstat (limited to 'src/survive.c')
-rw-r--r-- | src/survive.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/survive.c b/src/survive.c index b472ccc..306dbe1 100644 --- a/src/survive.c +++ b/src/survive.c @@ -21,7 +21,7 @@ static void survivenote( struct SurviveContext * ctx, const char * fault ) } -struct SurviveContext * survive_init() +struct SurviveContext * survive_init( int headless ) { int r = 0; int i = 0; @@ -36,6 +36,7 @@ struct SurviveContext * survive_init() const char * DriverName; while( ( DriverName = GetDriverNameMatching( "DriverReg", i++ ) ) ) + { DeviceDriver dd = GetDriver( DriverName ); printf( "Loading driver %s (%p) (%d)\n", DriverName, dd, i ); |