X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fvrstest.c;h=3a59112d03aa66fd26b87740253e241d7f4e5c35;hb=3d7af30456302e0bf6accc07431e8210b3af052e;hp=9e3a9ae1460e1b694501600c6d89373f048c3e2f;hpb=93e1ab2e43ce82facb47476d9ee461b0d5beb83e;p=16.git diff --git a/src/vrstest.c b/src/vrstest.c index 9e3a9ae1..3a59112d 100755 --- a/src/vrstest.c +++ b/src/vrstest.c @@ -132,7 +132,7 @@ void main() delay(500); } - while(!IN_KeyDown(sc_Escape)) + while(!gvar.in.inst->Keyboard[sc_Escape]) { switch(w) { @@ -145,17 +145,15 @@ void main() break; } TAIL_FUNCTIONKEYDRAWJUNKNOMV - if(IN_KeyDown(sc_F7)){ VL_ShowPage(&gvar.video.page[0], 1, 1); IN_UserInput(1); } - if(IN_KeyDown(sc_F6)){ VL_ShowPage(&gvar.video.page[0], 1, 0); IN_UserInput(1); } - if(IN_KeyDown(25)){ modexpdump(&gvar.video.page[0]); IN_UserInput(1); } //p + if(gvar.in.inst->Keyboard[sc_F7]){ VL_ShowPage(&gvar.video.page[0], 1, 1); IN_UserInput(1, &gvar); } + if(gvar.in.inst->Keyboard[sc_F6]){ VL_ShowPage(&gvar.video.page[0], 1, 0); IN_UserInput(1, &gvar); } + if(gvar.in.inst->Keyboard[25]){ modexpdump(&gvar.video.page[0]); IN_UserInput(1, &gvar); } //p } VGAmodeX(0, 1, &gvar); MM_ShowMemory(&gvar); MM_DumpData(&gvar); MM_Report_(&gvar); Shutdown16(&gvar); - free(enti.spri.sprite_vrl_cont); - free(enti.spri.spritesheet->vrl_line_offsets); MM_FreePtr(&bigbuffer, &gvar); //MM_FreePtr(&((void __based(sega)*)enti.spri.spritesheet->buffer), &mm); //printf("CPU to VGA: %f\n", t1);