lynx and wonderswan compile

At least one of these is in need of upstream updates, so maybe we waterbox them, maybe we don't
This commit is contained in:
nattthebear 2020-05-21 19:24:50 -04:00
parent e892dcef82
commit fa139cbcf8
4 changed files with 29 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#include "mednafen/src/settings.h"
#include "mednafen/src/mempatcher.h"
#include "mednafen/src/mednafen-driver.h"
#include "mednafen/src/player.h"
namespace Mednafen
{
@ -85,4 +86,16 @@ namespace Mednafen
{
return nullptr;
}
// player.h
void Player_Init(int tsongs, const std::string &album, const std::string &artist, const std::string &copyright, const std::vector<std::string> &snames, bool override_gi)
{}
void Player_Draw(MDFN_Surface *surface, MDFN_Rect *dr, int CurrentSong, int16 *samples, int32 sampcount)
{}
}
// zlib.h
uint32_t crc32(uint32_t crc, unsigned const char *buf, size_t len)
{
return 0;
}

View File

@ -0,0 +1,4 @@
#pragma once
// TODO: See how much zlib anything actually needs
uint32_t crc32(uint32_t crc, unsigned const char *buf, size_t len);

6
waterbox/nyma/lynx.mak Normal file
View File

@ -0,0 +1,6 @@
include common.mak
SRCS += \
$(call cppdir,lynx)
include ../common.mak

6
waterbox/nyma/wswan.mak Normal file
View File

@ -0,0 +1,6 @@
include common.mak
SRCS += \
$(filter-out %debug.cpp,$(call cppdir,wswan))
include ../common.mak