Fixed missing function that caused compile to fail
This commit is contained in:
parent
82730eb25c
commit
a87821b394
1 changed files with 11 additions and 3 deletions
|
@ -28,7 +28,7 @@
|
|||
#include "rommgr.h"
|
||||
#include "zfile.h"
|
||||
#include "amiberry_rp9.h"
|
||||
#include "include/memory.h"
|
||||
#include "memory.h"
|
||||
#include "keyboard.h"
|
||||
#include "rtgmodes.h"
|
||||
#include "gfxboard.h"
|
||||
|
@ -298,7 +298,7 @@ void fix_apmodes(struct uae_prefs* p)
|
|||
|
||||
void target_fixup_options(struct uae_prefs* p)
|
||||
{
|
||||
// If we have a CD inserted, but not emulating a CDTV or CD32, enable SCSI
|
||||
// If we have a CD inserted, but not emulating a CDTV or CD32, enable SCSI automatically
|
||||
if (p->cdslots[0].inuse
|
||||
&& (!p->cs_cd32cd && !p->cs_cd32nvram)
|
||||
&& (!p->cs_cdtvcd && !p->cs_cdtvram))
|
||||
|
@ -1422,6 +1422,14 @@ void toggle_mouse_grab()
|
|||
}
|
||||
}
|
||||
|
||||
void set_mouse_grab(const bool grab)
|
||||
{
|
||||
if (grab && mouse_grabbed || !grab && !mouse_grabbed)
|
||||
return;
|
||||
if (!grab && mouse_grabbed || grab && !mouse_grabbed)
|
||||
toggle_mouse_grab();
|
||||
}
|
||||
|
||||
int handle_msgpump()
|
||||
{
|
||||
auto gotEvent = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue