mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	More hfs boilerplate.
This commit is contained in:
		| @@ -64,12 +64,13 @@ LIBFLUXENGINE_SRCS = \ | ||||
| 	lib/usb/usb.cc \ | ||||
| 	lib/usb/usbfinder.cc \ | ||||
| 	lib/utils.cc \ | ||||
| 	lib/vfs/brother120fs.cc \ | ||||
| 	lib/vfs/acorndfs.cc \ | ||||
| 	lib/vfs/amigaffs.cc \ | ||||
| 	lib/vfs/brother120fs.cc \ | ||||
| 	lib/vfs/cpmfs.cc \ | ||||
| 	lib/vfs/vfs.cc \ | ||||
| 	lib/vfs/fatfs.cc \ | ||||
| 	lib/vfs/machfs.cc \ | ||||
| 	lib/vfs/vfs.cc \ | ||||
| 	lib/vfs/fluxsectorinterface.cc \ | ||||
| 	lib/vfs/imagesectorinterface.cc \ | ||||
|  | ||||
| @@ -87,5 +88,6 @@ $(LIBFLUXENGINE_OBJS): CFLAGS += $(LIBUSBP_CFLAGS) | ||||
| $(LIBFLUXENGINE_OBJS): CFLAGS += $(PROTO_CFLAGS) | ||||
| $(LIBFLUXENGINE_OBJS): CFLAGS += $(FATFS_CFLAGS) | ||||
| $(LIBFLUXENGINE_OBJS): CFLAGS += $(ADFLIB_CFLAGS) | ||||
| $(LIBFLUXENGINE_OBJS): CFLAGS += $(HFSUTILS_CFLAGS) | ||||
|  | ||||
| $(call use-pkgconfig, $(LIBFLUXENGINE_LIB), $(LIBFLUXENGINE_OBJS), fmt) | ||||
|   | ||||
							
								
								
									
										6
									
								
								lib/vfs/machfs.cc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								lib/vfs/machfs.cc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| #include "lib/globals.h" | ||||
| #include "lib/vfs/vfs.h" | ||||
| #include "lib/config.pb.h" | ||||
| #include <fmt/format.h> | ||||
| #include "libhfs.h" | ||||
|  | ||||
| @@ -38,6 +38,9 @@ message CpmFsProto { | ||||
| message AmigaFfsProto { | ||||
| } | ||||
|  | ||||
| message MacHfsProto { | ||||
| } | ||||
|  | ||||
| message FilesystemProto { | ||||
| 	oneof filesystem { | ||||
| 		AcornDfsProto acorndfs = 1; | ||||
| @@ -45,6 +48,7 @@ message FilesystemProto { | ||||
| 		FatFsProto fatfs = 3; | ||||
| 		CpmFsProto cpmfs = 4; | ||||
| 		AmigaFfsProto amigaffs = 5; | ||||
| 		MacHfsProto machfs = 6; | ||||
| 	} | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user