summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-02-19 17:45:52 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-02-19 17:45:52 +0000
commit6bcd221d0d3946abfddf40a7c73a8d9619b0ff78 (patch)
treeca3e71fdf3df2d530030f6fa167477bb1d9ad3fa /amiga
parenta2d4c8ee0fd9a8036dcdbdd642a36aa92ddba409 (diff)
downloadnetsurf-6bcd221d0d3946abfddf40a7c73a8d9619b0ff78.tar.gz
netsurf-6bcd221d0d3946abfddf40a7c73a8d9619b0ff78.tar.bz2
Re-apply some of my previous changes
Diffstat (limited to 'amiga')
-rw-r--r--amiga/agclass/amigaguide_class.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/amiga/agclass/amigaguide_class.c b/amiga/agclass/amigaguide_class.c
index 6f504a754..815071736 100644
--- a/amiga/agclass/amigaguide_class.c
+++ b/amiga/agclass/amigaguide_class.c
@@ -4,6 +4,7 @@
* by Daniel "Trixie" Jedlicka
*/
+#undef __USE_INLINE__
#include "amigaguide_class.h"
@@ -261,6 +262,11 @@ uint32 om_get(Class *cl, Object *o, struct opGet *msg)
retVal = 1L;
break;
+ case AMIGAGUIDE_Signal:
+ *(msg->opg_Storage) = (uint32)lod->agSignal;
+ retVal = 1L;
+ break;
+
default:
retVal = IIntuition->IDoSuperMethodA(cl, o, (Msg)msg);
}
@@ -335,6 +341,7 @@ uint32 agm_close(Class *cl, Object *o, Msg msg)
{
IAmigaGuide->CloseAmigaGuide(lod->agHandle);
lod->agHandle = NULL;
+ lod->agSignal = 0;
retVal = 1L;
}