diff options
author | aliaspider | 2014-10-28 03:13:05 +0100 |
---|---|---|
committer | aliaspider | 2014-10-28 03:13:05 +0100 |
commit | 5a96997f186b2cff1a24ed5572430fe0f031e8d3 (patch) | |
tree | d61c43d74818018e17d8142025b42d3139559395 /source/nds | |
parent | f3dab3957cf020af5a10ea64d8f77692d10be973 (diff) | |
download | snes9x2005-5a96997f186b2cff1a24ed5572430fe0f031e8d3.tar.gz snes9x2005-5a96997f186b2cff1a24ed5572430fe0f031e8d3.tar.bz2 snes9x2005-5a96997f186b2cff1a24ed5572430fe0f031e8d3.zip |
initial libretro port.
Diffstat (limited to 'source/nds')
-rw-r--r-- | source/nds/displaymodes.cpp | 4 | ||||
-rw-r--r-- | source/nds/draw.h | 10 | ||||
-rw-r--r-- | source/nds/entry.cpp | 10 | ||||
-rw-r--r-- | source/nds/gui.h | 4 |
4 files changed, 15 insertions, 13 deletions
diff --git a/source/nds/displaymodes.cpp b/source/nds/displaymodes.cpp index ead3c93..173ead3 100644 --- a/source/nds/displaymodes.cpp +++ b/source/nds/displaymodes.cpp @@ -18,8 +18,8 @@ */ #include <stdio.h> -#include "ds2_types.h" -#include "ds2io.h" +//#include "ds2_types.h" +//#include "ds2io.h" #include "gfx.h" diff --git a/source/nds/draw.h b/source/nds/draw.h index b696407..473fc30 100644 --- a/source/nds/draw.h +++ b/source/nds/draw.h @@ -20,8 +20,10 @@ #ifndef __DRAW_H__ #define __DRAW_H__ -#include "ds2_types.h" -#include "ds2io.h" +//#include "ds2_types.h" +//#include "ds2io.h" +#include <psptypes.h> + #include "bdf_font.h" #define NDS_SCREEN_WIDTH 256 @@ -176,8 +178,8 @@ extern void draw_hscroll_over(u32 index); extern void boxfill_alpha(u32 sx, u32 sy, u32 ex, u32 ey, u32 color, u32 alpha); extern void scrollbar(void* screen_addr, u32 sx, u32 sy, u32 ex, u32 ey, u32 all, u32 view, u32 now); extern u32 yesno_dialog(char *text); -extern u32 draw_yesno_dialog(enum SCREEN_ID screen, u32 sy, char *yes, char *no); -extern u32 draw_hotkey_dialog(enum SCREEN_ID screen, u32 sy, char *clear, char *cancel); +//extern u32 draw_yesno_dialog(enum SCREEN_ID screen, u32 sy, char *yes, char *no); +//extern u32 draw_hotkey_dialog(enum SCREEN_ID screen, u32 sy, char *clear, char *cancel); extern void msg_screen_init(const char *title); extern void msg_screen_draw(); extern void msg_printf(const char *text, ...); diff --git a/source/nds/entry.cpp b/source/nds/entry.cpp index 1270d01..a6c1f7d 100644 --- a/source/nds/entry.cpp +++ b/source/nds/entry.cpp @@ -1,11 +1,11 @@ //entry.c #include <stdio.h> -#include "ds2_types.h" -#include "ds2_cpu.h" -#include "ds2_timer.h" -#include "ds2io.h" -#include "fs_api.h" +//#include "ds2_types.h" +//#include "ds2_cpu.h" +//#include "ds2_timer.h" +//#include "ds2io.h" +//#include "fs_api.h" #include "snes9x.h" #include "soundux.h" diff --git a/source/nds/gui.h b/source/nds/gui.h index 980553b..92dc81d 100644 --- a/source/nds/gui.h +++ b/source/nds/gui.h @@ -20,8 +20,8 @@ #ifndef __GUI_H__ #define __GUI_H__ -#include "ds2_types.h" -#include "fs_api.h" +//#include "ds2_types.h" +//#include "fs_api.h" #include "gcheat.h" #define UP_SCREEN_UPDATE_METHOD 0 |