mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
Save and restore FP registers for APCS compliance
svn path=/trunk/netsurf/; revision=2815
This commit is contained in:
parent
e298837af7
commit
4d8c68583f
@ -845,7 +845,7 @@ void gui_poll(bool active)
|
||||
{
|
||||
wimp_event_no event;
|
||||
wimp_block block;
|
||||
const wimp_poll_flags mask = wimp_MASK_LOSE | wimp_MASK_GAIN;
|
||||
const wimp_poll_flags mask = wimp_MASK_LOSE | wimp_MASK_GAIN | wimp_SAVE_FP;
|
||||
|
||||
/* Poll wimp. */
|
||||
xhourglass_off();
|
||||
@ -968,7 +968,7 @@ void gui_multitask(void)
|
||||
return;
|
||||
|
||||
xhourglass_off();
|
||||
event = wimp_poll(wimp_MASK_LOSE | wimp_MASK_GAIN, &block, 0);
|
||||
event = wimp_poll(wimp_MASK_LOSE | wimp_MASK_GAIN | wimp_SAVE_FP, &block, 0);
|
||||
xhourglass_on();
|
||||
gui_last_poll = clock();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user