Added table resolution and UI scale options.

gdrv: blit directly to backing store of vScreen texture.
Added missing cheat_bump_rank sub, oops.
Fixed some warnings.
This commit is contained in:
Muzychenko Andrey committed 2021-09-22 15:50:07 +03:00
1 parent c63c6701ac
commit 4c196a9290
21 files changed
+138 -183

No files matched your search

+5 -4
View File
@@ -105,12 +105,13 @@ void loader::loadfrom(DatFile* datFile)
void loader::unload()
{
int index;
for (index = 1; index < sound_count; ++index)
for (int index = 1; index < sound_count; ++index)
{
Sound::FreeSound(sound_list[index].WavePtr);
sound_list[index].Loaded = 0;
sound_list[index].WavePtr = nullptr;
}
if (sound_list[index].PtrToSmth)
memory::free(sound_list[index].PtrToSmth);
sound_count = 1;
}