add common function library

This commit is contained in:
scawful
2022-07-06 22:21:57 -04:00
parent 9e90fad9e1
commit 0c4eba08ad
2 changed files with 41 additions and 0 deletions

17
src/app/core/common.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef YAZE_CORE_COMMON_H
#define YAZE_CORE_COMMON_H
#include <cstdint>
namespace yaze {
namespace app {
namespace core {
unsigned int SnesToPc(unsigned int addr);
int AddressFromBytes(uint8_t addr1, uint8_t addr2, uint8_t addr3);
} // namespace core
} // namespace app
} // namespace premia
#endif