From f64ebb1c1f10e8d15fcc4879d781703c86c5fb8b Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 8 Sep 2007 12:20:53 +0000 Subject: Sim I/O and threading that runs more like on target. Tweakable if any genuine slowness imitation is required for any one of them. One point of concern is the sim shutdown on an OS other than Linux just because terminating threads in a manner other than having the do it themselves is kind of dirty IMHO. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14639 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 9d46ea4510..bdb59e6005 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -209,10 +209,10 @@ static const struct plugin_api rockbox_api = { /* file */ (open_func)PREFIX(open), close, - (read_func)read, + (read_func)PREFIX(read), PREFIX(lseek), (creat_func)PREFIX(creat), - (write_func)write, + (write_func)PREFIX(write), PREFIX(remove), PREFIX(rename), PREFIX(ftruncate), -- cgit v1.2.3