diff options
author | Mustapha Senhaji <moos@rockbox.org> | 2009-02-20 23:14:09 +0000 |
---|---|---|
committer | Mustapha Senhaji <moos@rockbox.org> | 2009-02-20 23:14:09 +0000 |
commit | 37183be69ce68e3f9ecaf12ce668d7e21229d8f0 (patch) | |
tree | 8eb0cbff672d83e0089081ad83f283aa094bf298 /apps/plugins/goban/goban.c | |
parent | 00215348d0ee3c894707dab3c9f7288a0d93cd74 (diff) | |
download | rockbox-37183be69ce68e3f9ecaf12ce668d7e21229d8f0.tar.gz rockbox-37183be69ce68e3f9ecaf12ce668d7e21229d8f0.zip |
FS#9901 by Joshua Simmons for the Goban plugin: Goban overlay for the Archos targets.
This is a first try to enable this plugin for low memory targets like our old archoses :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20069 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/goban/goban.c')
-rw-r--r-- | apps/plugins/goban/goban.c | 56 |
1 files changed, 34 insertions, 22 deletions
diff --git a/apps/plugins/goban/goban.c b/apps/plugins/goban/goban.c index 04b74b7f59..20cccd7e03 100644 --- a/apps/plugins/goban/goban.c +++ b/apps/plugins/goban/goban.c | |||
@@ -1,25 +1,37 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | * __________ __ ___. | 2 | * __________ __ ___. |
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
7 | * \/ \/ \/ \/ \/ | 7 | * \/ \/ \/ \/ \/ |
8 | * $Id$ | 8 | * $Id$ |
9 | * | 9 | * |
10 | * Copyright (C) 2007-2009 Joshua Simmons <mud at majidejima dot com> | 10 | * Copyright (C) 2007-2009 Joshua Simmons <mud at majidejima dot com> |
11 | * | 11 | * |
12 | * This program is free software; you can redistribute it and/or | 12 | * This program is free software; you can redistribute it and/or |
13 | * modify it under the terms of the GNU General Public License | 13 | * modify it under the terms of the GNU General Public License |
14 | * as published by the Free Software Foundation; either version 2 | 14 | * as published by the Free Software Foundation; either version 2 |
15 | * of the License, or (at your option) any later version. | 15 | * of the License, or (at your option) any later version. |
16 | * | 16 | * |
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | 17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
18 | * KIND, either express or implied. | 18 | * KIND, either express or implied. |
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | #include "plugin.h" | |
22 | #include "plugin.h" | 22 | |
23 | #if PLUGIN_BUFFER_SIZE < 0x10000 && !defined(SIMULATOR) | ||
24 | |||
25 | #include "lib/overlay.h" | ||
26 | |||
27 | PLUGIN_HEADER | ||
28 | |||
29 | enum plugin_status plugin_start(const void* parameter) | ||
30 | { | ||
31 | return run_overlay(parameter, PLUGIN_GAMES_DIR "/goban.ovl", "Goban"); | ||
32 | } | ||
33 | #endif | ||
34 | |||
23 | #include "lib/playback_control.h" | 35 | #include "lib/playback_control.h" |
24 | #include "lib/configfile.h" | 36 | #include "lib/configfile.h" |
25 | 37 | ||