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