diff --git a/AUTHORS b/AUTHORS index cef4e37739..bea36a263c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,5 @@ -All authors of this emulator are documented in at the top of each file in the source code. - -They own portions of the code, or in cases, the entirety of it. - -resid-fp and slirp folders have their own exceptions. \ No newline at end of file +All authors of this emulator are documented in at the top of each file in the source code. + +They own portions of the code, or in cases, the entirety of it. + +resid-fp and slirp folders have their own exceptions. diff --git a/src/cdrom/CMakeLists.txt b/src/cdrom/CMakeLists.txt index eaa50bf2cd..ecd0d934e7 100644 --- a/src/cdrom/CMakeLists.txt +++ b/src/cdrom/CMakeLists.txt @@ -13,4 +13,4 @@ # Copyright 2020,2021 David Hrdlička. # -add_library(cdrom OBJECT cdrom.c cdrom_image_backend.c cdrom_image.c) \ No newline at end of file +add_library(cdrom OBJECT cdrom.c cdrom_image_backend.c cdrom_image.c) diff --git a/src/chipset/CMakeLists.txt b/src/chipset/CMakeLists.txt index 5be4490af1..517630ae44 100644 --- a/src/chipset/CMakeLists.txt +++ b/src/chipset/CMakeLists.txt @@ -23,4 +23,4 @@ add_library(chipset OBJECT 82c100.c acc2168.c cs8230.c ali1429.c ali1489.c ali15 if(OLIVETTI) target_sources(chipset PRIVATE olivetti_eva.c) -endif() \ No newline at end of file +endif() diff --git a/src/chipset/sis_85c310.c b/src/chipset/sis_85c310.c index 6e31f84569..e1130b7339 100644 --- a/src/chipset/sis_85c310.c +++ b/src/chipset/sis_85c310.c @@ -144,4 +144,4 @@ const device_t rabbit_device = { rabbit_init, rabbit_close, NULL, { NULL }, NULL, NULL, NULL -}; \ No newline at end of file +}; diff --git a/src/codegen/CMakeLists.txt b/src/codegen/CMakeLists.txt index 68b13f24da..c5f3eef3d3 100644 --- a/src/codegen/CMakeLists.txt +++ b/src/codegen/CMakeLists.txt @@ -28,4 +28,4 @@ if(DYNAREC) endif() target_link_libraries(86Box dynarec cgt) -endif() \ No newline at end of file +endif() diff --git a/src/codegen_new/CMakeLists.txt b/src/codegen_new/CMakeLists.txt index 54f3b3c6b3..e9f53f4a62 100644 --- a/src/codegen_new/CMakeLists.txt +++ b/src/codegen_new/CMakeLists.txt @@ -48,4 +48,4 @@ if(DYNAREC) endif() target_link_libraries(86Box dynarec cgt) -endif() \ No newline at end of file +endif() diff --git a/src/codegen_new/codegen_backend_arm.h b/src/codegen_new/codegen_backend_arm.h index 87dc2d8a07..8b8936a981 100644 --- a/src/codegen_new/codegen_backend_arm.h +++ b/src/codegen_new/codegen_backend_arm.h @@ -21,4 +21,4 @@ void host_arm_SUB_IMM(codeblock_t *block, int dst_reg, int src_reg, uint32_t imm void host_arm_call(codeblock_t *block, void *dst_addr); void host_arm_nop(codeblock_t *block); -void codegen_alloc(codeblock_t *block, int size); \ No newline at end of file +void codegen_alloc(codeblock_t *block, int size); diff --git a/src/codegen_new/codegen_backend_arm64.h b/src/codegen_new/codegen_backend_arm64.h index b4888d38e7..3e3d165759 100644 --- a/src/codegen_new/codegen_backend_arm64.h +++ b/src/codegen_new/codegen_backend_arm64.h @@ -28,4 +28,4 @@ void host_arm64_STRB_IMM_W(codeblock_t *block, int dest_reg, int base_reg, int o void host_arm64_call(codeblock_t *block, void *dst_addr); void host_arm64_mov_imm(codeblock_t *block, int reg, uint32_t imm_data); -uint32_t host_arm64_find_imm(uint32_t data); \ No newline at end of file +uint32_t host_arm64_find_imm(uint32_t data); diff --git a/src/codegen_new/codegen_backend_arm64_defs.h b/src/codegen_new/codegen_backend_arm64_defs.h index dabfe8ae85..ac2d238da0 100644 --- a/src/codegen_new/codegen_backend_arm64_defs.h +++ b/src/codegen_new/codegen_backend_arm64_defs.h @@ -132,4 +132,4 @@ extern void *codegen_fp_round; extern void *codegen_fp_round_quad; extern void *codegen_gpf_rout; -extern void *codegen_exit_rout; \ No newline at end of file +extern void *codegen_exit_rout; diff --git a/src/codegen_new/codegen_backend_arm64_ops.h b/src/codegen_new/codegen_backend_arm64_ops.h index 2a514edbe9..c89a02311e 100644 --- a/src/codegen_new/codegen_backend_arm64_ops.h +++ b/src/codegen_new/codegen_backend_arm64_ops.h @@ -261,4 +261,4 @@ void host_arm64_mov_imm(codeblock_t *block, int reg, uint32_t imm_data); void codegen_direct_read_8(codeblock_t *block, int host_reg, void *p); -void codegen_alloc(codeblock_t *block, int size); \ No newline at end of file +void codegen_alloc(codeblock_t *block, int size); diff --git a/src/cpu/x86_ops_arith.h b/src/cpu/x86_ops_arith.h index d837d3a644..b068991f85 100644 --- a/src/cpu/x86_ops_arith.h +++ b/src/cpu/x86_ops_arith.h @@ -825,4 +825,3 @@ static int op83_l_a32(uint32_t fetchdat) return 0; } - diff --git a/src/cpu/x86_ops_bitscan.h b/src/cpu/x86_ops_bitscan.h index 46f0fc6059..4f280b81e7 100644 --- a/src/cpu/x86_ops_bitscan.h +++ b/src/cpu/x86_ops_bitscan.h @@ -156,4 +156,3 @@ static int opBSR_l_a32(uint32_t fetchdat) PREFETCH_RUN(instr_cycles, 2, rmdat, 0,(cpu_mod == 3) ? 0:1,0,0, 1); return 0; } - diff --git a/src/cpu/x86_ops_int.h b/src/cpu/x86_ops_int.h index 4e18e6f4bb..91cea97d6d 100644 --- a/src/cpu/x86_ops_int.h +++ b/src/cpu/x86_ops_int.h @@ -88,4 +88,3 @@ static int opINTO(uint32_t fetchdat) PREFETCH_RUN(3, 1, -1, 0,0,0,0, 0); return 0; } - diff --git a/src/cpu/x86_ops_jump.h b/src/cpu/x86_ops_jump.h index c227939a3c..5b257e5cbc 100644 --- a/src/cpu/x86_ops_jump.h +++ b/src/cpu/x86_ops_jump.h @@ -378,4 +378,3 @@ static int opRET_l_imm(uint32_t fetchdat) PREFETCH_FLUSH(); return 0; } - diff --git a/src/cpu/x86_ops_misc.h b/src/cpu/x86_ops_misc.h index a6e7e91934..0264752da4 100644 --- a/src/cpu/x86_ops_misc.h +++ b/src/cpu/x86_ops_misc.h @@ -968,4 +968,4 @@ static int opRSM(uint32_t fetchdat) cpu_state.pc = cpu_state.oldpc; x86illegal(); return 1; -} \ No newline at end of file +} diff --git a/src/cpu/x86_ops_mov_ctrl.h b/src/cpu/x86_ops_mov_ctrl.h index 28504890c9..52d7efcb33 100644 --- a/src/cpu/x86_ops_mov_ctrl.h +++ b/src/cpu/x86_ops_mov_ctrl.h @@ -366,4 +366,3 @@ static int opMOV_TRx_r_a32(uint32_t fetchdat) PREFETCH_RUN(6, 2, rmdat, 0,0,0,0, 1); return 0; } - diff --git a/src/cpu/x86_ops_mul.h b/src/cpu/x86_ops_mul.h index a96ce54a2c..482555fcbc 100644 --- a/src/cpu/x86_ops_mul.h +++ b/src/cpu/x86_ops_mul.h @@ -261,4 +261,3 @@ static int opIMUL_l_l_a32(uint32_t fetchdat) PREFETCH_RUN(30, 2, rmdat, 0,1,0,0, 1); return 0; } - diff --git a/src/cpu/x86_ops_ret.h b/src/cpu/x86_ops_ret.h index 3d63869560..bdcd96bc91 100644 --- a/src/cpu/x86_ops_ret.h +++ b/src/cpu/x86_ops_ret.h @@ -264,4 +264,3 @@ static int opIRETD(uint32_t fetchdat) PREFETCH_FLUSH(); return cpu_state.abrt; } - diff --git a/src/cpu/x87_timings.c b/src/cpu/x87_timings.c index 905ff1c6a3..ca207cc17c 100644 --- a/src/cpu/x87_timings.c +++ b/src/cpu/x87_timings.c @@ -467,4 +467,4 @@ const x87_timings_t x87_concurrency_486 = .fxtract = 4, .fyl2x = 13, .fyl2xp1 = 13, -}; \ No newline at end of file +}; diff --git a/src/cpu/x87_timings.h b/src/cpu/x87_timings.h index c7dac8270a..6396fcb064 100644 --- a/src/cpu/x87_timings.h +++ b/src/cpu/x87_timings.h @@ -56,4 +56,4 @@ extern const x87_timings_t x87_timings_486; extern const x87_timings_t x87_concurrency_486; extern x87_timings_t x87_timings; -extern x87_timings_t x87_concurrency; \ No newline at end of file +extern x87_timings_t x87_concurrency; diff --git a/src/disk/CMakeLists.txt b/src/disk/CMakeLists.txt index f1a101516e..34c373752c 100644 --- a/src/disk/CMakeLists.txt +++ b/src/disk/CMakeLists.txt @@ -22,4 +22,4 @@ add_library(zip OBJECT zip.c) add_library(mo OBJECT mo.c) add_subdirectory(minivhd) -target_link_libraries(86Box minivhd) \ No newline at end of file +target_link_libraries(86Box minivhd) diff --git a/src/disk/minivhd/CMakeLists.txt b/src/disk/minivhd/CMakeLists.txt index a96b871b8e..0cba1fb395 100644 --- a/src/disk/minivhd/CMakeLists.txt +++ b/src/disk/minivhd/CMakeLists.txt @@ -15,4 +15,4 @@ add_library(minivhd STATIC cwalk.c libxml2_encoding.c minivhd_convert.c minivhd_create.c minivhd_io.c minivhd_manage.c minivhd_struct_rw.c - minivhd_util.c) \ No newline at end of file + minivhd_util.c) diff --git a/src/disk/minivhd/LICENSE b/src/disk/minivhd/LICENSE index 2997be44ab..af72991850 100644 --- a/src/disk/minivhd/LICENSE +++ b/src/disk/minivhd/LICENSE @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE. diff --git a/src/disk/minivhd/libxml2_encoding.c b/src/disk/minivhd/libxml2_encoding.c index cb881a89be..1c9575b72b 100644 --- a/src/disk/minivhd/libxml2_encoding.c +++ b/src/disk/minivhd/libxml2_encoding.c @@ -444,4 +444,4 @@ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. */ \ No newline at end of file +THE SOFTWARE. */ diff --git a/src/disk/minivhd/libxml2_encoding.h b/src/disk/minivhd/libxml2_encoding.h index 831aea4af9..d86770b86b 100644 --- a/src/disk/minivhd/libxml2_encoding.h +++ b/src/disk/minivhd/libxml2_encoding.h @@ -9,4 +9,4 @@ int UTF16LEToUTF8(unsigned char* out, int *outlen, const unsigned char* inb, int int UTF8ToUTF16LE(unsigned char* outb, int *outlen, const unsigned char* in, int *inlen); int UTF16BEToUTF8(unsigned char* out, int *outlen, const unsigned char* inb, int *inlenb); int UTF8ToUTF16BE(unsigned char* outb, int *outlen, const unsigned char* in, int *inlen); -#endif \ No newline at end of file +#endif diff --git a/src/disk/minivhd/minivhd.h b/src/disk/minivhd/minivhd.h index 0d925f71a9..357c91e15a 100644 --- a/src/disk/minivhd/minivhd.h +++ b/src/disk/minivhd/minivhd.h @@ -266,4 +266,4 @@ int mvhd_write_sectors(MVHDMeta* vhdm, uint32_t offset, int num_sectors, void* i * \return the number of sectors that were not written, or zero */ int mvhd_format_sectors(MVHDMeta* vhdm, uint32_t offset, int num_sectors); -#endif \ No newline at end of file +#endif diff --git a/src/disk/minivhd/minivhd_convert.c b/src/disk/minivhd/minivhd_convert.c index 1de6f46139..8e712e4117 100644 --- a/src/disk/minivhd/minivhd_convert.c +++ b/src/disk/minivhd/minivhd_convert.c @@ -105,4 +105,4 @@ FILE* mvhd_convert_to_raw(const char* utf8_vhd_path, const char* utf8_raw_path, mvhd_close(vhdm); mvhd_fseeko64(raw_img, 0, SEEK_SET); return raw_img; -} \ No newline at end of file +} diff --git a/src/disk/minivhd/minivhd_create.c b/src/disk/minivhd/minivhd_create.c index c47c7d82d0..c1725c4ac9 100644 --- a/src/disk/minivhd/minivhd_create.c +++ b/src/disk/minivhd/minivhd_create.c @@ -482,4 +482,4 @@ MVHDMeta* mvhd_create_ex(MVHDCreationOptions options, int* err) { } return NULL; /* Make the compiler happy */ -} \ No newline at end of file +} diff --git a/src/disk/minivhd/minivhd_create.h b/src/disk/minivhd/minivhd_create.h index 9840d19ff7..203834a712 100644 --- a/src/disk/minivhd/minivhd_create.h +++ b/src/disk/minivhd/minivhd_create.h @@ -5,4 +5,4 @@ MVHDMeta* mvhd_create_fixed_raw(const char* path, FILE* raw_img, uint64_t size_in_bytes, MVHDGeom* geom, int* err, mvhd_progress_callback progress_callback); -#endif \ No newline at end of file +#endif diff --git a/src/disk/minivhd/minivhd_internal.h b/src/disk/minivhd/minivhd_internal.h index ea75284f8e..9f4db19d0e 100644 --- a/src/disk/minivhd/minivhd_internal.h +++ b/src/disk/minivhd/minivhd_internal.h @@ -93,4 +93,4 @@ struct MVHDMeta { } format_buffer; }; -#endif \ No newline at end of file +#endif diff --git a/src/disk/minivhd/minivhd_io.h b/src/disk/minivhd/minivhd_io.h index cdbfa6d775..0f4017a584 100644 --- a/src/disk/minivhd/minivhd_io.h +++ b/src/disk/minivhd/minivhd_io.h @@ -129,4 +129,4 @@ int mvhd_sparse_diff_write(MVHDMeta* vhdm, uint32_t offset, int num_sectors, voi */ int mvhd_noop_write(MVHDMeta* vhdm, uint32_t offset, int num_sectors, void* in_buff); -#endif \ No newline at end of file +#endif diff --git a/src/disk/minivhd/minivhd_manage.c b/src/disk/minivhd/minivhd_manage.c index e9473c0e3d..97eed8e28d 100644 --- a/src/disk/minivhd/minivhd_manage.c +++ b/src/disk/minivhd/minivhd_manage.c @@ -532,4 +532,4 @@ int mvhd_format_sectors(MVHDMeta* vhdm, uint32_t offset, int num_sectors) { } vhdm->write_sectors(vhdm, offset, remain, vhdm->format_buffer.zero_data); return 0; -} \ No newline at end of file +} diff --git a/src/disk/minivhd/minivhd_struct_rw.c b/src/disk/minivhd/minivhd_struct_rw.c index c77fa600a4..bef659073a 100644 --- a/src/disk/minivhd/minivhd_struct_rw.c +++ b/src/disk/minivhd/minivhd_struct_rw.c @@ -164,4 +164,4 @@ void mvhd_header_to_buffer(MVHDSparseHeader* header, uint8_t* buffer) { mvhd_next_struct_to_buffer(&header->par_loc_entry[i].plat_data_offset, sizeof header->par_loc_entry[i].plat_data_offset, true, &buff_ptr); } mvhd_next_struct_to_buffer(&header->reserved_2, sizeof header->reserved_2, false, &buff_ptr); -} \ No newline at end of file +} diff --git a/src/disk/minivhd/minivhd_struct_rw.h b/src/disk/minivhd/minivhd_struct_rw.h index ee49bb6966..a587177e0e 100644 --- a/src/disk/minivhd/minivhd_struct_rw.h +++ b/src/disk/minivhd/minivhd_struct_rw.h @@ -35,4 +35,4 @@ void mvhd_footer_to_buffer(MVHDFooter* footer, uint8_t* buffer); */ void mvhd_header_to_buffer(MVHDSparseHeader* header, uint8_t* buffer); -#endif \ No newline at end of file +#endif diff --git a/src/fifo8.c b/src/fifo8.c index 34e90d5914..a6f7f1e0eb 100644 --- a/src/fifo8.c +++ b/src/fifo8.c @@ -113,4 +113,3 @@ uint32_t fifo8_num_used(Fifo8 *fifo) { return fifo->num; } - diff --git a/src/floppy/CMakeLists.txt b/src/floppy/CMakeLists.txt index 4517bc634b..a30bebd71e 100644 --- a/src/floppy/CMakeLists.txt +++ b/src/floppy/CMakeLists.txt @@ -14,4 +14,4 @@ # add_library(fdd OBJECT fdd.c fdc.c fdc_magitronic.c fdc_pii15xb.c fdi2raw.c fdd_common.c - fdd_86f.c fdd_fdi.c fdd_imd.c fdd_img.c fdd_json.c fdd_mfm.c fdd_td0.c) \ No newline at end of file + fdd_86f.c fdd_fdi.c fdd_imd.c fdd_img.c fdd_json.c fdd_mfm.c fdd_td0.c) diff --git a/src/floppy/fdi2raw.c b/src/floppy/fdi2raw.c index ffa722d741..04c422d212 100644 --- a/src/floppy/fdi2raw.c +++ b/src/floppy/fdi2raw.c @@ -2209,4 +2209,3 @@ int fdi2raw_loadtrack (FDI *fdi, uae_u16 *mfmbuf, uae_u16 *tracktiming, int trac } return outlen; } - diff --git a/src/floppy/lzf/LICENSE b/src/floppy/lzf/LICENSE index ee54ff7179..b3a284d086 100644 --- a/src/floppy/lzf/LICENSE +++ b/src/floppy/lzf/LICENSE @@ -24,4 +24,3 @@ OF THE POSSIBILITY OF SUCH DAMAGE. Alternatively, the following files carry an additional notice that explicitly allows relicensing under the GPLv2: lzf.c lzf.h lzfP.h lzf_c.c lzf_d.c - diff --git a/src/floppy/lzf/README b/src/floppy/lzf/README index 0734ebe065..ebfd97e075 100644 --- a/src/floppy/lzf/README +++ b/src/floppy/lzf/README @@ -25,5 +25,3 @@ DESCRIPTION AUTHOR This library was written by Marc Lehmann (See also http://software.schmorp.de/pkg/liblzf). - - diff --git a/src/floppy/lzf/crc32.h b/src/floppy/lzf/crc32.h index cf8f6d4097..5a88cd5ffd 100644 --- a/src/floppy/lzf/crc32.h +++ b/src/floppy/lzf/crc32.h @@ -62,4 +62,3 @@ static const u32 crc_32_tab[] = #define crc32(crc,byte) (crc_32_tab[(u8)(crc) ^ (u8)(byte)] ^ ((crc) >> 8)) #endif - diff --git a/src/floppy/lzf/lzf.c b/src/floppy/lzf/lzf.c index bedfdb6fea..b231f54635 100644 --- a/src/floppy/lzf/lzf.c +++ b/src/floppy/lzf/lzf.c @@ -534,4 +534,3 @@ main (int argc, char *argv[]) exit (rc ? 1 : 0); } - diff --git a/src/floppy/lzf/lzf.h b/src/floppy/lzf/lzf.h index 919b6e6be2..7fa0a4408d 100644 --- a/src/floppy/lzf/lzf.h +++ b/src/floppy/lzf/lzf.h @@ -97,4 +97,3 @@ lzf_decompress (const void *const in_data, unsigned int in_len, void *out_data, unsigned int out_len); #endif - diff --git a/src/floppy/lzf/lzfP.h b/src/floppy/lzf/lzfP.h index 11c965ca30..63e2d78c2e 100644 --- a/src/floppy/lzf/lzfP.h +++ b/src/floppy/lzf/lzfP.h @@ -182,4 +182,3 @@ typedef LZF_HSLOT LZF_STATE[1 << (HLOG)]; #endif #endif - diff --git a/src/floppy/lzf/lzf_c.c b/src/floppy/lzf/lzf_c.c index 8ba4d0b845..154b0b2cca 100644 --- a/src/floppy/lzf/lzf_c.c +++ b/src/floppy/lzf/lzf_c.c @@ -290,4 +290,3 @@ lzf_compress (const void *const in_data, unsigned int in_len, return op - (u8 *)out_data; } - diff --git a/src/floppy/lzf/lzf_d.c b/src/floppy/lzf/lzf_d.c index 8433b8f1fb..3f6a11c7e3 100644 --- a/src/floppy/lzf/lzf_d.c +++ b/src/floppy/lzf/lzf_d.c @@ -182,4 +182,3 @@ lzf_decompress (const void *const in_data, unsigned int in_len, return op - (u8 *)out_data; } - diff --git a/src/game/CMakeLists.txt b/src/game/CMakeLists.txt index c8fbb41fff..ee78c26500 100644 --- a/src/game/CMakeLists.txt +++ b/src/game/CMakeLists.txt @@ -14,4 +14,4 @@ # add_library(game OBJECT gameport.c joystick_standard.c - joystick_ch_flightstick_pro.c joystick_sw_pad.c joystick_tm_fcs.c) \ No newline at end of file + joystick_ch_flightstick_pro.c joystick_sw_pad.c joystick_tm_fcs.c) diff --git a/src/mac/CMakeLists.txt b/src/mac/CMakeLists.txt index 6682d5bcd3..ae3837f0eb 100644 --- a/src/mac/CMakeLists.txt +++ b/src/mac/CMakeLists.txt @@ -51,4 +51,4 @@ set_target_properties(86Box set(CMAKE_XCODE_ATTRIBUTE_OTHER_CODE_SIGN_FLAGS "-o linker-signed") set(XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "YES") set(XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "-") -#set(XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS ${CMAKE_CURRENT_SOURCE_DIR}/mac/codesign/dev/app.entitlements) \ No newline at end of file +#set(XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS ${CMAKE_CURRENT_SOURCE_DIR}/mac/codesign/dev/app.entitlements) diff --git a/src/mac/macOSXGlue.m b/src/mac/macOSXGlue.m index 07b8c35525..d23c9abb82 100644 --- a/src/mac/macOSXGlue.m +++ b/src/mac/macOSXGlue.m @@ -41,5 +41,3 @@ void getDefaultROMPath(char* Path) strcpy(Path,[appDirectory fileSystemRepresentation]); // return appDirectory; } - - diff --git a/src/machine/CMakeLists.txt b/src/machine/CMakeLists.txt index a20c105feb..f642903aec 100644 --- a/src/machine/CMakeLists.txt +++ b/src/machine/CMakeLists.txt @@ -35,4 +35,4 @@ endif() if(OPEN_AT) target_compile_definitions(mch PRIVATE USE_OPEN_AT) -endif() \ No newline at end of file +endif() diff --git a/src/machine/m_at_socket5.c b/src/machine/m_at_socket5.c index 4a1bb9802c..1cc0cb3465 100644 --- a/src/machine/m_at_socket5.c +++ b/src/machine/m_at_socket5.c @@ -410,4 +410,4 @@ machine_at_sq588_init(const machine_t *model) device_add(&sst_flash_29ee010_device); return ret; -} \ No newline at end of file +} diff --git a/src/machine/m_ps1.c b/src/machine/m_ps1.c index 47b8121e07..445c53e951 100644 --- a/src/machine/m_ps1.c +++ b/src/machine/m_ps1.c @@ -371,4 +371,3 @@ machine_ps1_m2121_init(const machine_t *model) return ret; } - diff --git a/src/machine/m_ps2_mca.c b/src/machine/m_ps2_mca.c index 549168ffbd..e1e5d0a1ca 100644 --- a/src/machine/m_ps2_mca.c +++ b/src/machine/m_ps2_mca.c @@ -1462,4 +1462,4 @@ machine_ps2_model_80_axx_init(const machine_t *model) ps2_mca_board_model_70_type34_init(0, 8); return ret; -} \ No newline at end of file +} diff --git a/src/machine/m_xt_philips.c b/src/machine/m_xt_philips.c index 753d1300b3..13751bd4be 100644 --- a/src/machine/m_xt_philips.c +++ b/src/machine/m_xt_philips.c @@ -201,4 +201,3 @@ machine_xt_p3120_init(const machine_t *model) return ret; } - diff --git a/src/machine/m_xt_zenith.c b/src/machine/m_xt_zenith.c index 19f2bc7486..cff4cb6290 100644 --- a/src/machine/m_xt_zenith.c +++ b/src/machine/m_xt_zenith.c @@ -204,4 +204,4 @@ machine_xt_z159_init(const machine_t *model) lpt1_init(0x278); return ret; -} \ No newline at end of file +} diff --git a/src/mem/CMakeLists.txt b/src/mem/CMakeLists.txt index 4e9e7917d3..9eae342fd9 100644 --- a/src/mem/CMakeLists.txt +++ b/src/mem/CMakeLists.txt @@ -14,4 +14,4 @@ # add_library(mem OBJECT catalyst_flash.c i2c_eeprom.c intel_flash.c mem.c rom.c - smram.c spd.c sst_flash.c) \ No newline at end of file + smram.c spd.c sst_flash.c) diff --git a/src/minitrace/minitrace.c b/src/minitrace/minitrace.c index 32d2ebcae3..c0ab767623 100644 --- a/src/minitrace/minitrace.c +++ b/src/minitrace/minitrace.c @@ -562,4 +562,3 @@ void internal_mtr_raw_event_arg(const char *category, const char *name, char ph, --events_in_progress; pthread_mutex_unlock(&event_mutex); } - diff --git a/src/printer/CMakeLists.txt b/src/printer/CMakeLists.txt index 0f6c0e38dc..5990789bbd 100644 --- a/src/printer/CMakeLists.txt +++ b/src/printer/CMakeLists.txt @@ -13,4 +13,4 @@ # Copyright 2020,2021 David Hrdlička. # -add_library(print OBJECT png.c prt_cpmap.c prt_escp.c prt_text.c prt_ps.c) \ No newline at end of file +add_library(print OBJECT png.c prt_cpmap.c prt_escp.c prt_text.c prt_ps.c) diff --git a/src/qt/qt_progsettings.cpp b/src/qt/qt_progsettings.cpp index 08e9728012..9e39c4844a 100644 --- a/src/qt/qt_progsettings.cpp +++ b/src/qt/qt_progsettings.cpp @@ -193,4 +193,3 @@ void ProgSettings::on_pushButtonLanguage_released() { ui->comboBoxLanguage->setCurrentIndex(0); } - diff --git a/src/qt/qt_settingsfloppycdrom.cpp b/src/qt/qt_settingsfloppycdrom.cpp index ba2c1d6019..d567dd7c9b 100644 --- a/src/qt/qt_settingsfloppycdrom.cpp +++ b/src/qt/qt_settingsfloppycdrom.cpp @@ -250,4 +250,3 @@ void SettingsFloppyCDROM::on_comboBoxChannel_activated(int) { ui->comboBoxChannel->currentData().toUInt()); Harddrives::busTrackClass->device_track(1, DEV_CDROM, ui->tableViewCDROM->model()->data(i, Qt::UserRole).toInt(), ui->tableViewCDROM->model()->data(i, Qt::UserRole + 1).toInt()); } - diff --git a/src/qt/qt_settingsharddisks.cpp b/src/qt/qt_settingsharddisks.cpp index 25fc06bfe5..43cd3fc9c6 100644 --- a/src/qt/qt_settingsharddisks.cpp +++ b/src/qt/qt_settingsharddisks.cpp @@ -294,4 +294,3 @@ void SettingsHarddisks::on_pushButtonRemove_clicked() { ui->pushButtonNew->setEnabled(true); ui->pushButtonExisting->setEnabled(true); } - diff --git a/src/qt/qt_settingsinput.cpp b/src/qt/qt_settingsinput.cpp index c735153d9d..7408db5d47 100644 --- a/src/qt/qt_settingsinput.cpp +++ b/src/qt/qt_settingsinput.cpp @@ -200,4 +200,3 @@ void SettingsInput::on_pushButtonJoystick3_clicked() { void SettingsInput::on_pushButtonJoystick4_clicked() { updateJoystickConfig(ui->comboBoxJoystick->currentData().toInt(), 3, this); } - diff --git a/src/qt/qt_settingsnetwork.cpp b/src/qt/qt_settingsnetwork.cpp index 98b1ac4860..437ed3647d 100644 --- a/src/qt/qt_settingsnetwork.cpp +++ b/src/qt/qt_settingsnetwork.cpp @@ -136,4 +136,3 @@ void SettingsNetwork::on_comboBoxPcap_currentIndexChanged(int index) enableElements(ui); } - diff --git a/src/qt/qt_settingsports.cpp b/src/qt/qt_settingsports.cpp index dbabae73cb..697e6cddff 100644 --- a/src/qt/qt_settingsports.cpp +++ b/src/qt/qt_settingsports.cpp @@ -101,4 +101,3 @@ void SettingsPorts::on_checkBoxParallel3_stateChanged(int state) { void SettingsPorts::on_checkBoxParallel4_stateChanged(int state) { ui->comboBoxLpt4->setEnabled(state == Qt::Checked); } - diff --git a/src/qt/qt_soundgain.cpp b/src/qt/qt_soundgain.cpp index 7b3f7cc04a..26ac3dd735 100644 --- a/src/qt/qt_soundgain.cpp +++ b/src/qt/qt_soundgain.cpp @@ -48,4 +48,3 @@ void SoundGain::on_SoundGain_rejected() { sound_gain = sound_gain_orig; } - diff --git a/src/qt/qt_specifydimensions.cpp b/src/qt/qt_specifydimensions.cpp index caf831466b..0ab3465abf 100644 --- a/src/qt/qt_specifydimensions.cpp +++ b/src/qt/qt_specifydimensions.cpp @@ -89,4 +89,3 @@ void SpecifyDimensions::on_SpecifyDimensions_accepted() main_window->show(); emit main_window->updateWindowRememberOption(); } - diff --git a/src/qt/win_joystick_rawinput.c b/src/qt/win_joystick_rawinput.c index be808fc479..a650d5339b 100644 --- a/src/qt/win_joystick_rawinput.c +++ b/src/qt/win_joystick_rawinput.c @@ -468,4 +468,3 @@ void joystick_process(void) } } } - diff --git a/src/qt/wl_mouse.hpp b/src/qt/wl_mouse.hpp index 73e81c2089..a62d70fee9 100644 --- a/src/qt/wl_mouse.hpp +++ b/src/qt/wl_mouse.hpp @@ -2,4 +2,4 @@ class QWindow; void wl_mouse_capture(QWindow* window); void wl_mouse_uncapture(); void wl_mouse_poll(); -void wl_init(); \ No newline at end of file +void wl_init(); diff --git a/src/scsi/CMakeLists.txt b/src/scsi/CMakeLists.txt index 6b0ebd10e2..4518e0aa8b 100644 --- a/src/scsi/CMakeLists.txt +++ b/src/scsi/CMakeLists.txt @@ -15,4 +15,4 @@ add_library(scsi OBJECT scsi.c scsi_device.c scsi_cdrom.c scsi_disk.c scsi_x54x.c scsi_aha154x.c scsi_buslogic.c scsi_ncr5380.c - scsi_ncr53c8xx.c scsi_pcscsi.c scsi_spock.c) \ No newline at end of file + scsi_ncr53c8xx.c scsi_pcscsi.c scsi_spock.c) diff --git a/src/sio/CMakeLists.txt b/src/sio/CMakeLists.txt index 482c2c2d67..52677a5443 100644 --- a/src/sio/CMakeLists.txt +++ b/src/sio/CMakeLists.txt @@ -23,4 +23,4 @@ add_library(sio OBJECT sio_acc3221.c sio_f82c710.c sio_82091aa.c sio_fdc37c6xx.c if(SIO_DETECT) target_sources(sio PRIVATE sio_detect.c) -endif() \ No newline at end of file +endif() diff --git a/src/sio/sio_pc87310.c b/src/sio/sio_pc87310.c index 424a9524b8..14c15a3784 100644 --- a/src/sio/sio_pc87310.c +++ b/src/sio/sio_pc87310.c @@ -282,4 +282,4 @@ const device_t pc87310_ide_device = { pc87310_init, pc87310_close, NULL, { NULL }, NULL, NULL, NULL -}; \ No newline at end of file +}; diff --git a/src/sound/CMakeLists.txt b/src/sound/CMakeLists.txt index 8879b0378d..e8d6c6f20a 100644 --- a/src/sound/CMakeLists.txt +++ b/src/sound/CMakeLists.txt @@ -60,4 +60,4 @@ if(TANDY_ISA) endif() add_subdirectory(resid-fp) -target_link_libraries(86Box resid-fp) \ No newline at end of file +target_link_libraries(86Box resid-fp) diff --git a/src/sound/snd_emu8k.c b/src/sound/snd_emu8k.c index 8f324cfaa5..81e9625d08 100644 --- a/src/sound/snd_emu8k.c +++ b/src/sound/snd_emu8k.c @@ -2404,4 +2404,3 @@ void emu8k_close(emu8k_t *emu8k) free(emu8k->rom); free(emu8k->ram); } - diff --git a/src/sound/snd_wss.c b/src/sound/snd_wss.c index d9739958ca..d691e69642 100644 --- a/src/sound/snd_wss.c +++ b/src/sound/snd_wss.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include <86box/86box.h> #include <86box/io.h> #include <86box/timer.h> diff --git a/src/video/CMakeLists.txt b/src/video/CMakeLists.txt index c58b2f0548..b3182afe80 100644 --- a/src/video/CMakeLists.txt +++ b/src/video/CMakeLists.txt @@ -52,4 +52,4 @@ endif() # that cause ~3000 lines to be output into the logs each time if(CMAKE_C_COMPILER_ID STREQUAL "GNU") target_compile_options(voodoo PRIVATE "-Wstringop-overflow=0") -endif() \ No newline at end of file +endif() diff --git a/src/video/vid_ati_eeprom.c b/src/video/vid_ati_eeprom.c index 3d14474f2c..eaa86979f3 100644 --- a/src/video/vid_ati_eeprom.c +++ b/src/video/vid_ati_eeprom.c @@ -208,4 +208,3 @@ int ati_eeprom_read(ati_eeprom_t *eeprom) { return eeprom->out; } - diff --git a/src/video/vid_att20c49x_ramdac.c b/src/video/vid_att20c49x_ramdac.c index e533015b0b..796bb6bcdb 100644 --- a/src/video/vid_att20c49x_ramdac.c +++ b/src/video/vid_att20c49x_ramdac.c @@ -200,4 +200,4 @@ const device_t att492_ramdac_device = 0, ATT_492, att49x_ramdac_init, att49x_ramdac_close, NULL, { NULL }, NULL, NULL -}; \ No newline at end of file +}; diff --git a/src/video/vid_att2xc498_ramdac.c b/src/video/vid_att2xc498_ramdac.c index 122a97d2cc..4336526b37 100644 --- a/src/video/vid_att2xc498_ramdac.c +++ b/src/video/vid_att2xc498_ramdac.c @@ -184,4 +184,4 @@ const device_t att498_ramdac_device = 0, 0, att498_ramdac_init, att498_ramdac_close, NULL, { NULL }, NULL, NULL -}; \ No newline at end of file +}; diff --git a/src/video/vid_av9194.c b/src/video/vid_av9194.c index a2e2086213..95b6aac9cc 100644 --- a/src/video/vid_av9194.c +++ b/src/video/vid_av9194.c @@ -103,4 +103,3 @@ const device_t av9194_device = av9194_init, NULL, NULL, { NULL }, NULL, NULL }; - diff --git a/src/video/vid_rtg310x.c b/src/video/vid_rtg310x.c index 4ab0a2d8b8..be91af0fc6 100644 --- a/src/video/vid_rtg310x.c +++ b/src/video/vid_rtg310x.c @@ -392,4 +392,4 @@ const device_t realtek_rtg3106_device = { rtg_speed_changed, rtg_force_redraw, rtg_config -}; \ No newline at end of file +}; diff --git a/src/video/vid_sc1148x_ramdac.c b/src/video/vid_sc1148x_ramdac.c index 0134c31d74..c94040a267 100644 --- a/src/video/vid_sc1148x_ramdac.c +++ b/src/video/vid_sc1148x_ramdac.c @@ -186,4 +186,4 @@ const device_t sc11486_ramdac_device = 0, 3, sc1148x_ramdac_init, sc1148x_ramdac_close, NULL, { NULL }, NULL, NULL -}; \ No newline at end of file +}; diff --git a/src/video/vid_voodoo_banshee.c b/src/video/vid_voodoo_banshee.c index 64f2b2b1be..52ed86bff5 100644 --- a/src/video/vid_voodoo_banshee.c +++ b/src/video/vid_voodoo_banshee.c @@ -3074,4 +3074,4 @@ const device_t velocity_100_agp_device = banshee_speed_changed, banshee_force_redraw, banshee_sdram_config -}; \ No newline at end of file +}; diff --git a/src/win/glad.c b/src/win/glad.c index 8e2e4ce137..8e0da2f368 100644 --- a/src/win/glad.c +++ b/src/win/glad.c @@ -981,4 +981,3 @@ int gladLoadGLLoader(GLADloadproc load) { load_GL_ARB_sync(load); return GLVersion.major != 0 || GLVersion.minor != 0; } - diff --git a/src/win/win_icon.c b/src/win/win_icon.c index 33a5932ef8..ffe378329e 100644 --- a/src/win/win_icon.c +++ b/src/win/win_icon.c @@ -161,4 +161,4 @@ void win_load_icon_set() set_language(curr_lang); ToolBarLoadIcons(); -} \ No newline at end of file +} diff --git a/src/win/win_joystick_rawinput.c b/src/win/win_joystick_rawinput.c index be808fc479..a650d5339b 100644 --- a/src/win/win_joystick_rawinput.c +++ b/src/win/win_joystick_rawinput.c @@ -468,4 +468,3 @@ void joystick_process(void) } } } - diff --git a/src/win/win_opengl.c b/src/win/win_opengl.c index 9bb13561df..65aa10b6a1 100644 --- a/src/win/win_opengl.c +++ b/src/win/win_opengl.c @@ -1042,4 +1042,4 @@ void opengl_reload(void) thread_release_mutex(options.mutex); SetEvent(sync_objects.reload); -} \ No newline at end of file +} diff --git a/src/win/win_opengl_glslp.c b/src/win/win_opengl_glslp.c index 0537da8993..d4debb3436 100644 --- a/src/win/win_opengl_glslp.c +++ b/src/win/win_opengl_glslp.c @@ -269,4 +269,4 @@ GLuint load_default_shaders() glDeleteShader(fragment_id); return prog_id; -} \ No newline at end of file +}