wip snes 3

This commit is contained in:
Natt Akuma 2022-06-12 14:42:16 +07:00
parent 0ee6d761f5
commit 73c6adb821
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -8,6 +8,7 @@ winbuild/
win32build/ win32build/
macbuild/ macbuild/
linuxbuild/ linuxbuild/
webbuild/
*.swp *.swp
.cache/ .cache/
.DS_Store .DS_Store

View File

@ -87,7 +87,7 @@ void DivPlatformSNES::acquire(short* bufL, short* bufR, size_t start, size_t len
} }
} }
void DivPlatformSNES::tick() { void DivPlatformSNES::tick(bool sysTick) {
// KON/KOFF can't be written several times per one sample // KON/KOFF can't be written several times per one sample
// so they have to be accumulated // so they have to be accumulated
unsigned char kon=0; unsigned char kon=0;

View File

@ -82,7 +82,7 @@ class DivPlatformSNES: public DivDispatch {
int getRegisterPoolSize(); int getRegisterPoolSize();
void reset(); void reset();
void forceIns(); void forceIns();
void tick(); void tick(bool sysTick=true);
void muteChannel(int ch, bool mute); void muteChannel(int ch, bool mute);
bool isStereo(); bool isStereo();
void notifyInsChange(int ins); void notifyInsChange(int ins);