[retro-gtk] environment: Rename RETRO_UNIMPLEMENT_ENVIRONMENT()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] environment: Rename RETRO_UNIMPLEMENT_ENVIRONMENT()
- Date: Sun, 1 Aug 2021 17:56:47 +0000 (UTC)
commit 1cc33c1e1e9fdfe24625cab2b2d180a1c66076d3
Author: Adrien Plazas <kekun plazas laposte net>
Date: Tue Jul 27 09:14:54 2021 +0200
environment: Rename RETRO_UNIMPLEMENT_ENVIRONMENT()
Rename it into RETRO_UNIMPLEMENTED_ENVIRONMENT so we can more easily
grep UNIMPLEMENTED to look for implemented API but unimplemented
features.
retro-runner/retro-environment.c | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/retro-runner/retro-environment.c b/retro-runner/retro-environment.c
index fb65cad..b6bc9b9 100644
--- a/retro-runner/retro-environment.c
+++ b/retro-runner/retro-environment.c
@@ -730,7 +730,7 @@ shutdown (RetroCore *self)
return TRUE;
}
-#define RETRO_UNIMPLEMENT_ENVIRONMENT(cmd) \
+#define RETRO_UNIMPLEMENTED_ENVIRONMENT(cmd) \
case cmd: \
G_STMT_START { \
if (cmd & RETRO_ENVIRONMENT_EXPERIMENTAL) \
@@ -824,22 +824,22 @@ environment_core_command (RetroCore *self,
case RETRO_ENVIRONMENT_SHUTDOWN:
return shutdown (self);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_GET_CAMERA_INTERFACE);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_GET_CURRENT_SOFTWARE_FRAMEBUFFER);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_GET_HW_RENDER_INTERFACE);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_GET_PERF_INTERFACE);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_GET_SENSOR_INTERFACE);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_SET_AUDIO_CALLBACK);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_SET_CONTROLLER_INFO);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_SET_FRAME_TIME_CALLBACK);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_SET_HW_RENDER_CONTEXT_NEGOTIATION_INTERFACE);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_SET_MEMORY_MAPS);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_SET_PROC_ADDRESS_CALLBACK);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_SET_SERIALIZATION_QUIRKS);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_SET_SUBSYSTEM_INFO);
- RETRO_UNIMPLEMENT_ENVIRONMENT (RETRO_ENVIRONMENT_SET_SUPPORT_ACHIEVEMENTS);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_GET_CAMERA_INTERFACE);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_GET_CURRENT_SOFTWARE_FRAMEBUFFER);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_GET_HW_RENDER_INTERFACE);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_GET_LOCATION_INTERFACE);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_GET_PERF_INTERFACE);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_GET_SENSOR_INTERFACE);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_SET_AUDIO_CALLBACK);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_SET_CONTROLLER_INFO);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_SET_FRAME_TIME_CALLBACK);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_SET_HW_RENDER_CONTEXT_NEGOTIATION_INTERFACE);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_SET_MEMORY_MAPS);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_SET_PROC_ADDRESS_CALLBACK);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_SET_SERIALIZATION_QUIRKS);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_SET_SUBSYSTEM_INFO);
+ RETRO_UNIMPLEMENTED_ENVIRONMENT (RETRO_ENVIRONMENT_SET_SUPPORT_ACHIEVEMENTS);
default:
if (cmd & RETRO_ENVIRONMENT_EXPERIMENTAL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]