mirror of
https://github.com/Alcaro/Flips.git
synced 2026-09-08 18:45:13 -05:00
Fix UPS header a little. Also add non-plans.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -873,12 +873,3 @@ int flipsmain(int argc, WCHAR * argv[])
|
||||
}
|
||||
return 99;//doesn't happen
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
9
libups.h
9
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
|
||||
|
||||
Reference in New Issue
Block a user