mirror of
https://github.com/libretro/beetle-wswan-libretro.git
synced 2024-11-23 07:59:40 +00:00
Convert tcache.cpp to C
This commit is contained in:
parent
e152f84afc
commit
a85c9cb9c3
@ -23,12 +23,12 @@ SOURCES_CXX += \
|
||||
$(CORE_EMU_DIR)/wswan-memory.cpp \
|
||||
$(CORE_EMU_DIR)/v30mz.cpp \
|
||||
$(CORE_EMU_DIR)/sound.cpp \
|
||||
$(CORE_EMU_DIR)/tcache.cpp \
|
||||
$(CORE_EMU_DIR)/eeprom.cpp
|
||||
|
||||
SOURCES_C += \
|
||||
$(CORE_EMU_DIR)/interrupt.c \
|
||||
$(CORE_EMU_DIR)/rtc.c
|
||||
$(CORE_EMU_DIR)/rtc.c \
|
||||
$(CORE_EMU_DIR)/tcache.c
|
||||
endif
|
||||
|
||||
ifeq ($(NEED_BLIP), 1)
|
||||
|
@ -4,8 +4,6 @@
|
||||
#include "../state.h"
|
||||
#include "../video.h"
|
||||
|
||||
void WSWan_TCacheInvalidByAddr(uint32);
|
||||
|
||||
extern uint8 wsTCache[512*64]; //tiles cache
|
||||
extern uint8 wsTCacheFlipped[512*64]; //tiles cache (H flip)
|
||||
extern uint8 wsTileRow[8]; //extracted 8 pixels (tile row)
|
||||
@ -15,9 +13,19 @@ extern uint8 wsTCacheFlipped2[512*64]; //tiles cache (H flip)
|
||||
extern uint8 wsTCacheUpdate2[512]; //tiles cache flags
|
||||
extern int wsVMode; //Video Mode
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void wsMakeTiles(void);
|
||||
void wsGetTile(uint32,uint32,int,int,int);
|
||||
void wsSetVideo(int, bool);
|
||||
void WSWan_TCacheInvalidByAddr(uint32);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void wsScanline(uint16 *target, int depth);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user