| 1 | #cxx . . $ `<file>/mednafen/wswan/wswan-memory.h`/ifndef __WSWAN_MEMORY_H |
| 2 | #define __WSWAN_MEMORY_Hcxx . . $ `mednafen/wswan/wswan-memory.h:2:9`! |
| 3 | |
| 4 | #include "../state.h"cxx . . $ `<file>/mednafen/state.h`/ |
| 5 | |
| 6 | enumcxx . . $ $anonymous_type_a3e0648e5b7a7ee_0# |
| 7 | { |
| 8 | MEMORY_GSREG_ROMBBSLCTcxx . . $ MEMORY_GSREG_ROMBBSLCT. = 0, |
| 9 | MEMORY_GSREG_BNK1SLCTcxx . . $ MEMORY_GSREG_BNK1SLCT., |
| 10 | MEMORY_GSREG_BNK2SLCTcxx . . $ MEMORY_GSREG_BNK2SLCT., |
| 11 | MEMORY_GSREG_BNK3SLCTcxx . . $ MEMORY_GSREG_BNK3SLCT. |
| 12 | }; |
| 13 | |
| 14 | |
| 15 | #ifdef __cplusplus |
| 16 | extern "C" { |
| 17 | #endif |
| 18 | |
| 19 | extern uint8cxx . . $ uint8# wsRAMcxx . . $ wsRAM.[65536]; |
| 20 | extern uint8cxx . . $ uint8# wsEEPROMcxx . . $ wsEEPROM.[2048]; |
| 21 | extern uint8cxx . . $ uint8# *wsCartROMcxx . . $ wsCartROM.; |
| 22 | extern uint32cxx . . $ uint32# eeprom_sizecxx . . $ eeprom_size.; |
| 23 | extern uint8cxx . . $ uint8# *wsSRAMcxx . . $ wsSRAM.; |
| 24 | extern uint32cxx . . $ uint32# wsRAMSizecxx . . $ wsRAMSize.; |
| 25 | |
| 26 | void WSwan_MemoryInitcxx . . $ WSwan_MemoryInit(83c327a91a6f0fc7).(boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! lang, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! IsWSC, uint32cxx . . $ uint32# ssize, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! SkipSaveLoad); |
| 27 | void WSwan_MemoryKillcxx . . $ WSwan_MemoryKill(49f6e7a06ebc5aa8).(void); |
| 28 | |
| 29 | uint8cxx . . $ uint8# WSwan_readmem20cxx . . $ WSwan_readmem20(32407b39b2dfce37).(uint32cxx . . $ uint32#); |
| 30 | void WSwan_writemem20cxx . . $ WSwan_writemem20(cc289a6b3dfc48da).(uint32cxx . . $ uint32# address,uint8cxx . . $ uint8# data); |
| 31 | |
| 32 | void WSwan_writeportcxx . . $ WSwan_writeport(cc289a6b3dfc48da).(uint32cxx . . $ uint32# IOPort, uint8cxx . . $ uint8# V); |
| 33 | uint8cxx . . $ uint8# WSwan_readportcxx . . $ WSwan_readport(32407b39b2dfce37).(uint32cxx . . $ uint32# number); |
| 34 | |
| 35 | void WSwan_MemoryResetcxx . . $ WSwan_MemoryReset(49f6e7a06ebc5aa8).(void); |
| 36 | int WSwan_MemoryStateActioncxx . . $ WSwan_MemoryStateAction(a45b884b8cf568d5).(StateMemcxx . . $ StateMem# *sm, int load, int data_only); |
| 37 | |
| 38 | void WSwan_CheckSoundDMAcxx . . $ WSwan_CheckSoundDMA(49f6e7a06ebc5aa8).(void); |
| 39 | |
| 40 | uint32cxx . . $ uint32# WSwan_MemoryGetRegistercxx . . $ WSwan_MemoryGetRegister(3ea512d07239c55b).(const unsigned int id, char *special, const uint32cxx . . $ uint32# special_len); |
| 41 | void WSwan_MemorySetRegistercxx . . $ WSwan_MemorySetRegister(b4d55b1286ff73e8).(const unsigned int id, uint32cxx . . $ uint32# value); |
| 42 | |
| 43 | #ifdef __cplusplus |
| 44 | } |
| 45 | #endif |
| 46 | |
| 47 | #endif |