summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-08-01 09:07:09 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-08-01 09:07:09 +0000
commitabf3435ca724bf6201c663f33c2e4394ae48156d (patch)
tree6915a12a18af287d923e0fba639171c8912255e8
parentf7f8ee1645995b985563a7244d345b8490886cb6 (diff)
downloadrockbox-abf3435ca724bf6201c663f33c2e4394ae48156d.tar.gz
rockbox-abf3435ca724bf6201c663f33c2e4394ae48156d.zip
Slightly less hacky sim queue_send(), fixes simulator crashes FS#7051 and FS#7245.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14113 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--uisimulator/sdl/kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/sdl/kernel.c b/uisimulator/sdl/kernel.c
index 98d509f6a6..b2bf77026f 100644
--- a/uisimulator/sdl/kernel.c
+++ b/uisimulator/sdl/kernel.c
@@ -191,7 +191,7 @@ intptr_t queue_send(struct event_queue *q, long id, intptr_t data)
191 if(q->send) 191 if(q->send)
192 { 192 {
193 struct thread_entry **spp = &q->send->senders[wr]; 193 struct thread_entry **spp = &q->send->senders[wr];
194 struct thread_entry sender; 194 static struct thread_entry sender;
195 195
196 if(*spp) 196 if(*spp)
197 { 197 {