mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
Lots of stuff
This commit is contained in:
23
PortabilityLayer/PLApplication.cpp
Normal file
23
PortabilityLayer/PLApplication.cpp
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user