Skip to content

Commit

Permalink
(vita2d) Update header includes
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Jul 24, 2019
1 parent f3f1777 commit 78915ae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion audio/drivers/opensl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion deps/libvita2d/source/utils.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "utils.h"
#include "../include/utils.h"
#include <math.h>
#include <string.h>

Expand Down
4 changes: 2 additions & 2 deletions deps/libvita2d/source/vita2d_draw.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <math.h>
#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)
{
Expand Down
8 changes: 4 additions & 4 deletions deps/libvita2d/source/vita2d_texture.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#include <string.h>
#include <stdlib.h>
#include <math.h>
#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;
Expand Down Expand Up @@ -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);
}
}

0 comments on commit 78915ae

Please sign in to comment.