mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
enabled internal debugger, but this would need to go in time, it is too coupled with UI (nw)
This commit is contained in:
parent
64eeebb967
commit
ff2c95e3bf
@ -57,6 +57,7 @@ function osdmodulesbuild()
|
||||
MAME_DIR .. "src/osd/modules/diagnostics/none.cpp",
|
||||
MAME_DIR .. "src/osd/modules/diagnostics/diagnostics_win32.cpp",
|
||||
MAME_DIR .. "src/osd/modules/debugger/none.cpp",
|
||||
MAME_DIR .. "src/osd/modules/debugger/debugint.cpp",
|
||||
MAME_DIR .. "src/osd/modules/debugger/debugwin.cpp",
|
||||
MAME_DIR .. "src/osd/modules/debugger/debugimgui.cpp",
|
||||
MAME_DIR .. "src/osd/modules/font/font_sdl.cpp",
|
||||
@ -113,6 +114,9 @@ function osdmodulesbuild()
|
||||
ext_includedir("uv"),
|
||||
}
|
||||
|
||||
includedirs {
|
||||
MAME_DIR .. "src/frontend/mame", -- for internal debugger
|
||||
}
|
||||
if _OPTIONS["targetos"]=="windows" then
|
||||
includedirs {
|
||||
MAME_DIR .. "3rdparty/winpcap/Include",
|
||||
|
@ -9,7 +9,7 @@
|
||||
*********************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
#include "ui/uimain.h"
|
||||
#include "ui/ui.h"
|
||||
#include "ui/menu.h"
|
||||
#include "rendfont.h"
|
||||
#include "uiinput.h"
|
||||
@ -370,7 +370,7 @@ static void dview_draw_outlined_box(DView *dv, int rtype, int x, int y, int w, i
|
||||
rectangle r;
|
||||
|
||||
dview_get_rect(dv, rtype, r);
|
||||
dv->container->manager().machine().ui().draw_outlined_box(dv->container, NX(dv, x + r.min_x), NY(dv, y + r.min_y),
|
||||
mame_machine_manager::instance()->ui().draw_outlined_box(dv->container, NX(dv, x + r.min_x), NY(dv, y + r.min_y),
|
||||
NX(dv, x + r.min_x + w), NY(dv, y + r.min_y + h), bg);
|
||||
}
|
||||
|
||||
|
@ -217,7 +217,7 @@ void osd_common_t::register_options()
|
||||
#ifndef OSD_MINI
|
||||
REGISTER_MODULE(m_mod_man, DEBUG_WINDOWS);
|
||||
REGISTER_MODULE(m_mod_man, DEBUG_QT);
|
||||
// REGISTER_MODULE(m_mod_man, DEBUG_INTERNAL);
|
||||
REGISTER_MODULE(m_mod_man, DEBUG_INTERNAL);
|
||||
REGISTER_MODULE(m_mod_man, DEBUG_IMGUI);
|
||||
REGISTER_MODULE(m_mod_man, DEBUG_NONE);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user