1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-14 20:10:08 +03:00

Re #457: audio working in Companion, Simulator and simu using SDL library (use SIMU_AUDIO=YES to enable)

Re #457: case insensitive f_stat() and f_open() for SIMU
This commit is contained in:
Damjan Adamic 2015-02-22 15:49:15 +01:00
parent 434baf15c4
commit 41cd128ad5
14 changed files with 351 additions and 54 deletions

View file

@ -134,6 +134,7 @@ Open9xSim::Open9xSim(FXApp* a):
Open9xSim::~Open9xSim()
{
StopMainThread();
StopAudioThread();
StopEepromThread();
delete bmp;
@ -430,6 +431,7 @@ int main(int argc,char **argv)
printf("Model size = %d\n", (int)sizeof(g_model));
StartEepromThread(argc >= 2 ? argv[1] : "eeprom.bin");
StartAudioThread();
StartMainThread();
#if defined(PCBTARANIS)