Home
last modified time | relevance | path

Searched refs:wramdata (Results 1 – 5 of 5) sorted by relevance

/dports/games/libretro-gambatte/gambatte-libretro-22abc24/libgambatte/src/
H A Dgambatte-memory.h57 void *rambank0_ptr() const { return cart_.wramdata(0); } in rambank0_ptr()
58 void *rambank1_ptr() const { return cart_.wramdata(0) + 0x1000; } in rambank1_ptr()
59 void *rambank2_ptr() const { return cart_.wramdata(0) + 0x2000; } in rambank2_ptr()
60 void *bankedram_ptr() const { return cart_.wramdata(1); } in bankedram_ptr()
H A Dgambatte-memory.cpp513 return cart_.wramdata(ioamhram_[0x146] >> 4 & 1) + (ioamhram_[0x146] << 8 & 0xFFF); in oamDmaSrcPtr()
656 return cart_.wramdata(p >> 12 & 1)[p & 0xFFF]; in nontrivial_read()
1158 cart_.wramdata(p >> 12 & 1)[p & 0xFFF] = data; in nontrivial_write()
/dports/games/libretro-gambatte/gambatte-libretro-22abc24/libgambatte/src/mem/
H A Dmemptrs.h81 unsigned char * wramdata(unsigned area) const in wramdata() function
154 return memptrs.wramdataend() - memptrs.wramdata(0) == 0x8000; in isCgb()
H A Dcartridge.h71 unsigned char * wramdata(unsigned area) const in wramdata() function
73 return memptrs_.wramdata(area); in wramdata()
H A Dcartridge.cpp499 state.mem.wram.set(memptrs_.wramdata(0), memptrs_.wramdataend() - memptrs_.wramdata(0)); in setStatePtrs()