foxygit / fake-08-xbox360 Log in
commit d6b9adfda8acb0355fd0eebdf5683600962c341b
Author:     jtothebell <j.to.the.bell@gmail.com>
AuthorDate: Sat Jun 12 13:45:53 2021 -0600
Commit:     jtothebell <j.to.the.bell@gmail.com>
CommitDate: Sat Jun 12 13:45:53 2021 -0600

    add ability to go though carts 10 by 10
---
 source/FakoBios.h | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/source/FakoBios.h b/source/FakoBios.h
index ec0588b..8aaa12d 100644
--- a/source/FakoBios.h
+++ b/source/FakoBios.h
@@ -50,13 +50,16 @@ function _update60()
 		cidx = min((cidx + 1), numcarts)
 	end
 	if btnp(0) then
-		cidx = max((cidx - 1), 0)
+		cidx = max((cidx - 1), 1)
 	end

 	if btnp(2) then
-		--ls()
-		linebuffer = "ls"
+		cidx = max((cidx - 10), 1)
 	end
+	if btnp(3) then
+		cidx = min((cidx + 10), numcarts)
+	end
+
 	if btnp(4) then
 		linebuffer = ""
 	end
@@ -101,7 +104,8 @@ function _draw()
 	if numcarts < 1 then
 		print("--no carts found--")
 	else
-		print("⬅️➡️ to navigate carts")
+		print("⬅️➡️ to navigate carts 1 by 1")
+		print("⬆️⬇️ to navigate carts 10 by 10")
 		print("🅾️ (" .. selectbtn .. ") to load selected cart")
 		print(pausebtn .. " to close current cart")
 	end