summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/winmain.h
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2009-12-19 23:12:07 +0000
committer Couriersud <couriersud@users.noreply.github.com>2009-12-19 23:12:07 +0000
commit3af4cd9bec355c7f08e709ca1e7ea2570e519d90 (patch)
treecd36753ba85a5f67b03497aa01460ae3cf7c0b19 /src/osd/windows/winmain.h
parentda19077b98af83dda92422e64802e0228b289161 (diff)
Added option "numprocessors"
-numprocessors <auto|value> Specify the number of processors to use for work queues. Specifying "auto" will use the value reported by the system or environment variable OSDPROCESSORS. To avoid abuse, this value is internally limited to 4 times the number of processors reported by the system. The default is "auto".
Diffstat (limited to 'src/osd/windows/winmain.h')
-rw-r--r--src/osd/windows/winmain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osd/windows/winmain.h b/src/osd/windows/winmain.h
index 2cf5180369a..9f788ac93b8 100644
--- a/src/osd/windows/winmain.h
+++ b/src/osd/windows/winmain.h
@@ -53,6 +53,7 @@
// performance options
#define WINOPTION_PRIORITY "priority"
#define WINOPTION_MULTITHREADING "multithreading"
+#define WINOPTION_NUMPROCESSORS "numprocessors"
// video options
#define WINOPTION_VIDEO "video"
@@ -131,6 +132,8 @@
extern const options_entry mame_win_options[];
+// defined in winwork.c
+extern int osd_num_processors;
//============================================================