diff -urN aqemu-0.8.2.orig/VM.cpp aqemu-0.8.2/VM.cpp
old
|
new
|
|
1178 | 1178 | |
1179 | 1179 | VM_Element.appendChild( Dom_Element ); |
1180 | 1180 | |
| 1181 | // Audio_HDA |
| 1182 | Sec_Element = New_Dom_Document.createElement( "Audio_HDA" ); |
| 1183 | Dom_Element.appendChild( Sec_Element ); |
| 1184 | |
| 1185 | if( Audio_Card.Audio_HDA ) |
| 1186 | Dom_Text = New_Dom_Document.createTextNode( "true" ); |
| 1187 | else |
| 1188 | Dom_Text = New_Dom_Document.createTextNode( "false" ); |
| 1189 | |
| 1190 | Sec_Element.appendChild( Dom_Text ); |
| 1191 | |
| 1192 | VM_Element.appendChild( Dom_Element ); |
| 1193 | |
| 1194 | // Audio_cs4231a |
| 1195 | Sec_Element = New_Dom_Document.createElement( "Audio_cs4231a" ); |
| 1196 | Dom_Element.appendChild( Sec_Element ); |
| 1197 | |
| 1198 | if( Audio_Card.Audio_cs4231a ) |
| 1199 | Dom_Text = New_Dom_Document.createTextNode( "true" ); |
| 1200 | else |
| 1201 | Dom_Text = New_Dom_Document.createTextNode( "false" ); |
| 1202 | |
| 1203 | Sec_Element.appendChild( Dom_Text ); |
| 1204 | |
| 1205 | VM_Element.appendChild( Dom_Element ); |
| 1206 | |
1181 | 1207 | // Check Free RAM |
1182 | 1208 | Dom_Element = New_Dom_Document.createElement( "Remove_RAM_Size_Limitation" ); |
1183 | 1209 | VM_Element.appendChild( Dom_Element ); |
… |
… |
|
3741 | 3767 | // Audio_AC97 |
3742 | 3768 | snd_card.Audio_AC97 = Second_Element.firstChildElement("Audio_AC97").text() == "true"; |
3743 | 3769 | |
| 3770 | // Audio_HDA |
| 3771 | snd_card.Audio_HDA = Second_Element.firstChildElement("Audio_HDA").text() == "true"; |
| 3772 | |
| 3773 | // Audio_cs4231 |
| 3774 | snd_card.Audio_cs4231a = Second_Element.firstChildElement("Audio_cs4231a").text() == "true"; |
| 3775 | |
3744 | 3776 | Set_Audio_Cards( snd_card ); |
3745 | 3777 | |
3746 | 3778 | // Check Free RAM |