From 78915aedd179d29a14ff1091946c3739064159d3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 24 Jul 2019 22:58:20 +0200 Subject: [PATCH] (vita2d) Update header includes --- audio/drivers/opensl.c | 2 +- deps/libvita2d/source/utils.c | 2 +- deps/libvita2d/source/vita2d_draw.c | 4 ++-- deps/libvita2d/source/vita2d_texture.c | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/audio/drivers/opensl.c b/audio/drivers/opensl.c index 26ec306f6794..fac2335fc720 100644 --- a/audio/drivers/opensl.c +++ b/audio/drivers/opensl.c @@ -152,7 +152,7 @@ static void *sl_init(const char *device, unsigned rate, unsigned latency, fmt_pcm.formatType = SL_DATAFORMAT_PCM; fmt_pcm.numChannels = 2; - fmt_pcm.samplesPerSec = rate * 1000; // Samplerate is in milli-Hz. + fmt_pcm.samplesPerSec = rate * 1000; /* Samplerate is in milli-Hz. */ fmt_pcm.bitsPerSample = 16; fmt_pcm.containerSize = 16; fmt_pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; diff --git a/deps/libvita2d/source/utils.c b/deps/libvita2d/source/utils.c index 290c1e52bbbb..b9e2511ae48b 100644 --- a/deps/libvita2d/source/utils.c +++ b/deps/libvita2d/source/utils.c @@ -1,4 +1,4 @@ -#include "utils.h" +#include "../include/utils.h" #include #include diff --git a/deps/libvita2d/source/vita2d_draw.c b/deps/libvita2d/source/vita2d_draw.c index f5b53543b7ea..60a2ce109265 100644 --- a/deps/libvita2d/source/vita2d_draw.c +++ b/deps/libvita2d/source/vita2d_draw.c @@ -1,6 +1,6 @@ #include -#include "vita2d.h" -#include "shared.h" +#include "../include/vita2d.h" +#include "../include/shared.h" void vita2d_draw_pixel(float x, float y, unsigned int color) { diff --git a/deps/libvita2d/source/vita2d_texture.c b/deps/libvita2d/source/vita2d_texture.c index 7913d036d839..4cb19c7885a9 100644 --- a/deps/libvita2d/source/vita2d_texture.c +++ b/deps/libvita2d/source/vita2d_texture.c @@ -2,9 +2,9 @@ #include #include #include -#include "vita2d.h" -#include "utils.h" -#include "shared.h" +#include "../include/vita2d.h" +#include "../include/utils.h" +#include "../include/shared.h" #define GXM_TEX_MAX_SIZE 4096 static SceKernelMemBlockType MemBlockType = SCE_KERNEL_MEMBLOCK_TYPE_USER_CDRAM_RW; @@ -787,4 +787,4 @@ void vita2d_draw_array_textured(const vita2d_texture *texture, SceGxmPrimitiveTy sceGxmSetVertexStream(_vita2d_context, 0, vertices); sceGxmDraw(_vita2d_context, mode, SCE_GXM_INDEX_FORMAT_U16, vita2d_get_linear_indices(), count); -} \ No newline at end of file +}