From 0bb5144f95f9afa16ba8b225598bf85b7fa64a3e Mon Sep 17 00:00:00 2001
From: XargonWan <XargonWan@gmail.com>
Date: Sun, 5 Jan 2025 15:24:27 +0900
Subject: [PATCH] Updated prompt for printing logs

---
 prompt.sh | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/prompt.sh b/prompt.sh
index 30cd85e..a82a343 100755
--- a/prompt.sh
+++ b/prompt.sh
@@ -30,6 +30,9 @@ for file in $files; do
     fi
 done
 
+write "--- logs/gdextension.log ---"
+write "$(cat logs/gdextension.log)"
+
 write ""
 write "My issue now is the following, can you help me to fix it?"
 write '
@@ -42,14 +45,11 @@ OpenGL API 4.6 (Core Profile) Mesa 24.2.7 (git-3900828265) - Compatibility - Usi
 [RetroHost] RetroHost class registered.
 [RetroHost] Constructor called. Initializing singleton.
 [RetroHost] Initialization complete.
+[RetroHost] Singleton created successfully.
 [RetroHost] Singleton registered successfully.
-[main] Entering _ready function
-[main] File res://cores/genesis_plus_gx_libretro.so exists
-[main] File res://roms/megadrive/Sonic the Hedgehog.bin exists
-[main] Core path: res://cores/genesis_plus_gx_libretro.so
-[main] ROM path: res://roms/megadrive/Sonic the Hedgehog.bin
-[libretro_loader] Starting emulation with core: res://cores/genesis_plus_gx_libretro.so, ROM: res://roms/megadrive/Sonic the Hedgehog.bin
-[libretro_loader] RetroHost status: <null>
-[libretro_loader] RetroHost singleton not found!
-[main] Failed to start the game
-'
\ No newline at end of file
+--- Debugging process stopped ---
+
+Albeit I added the suggested edits the game still crashes, so it might be something previous of those log entries
+'
+
+echo "Prompt generated in prompt.md"
\ No newline at end of file