summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Wilbert Pol <wilbert@jdg.info>2010-10-28 20:43:52 +0000
committer Wilbert Pol <wilbert@jdg.info>2010-10-28 20:43:52 +0000
commitfd5c78edffe7b05deb347f96e9059f844264acd6 (patch)
tree4d1f48d63d9e33efe93fdc95762700e4dccc9306 /src
parent65030fc8e80938a5a0783a3a667656947e689ac7 (diff)
Fix OSX compile.
Diffstat (limited to 'src')
-rw-r--r--src/osd/sdl/debugosx.m13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/osd/sdl/debugosx.m b/src/osd/sdl/debugosx.m
index bf81feda317..4d9a617a088 100644
--- a/src/osd/sdl/debugosx.m
+++ b/src/osd/sdl/debugosx.m
@@ -36,6 +36,7 @@
// MAMEOS headers
#include "debugosx.h"
+#include "osdsdl.h"
@@ -63,27 +64,27 @@ static void console_create_window(running_machine *machine);
//============================================================
-// osd_init_debugger
+// sdl_osd_interface::init_debugger
//============================================================
-void osd_init_debugger(running_machine *machine)
+void sdl_osd_interface::init_debugger()
{
}
//============================================================
-// osd_wait_for_debugger
+// sdl_osd_interface::wait_for_debugger
//============================================================
-void osd_wait_for_debugger(running_device *device, int firststop)
+void sdl_osd_interface::wait_for_debugger(running_device &device, bool firststop)
{
// create a console window
if (main_console == nil)
- console_create_window(device->machine);
+ console_create_window(&machine());
// make sure the debug windows are visible
waiting_for_debugger = YES;
if (firststop) {
- NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:[NSValue valueWithPointer:device],
+ NSDictionary *info = [NSDictionary dictionaryWithObjectsAndKeys:[NSValue valueWithPointer:&device],
@"MAMEDebugDevice",
nil];
[[NSNotificationCenter defaultCenter] postNotificationName:MAMEShowDebuggerNotification