mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
libretro, fix classic_arm builds, minor cleanup
This commit is contained in:
parent
a5085db3ea
commit
36b2f2931f
4 changed files with 10 additions and 7 deletions
|
@ -200,8 +200,8 @@ $(FR)cpu/cyclone/Cyclone.h:
|
|||
|
||||
$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/$(CYCLONE_CONFIG)
|
||||
@echo building Cyclone...
|
||||
@export CC=$(CYCLONE_CC) CXX=$(CYCLONE_CXX) CFLAGS=-O2; \
|
||||
make -C $(R)cpu/cyclone/ CONFIG_FILE=../$(CYCLONE_CONFIG) HAVE_ARMv6=$(HAVE_ARMv6)
|
||||
@export CC=$(CYCLONE_CC) CXX=$(CYCLONE_CXX) CFLAGS=-O2 CXXFLAGS=-O2 CPPFLAGS="" LDFLAGS="" && \
|
||||
make -C $(R)cpu/cyclone/ CONFIG_FILE=../$(CYCLONE_CONFIG) HAVE_ARMv6=$(HAVE_ARMv6)
|
||||
|
||||
$(FR)cpu/cyclone/Cyclone.s: $(FR)cpu/cyclone/*.cpp $(FR)cpu/cyclone/*.h
|
||||
|
||||
|
|
|
@ -9,10 +9,13 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include <pico/pico_int.h>
|
||||
|
||||
#ifdef USE_LIBRETRO_VFS
|
||||
// Ugh, drmp3 tries to use wfopen on windows, which breaks libretro VFS...
|
||||
#define __acrt_iob_func __acrt_iob_func2
|
||||
#define _wfopen_s(p,m) NULL
|
||||
#define _wfopen(p,m) NULL
|
||||
#endif
|
||||
#define DR_MP3_IMPLEMENTATION
|
||||
#include "dr_libs/dr_mp3.h"
|
||||
#include "mp3.h"
|
||||
|
|
|
@ -616,7 +616,7 @@ void retro_set_environment(retro_environment_t cb)
|
|||
|
||||
static const struct retro_system_content_info_override content_overrides[] = {
|
||||
{
|
||||
"gen|smd|md|32x|sms|68k|sgd|pco", /* extensions */
|
||||
"gen|smd|md|32x|sms|gg|sg|68k|sgd|pco", /* extensions */
|
||||
#if defined(LOW_MEMORY)
|
||||
true, /* need_fullpath */
|
||||
#else
|
||||
|
@ -2276,7 +2276,7 @@ void retro_run(void)
|
|||
buff = (char*)vout_buf + vout_offset;
|
||||
#endif
|
||||
|
||||
video_cb((short *)buff, vout_width, vout_height, vout_width * 2);
|
||||
video_cb((short *)buff, vout_width, vout_height, vout_width * 2);
|
||||
}
|
||||
|
||||
void retro_init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue