about summary refs log tree commit diff stats
path: root/apps/texture.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-01 22:17:40 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-01 22:17:40 -0800
commitc8e41a470f1c3ee1dbf7b881a3dec31633e39085 (patch)
treefb0846f5cea962656d6aa6c50d13ddaf69c7c76d /apps/texture.mu
parent34063288c90329f50950806c540fdbfd6f9540f3 (diff)
downloadmu-c8e41a470f1c3ee1dbf7b881a3dec31633e39085.tar.gz
7157
Diffstat (limited to 'apps/texture.mu')
-rw-r--r--apps/texture.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/texture.mu b/apps/texture.mu
index edac4126..1eaf892d 100644
--- a/apps/texture.mu
+++ b/apps/texture.mu
@@ -6,7 +6,7 @@
 #   $ ./translate_mu apps/texture.mu
 #   $ ./a.elf > a.ppm
 
-fn main -> exit-status/ebx: int {
+fn main -> _/ebx: int {
 #?   var width/esi: int <- copy 0x190  # 400
 #?   var height/edi: int <- copy 0xe1  # 225; aspect ratio 16:9
   var width/esi: int <- copy 0xff
@@ -54,5 +54,5 @@ fn main -> exit-status/ebx: int {
     row <- increment
     loop
   }
-  exit-status <- copy 0
+  return 0
 }