mirror of
https://github.com/kinnay/Wii-U-Firmware-Emulator.git
synced 2024-06-11 08:57:09 -04:00
70974277af
* debugger: Use libreadline for the prompt This fixes the issue where ^D would put the debugger into an infinite loop, and adds support for persistent history, with familiar keybindings. I originally tried to make this new dependency optional, but your usage of make doesn’t really tend itself to this, feel free to tell me if you prefer another option. Co-authored-by: Yannik Marchand <ymarchand@me.com>
16 lines
265 B
C++
16 lines
265 B
C++
|
|
#include "emulator.h"
|
|
#include "history.h"
|
|
#include "common/logger.h"
|
|
|
|
int main(int argc, const char *argv[]) {
|
|
Logger::init(Logger::DEBUG);
|
|
History::init();
|
|
|
|
Emulator *emulator = new Emulator();
|
|
emulator->run();
|
|
delete emulator;
|
|
|
|
return 0;
|
|
}
|