From dc40bf93a0558baf4cd04f3e74fb9805a6c87008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Mon, 6 May 2013 05:58:49 +0000 Subject: [PATCH] rolled back changes of parameter handling to original EmuTOS "stack trick" (which doesn't work here as well for yet unknown reasons) --- sources/xhdi_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/xhdi_interface.c b/sources/xhdi_interface.c index ae0e2dd..4d19b33 100644 --- a/sources/xhdi_interface.c +++ b/sources/xhdi_interface.c @@ -27,9 +27,9 @@ #include "bas_printf.h" -uint32_t xhdi_call(struct XHDICALL_args *stack) +uint32_t xhdi_call(uint16_t *stack) { - uint16_t opcode = stack->opcode; + uint16_t opcode = *stack; xprintf("xhdi_call(): opcode %d\r\n", opcode);