diff options
author | Steve Bavin <pondlife@pondlife.me> | 2007-08-01 09:07:09 +0000 |
---|---|---|
committer | Steve Bavin <pondlife@pondlife.me> | 2007-08-01 09:07:09 +0000 |
commit | abf3435ca724bf6201c663f33c2e4394ae48156d (patch) | |
tree | 6915a12a18af287d923e0fba639171c8912255e8 | |
parent | f7f8ee1645995b985563a7244d345b8490886cb6 (diff) | |
download | rockbox-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.c | 2 |
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 | { |