forked from len0rd/rockbox
First steps towards SDL sim for windows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8449 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c9bded807b
commit
60e8f4f988
4 changed files with 5 additions and 3 deletions
|
@ -139,7 +139,7 @@ mp3data.c
|
||||||
#if CONFIG_CODEC != SWCODEC
|
#if CONFIG_CODEC != SWCODEC
|
||||||
mpeg.c
|
mpeg.c
|
||||||
#endif
|
#endif
|
||||||
#ifndef WIN32 /* the win32 sim has its own versin of these: */
|
#if !defined(WIN32) || defined(SDL)
|
||||||
panic.c
|
panic.c
|
||||||
debug.c
|
debug.c
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -29,7 +29,9 @@
|
||||||
|
|
||||||
#ifdef SIMULATOR
|
#ifdef SIMULATOR
|
||||||
#define lcd_icon(x,y) sim_lcd_icon(x,y)
|
#define lcd_icon(x,y) sim_lcd_icon(x,y)
|
||||||
|
#ifndef MAX_PATH
|
||||||
#define MAX_PATH 260
|
#define MAX_PATH 260
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include "file.h" /* for MAX_PATH; FIXME: Why does this not work for sims? */
|
#include "file.h" /* for MAX_PATH; FIXME: Why does this not work for sims? */
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -409,7 +409,7 @@ void sim_plugin_close(int pd)
|
||||||
dlclose((void *)pd);
|
dlclose((void *)pd);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef WIN32
|
#if !defined(WIN32) || defined(SDL)
|
||||||
/* the win32 version is in debug-win32.c */
|
/* the win32 version is in debug-win32.c */
|
||||||
|
|
||||||
void debug_init(void)
|
void debug_init(void)
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
|
|
||||||
#ifdef WIN32
|
#if defined(WIN32) && !defined(SDL)
|
||||||
#include "lcd-win32.h"
|
#include "lcd-win32.h"
|
||||||
#else
|
#else
|
||||||
#include "lcd-x11.h"
|
#include "lcd-x11.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue