mirror of
https://github.com/n64dev/cen64.git
synced 2024-06-21 13:32:40 -04:00
fix master
This commit is contained in:
parent
6278d46fb7
commit
5ce3772646
|
@ -43,7 +43,7 @@ struct cen64_device *device_create(struct cen64_device *device,
|
|||
const struct rom_file *ddrom,
|
||||
const struct rom_file *pifrom, const struct rom_file *cart,
|
||||
const struct save_file *eeprom, const struct save_file *sram,
|
||||
const struct save_file *flashram, const struct is_viewer *is,
|
||||
const struct save_file *flashram, struct is_viewer *is,
|
||||
const struct controller *controller,
|
||||
bool no_audio, bool no_video) {
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ cen64_cold struct cen64_device *device_create(struct cen64_device *device,
|
|||
const struct rom_file *ddrom,
|
||||
const struct rom_file *pifrom, const struct rom_file *cart,
|
||||
const struct save_file *eeprom, const struct save_file *sram,
|
||||
const struct save_file *flashram, const struct is_viewer *is,
|
||||
const struct save_file *flashram, struct is_viewer *is,
|
||||
const struct controller *controller,
|
||||
bool no_audio, bool no_video);
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ struct pi_controller {
|
|||
const struct save_file *sram;
|
||||
const struct save_file *flashram_file;
|
||||
struct flashram flashram;
|
||||
const struct is_viewer *is_viewer;
|
||||
struct is_viewer *is_viewer;
|
||||
|
||||
uint64_t counter;
|
||||
uint32_t bytes_to_copy;
|
||||
|
@ -63,7 +63,7 @@ struct pi_controller {
|
|||
|
||||
cen64_cold int pi_init(struct pi_controller *pi, struct bus_controller *bus,
|
||||
const uint8_t *rom, size_t rom_size, const struct save_file *sram,
|
||||
const struct save_file *flashram, const struct is_viewer *is);
|
||||
const struct save_file *flashram, struct is_viewer *is);
|
||||
|
||||
// Only invoke pi_cycle_ when the counter has expired (timeout).
|
||||
void pi_cycle_(struct pi_controller *pi);
|
||||
|
|
|
@ -19,9 +19,9 @@ struct is_viewer {
|
|||
iconv_t cd;
|
||||
};
|
||||
|
||||
int is_viewer_init(const struct is_viewer *is);
|
||||
int is_viewer_map(const struct is_viewer *is, uint32_t address);
|
||||
int read_is_viewer(const struct is_viewer *is, uint32_t address, uint32_t *word);
|
||||
int write_is_viewer(const struct is_viewer *is, uint32_t address, uint32_t word, uint32_t dqm);
|
||||
int is_viewer_init(struct is_viewer *is);
|
||||
int is_viewer_map(struct is_viewer *is, uint32_t address);
|
||||
int read_is_viewer(struct is_viewer *is, uint32_t address, uint32_t *word);
|
||||
int write_is_viewer(struct is_viewer *is, uint32_t address, uint32_t word, uint32_t dqm);
|
||||
|
||||
#endif /* __IS_VIEWER_H__ */
|
||||
|
|
Loading…
Reference in a new issue