added support for a config class/file. System not initialized perfect yet!
(env is not fixed) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@289
This commit is contained in:
parent
f02d440dc9
commit
d0fc1da99b
31 changed files with 502 additions and 120 deletions
|
@ -24,7 +24,7 @@
|
|||
#include "mixer.h"
|
||||
#include "timer.h"
|
||||
#include "hardware.h"
|
||||
|
||||
#include "setup.h"
|
||||
/*
|
||||
Thanks to vdmsound for nice simple way to implement this
|
||||
*/
|
||||
|
@ -192,8 +192,9 @@ static void ADLIB_OutputHandler (char * towrite) {
|
|||
|
||||
|
||||
|
||||
void ADLIB_Init(void) {
|
||||
|
||||
void ADLIB_Init(Section* sec) {
|
||||
Section_prop * section=static_cast<Section_prop *>(sec);
|
||||
if(!section->Get_bool("STATUS")) return;
|
||||
timer1.isMasked=true;
|
||||
timer1.base=0;
|
||||
timer1.count=0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue