From e51044884b329d808015c7972d1c8409303faab3 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 29 Mar 2017 01:33:16 +0200 Subject: [PATCH] move blit roms to /sys/lib/blit --- sys/{src/games => lib}/blit/diagbits | Bin sys/{src/games => lib}/blit/rom0 | 0 sys/{src/games => lib}/blit/rom1 | 0 sys/{src/games => lib}/blit/rom2 | 0 sys/{src/games => lib}/blit/rom3 | 0 sys/{src/games => lib}/blit/rom4 | 0 sys/{src/games => lib}/blit/rom5 | 0 sys/src/games/blit/mem.c | 4 ++-- 8 files changed, 2 insertions(+), 2 deletions(-) rename sys/{src/games => lib}/blit/diagbits (100%) rename sys/{src/games => lib}/blit/rom0 (100%) rename sys/{src/games => lib}/blit/rom1 (100%) rename sys/{src/games => lib}/blit/rom2 (100%) rename sys/{src/games => lib}/blit/rom3 (100%) rename sys/{src/games => lib}/blit/rom4 (100%) rename sys/{src/games => lib}/blit/rom5 (100%) diff --git a/sys/src/games/blit/diagbits b/sys/lib/blit/diagbits similarity index 100% rename from sys/src/games/blit/diagbits rename to sys/lib/blit/diagbits diff --git a/sys/src/games/blit/rom0 b/sys/lib/blit/rom0 similarity index 100% rename from sys/src/games/blit/rom0 rename to sys/lib/blit/rom0 diff --git a/sys/src/games/blit/rom1 b/sys/lib/blit/rom1 similarity index 100% rename from sys/src/games/blit/rom1 rename to sys/lib/blit/rom1 diff --git a/sys/src/games/blit/rom2 b/sys/lib/blit/rom2 similarity index 100% rename from sys/src/games/blit/rom2 rename to sys/lib/blit/rom2 diff --git a/sys/src/games/blit/rom3 b/sys/lib/blit/rom3 similarity index 100% rename from sys/src/games/blit/rom3 rename to sys/lib/blit/rom3 diff --git a/sys/src/games/blit/rom4 b/sys/lib/blit/rom4 similarity index 100% rename from sys/src/games/blit/rom4 rename to sys/lib/blit/rom4 diff --git a/sys/src/games/blit/rom5 b/sys/lib/blit/rom5 similarity index 100% rename from sys/src/games/blit/rom5 rename to sys/lib/blit/rom5 diff --git a/sys/src/games/blit/mem.c b/sys/src/games/blit/mem.c index 08a3a4d41..67efdfc69 100644 --- a/sys/src/games/blit/mem.c +++ b/sys/src/games/blit/mem.c @@ -44,14 +44,14 @@ meminit(void) p = rom; if(diag){ - bp = Bopen("diagbits", OREAD); + bp = Bopen("/sys/lib/blit/diagbits", OREAD); if(bp == nil) sysfatal("Bopen: %r"); Bread(bp, rom, sizeof(rom)); Bterm(bp); return; } for(i = 0; i < 6; i++){ - bp = Bopen(smprint("rom%d", i), OREAD); + bp = Bopen(smprint("/sys/lib/blit/rom%d", i), OREAD); if(bp == nil) sysfatal("Bopen: %r"); q = p; for(;;){