Search
lxdream.org :: lxdream/src/dreamcast.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.c
changeset 839:51f1c4195790
prev825:2ac7ceccd775
next889:5baaea6d9722
author nkeynes
date Tue Sep 02 03:34:00 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Implement absolute positioning mouse mode when not grabbed
enable/disable grab on dreamcast start/stop where it's requested
by the controllers
file annotate diff log raw
1.1 --- a/src/dreamcast.c Sun Aug 24 01:58:09 2008 +0000
1.2 +++ b/src/dreamcast.c Tue Sep 02 03:34:00 2008 +0000
1.3 @@ -170,6 +170,10 @@
1.4 modules[i]->start();
1.5 }
1.6 }
1.7 +
1.8 + if( maple_should_grab() ) {
1.9 + gui_set_use_grab(TRUE);
1.10 + }
1.11
1.12 dreamcast_state = STATE_RUNNING;
1.13
1.14 @@ -203,6 +207,8 @@
1.15 }
1.16 }
1.17
1.18 + gui_set_use_grab(FALSE);
1.19 +
1.20 for( i=0; i<num_modules; i++ ) {
1.21 if( modules[i]->stop != NULL )
1.22 modules[i]->stop();
.