summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2009-01-07 09:53:46 +0000
committerBjörn Stenberg <bjorn@haxx.se>2009-01-07 09:53:46 +0000
commita36cdf5b37994a301d4fdeab123ee1569a34cf46 (patch)
tree5794a1f13f93e3d7190572e07709aa1a11e9e892 /apps/plugins/rockboy
parentf9329e4c9273f1b82aa5dbb36f243546ce55036d (diff)
downloadrockbox-a36cdf5b37994a301d4fdeab123ee1569a34cf46.zip
rockbox-a36cdf5b37994a301d4fdeab123ee1569a34cf46.tar.gz
rockbox-a36cdf5b37994a301d4fdeab123ee1569a34cf46.tar.bz2
rockbox-a36cdf5b37994a301d4fdeab123ee1569a34cf46.tar.xz
Removed the sim_ prefix from the plugin api.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19704 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r--apps/plugins/rockboy/rockmacros.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/apps/plugins/rockboy/rockmacros.h b/apps/plugins/rockboy/rockmacros.h
index 179de23..34e8d0c 100644
--- a/apps/plugins/rockboy/rockmacros.h
+++ b/apps/plugins/rockboy/rockmacros.h
@@ -60,25 +60,11 @@ void dynamic_recompile (struct dynarec_block *newblock);
#define isalpha(c) (((c) >= 'a' && (c) <= 'z') || ((c) >= 'A' && ((c) <= 'Z')))
#define isalnum(c) (isdigit(c) || (isalpha(c)))
-#ifdef SIMULATOR
-#undef open
-#define open(a,b) rb->sim_open((a),(b))
-#undef lseek
-#define lseek(a,b,c) rb->sim_lseek((a),(b),(c))
-#undef close
-#define close(a) rb->sim_close((a))
-#undef read
-#define read(a,b,c) rb->sim_read((a),(b),(c))
-#undef write
-#define write(a,b,c) rb->sim_write((a),(b),(c))
-#else /* !SIMULATOR */
#define open(a,b) rb->open((a),(b))
#define lseek(a,b,c) rb->lseek((a),(b),(c))
#define close(a) rb->close((a))
#define read(a,b,c) rb->read((a),(b),(c))
#define write(a,b,c) rb->write((a),(b),(c))
-#endif /* !SIMULATOR */
-
#define strcat(a,b) rb->strcat((a),(b))
#define memset(a,b,c) rb->memset((a),(b),(c))
#define strcpy(a,b) rb->strcpy((a),(b))