view megawifi.h @ 2451:edd73a009537

Fix implementation of cmp for 32-bit operands or when operation size is smaller than the size of the operands
author Michael Pavone <pavone@retrodev.com>
date Mon, 19 Feb 2024 17:55:45 -0800
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_