mirror of
https://github.com/libretro/px68k-libretro.git
synced 2026-11-07 04:25:57 -10:00
Some notes to consider: - consider this wip. some vars might not be necessary. - only for C68K cpu core - minimally tested. it works on HD files, and multi-disks but have not tested on anything that switches to another disk yet or drive letter. - M3U/CMD platlist format is necessary to keep track of what content the state is for (filename for .statex tracking for example). Switching disk or switching to another game through ingame menu will break currently loaded state. - in core is use to run in content-less mode, the savestate will be universal or system state (PX68K.state) and will not be based on what content is loaded. - MIDI: Loading patchsets and other midi params from a state file is not implemented. It may take a while to refresh instruments sets until next time MIDI sends new data. Its also required that only load a state after selecting the correct MIDI device from the ingame menu. - requires new px68k_libretro.info file, with savestate support enabled
20 lines
506 B
C
20 lines
506 B
C
#ifndef _WINX68K_ADPCM_H
|
|
#define _WINX68K_ADPCM_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void FASTCALL ADPCM_PreUpdate(uint32_t clock);
|
|
void ADPCM_Update(int16_t *buffer, size_t length, uint8_t *pbsp, uint8_t *pbep);
|
|
|
|
void FASTCALL ADPCM_Write(uint32_t adr, uint8_t data);
|
|
uint8_t FASTCALL ADPCM_Read(uint32_t adr);
|
|
|
|
void ADPCM_SetVolume(uint8_t vol);
|
|
void ADPCM_SetPan(int n);
|
|
void ADPCM_SetClock(int n);
|
|
|
|
void ADPCM_Init(void);
|
|
int ADPCM_StateAction(StateMem *sm, int load, int data_only);
|
|
|
|
#endif /* _WINX68K_ADPCM_H */
|