Searched refs:wramdata (Results 1 – 5 of 5) sorted by relevance
57 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()
513 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()
81 unsigned char * wramdata(unsigned area) const in wramdata() function154 return memptrs.wramdataend() - memptrs.wramdata(0) == 0x8000; in isCgb()
71 unsigned char * wramdata(unsigned area) const in wramdata() function73 return memptrs_.wramdata(area); in wramdata()
499 state.mem.wram.set(memptrs_.wramdata(0), memptrs_.wramdataend() - memptrs_.wramdata(0)); in setStatePtrs()