From 652657781805d9cc10d744a49fb23eb17019fbbf Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Tue, 13 May 2008 09:57:56 +0000 Subject: Plugin parameters should be const. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockboy/loader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/rockboy/loader.c') diff --git a/apps/plugins/rockboy/loader.c b/apps/plugins/rockboy/loader.c index d48a06957e..71ab4e78d7 100644 --- a/apps/plugins/rockboy/loader.c +++ b/apps/plugins/rockboy/loader.c @@ -99,7 +99,7 @@ static const unsigned char ramsize_table[5] = 0, 1, 1, 4, 16 }; -static char *romfile; +static const char *romfile; static char sramfile[500]; static char rtcfile[500]; static char saveprefix[500]; @@ -284,7 +284,7 @@ void cleanup(void) /* IDEA - if error, write emergency savestate..? */ } -void loader_init(char *s) +void loader_init(const char *s) { romfile = s; if(rom_load()) -- cgit v1.2.3