| Previous | 15994 Revisions | Next |
| r951 Tuesday 11th September, 2007 at 23:25:23 UTC by Nathan Woods |
|---|
| Fixed crash introduced in 0.118u6 update |
| [src/mess] | messopts.c osdmess.h |
| [src/mess/osd/windows] | configms.c |
| [src/mess/tools/messtest] | tststubs.c |
| [src/osd/windows] | drawd3d.c |
| r950 | r951 | |
|---|---|---|
| 706 | 706 | d3d->presentation.MultiSampleType = D3DMULTISAMPLE_NONE; |
| 707 | 707 | d3d->presentation.SwapEffect = D3DSWAPEFFECT_DISCARD; |
| 708 | 708 | d3d->presentation.hDeviceWindow = window->hwnd; |
| 709 | d3d->presentation.Windowed = !window->fullscreen || | |
| 709 | d3d->presentation.Windowed = !window->fullscreen || HAS_WINDOW_MENU | |
| 710 | 710 | d3d->presentation.EnableAutoDepthStencil = FALSE; |
| 711 | 711 | d3d->presentation.AutoDepthStencilFormat = D3DFMT_D16; |
| 712 | 712 | d3d->presentation.Flags = 0; |
| r950 | r951 | |
| 1107 | 1107 | } |
| 1108 | 1108 | |
| 1109 | 1109 | // choose a resolution: window mode case |
| 1110 | if (!window->fullscreen || | |
| 1110 | if (!window->fullscreen || HAS_WINDOW_MENU | |
| 1111 | 1111 | { |
| 1112 | 1112 | RECT client; |
| 1113 | 1113 |
| r950 | r951 | |
|---|---|---|
| 213 | 213 | |
| 214 | 214 | |
| 215 | 215 | |
| 216 | void osd_mess_options_init( | |
| 216 | void osd_mess_options_init(core_options *options) | |
| 217 | 217 | { |
| 218 | 218 | } |
| 219 | 219 |
| r950 | r951 | |
|---|---|---|
| 35 | 35 | |
| 36 | 36 | //============================================================ |
| 37 | 37 | |
| 38 | void osd_mess_options_init( | |
| 38 | void osd_mess_options_init(core_options *opts) | |
| 39 | 39 | { |
| 40 | 40 | extern const options_entry mess_win_options[]; |
| 41 | options_add_entries( | |
| 41 | options_add_entries( | |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 |
| r950 | r951 | |
|---|---|---|
| 163 | 163 | options_add_entries(opts, mess_core_options); |
| 164 | 164 | |
| 165 | 165 | /* add OSD-MESS specific options (hack!) */ |
| 166 | osd_mess_options_init(); | |
| 166 | osd_mess_options_init(opts); | |
| 167 | 167 | |
| 168 | 168 | /* hacky global variable to track whether we have added device options */ |
| 169 | 169 | added_device_options = FALSE; |
| r950 | r951 | |
|---|---|---|
| 11 | 11 | |
| 12 | 12 | #include "osdcore.h" |
| 13 | 13 | #include "mamecore.h" |
| 14 | #include "options.h" | |
| 14 | 15 | |
| 15 | 16 | struct _mame_file; |
| 16 | 17 | typedef struct _mess_image mess_image; |
| r950 | r951 | |
| 225 | 226 | int osd_num_devices(void); |
| 226 | 227 | const char *osd_get_device_name(int idx); |
| 227 | 228 | |
| 228 | void osd_mess_options_init( | |
| 229 | void osd_mess_options_init(core_options *opts); | |
| 229 | 230 | |
| 230 | 231 | #endif /* __OSDMESS_H__ */ |
| Previous | 15994 Revisions | Next |