Mercurial > repos > blastem
view megawifi.h @ 1848:ef3d368d59b0
16-bit wide save RAM is stored in memory byteswapped for performance reasons, but saving it to disc that way isn't great. Swap before save/after load to fix
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 23 Apr 2019 18:37:08 -0700 |
parents | 8f3b6a64b658 |
children |
line wrap: on
line source
#ifndef MEGAWIFI_H_ #define MEGAWIFI_H_ void *megawifi_write_w(uint32_t address, void *context, uint16_t value); void *megawifi_write_b(uint32_t address, void *context, uint8_t value); uint16_t megawifi_read_w(uint32_t address, void *context); uint8_t megawifi_read_b(uint32_t address, void *context); #endif //MEGAWIFI_H_