Commit 7b646a80 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Convert input.cpp to C

parent e21857b8
......@@ -34,7 +34,6 @@ endif
endif
SOURCES_CXX := \
$(CORE_DIR)/input.cpp \
$(CORE_DIR)/tlcs900h.cpp \
$(CORE_DIR)/flash.cpp \
$(CORE_DIR)/graphics.cpp \
......@@ -45,6 +44,7 @@ SOURCES_CXX := \
$(CORE_DIR)/libretro/log.cpp
SOURCES_C += \
$(CORE_DIR)/input.c \
$(CORE_DIR)/race-memory.c \
$(CORE_DIR)/ngpBios.c \
$(CORE_DIR)/neopopsound.c
......
/* input.cpp: implementation of the input class. */
/* input.c: implementation of the input class. */
#include "StdAfx.h"
#include "main.h"
#include "input.h"
#include "memory.h"
/* address where the state of the input device(s) is stored */
unsigned char ngpInputState = 0;
BOOL InitInput(void)
{
return TRUE;
}
void FreeInput(void)
{
}
......@@ -9,16 +9,17 @@
/* input.h: interface for the input class. */
#if !defined(AFX_INPUT_H__59701BE2_A97A_11D3_8645_00A0241D2A65__INCLUDED_)
#define AFX_INPUT_H__59701BE2_A97A_11D3_8645_00A0241D2A65__INCLUDED_
#ifndef AFX_INPUT_H
#define AFX_INPUT_H
#if _MSC_VER > 1000
#pragma once
#endif /* _MSC_VER > 1000 */
#ifdef __cplusplus
extern "C" {
#endif
extern unsigned char ngpInputState;
BOOL InitInput(void);
void FreeInput(void);
#ifdef __cplusplus
}
#endif
#endif /* !defined(AFX_INPUT_H__59701BE2_A97A_11D3_8645_00A0241D2A65__INCLUDED_) */
#endif /* !defined(AFX_INPUT_H) */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment