Commit | Line | Data |
---|---|---|
ef79bbde P |
1 | /* |
2 | * Copyright (c) 2010, Wei Mingzhi <whistler@openoffice.org>. | |
3 | * All Rights Reserved. | |
4 | * | |
5 | * Based on: Cdrom for Psemu Pro like Emulators | |
6 | * By: linuzappz <linuzappz@hotmail.com> | |
7 | * | |
8 | * This program is free software; you can redistribute it and/or modify | |
9 | * it under the terms of the GNU General Public License as published by | |
10 | * the Free Software Foundation; either version 2 of the License, or | |
11 | * (at your option) any later version. | |
12 | * | |
13 | * This program is distributed in the hope that it will be useful, | |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | * GNU General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License | |
19 | * along with this program; if not, see <http://www.gnu.org/licenses>. | |
20 | */ | |
21 | ||
22 | #include "cdr.h" | |
23 | ||
24 | void AboutDlgProc(); | |
25 | void ConfDlgProc(); | |
26 | void ReadConfig(); | |
27 | ||
28 | char CdromDev[256]; | |
29 | long ReadMode; | |
30 | long UseSubQ; | |
31 | long CacheSize; | |
32 | long CdrSpeed; | |
33 | long SpinDown; | |
34 | ||
35 | void LoadConf() { | |
36 | strcpy(CdromDev, ""); | |
37 | ReadMode = THREADED; | |
38 | UseSubQ = 0; | |
39 | CacheSize = 64; | |
40 | CdrSpeed = 0; | |
41 | SpinDown = SPINDOWN_VENDOR_SPECIFIC; | |
42 | ||
43 | ReadConfig(); | |
44 | } | |
45 | ||
46 | long CDRconfigure() { | |
47 | ConfDlgProc(); | |
48 | return 0; | |
49 | } | |
50 | ||
51 | void CDRabout() { | |
52 | AboutDlgProc(); | |
53 | } |