GameState.cpp: GetSerialNumber() was already declared
authorPatrick McIlroy <itgpmc@gmail.com>
Fri, 29 Feb 2008 04:54:14 +0000 (04:54 +0000)
committerPatrick McIlroy <itgpmc@gmail.com>
Fri, 29 Feb 2008 04:54:14 +0000 (04:54 +0000)
MiscITG.cpp: "/Stats" does not exist in the VFS.  In fact, it doesn't exist anywhere...

Makefile.am: there is no need for account for LibUSB because ./configure will not return successfully if it is not there anyway

git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@77 83fadc84-e282-4d84-a09a-c4228d6ae7e5

src/ScreenArcadeDiagnostics.cpp
src/ScreenArcadeDiagnostics.h

index a8ef0f7..3ccef6d 100644 (file)
 #include "ActorUtil.h"
 #include "ActorFrame.h" // We need this to call PlayCommand,Refresh and update the uptime.
 
+#ifdef ITG_ARCADE
+#include "io/USBDevice.h"
+#else
+#include "io/USBDevice_Libusb.h"
+#endif
+
 REGISTER_SCREEN_CLASS( ScreenArcadeDiagnostics );
 
 ScreenArcadeDiagnostics::ScreenArcadeDiagnostics( CString sClassName ) : ScreenWithMenuElements( sClassName )
@@ -32,11 +38,8 @@ void ScreenArcadeDiagnostics::Init()
        m_Title.SetName( "Title" );
 
        // You can use some #define'd macros in ActorUtil.h for these. -- Vyhd
-       SET_XY( m_USBInfo );
-       COMMAND( m_USBInfo, "On" );
-
-       SET_XY( m_Title );
-       COMMAND( m_Title, "On" );
+       SET_XY_AND_ON_COMMAND( m_USBInfo );
+       SET_XY_AND_ON_COMMAND( m_Title );
        
        this->AddChild( &m_USBInfo );
        this->AddChild( &m_Title );
index 5b60c41..defbb3c 100644 (file)
@@ -3,7 +3,6 @@
 #ifndef SCREEN_ARCADE_DIAGNOSTICS_H
 #define SCREEN_ARCADE_DIAGNOSTICS_H
 
-#include "io/USBDevice.h"
 #include "ScreenWithMenuElements.h"
 #include "BitmapText.h"