add support for non-resizable windows

This commit is contained in:
StapleButter
2017-10-02 23:26:25 +02:00
parent f8b63759f7
commit dad0e6b6e8
5 changed files with 10 additions and 7 deletions

View File

@ -646,7 +646,7 @@ int main(int argc, char** argv)
if (w < 256) w = 256;
if (h < 384) h = 384;
MainWindow = uiNewWindow("melonDS " MELONDS_VERSION, w, h, 1);
MainWindow = uiNewWindow("melonDS " MELONDS_VERSION, w, h, 1, 1);
uiWindowOnClosing(MainWindow, OnCloseWindow, NULL);
uiWindowSetDropTarget(MainWindow, 1);