Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: whitequark/glasgow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 72fb637fa4a7
Choose a base ref
...
head repository: whitequark/glasgow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7d9ce096eb9b
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Feb 24, 2019

  1. Copy the full SHA
    7d9ce09 View commit details
Showing with 2 additions and 0 deletions.
  1. +2 −0 software/glasgow/applet/yamaha_opl/__init__.py
2 changes: 2 additions & 0 deletions software/glasgow/applet/yamaha_opl/__init__.py
Original file line number Diff line number Diff line change
@@ -488,6 +488,8 @@ async def serve_vgm(self, request):
digest, ", ".join(vgm_reader.chips()))
if vgm_reader.version < 0x1_51 or vgm_reader.ym3812_clk == 0:
raise ValueError("VGM file does not contain commands for YM3812")
if vgm_reader.ym3812_clk & 0xc0000000:
raise ValueError("VGM file uses unsupported YM3812 configuration")

self._logger.info("web: %s: VGM is looped for %.2f/%.2f s",
digest, vgm_reader.loop_seconds, vgm_reader.total_seconds)