All: Added exports for qt
This commit is contained in:
parent
9f5adf2dcc
commit
0a06f4dad0
@ -7,6 +7,7 @@
|
|||||||
#define M_LOG_H
|
#define M_LOG_H
|
||||||
|
|
||||||
#include <mgba-util/common.h>
|
#include <mgba-util/common.h>
|
||||||
|
#include <mgba-util/dllexports.h>
|
||||||
|
|
||||||
CXX_GUARD_START
|
CXX_GUARD_START
|
||||||
|
|
||||||
@ -65,7 +66,7 @@ void mLog(int category, enum mLogLevel level, const char* format, ...);
|
|||||||
_mLOG_CAT_ ## CATEGORY = mLogGenerateCategory(NAME, ID); \
|
_mLOG_CAT_ ## CATEGORY = mLogGenerateCategory(NAME, ID); \
|
||||||
}
|
}
|
||||||
|
|
||||||
mLOG_DECLARE_CATEGORY(STATUS)
|
MGBA_EXPORT mLOG_DECLARE_CATEGORY(STATUS)
|
||||||
|
|
||||||
CXX_GUARD_END
|
CXX_GUARD_END
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
#define GBA_INTERFACE_H
|
#define GBA_INTERFACE_H
|
||||||
|
|
||||||
#include <mgba-util/common.h>
|
#include <mgba-util/common.h>
|
||||||
|
#include <mgba-util/dllexports.h>
|
||||||
|
|
||||||
CXX_GUARD_START
|
CXX_GUARD_START
|
||||||
|
|
||||||
@ -39,7 +40,7 @@ struct GBAAudio;
|
|||||||
struct GBASIO;
|
struct GBASIO;
|
||||||
struct GBAVideoRenderer;
|
struct GBAVideoRenderer;
|
||||||
|
|
||||||
extern const int GBA_LUX_LEVELS[10];
|
extern MGBA_EXPORT const int GBA_LUX_LEVELS[10];
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
mPERIPH_GBA_LUMINANCE = 0x1000,
|
mPERIPH_GBA_LUMINANCE = 0x1000,
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
#define GB_IO_H
|
#define GB_IO_H
|
||||||
|
|
||||||
#include <mgba-util/common.h>
|
#include <mgba-util/common.h>
|
||||||
|
#include <mgba-util/dllexports.h>
|
||||||
|
|
||||||
CXX_GUARD_START
|
CXX_GUARD_START
|
||||||
|
|
||||||
@ -108,7 +109,7 @@ enum GBIORegisters {
|
|||||||
REG_MAX = 0x100
|
REG_MAX = 0x100
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const char* const GBIORegisterNames[];
|
extern MGBA_EXPORT const char* const GBIORegisterNames[];
|
||||||
|
|
||||||
struct GB;
|
struct GB;
|
||||||
void GBIOInit(struct GB* gb);
|
void GBIOInit(struct GB* gb);
|
||||||
|
@ -161,7 +161,7 @@ enum GBAIORegisters {
|
|||||||
|
|
||||||
mLOG_DECLARE_CATEGORY(GBA_IO);
|
mLOG_DECLARE_CATEGORY(GBA_IO);
|
||||||
|
|
||||||
extern const char* const GBAIORegisterNames[];
|
extern MGBA_EXPORT const char* const GBAIORegisterNames[];
|
||||||
|
|
||||||
struct GBA;
|
struct GBA;
|
||||||
void GBAIOInit(struct GBA* gba);
|
void GBAIOInit(struct GBA* gba);
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
#define GBA_VIDEO_H
|
#define GBA_VIDEO_H
|
||||||
|
|
||||||
#include <mgba-util/common.h>
|
#include <mgba-util/common.h>
|
||||||
|
#include <mgba-util/dllexports.h>
|
||||||
|
|
||||||
CXX_GUARD_START
|
CXX_GUARD_START
|
||||||
|
|
||||||
@ -228,7 +229,7 @@ struct GBASerializedState;
|
|||||||
void GBAVideoSerialize(const struct GBAVideo* video, struct GBASerializedState* state);
|
void GBAVideoSerialize(const struct GBAVideo* video, struct GBASerializedState* state);
|
||||||
void GBAVideoDeserialize(struct GBAVideo* video, const struct GBASerializedState* state);
|
void GBAVideoDeserialize(struct GBAVideo* video, const struct GBASerializedState* state);
|
||||||
|
|
||||||
extern const int GBAVideoObjSizes[16][2];
|
extern MGBA_EXPORT const int GBAVideoObjSizes[16][2];
|
||||||
|
|
||||||
CXX_GUARD_END
|
CXX_GUARD_END
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
mLOG_DEFINE_CATEGORY(GB_IO, "GB I/O", "gb.io");
|
mLOG_DEFINE_CATEGORY(GB_IO, "GB I/O", "gb.io");
|
||||||
|
|
||||||
const char* const GBIORegisterNames[] = {
|
MGBA_EXPORT const char* const GBIORegisterNames[] = {
|
||||||
[REG_JOYP] = "JOYP",
|
[REG_JOYP] = "JOYP",
|
||||||
[REG_SB] = "SB",
|
[REG_SB] = "SB",
|
||||||
[REG_SC] = "SC",
|
[REG_SC] = "SC",
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
mLOG_DEFINE_CATEGORY(GBA_HW, "GBA Pak Hardware", "gba.hardware");
|
mLOG_DEFINE_CATEGORY(GBA_HW, "GBA Pak Hardware", "gba.hardware");
|
||||||
|
|
||||||
const int GBA_LUX_LEVELS[10] = { 5, 11, 18, 27, 42, 62, 84, 109, 139, 183 };
|
MGBA_EXPORT const int GBA_LUX_LEVELS[10] = { 5, 11, 18, 27, 42, 62, 84, 109, 139, 183 };
|
||||||
|
|
||||||
static void _readPins(struct GBACartridgeHardware* hw);
|
static void _readPins(struct GBACartridgeHardware* hw);
|
||||||
static void _outputPins(struct GBACartridgeHardware* hw, unsigned pins);
|
static void _outputPins(struct GBACartridgeHardware* hw, unsigned pins);
|
||||||
|
@ -33,7 +33,7 @@ static void GBAVideoDummyRendererPutPixels(struct GBAVideoRenderer* renderer, si
|
|||||||
static void _startHblank(struct mTiming*, void* context, uint32_t cyclesLate);
|
static void _startHblank(struct mTiming*, void* context, uint32_t cyclesLate);
|
||||||
static void _startHdraw(struct mTiming*, void* context, uint32_t cyclesLate);
|
static void _startHdraw(struct mTiming*, void* context, uint32_t cyclesLate);
|
||||||
|
|
||||||
const int GBAVideoObjSizes[16][2] = {
|
MGBA_EXPORT const int GBAVideoObjSizes[16][2] = {
|
||||||
{ 8, 8 },
|
{ 8, 8 },
|
||||||
{ 16, 16 },
|
{ 16, 16 },
|
||||||
{ 32, 32 },
|
{ 32, 32 },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user