From e4022ab4162084568f1940c02e396ac5b35da8cc Mon Sep 17 00:00:00 2001 From: Alcaro Date: Sun, 23 Aug 2020 17:39:55 +0200 Subject: [PATCH] libretro.h: Fix contradictory comment retro_get_system_info() says it can be called even before retro_init(), which means retro_deinit() doesn't need to be called at all. Mentioning deinit() in the struct definition is misleading and incorrect. --- libretro-common/include/libretro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/include/libretro.h b/libretro-common/include/libretro.h index c8a3cb763c..e03c5e40c8 100644 --- a/libretro-common/include/libretro.h +++ b/libretro-common/include/libretro.h @@ -2672,7 +2672,7 @@ struct retro_input_descriptor struct retro_system_info { /* All pointers are owned by libretro implementation, and pointers must - * remain valid until retro_deinit() is called. */ + * remain valid until it is unloaded. */ const char *library_name; /* Descriptive name of library. Should not * contain any version numbers, etc. */