Merge branch 'master' into minmod
This commit is contained in:
commit
7392915291
|
@ -54,7 +54,8 @@ the coding style is described here:
|
|||
- in float/double operations, always use decimal and `f` if single-precision.
|
||||
- e.g. `1.0f` or `1.0` instead of `1`.
|
||||
- prefer `NULL` over `nullptr` or any other proprietary null.
|
||||
- don't use `auto` unless needed.
|
||||
- only use `auto` if needed.
|
||||
- avoid using `goto` unless absolutely required.
|
||||
- use `String` for `std::string` (this is typedef'd in ta-utils.h).
|
||||
- prefer using operator for String (std::string) comparisons (a=="").
|
||||
- if you have to work with C strings, only use safe C string operations:
|
||||
|
|
BIN
demos/genesis/SparkmanMD.fur
Normal file
BIN
demos/genesis/SparkmanMD.fur
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
demos/genesis/darkstar.fur
Normal file
BIN
demos/genesis/darkstar.fur
Normal file
Binary file not shown.
BIN
demos/specs2/KeygenTypeBeat.fur
Normal file
BIN
demos/specs2/KeygenTypeBeat.fur
Normal file
Binary file not shown.
|
@ -879,10 +879,10 @@ void DivPlatformAY8910::setFlags(const DivConfig& flags) {
|
|||
if (ay!=NULL) delete ay;
|
||||
switch (flags.getInt("chipType",0)) {
|
||||
case 1:
|
||||
clockSel=flags.getBool("halfClock",false);
|
||||
ay=new ym2149_device(rate,clockSel);
|
||||
sunsoft=false;
|
||||
intellivision=false;
|
||||
clockSel=flags.getBool("halfClock",false);
|
||||
break;
|
||||
case 2:
|
||||
ay=new sunsoft_5b_sound_device(rate);
|
||||
|
|
|
@ -239,11 +239,9 @@ void DivPlatformNDS::tick(bool sysTick) {
|
|||
if (chan[i].freq<0) chan[i].freq=0;
|
||||
if (chan[i].freq>65535) chan[i].freq=65535;
|
||||
ctrl=(chan[i].active?0xe8:0)|(chan[i].duty&7);
|
||||
rWrite8(0x03+i*16,ctrl&~0x80); // force keyoff first
|
||||
}
|
||||
if (!chan[i].std.vol.had) {
|
||||
chan[i].outVol=chan[i].vol;
|
||||
writeOutVol(i);
|
||||
if (chan[i].keyOff || chan[i].keyOn) {
|
||||
rWrite8(0x03+i*16,ctrl&~0x80); // force keyoff first
|
||||
}
|
||||
}
|
||||
chan[i].keyOn=false;
|
||||
if (chan[i].keyOff) {
|
||||
|
@ -422,6 +420,7 @@ void DivPlatformNDS::forceIns() {
|
|||
chan[i].sample=-1;
|
||||
|
||||
rWrite8(0x02+i*16,chan[i].panning);
|
||||
writeOutVol(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -152,6 +152,7 @@ const char* aboutLine[]={
|
|||
"RevvoBolt",
|
||||
"Rockyfan75000",
|
||||
"scooblee",
|
||||
"sheffield^2",
|
||||
"sillygoose",
|
||||
"smaybius",
|
||||
"SnugglyBun",
|
||||
|
|
|
@ -5635,7 +5635,6 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
|||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".fur",uiColors[GUI_COLOR_FILE_SONG_NATIVE],ICON_FA_FILE);
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".fui",uiColors[GUI_COLOR_FILE_INSTR],ICON_FA_FILE);
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".fuw",uiColors[GUI_COLOR_FILE_WAVE],ICON_FA_FILE);
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".dmf",uiColors[GUI_COLOR_FILE_SONG_NATIVE],ICON_FA_FILE);
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".dmp",uiColors[GUI_COLOR_FILE_INSTR],ICON_FA_FILE);
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".dmw",uiColors[GUI_COLOR_FILE_WAVE],ICON_FA_FILE);
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".wav",uiColors[GUI_COLOR_FILE_AUDIO],ICON_FA_FILE_AUDIO_O);
|
||||
|
@ -5651,6 +5650,7 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
|||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".pcf",uiColors[GUI_COLOR_FILE_FONT],ICON_FA_FONT);
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".psf",uiColors[GUI_COLOR_FILE_FONT],ICON_FA_FONT);
|
||||
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".dmf",uiColors[GUI_COLOR_FILE_SONG_IMPORT],ICON_FA_FILE);
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".mod",uiColors[GUI_COLOR_FILE_SONG_IMPORT],ICON_FA_FILE);
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".fc13",uiColors[GUI_COLOR_FILE_SONG_IMPORT],ICON_FA_FILE);
|
||||
ImGuiFileDialog::Instance()->SetFileStyle(IGFD_FileStyleByExtension,".fc14",uiColors[GUI_COLOR_FILE_SONG_IMPORT],ICON_FA_FILE);
|
||||
|
|
Loading…
Reference in a new issue