aboutsummaryrefslogtreecommitdiff
path: root/src/cart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cart.h')
-rw-r--r--src/cart.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cart.h b/src/cart.h
index b43c6a0..5873d2e 100644
--- a/src/cart.h
+++ b/src/cart.h
@@ -93,6 +93,11 @@ void pw_cart_png_free(struct pw_cart_png *png);
bool pw_cart_png_load(struct pw_cart_file *file, struct pw_cart_png *png);
/**
+ * Resets a cart to its initial empty state.
+ */
+bool pw_cart_png_reset(struct pw_cart_png *png);
+
+/**
* Loads a cart from a file, including mounting its user data file-system.
*
* Optionally specify a loaded cart PNG to copy the ROM from instead of