mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
compile fixes for CI
This commit is contained in:
parent
725e007ae5
commit
3167aa9a94
15 changed files with 56 additions and 51 deletions
|
@ -1,9 +1,9 @@
|
|||
CROSS ?= arm-linux-gnueabi-
|
||||
CROSS_COMPILE ?= arm-linux-gnueabi-
|
||||
|
||||
CC = $(CROSS)gcc
|
||||
AS = $(CROSS)as
|
||||
AR = $(CROSS)ar
|
||||
TOOLCHAIN = $(notdir $(CROSS))
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
AS = $(CROSS_COMPILE)as
|
||||
AR = $(CROSS_COMPILE)ar
|
||||
TOOLCHAIN = $(notdir $(CROSS_COMPILE))
|
||||
LIBGCC ?= ${HOME}/opt/open2x/gcc-4.1.1-glibc-2.3.6/lib/gcc/arm-open2x-linux/4.1.1/libgcc.a
|
||||
|
||||
CFLAGS += -Ipub -O2 -Wall -fstrict-aliasing -ffast-math
|
||||
|
|
|
@ -12,10 +12,16 @@
|
|||
#include <dlfcn.h>
|
||||
|
||||
#include <pico/pico_int.h>
|
||||
#include "helix/pub/mp3dec.h"
|
||||
/*#include "helix/pub/mp3dec.h"*/
|
||||
#include "mp3.h"
|
||||
|
||||
static HMP3Decoder mp3dec;
|
||||
#ifndef _MP3DEC_H
|
||||
typedef void *HMP3Decoder;
|
||||
#define ERR_MP3_INDATA_UNDERFLOW -1
|
||||
#define ERR_MP3_MAINDATA_UNDERFLOW -2
|
||||
#endif
|
||||
|
||||
static void *mp3dec;
|
||||
static unsigned char mp3_input_buffer[2 * 1024];
|
||||
|
||||
#ifdef __GP2X__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue