Files
VCCPlusOSS/platforms/windows/GMC/CartridgeTrampolines.h
T

20 lines
727 B
C

#pragma once
#include "GMC.h"
GMC_EXPORT const char* PakGetName();
GMC_EXPORT const char* PakGetCatalogId();
GMC_EXPORT void PakInitialize(
slot_id_type SlotId,
const char* const configuration_path,
HWND hVccWnd,
const cpak_callbacks* const callbacks);
GMC_EXPORT void PakGetStatus(char* text_buffer, size_t buffer_size);
GMC_EXPORT void PakMenuItemClicked(unsigned char /*menuId*/);
GMC_EXPORT void PakReset();
GMC_EXPORT unsigned char PakReadMemoryByte(unsigned short address);
GMC_EXPORT void PakWritePort(unsigned char port, unsigned char data);
GMC_EXPORT unsigned char PakReadPort(unsigned char port);
GMC_EXPORT unsigned short PakSampleAudio();
GMC_EXPORT bool PakGetMenuItem(menu_item_entry* item, size_t index);