From 55a6568e38ff8cc7866e61b18a30a95d4cac0383 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Tue, 19 Jan 2016 01:57:18 +0100 Subject: [PATCH] Fix UPS header a little. Also add non-plans. --- README.md | 4 ++++ flips.cpp | 9 --------- libups.h | 9 +++++---- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 48649ba..21ea36c 100644 --- a/README.md +++ b/README.md @@ -11,3 +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) + +Not planned (if your plans are different, send a PR): +- Non-console OSX support; I don't have the right hardware +- Qt support; my distro uses GNOME, and all distros I've seen can run both GTK+ and Qt (and QString's UTF16 irritates me) diff --git a/flips.cpp b/flips.cpp index 59f2e7c..caa3377 100644 --- a/flips.cpp +++ b/flips.cpp @@ -873,12 +873,3 @@ int flipsmain(int argc, WCHAR * argv[]) } return 99;//doesn't happen } - - - - - - - - - diff --git a/libups.h b/libups.h index 2d8d01e..63a4fff 100644 --- a/libups.h +++ b/libups.h @@ -9,14 +9,15 @@ enum upserror { ups_ok,//Patch applied or created successfully. - ups_unused1, //bps_too_output + ups_unused1, //bps_to_output ups_not_this,//This is not the intended input file for this patch. ups_broken, //This is not a UPS patch, or it's malformed somehow. + ups_unused2, //bps_io ups_identical,//The input files are identical. ups_too_big, //Somehow, you're asking for something a size_t can't represent. - ups_unused2, //bps_out_of_mem - ups_unused3, //bps_canceled + ups_unused3, //bps_out_of_mem + ups_unused4, //bps_canceled ups_shut_up_gcc//This one isn't used, it's just to kill a stray comma warning. }; @@ -25,7 +26,7 @@ enum upserror { // return value in out to ups_free when you're done with it. enum upserror ups_apply(struct mem patch, struct mem in, struct mem * out); -//Creates an UPS patch that converts source to target and stores it to patch. +//Creates an UPS patch that converts source to target and stores it to patch. (Not implemented.) enum upserror ups_create(struct mem source, struct mem target, struct mem * patch); //Frees the memory returned in the output parameters of the above. Do not call it twice on the same