[nostalgia/core] Add input.hpp to core.hpp
This commit is contained in:
		@@ -12,6 +12,7 @@
 | 
			
		||||
 | 
			
		||||
#include "consts.hpp"
 | 
			
		||||
#include "gfx.hpp"
 | 
			
		||||
#include "input.hpp"
 | 
			
		||||
#include "media.hpp"
 | 
			
		||||
 | 
			
		||||
namespace nostalgia::core {
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,6 @@
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <nostalgia/core/core.hpp>
 | 
			
		||||
#include <nostalgia/core/input.hpp>
 | 
			
		||||
 | 
			
		||||
using namespace nostalgia;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -11,13 +11,11 @@
 | 
			
		||||
 | 
			
		||||
#include "app.hpp"
 | 
			
		||||
 | 
			
		||||
using namespace nostalgia;
 | 
			
		||||
 | 
			
		||||
int main(int argc, const char **argv) {
 | 
			
		||||
	if (argc > 1) {
 | 
			
		||||
		ox::trace::init();
 | 
			
		||||
		auto path = argv[1];
 | 
			
		||||
		auto fs = core::loadRomFs(path);
 | 
			
		||||
		auto fs = nostalgia::core::loadRomFs(path);
 | 
			
		||||
		auto err = run(fs);
 | 
			
		||||
		oxAssert(err, "Something went wrong...");
 | 
			
		||||
		delete fs;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user