X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fsountest.c;h=c8353ef0c411751a3e8a8606a40921851ee96c1e;hb=62a51803dc18b07a6d1c298220c2aaf553c802e7;hp=ac8908c3d9e98a655be49efe4ad4a4a1b43f8537;hpb=17ec26395419ff775f29661e50265dfbccfda3b0;p=16.git diff --git a/src/sountest.c b/src/sountest.c index ac8908c3..c8353ef0 100755 --- a/src/sountest.c +++ b/src/sountest.c @@ -51,6 +51,7 @@ static unsigned int musical_scale[18] = { void main(int argc, char near *argv[]) { + static global_game_variables_t gvar; word i; // static FMInstrument testInst = //{ @@ -67,8 +68,7 @@ void main(int argc, char near *argv[]) //FMSetVoice(0, &testInst); if(!init_adlib()) { - printf("Cannot init library\n"); - exit(-5); + Quit(gvar, "Cannot init library"); } if (adlib_fm_voices > 9)