foxygit / fake-08-xbox360 Log in
commit 23fc806354735872060b313934266d655e0f6f05
Author:     DPS2004 <dpsophinos@gmail.com>
AuthorDate: Mon Mar 21 16:25:30 2022 -0400
Commit:     DPS2004 <dpsophinos@gmail.com>
CommitDate: Mon May 2 09:40:55 2022 -0400

    fix no cart screen on fancy theme
---
 source/FakoBios.h | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/source/FakoBios.h b/source/FakoBios.h
index c7fe325..b59071a 100644
--- a/source/FakoBios.h
+++ b/source/FakoBios.h
@@ -266,7 +266,7 @@ function fancy_update()
 		if btnp(❎) then
 			showerror = false
 		end
-	else
+	elseif #carts > 0 then
 		if btnp(➡️) then
 			cpos = (cpos + 1)%numcarts
 			updatecarts()
@@ -360,6 +360,8 @@ function fancydrawmain()
 		print('◆',barx,122,textcolor)
 	else
 		print('no carts found!',34,50,textcolor)
+		local loctext = "place p8 carts in " .. cartpath
+		print(loctext,64-(#loctext)*2,60,textcolor)
 	end
 end

@@ -396,7 +398,7 @@ function _init()
 	if __getsetting then
 		theme = __getsetting('menustyle')
 	else
-		theme = 1
+		theme = 1
 	end
 	theme = theme % #inits --don't load a nonexistant menu style

@@ -486,5 +488,9 @@ __gfx__
 77777077777077770077770077777077077077777000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 77000077077077077077000000000077077077077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 77000077077077007077777000000077770077770000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+077077077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+77777077777077770077770077777077077077777000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+77000077077077077077000000000077077077077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+77000077077077007077777000000077770077770000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

 )#";
\ No newline at end of file