Mercurial > repos > blastem
diff menu.c @ 1524:b96f9fae757f nuklear_ui
Fix Windows build, added Windows default_font_path implementation
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 07 Feb 2018 00:07:12 -0800 |
parents | 369da70ee2c2 |
children | 3629366616da |
line wrap: on
line diff
--- a/menu.c Tue Feb 06 22:44:11 2018 -0800 +++ b/menu.c Wed Feb 07 00:07:12 2018 -0800 @@ -121,7 +121,7 @@ } return dst; } - +#include <windows.h> void * menu_write_w(uint32_t address, void * context, uint16_t value) { m68k_context *m68k = context; @@ -132,7 +132,7 @@ switch (address >> 2) { case 0: { -#ifdef _WIN32 +#if _WIN32 //handle virtual "drives" directory if (menu->curpath[0] == PATH_SEP[0]) { char drivestrings[4096];