From 78fc34ba429b509a135ebad31009aa13e90b87e7 Mon Sep 17 00:00:00 2001 From: Artur Bekker Date: Mon, 14 Nov 2022 18:37:52 -0500 Subject: [PATCH] Add files via upload starting LUA script to reset disk --- output/luaScripts/resetDisk.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 output/luaScripts/resetDisk.lua diff --git a/output/luaScripts/resetDisk.lua b/output/luaScripts/resetDisk.lua new file mode 100644 index 00000000..0207af50 --- /dev/null +++ b/output/luaScripts/resetDisk.lua @@ -0,0 +1,12 @@ +--Artur Bekker +--EmuGators +--Making function to reset disk in disk loader system + +--current functionality soft resets emulator as a whole +--need to edit functionality? specifically for CDs +while true do + if (FCEU.emulating() then + FCEU.frameadvance() + end + FCEU.frameadvance() +end \ No newline at end of file