aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authoraliaspider2015-09-23 16:12:24 +0100
committeraliaspider2015-09-23 16:12:24 +0100
commitfc99395c2d7efbbaa0663feed47dc89a54e49506 (patch)
tree02114dc1d8f34d10b5eb46cb508d9d53a49cdc9f /plugins
parentc90258c8ca8d207f24c3de741572c0ef2d1e9cb8 (diff)
downloadpcsx_rearmed-fc99395c2d7efbbaa0663feed47dc89a54e49506.tar.gz
pcsx_rearmed-fc99395c2d7efbbaa0663feed47dc89a54e49506.tar.bz2
pcsx_rearmed-fc99395c2d7efbbaa0663feed47dc89a54e49506.zip
(ctr/3ds) add target.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/cdrcimg/cdrcimg.c4
-rw-r--r--plugins/dfxvideo/gpulib_if.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/plugins/cdrcimg/cdrcimg.c b/plugins/cdrcimg/cdrcimg.c
index 76cdfba..036c68d 100644
--- a/plugins/cdrcimg/cdrcimg.c
+++ b/plugins/cdrcimg/cdrcimg.c
@@ -14,7 +14,9 @@
#include <zlib.h>
#ifndef _WIN32
#define CALLBACK
+#ifndef _3DS
#include <dlfcn.h>
+#endif
#else
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -285,7 +287,7 @@ static long CDRinit(void)
return -1;
}
}
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(_3DS)
if (pBZ2_bzBuffToBuffDecompress == NULL) {
void *h = dlopen("/usr/lib/libbz2.so.1", RTLD_LAZY);
if (h == NULL)
diff --git a/plugins/dfxvideo/gpulib_if.c b/plugins/dfxvideo/gpulib_if.c
index 01b8dde..bb3ad56 100644
--- a/plugins/dfxvideo/gpulib_if.c
+++ b/plugins/dfxvideo/gpulib_if.c
@@ -309,11 +309,11 @@ void renderer_notify_res_change(void)
extern const unsigned char cmd_lengths[256];
-int do_cmd_list(unsigned int *list, int list_len, int *last_cmd)
+int do_cmd_list(uint32_t *list, int list_len, int *last_cmd)
{
unsigned int cmd = 0, len;
- unsigned int *list_start = list;
- unsigned int *list_end = list + list_len;
+ uint32_t *list_start = list;
+ uint32_t *list_end = list + list_len;
for (; list < list_end; list += 1 + len)
{