diff --git a/README.md b/README.md index 21ea36c..0afb790 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Features: Planned: - Automatically enable ROM guesser (open a message box the first time it guesses a ROM, asking if you want that) - Different emulators for different filetypes (check the extension) +- Better support for ROM database in CLI; the -d flag, or DB enabling from the GUI (for pure-CLI, existence of flipsdb.bin file beside Flips), will store ROMs in the database; the filename "-" will read from it, and "wrong ROM" will look for the right one (but not automatically use it) Not planned (if your plans are different, send a PR): - Non-console OSX support; I don't have the right hardware diff --git a/flips-w32.cpp b/flips-w32.cpp index cef6cac..f3f5361 100644 --- a/flips-w32.cpp +++ b/flips-w32.cpp @@ -879,6 +879,9 @@ void GUIClaimConsole() if (claimstdin) freopen("CONIN$", "rt", stdin); if (claimstdout) freopen("CONOUT$", "wt", stdout); if (claimstderr) freopen("CONOUT$", "wt", stderr); + + if (claimstdout) fputc('\r', stdout); + if (claimstderr) fputc('\r', stderr); } HINSTANCE hInstance_;