From: ljsebald <ljs...@us...> - 2023-06-05 21:55:18
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 1cc2d2c6c871f55b4265169979236e0e4ab369bb (commit) via caa826f5ec97eb0385c964d659a06317338a370d (commit) via 33d864892a5661f73b92836942539c819b6ef2ad (commit) via c4192821aa1f78f2afc3d169cf9aad9433901168 (commit) via 66731b2d82fadef8249b3db63c90b0bbffc976ac (commit) via 6afbd853b9dee7f622b7a090a3c636de75b6fed1 (commit) via d1b4cfb687af5458947e6e83f4b93d5df0606e00 (commit) via 10e43a3bd4e92ec7e27f3b2fc1ce3a5247137315 (commit) from e9ff3f294f0639fd7b8d755a5e004f521c692b24 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1cc2d2c6c871f55b4265169979236e0e4ab369bb Author: Donald Haase <qu...@ya...> Date: Mon Jun 5 17:54:05 2023 -0400 Cleanup romdisk creation and utilization in examples (#241) commit caa826f5ec97eb0385c964d659a06317338a370d Author: Quzar <qu...@co...> Date: Sun Jun 4 21:01:36 2023 -0400 Revert "Cleanup romdisk creation and utilization in examples" This reverts commit 33d864892a5661f73b92836942539c819b6ef2ad. commit 33d864892a5661f73b92836942539c819b6ef2ad Author: Quzar <qu...@co...> Date: Sun Jun 4 20:59:02 2023 -0400 Cleanup romdisk creation and utilization in examples commit c4192821aa1f78f2afc3d169cf9aad9433901168 Merge: e9ff3f2 66731b2 Author: Donald Haase <qu...@ya...> Date: Sun Jun 4 20:00:24 2023 -0400 Merge pull request #239 from Dreamcast-Projects/BuiltInExampleWarnings Built in example warnings commit 66731b2d82fadef8249b3db63c90b0bbffc976ac Merge: 6afbd85 e9ff3f2 Author: Andress Barajas <and...@gm...> Date: Sun Jun 4 08:50:05 2023 -0700 Merge branch 'KallistiOS:master' into BuiltInExampleWarnings commit 6afbd853b9dee7f622b7a090a3c636de75b6fed1 Author: Andress Barajas <and...@gm...> Date: Sun Jun 4 08:47:38 2023 -0700 Fix warnings and use cont_btn_callback_t instead commit d1b4cfb687af5458947e6e83f4b93d5df0606e00 Merge: 10e43a3 01124ad Author: Andress Barajas <and...@gm...> Date: Sat Jun 3 21:36:46 2023 -0700 Merge branch 'KallistiOS:master' into BuiltInExampleWarnings commit 10e43a3bd4e92ec7e27f3b2fc1ce3a5247137315 Author: Andress Barajas <and...@gm...> Date: Thu Jun 1 22:19:26 2023 -0700 Fix two examples ----------------------------------------------------------------------- Summary of changes: Makefile.rules | 2 +- examples/dreamcast/basic/exec/Makefile | 2 +- examples/dreamcast/cpp/modplug_test/Makefile | 7 +------ examples/dreamcast/libdream/320x240/320x240.c | 2 +- examples/dreamcast/libdream/640x480/640x480.c | 2 +- examples/dreamcast/libdream/800x608/800x608.c | 2 +- examples/dreamcast/libdream/vmu/vmu.c | 3 ++- examples/dreamcast/pvr/bumpmap/Makefile | 2 +- examples/dreamcast/random/Makefile | 11 +++-------- examples/dreamcast/random/romdisk/.keepme | 0 examples/dreamcast/rumble/Makefile | 6 +++--- examples/dreamcast/sd/speedtest/sd-speedtest.c | 1 + examples/dreamcast/sound/ghettoplay-vorbis/Makefile | 7 +------ examples/dreamcast/sound/ghettoplay-vorbis/ghettoplay.c | 4 ++-- examples/dreamcast/sound/hello-mp3/Makefile | 9 ++------- examples/dreamcast/sound/hello-mp3/readme.txt | 7 +++---- examples/dreamcast/sound/hello-ogg/Makefile | 10 ++-------- examples/dreamcast/sound/hello-ogg/readme.txt | 7 +++---- examples/dreamcast/sound/hello-opus/Makefile | 9 ++------- examples/dreamcast/sound/hello-opus/{README => readme.txt} | 0 examples/dreamcast/tsunami/banner/banner.cpp | 2 +- examples/dreamcast/tsunami/font/font.cpp | 2 +- examples/dreamcast/tsunami/genmenu/genmenu.cpp | 2 +- examples/dreamcast/vmu/vmu_pkg/Makefile | 12 +++--------- examples/dreamcast/vmu/vmu_pkg/romdisk/.keepme | 0 examples/dreamcast/vmu/vmu_pkg/vmu.c | 3 --- kernel/arch/dreamcast/hardware/maple/purupuru.c | 1 - 27 files changed, 37 insertions(+), 78 deletions(-) delete mode 100644 examples/dreamcast/random/romdisk/.keepme rename examples/dreamcast/sound/hello-opus/{README => readme.txt} (100%) delete mode 100644 examples/dreamcast/vmu/vmu_pkg/romdisk/.keepme diff --git a/Makefile.rules b/Makefile.rules index 78d3fb2..37b14ec 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -64,7 +64,7 @@ $(patsubst %, _clean_dir_%, $(SUBDIRS)): # Define KOS_ROMDISK_DIR in your Makefile if you want these two handy rules. ifdef KOS_ROMDISK_DIR romdisk.img: - $(KOS_GENROMFS) -f romdisk.img -d $(KOS_ROMDISK_DIR) -v -x .svn + $(KOS_GENROMFS) -f romdisk.img -d $(KOS_ROMDISK_DIR) -v -x .svn -x .keepme romdisk.o: romdisk.img $(KOS_BASE)/utils/bin2o/bin2o romdisk.img romdisk romdisk.o diff --git a/examples/dreamcast/basic/exec/Makefile b/examples/dreamcast/basic/exec/Makefile index 928599d..e205c64 100644 --- a/examples/dreamcast/basic/exec/Makefile +++ b/examples/dreamcast/basic/exec/Makefile @@ -28,7 +28,7 @@ $(SUBTARGET): $(SUBOBJS) # You can safely remove the next two targets if you don't use a ROMDISK romdisk.img: $(SUBTARGET) - $(KOS_GENROMFS) -f romdisk.img -d romdisk -v + $(KOS_GENROMFS) -f romdisk.img -d romdisk -v -x .keepme romdisk.o: romdisk.img $(KOS_BASE)/utils/bin2o/bin2o romdisk.img romdisk romdisk.o diff --git a/examples/dreamcast/cpp/modplug_test/Makefile b/examples/dreamcast/cpp/modplug_test/Makefile index 0a9af3e..0c7b791 100644 --- a/examples/dreamcast/cpp/modplug_test/Makefile +++ b/examples/dreamcast/cpp/modplug_test/Makefile @@ -1,5 +1,6 @@ TARGET = example.elf OBJS = example.o romdisk.o +KOS_ROMDISK_DIR = romdisk all: rm-elf $(TARGET) @@ -14,12 +15,6 @@ rm-elf: $(TARGET): $(OBJS) kos-c++ -o $(TARGET) $(OBJS) -lmodplug -lm -romdisk.img: - $(KOS_GENROMFS) -f romdisk.img -d romdisk -v - -romdisk.o: romdisk.img - $(KOS_BASE)/utils/bin2o/bin2o romdisk.img romdisk romdisk.o - run: $(TARGET) $(KOS_LOADER) $(TARGET) diff --git a/examples/dreamcast/libdream/320x240/320x240.c b/examples/dreamcast/libdream/320x240/320x240.c index f30748d..5eadc8a 100644 --- a/examples/dreamcast/libdream/320x240/320x240.c +++ b/examples/dreamcast/libdream/320x240/320x240.c @@ -8,7 +8,7 @@ int main(int argc, char **argv) { /* Press all buttons to exit */ cont_btn_callback(0, CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y, - (void (*)(unsigned char, long unsigned int))arch_exit); + (cont_btn_callback_t)arch_exit); /* Set the video mode */ vid_set_mode(DM_320x240, PM_RGB565); diff --git a/examples/dreamcast/libdream/640x480/640x480.c b/examples/dreamcast/libdream/640x480/640x480.c index 1d25319..31e63fd 100644 --- a/examples/dreamcast/libdream/640x480/640x480.c +++ b/examples/dreamcast/libdream/640x480/640x480.c @@ -11,7 +11,7 @@ int main(int argc, char **argv) { /* Press all buttons to exit */ cont_btn_callback(0, CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y, - (void (*)(unsigned char, long unsigned int))arch_exit); + (cont_btn_callback_t)arch_exit); /* Bother us with output only if something died */ dbglog_set_level(DBG_DEAD); diff --git a/examples/dreamcast/libdream/800x608/800x608.c b/examples/dreamcast/libdream/800x608/800x608.c index 83fd3c5..40fc6ea 100644 --- a/examples/dreamcast/libdream/800x608/800x608.c +++ b/examples/dreamcast/libdream/800x608/800x608.c @@ -20,7 +20,7 @@ int main(int argc, char **argv) { /* Press all buttons to exit */ cont_btn_callback(0, CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y, - (void (*)(unsigned char, long unsigned int))arch_exit); + (cont_btn_callback_t)arch_exit); /* Set video mode */ vid_set_mode(DM_800x608, PM_RGB565); diff --git a/examples/dreamcast/libdream/vmu/vmu.c b/examples/dreamcast/libdream/vmu/vmu.c index ad9af9c..73a5832 100644 --- a/examples/dreamcast/libdream/vmu/vmu.c +++ b/examples/dreamcast/libdream/vmu/vmu.c @@ -9,7 +9,8 @@ /* Draws one file entry, along with its "description" in the boot rom file manager. */ -int y1 = 20 + 36; +static int y1 = 20 + 36; + void draw_one(maple_device_t *addr, char *fn, uint16 hdrblock) { bfont_draw_str(vram_s + y1 * 640 + 10, 640, 0, "File "); bfont_draw_str(vram_s + y1 * 640 + 10 + 5 * 12, 640, 0, fn); diff --git a/examples/dreamcast/pvr/bumpmap/Makefile b/examples/dreamcast/pvr/bumpmap/Makefile index 99f6954..7b91855 100644 --- a/examples/dreamcast/pvr/bumpmap/Makefile +++ b/examples/dreamcast/pvr/bumpmap/Makefile @@ -15,7 +15,7 @@ $(TARGET): $(OBJS) kos-cc -o $(TARGET) $(OBJS) -lkmg -lkosutils romdisk.img: romdisk/bricks.kmg romdisk/bumpmap.raw - $(KOS_GENROMFS) -f romdisk.img -d romdisk -v + $(KOS_GENROMFS) -f romdisk.img -d romdisk -v -x .keepme romdisk.o: romdisk.img $(KOS_BASE)/utils/bin2o/bin2o romdisk.img romdisk romdisk.o diff --git a/examples/dreamcast/random/Makefile b/examples/dreamcast/random/Makefile index ea263b2..251e4da 100644 --- a/examples/dreamcast/random/Makefile +++ b/examples/dreamcast/random/Makefile @@ -7,12 +7,7 @@ TARGET = random.elf # List all of your C files here, but change the extension to ".o" -# Include "romdisk.o" if you want a rom disk. -OBJS = random.o romdisk.o - -# If you define this, the Makefile.rules will create a romdisk.o for you -# from the named dir. -KOS_ROMDISK_DIR = romdisk +OBJS = random.o KOS_CFLAGS += -std=c99 @@ -26,7 +21,7 @@ clean: rm-elf -rm -f $(OBJS) rm-elf: - -rm -f $(TARGET) romdisk.* + -rm -f $(TARGET) $(TARGET): $(OBJS) kos-cc -o $(TARGET) $(OBJS) @@ -35,5 +30,5 @@ run: $(TARGET) $(KOS_LOADER) $(TARGET) dist: $(TARGET) - -rm -f $(OBJS) romdisk.img + -rm -f $(OBJS) $(KOS_STRIP) $(TARGET) diff --git a/examples/dreamcast/random/romdisk/.keepme b/examples/dreamcast/random/romdisk/.keepme deleted file mode 100644 index e69de29..0000000 diff --git a/examples/dreamcast/rumble/Makefile b/examples/dreamcast/rumble/Makefile index a1c79df..65aa3ab 100644 --- a/examples/dreamcast/rumble/Makefile +++ b/examples/dreamcast/rumble/Makefile @@ -13,10 +13,10 @@ all: rm-elf $(TARGET) include $(KOS_BASE)/Makefile.rules clean: rm-elf - rm -f $(OBJS) + -rm -f $(OBJS) rm-elf: - rm -f $(TARGET) romdisk.* + -rm -f $(TARGET) romdisk.* $(TARGET): $(OBJS) kos-cc -o $(TARGET) $(OBJS) -lparallax -lz -lm @@ -25,5 +25,5 @@ run: $(TARGET) $(KOS_LOADER) $(TARGET) dist: $(TARGET) - rm -f $(OBJS) romdisk.img + -rm -f $(OBJS) romdisk.img $(KOS_STRIP) $(TARGET) diff --git a/examples/dreamcast/sd/speedtest/sd-speedtest.c b/examples/dreamcast/sd/speedtest/sd-speedtest.c index e7558c1..b626420 100644 --- a/examples/dreamcast/sd/speedtest/sd-speedtest.c +++ b/examples/dreamcast/sd/speedtest/sd-speedtest.c @@ -18,6 +18,7 @@ #include <dc/maple.h> #include <dc/maple/controller.h> +#include <arch/arch.h> #include <arch/timer.h> #include <kos/init.h> diff --git a/examples/dreamcast/sound/ghettoplay-vorbis/Makefile b/examples/dreamcast/sound/ghettoplay-vorbis/Makefile index a8bfe60..31bb7b9 100644 --- a/examples/dreamcast/sound/ghettoplay-vorbis/Makefile +++ b/examples/dreamcast/sound/ghettoplay-vorbis/Makefile @@ -1,5 +1,6 @@ TARGET = ghettoplay.elf OBJS = ghettoplay.o texture.o bkg.o 3dutils.o songmenu.o romdisk.o +KOS_ROMDISK_DIR = romdisk all: rm-elf $(TARGET) @@ -14,12 +15,6 @@ rm-elf: $(TARGET): $(OBJS) kos-cc -o $(TARGET) $(OBJS) -loggvorbisplay -lvorbis -logg -lm -romdisk.img: - $(KOS_GENROMFS) -f romdisk.img -d romdisk -v - -romdisk.o: romdisk.img - $(KOS_BASE)/utils/bin2o/bin2o romdisk.img romdisk romdisk.o - run: $(TARGET) $(KOS_LOADER) $(TARGET) diff --git a/examples/dreamcast/sound/ghettoplay-vorbis/ghettoplay.c b/examples/dreamcast/sound/ghettoplay-vorbis/ghettoplay.c index f573679..9b1f1b3 100644 --- a/examples/dreamcast/sound/ghettoplay-vorbis/ghettoplay.c +++ b/examples/dreamcast/sound/ghettoplay-vorbis/ghettoplay.c @@ -174,9 +174,9 @@ int main(int argc, char **argv) { /* If we're playing a file fill out the File information */ if(sndoggvorbis_isplaying()) { - char bitrate[6]; + char bitrate[7]; long bitrateval = sndoggvorbis_getbitrate(); - sprintf(bitrate, "%6ld", bitrateval); + snprintf(bitrate, sizeof(bitrate), "%6ld", bitrateval); char * artist, * title, * genre; artist = sndoggvorbis_getartist(); diff --git a/examples/dreamcast/sound/hello-mp3/Makefile b/examples/dreamcast/sound/hello-mp3/Makefile index 4c48ca3..545a337 100644 --- a/examples/dreamcast/sound/hello-mp3/Makefile +++ b/examples/dreamcast/sound/hello-mp3/Makefile @@ -1,6 +1,7 @@ TARGET = mp3test.elf -OBJS = mp3test.o romdisk.o +OBJS = mp3test.o romdisk.o +KOS_ROMDISK_DIR = romdisk all: rm-elf $(TARGET) @@ -15,12 +16,6 @@ rm-elf: $(TARGET): $(OBJS) kos-cc -o $(TARGET) $(OBJS) -lmp3 -lm -romdisk.img: - $(KOS_GENROMFS) -f romdisk.img -d romdisk -v - -romdisk.o: romdisk.img - $(KOS_BASE)/utils/bin2o/bin2o romdisk.img romdisk romdisk.o - run: $(TARGET) $(KOS_LOADER) $(TARGET) # dc-tool -p -b 115200 -x $(TARGET) diff --git a/examples/dreamcast/sound/hello-mp3/readme.txt b/examples/dreamcast/sound/hello-mp3/readme.txt index d2f87fb..981db63 100644 --- a/examples/dreamcast/sound/hello-mp3/readme.txt +++ b/examples/dreamcast/sound/hello-mp3/readme.txt @@ -1,4 +1,3 @@ -This examples expects a file called "test.mp3" in the Romdisk. So just put -a small MP3 file there, compile it and upload it to your DC to see -it working. - +This example expects a file called "test.mp3" to exist in the root of the +romdisk. Put a relatively small mp3 file with the correct filename in the +romdisk directory before compiling if you want the example to work. ;) diff --git a/examples/dreamcast/sound/hello-ogg/Makefile b/examples/dreamcast/sound/hello-ogg/Makefile index ed11a72..0fcb506 100644 --- a/examples/dreamcast/sound/hello-ogg/Makefile +++ b/examples/dreamcast/sound/hello-ogg/Makefile @@ -5,7 +5,8 @@ # Based on KOS Makefiles by Megan Potter TARGET = vorbistest.elf -OBJS = vorbistest.o romdisk.o +OBJS = vorbistest.o romdisk.o +KOS_ROMDISK_DIR = romdisk all: rm-elf $(TARGET) @@ -23,15 +24,8 @@ $(TARGET): $(OBJS) kos-cc -o $(TARGET) $(OBJS) -ltremor -lm # kos-cc -o $(TARGET) $(OBJS) -loggvorbisplay -lvorbis -logg -lm -romdisk.img: - $(KOS_GENROMFS) -f romdisk.img -d romdisk -v - -romdisk.o: romdisk.img - $(KOS_BASE)/utils/bin2o/bin2o romdisk.img romdisk romdisk.o - run: $(TARGET) $(KOS_LOADER) $(TARGET) -# dc-tool -p -b 115200 -x $(TARGET) dist: $(TARGET) -rm -f $(OBJS) romdisk.img diff --git a/examples/dreamcast/sound/hello-ogg/readme.txt b/examples/dreamcast/sound/hello-ogg/readme.txt index cf85fab..d5c7f6b 100644 --- a/examples/dreamcast/sound/hello-ogg/readme.txt +++ b/examples/dreamcast/sound/hello-ogg/readme.txt @@ -1,4 +1,3 @@ -This examples expects a file called "test.ogg" in the Romdisk. So just put -a small Ogg/Vorbis file there, compile it and upload it to your DC to see -it working. - +This example expects a file called "test.ogg" to exist in the root of the +romdisk. Put a relatively small Ogg/Vorbis file with the correct filename in the +romdisk directory before compiling if you want the example to work. ;) \ No newline at end of file diff --git a/examples/dreamcast/sound/hello-opus/Makefile b/examples/dreamcast/sound/hello-opus/Makefile index ee043c5..840358f 100644 --- a/examples/dreamcast/sound/hello-opus/Makefile +++ b/examples/dreamcast/sound/hello-opus/Makefile @@ -1,5 +1,6 @@ TARGET = opustest.elf -OBJS = opustest.o romdisk.o +OBJS = opustest.o romdisk.o +KOS_ROMDISK_DIR = romdisk all: rm-elf $(TARGET) @@ -14,12 +15,6 @@ rm-elf: $(TARGET): $(OBJS) kos-cc -o $(TARGET) $(OBJS) -lopusplay -lopusfile -lopus -logg -romdisk.img: - $(KOS_GENROMFS) -f romdisk.img -d romdisk -v - -romdisk.o: romdisk.img - $(KOS_BASE)/utils/bin2o/bin2o romdisk.img romdisk romdisk.o - run: $(TARGET) $(KOS_LOADER) $(TARGET) diff --git a/examples/dreamcast/sound/hello-opus/README b/examples/dreamcast/sound/hello-opus/readme.txt similarity index 100% rename from examples/dreamcast/sound/hello-opus/README rename to examples/dreamcast/sound/hello-opus/readme.txt diff --git a/examples/dreamcast/tsunami/banner/banner.cpp b/examples/dreamcast/tsunami/banner/banner.cpp index 00390cf..d46425c 100644 --- a/examples/dreamcast/tsunami/banner/banner.cpp +++ b/examples/dreamcast/tsunami/banner/banner.cpp @@ -112,7 +112,7 @@ int main(int argc, char **argv) { int done = 0, done2 = 0; cont_btn_callback(0, CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y, - (void (*)(unsigned char, long unsigned int))arch_exit); + (cont_btn_callback_t)arch_exit); pvr_init_defaults(); diff --git a/examples/dreamcast/tsunami/font/font.cpp b/examples/dreamcast/tsunami/font/font.cpp index 8eaeb86..8adcc29 100644 --- a/examples/dreamcast/tsunami/font/font.cpp +++ b/examples/dreamcast/tsunami/font/font.cpp @@ -27,7 +27,7 @@ int main(int argc, char **argv) { int done = 0; cont_btn_callback(0, CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y, - (void (*)(unsigned char, long unsigned int))arch_exit); + (cont_btn_callback_t)arch_exit); pvr_init_defaults(); diff --git a/examples/dreamcast/tsunami/genmenu/genmenu.cpp b/examples/dreamcast/tsunami/genmenu/genmenu.cpp index b17b00e..faa3b1a 100644 --- a/examples/dreamcast/tsunami/genmenu/genmenu.cpp +++ b/examples/dreamcast/tsunami/genmenu/genmenu.cpp @@ -134,7 +134,7 @@ int main(int argc, char **argv) { // Guard against an untoward exit during testing. cont_btn_callback(0, CONT_START | CONT_A | CONT_B | CONT_X | CONT_Y, - (void (*)(unsigned char, long unsigned int))arch_exit); + (cont_btn_callback_t)arch_exit); // Get 3D going pvr_init_defaults(); diff --git a/examples/dreamcast/vmu/vmu_pkg/Makefile b/examples/dreamcast/vmu/vmu_pkg/Makefile index c80c858..d1c16bb 100644 --- a/examples/dreamcast/vmu/vmu_pkg/Makefile +++ b/examples/dreamcast/vmu/vmu_pkg/Makefile @@ -7,7 +7,7 @@ TARGET = vmu.elf # List all of your C files here, but change the extension to ".o" -OBJS = vmu.o romdisk.o +OBJS = vmu.o all: rm-elf $(TARGET) @@ -17,21 +17,15 @@ clean: rm-elf -rm -f $(OBJS) rm-elf: - -rm -f $(TARGET) romdisk.* + -rm -f $(TARGET) $(TARGET): $(OBJS) kos-cc -o $(TARGET) $(OBJS) -romdisk.img: - $(KOS_GENROMFS) -f romdisk.img -d romdisk -v - -romdisk.o: romdisk.img - $(KOS_BASE)/utils/bin2o/bin2o romdisk.img romdisk romdisk.o - run: $(TARGET) $(KOS_LOADER) $(TARGET) dist: $(TARGET) - -rm -f $(OBJS) romdisk.img + -rm -f $(OBJS) $(KOS_STRIP) $(TARGET) diff --git a/examples/dreamcast/vmu/vmu_pkg/romdisk/.keepme b/examples/dreamcast/vmu/vmu_pkg/romdisk/.keepme deleted file mode 100644 index e69de29..0000000 diff --git a/examples/dreamcast/vmu/vmu_pkg/vmu.c b/examples/dreamcast/vmu/vmu_pkg/vmu.c index 5ec3b11..83c85d2 100644 --- a/examples/dreamcast/vmu/vmu_pkg/vmu.c +++ b/examples/dreamcast/vmu/vmu_pkg/vmu.c @@ -11,9 +11,6 @@ #include <kos.h> #include <kos/string.h> -extern uint8 romdisk[]; -KOS_INIT_ROMDISK(romdisk); - void draw_dir() { file_t d; int y = 88; diff --git a/kernel/arch/dreamcast/hardware/maple/purupuru.c b/kernel/arch/dreamcast/hardware/maple/purupuru.c index c168754..2723c9f 100644 --- a/kernel/arch/dreamcast/hardware/maple/purupuru.c +++ b/kernel/arch/dreamcast/hardware/maple/purupuru.c @@ -59,7 +59,6 @@ int purupuru_rumble_raw(maple_device_t *dev, uint32 effect) { } int purupuru_rumble(maple_device_t *dev, purupuru_effect_t *effect) { - uint32 *send_buf; uint32 comp_effect; assert(dev != NULL); hooks/post-receive -- A pseudo Operating System for the Dreamcast. |