Lots of stuff

This commit is contained in:
elasota
2019-11-11 00:11:59 -05:00
parent 49a35bb15b
commit c8472f7295
406 changed files with 58313 additions and 88 deletions

View File

@@ -0,0 +1,23 @@
#include "PLApplication.h"
#include "PLCore.h"
#include <string.h>
#include <assert.h>
namespace PortabilityLayer
{
namespace Utils
{
void MakePStr(unsigned char *dest, size_t sz, const char *src)
{
assert(sz <= 255);
dest[0] = static_cast<uint8_t>(sz);
memcpy(dest + 1, src, sz);
}
}
}
void SysBeep(int duration)
{
PL_NotYetImplemented();
}