From ebae5c1f9411a70b797ae941aef75eba69db18e0 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Thu, 4 Jun 2009 13:30:50 +0000 Subject: [PATCH] testsuite: fix error in pad test git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3320 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/TestSuite/PAD/source/dolphintest_pad.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/TestSuite/PAD/source/dolphintest_pad.cpp b/Source/TestSuite/PAD/source/dolphintest_pad.cpp index f96fab51f7..81ec596323 100644 --- a/Source/TestSuite/PAD/source/dolphintest_pad.cpp +++ b/Source/TestSuite/PAD/source/dolphintest_pad.cpp @@ -28,8 +28,12 @@ int main() while(1) { - std::cout<<"\x1b[0;0H"; // Position the cursor (at 0, 0) + VIDEO_WaitVSync(); + + console_init(xfb,20,20,rmode->fbWidth,rmode->xfbHeight,rmode->fbWidth*VI_DISPLAY_PIX_SZ); + PAD_Read(pad); + for(int a = 0; a < 4;a ++) { if(pad[a].err & PAD_ERR_NO_CONTROLLER) @@ -38,7 +42,7 @@ int main() continue; } std::cout<<"pad["<