[UI] Loop thread to main thread WindowedAppContext
This commit is contained in:
21
src/xenia/base/console_posix.cc
Normal file
21
src/xenia/base/console_posix.cc
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2021 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "xenia/base/console.h"
|
||||
|
||||
namespace xe {
|
||||
|
||||
bool has_console_attached() { return isatty(fileno(stdin)) == 1; }
|
||||
|
||||
void AttachConsole() {}
|
||||
|
||||
} // namespace xe
|
||||
Reference in New Issue
Block a user