Commit 2b9a5806 authored by Christopher Snowhill's avatar Christopher Snowhill
Browse files

- Update psflib to better handle larger files and incrementally

  increasing its buffer size
- Terminate playback with an error if external process terminates
- Update 2sf2wav bypassing its silence detection, so it won't lock
  up on bad files
- Add a console notice for unsupported legacy files
- Version is now 0.26.2
parent 881e30fb
......@@ -259,6 +259,7 @@ void TwoSFPlayer::set_jit(bool enabled)
void TwoSFPlayer::render(signed short * out, unsigned long count)
{
if (!process_running()) throw exception_io_data();
process_read_bytes(out, count * sizeof(signed short) * 2);
}
......
#define MYVERSION "0.26.1"
#define MYVERSION "0.26.2"
/*
changelog
2021-02-16 00:35 UTC - kode54
- Update psflib to better handle larger files and incrementally increasing
its buffer size
- Terminate playback with an error if external process terminates
- Update 2sf2wav bypassing its silence detection, so it won't lock up
on bad files
- Add a console notice for unsupported legacy files
- Version is now 0.26.2
2021-01-16 23:10 UTC - kode54
- Rebuilt 2sf2wav static, now it's slightly bigger, but has no external
dll dependencies other than system libraries, and msvcrt.dll
......@@ -986,6 +995,9 @@ public:
console::print(msgbuf);
msgbuf.reset();
if (state.state && state.state_size != 0)
console::print("Legacy 2SF with save state detected, this is no longer supported.");
if (ret <= 0 || state.rom_size > UINT_MAX || state.state_size != 0)
{
if (state.rom) free(state.rom);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment