Configuration manager now bookends the emulator - running before emulation starts and after the main window is closed.
This commit is contained in:
parent
beecfd8381
commit
172e88ed8b
6 changed files with 182 additions and 233 deletions
|
|
@ -21,8 +21,6 @@ int mouse_buttons = 0;
|
|||
|
||||
void mouse_init()
|
||||
{
|
||||
atexit(mouse_close);
|
||||
|
||||
if (FAILED(DirectInputCreate(hinstance, DIRECTINPUT_VERSION, &lpdi, NULL)))
|
||||
fatal("mouse_init : DirectInputCreate failed\n");
|
||||
if (FAILED(lpdi->CreateDevice(GUID_SysMouse, &lpdi_mouse, NULL)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue