aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/blit320.h5
-rw-r--r--frontend/cspace.h5
-rw-r--r--frontend/in_tsbutton.h5
-rw-r--r--frontend/libretro.c14
-rw-r--r--frontend/libretro_core_options.h2
-rw-r--r--frontend/menu.h5
-rw-r--r--frontend/nopic.h5
-rw-r--r--frontend/pl_gun_ts.h5
-rw-r--r--frontend/plat.h5
-rw-r--r--frontend/plat_omap.h3
-rw-r--r--frontend/plugin.h5
-rw-r--r--frontend/plugin_lib.h4
12 files changed, 61 insertions, 2 deletions
diff --git a/frontend/blit320.h b/frontend/blit320.h
index 434b52a..ea1d2a5 100644
--- a/frontend/blit320.h
+++ b/frontend/blit320.h
@@ -1,3 +1,8 @@
+#ifndef __BLIT320_H__
+#define __BLIT320_H__
+
void blit320_640(void *dst, const void *src, int unused);
void blit320_512(void *dst, const void *src, int unused);
void blit320_368(void *dst, const void *src, int unused);
+
+#endif /* __BLIT320_H__ */
diff --git a/frontend/cspace.h b/frontend/cspace.h
index 8c92d2d..6dbd5e0 100644
--- a/frontend/cspace.h
+++ b/frontend/cspace.h
@@ -1,3 +1,6 @@
+#ifndef __CSPACE_H__
+#define __CSPACE_H__
+
#ifdef __cplusplus
extern "C"
{
@@ -19,3 +22,5 @@ void bgr888_to_uyvy(void *d, const void *s, int pixels);
#ifdef __cplusplus
}
#endif
+
+#endif /* __CSPACE_H__ */
diff --git a/frontend/in_tsbutton.h b/frontend/in_tsbutton.h
index 82fab29..65a178f 100644
--- a/frontend/in_tsbutton.h
+++ b/frontend/in_tsbutton.h
@@ -1 +1,6 @@
+#ifndef __IN_TSBUTTON_H__
+#define __IN_TSBUTTON_H__
+
void in_tsbutton_init(void);
+
+#endif /* __IN_TSBUTTON_H__ */
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 8dc6bc3..699cbce 100644
--- a/frontend/libretro.c
+++ b/frontend/libretro.c
@@ -2897,3 +2897,17 @@ void SysPrintf(const char *fmt, ...)
if (log_cb)
log_cb(RETRO_LOG_INFO, "%s", msg);
}
+
+/* Prints debug-level logs */
+void SysDLog(const char *fmt, ...)
+{
+ va_list list;
+ char msg[512];
+
+ va_start(list, fmt);
+ vsprintf(msg, fmt, list);
+ va_end(list);
+
+ if (log_cb)
+ log_cb(RETRO_LOG_DEBUG, "%s", msg);
+}
diff --git a/frontend/libretro_core_options.h b/frontend/libretro_core_options.h
index 283abc6..40aebb4 100644
--- a/frontend/libretro_core_options.h
+++ b/frontend/libretro_core_options.h
@@ -937,7 +937,7 @@ struct retro_core_option_definition option_defs_us[] = {
{ "enabled", NULL },
{ NULL, NULL},
},
- "enabled",
+ "disabled",
},
{
"pcsx_rearmed_gpu_unai_ilace_force",
diff --git a/frontend/menu.h b/frontend/menu.h
index 81cd1ba..8f5acda 100644
--- a/frontend/menu.h
+++ b/frontend/menu.h
@@ -1,3 +1,6 @@
+#ifndef __MENU_H__
+#define __MENU_H__
+
void menu_init(void);
void menu_prepare_emu(void);
void menu_loop(void);
@@ -35,3 +38,5 @@ extern int soft_filter;
extern int g_menuscreen_w;
extern int g_menuscreen_h;
+
+#endif /* __MENU_H__ */
diff --git a/frontend/nopic.h b/frontend/nopic.h
index d664f80..1815983 100644
--- a/frontend/nopic.h
+++ b/frontend/nopic.h
@@ -1,3 +1,6 @@
+#ifndef __NOPIC_H__
+#define __NOPIC_H__
+
/* these are just deps, to be removed */
static const struct {
@@ -54,4 +57,4 @@ void DrawNumBorPic(unsigned char *pMem, int lSelectedSlot)
}
}
-
+#endif /* __NOPIC_H__ */
diff --git a/frontend/pl_gun_ts.h b/frontend/pl_gun_ts.h
index 4e3d195..8a33627 100644
--- a/frontend/pl_gun_ts.h
+++ b/frontend/pl_gun_ts.h
@@ -1,3 +1,6 @@
+#ifndef __PL_GUN_TS_H__
+#define __PL_GUN_TS_H__
+
#ifdef HAVE_TSLIB
struct tsdev;
@@ -16,3 +19,5 @@ int pl_gun_ts_get_fd(struct tsdev *ts);
#define pl_set_gun_rect(...) do {} while (0)
#endif
+
+#endif /* __PL_GUN_TS_H__ */
diff --git a/frontend/plat.h b/frontend/plat.h
index 6b0cd65..8a296ea 100644
--- a/frontend/plat.h
+++ b/frontend/plat.h
@@ -1,3 +1,6 @@
+#ifndef __PLAT_H__
+#define __PLAT_H__
+
void plat_init(void);
void plat_finish(void);
void plat_minimize(void);
@@ -8,3 +11,5 @@ void plat_gvideo_open(int is_pal);
void *plat_gvideo_set_mode(int *w, int *h, int *bpp);
void *plat_gvideo_flip(void);
void plat_gvideo_close(void);
+
+#endif /* __PLAT_H__ */
diff --git a/frontend/plat_omap.h b/frontend/plat_omap.h
index e47410a..151f09c 100644
--- a/frontend/plat_omap.h
+++ b/frontend/plat_omap.h
@@ -1,5 +1,8 @@
+#ifndef __PLAT_OMAP_H__
+#define __PLAT_OMAP_H__
void plat_omap_init(void);
void plat_omap_finish(void);
void plat_omap_gvideo_open(void);
+#endif /* __PLAT_OMAP_H__ */
diff --git a/frontend/plugin.h b/frontend/plugin.h
index e7a5645..5e12f90 100644
--- a/frontend/plugin.h
+++ b/frontend/plugin.h
@@ -1,3 +1,6 @@
+#ifndef __PLUGIN_H__
+#define __PLUGIN_H__
+
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
#define PLUGIN_DL_BASE 0xfbad0000
@@ -12,3 +15,5 @@ enum builtint_plugins_e {
void *plugin_link(enum builtint_plugins_e id, const char *sym);
void plugin_call_rearmed_cbs(void);
+
+#endif /* __PLUGIN_H__ */
diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h
index ee03169..114aaad 100644
--- a/frontend/plugin_lib.h
+++ b/frontend/plugin_lib.h
@@ -1,3 +1,5 @@
+#ifndef __PLUGIN_LIB_H__
+#define __PLUGIN_LIB_H__
enum {
DKEY_SELECT = 0,
@@ -119,3 +121,5 @@ extern void (*pl_plat_hud_print)(int x, int y, const char *str, int bpp);
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
#endif
+
+#endif /* __PLUGIN_LIB_H__ */