Code cleanup: moving poly logging to xenia

This commit is contained in:
Ben Vanik
2015-05-02 01:59:50 -07:00
parent f7ca026db0
commit d76998915a
23 changed files with 156 additions and 198 deletions

View File

@@ -9,10 +9,10 @@
#include "xenia/ui/main_window.h"
#include "poly/logging.h"
#include "poly/threading.h"
#include "xenia/gpu/graphics_system.h"
#include "xenia/emulator.h"
#include "xenia/logging.h"
#include "xenia/profiling.h"
namespace xe {
@@ -31,7 +31,7 @@ void MainWindow::Start() {
xe::Profiler::ThreadEnter("Win32 Loop");
if (!Initialize()) {
PFATAL("Failed to initialize main window");
XEFATAL("Failed to initialize main window");
exit(1);
}
@@ -71,7 +71,7 @@ void MainWindow::OnClose() {
loop_.Quit();
// TODO(benvanik): proper exit.
PLOGI("User-initiated death!");
XELOGI("User-initiated death!");
exit(1);
}