diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-02-07 00:07:12 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-02-07 00:07:12 -0800 |
commit | a956d5e1f82e98097602e289ac8f02374ea3b5e7 (patch) | |
tree | 13034bf443f7ca1bdcc9d4a29074f3ebd768c078 /menu.c | |
parent | 60e74d48cd8c59f412128d98908f2b04b2b07586 (diff) |
Fix Windows build, added Windows default_font_path implementation
--HG--
branch : nuklear_ui
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -121,7 +121,7 @@ uint32_t copy_dir_entry_to_guest(uint32_t dst, m68k_context *m68k, char *name, u } 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 @@ void * menu_write_w(uint32_t address, void * context, uint16_t value) switch (address >> 2) { case 0: { -#ifdef _WIN32 +#if _WIN32 //handle virtual "drives" directory if (menu->curpath[0] == PATH_SEP[0]) { char drivestrings[4096]; |