newlines at end of file

This commit is contained in:
Jasmine Iwanek 2022-02-18 21:38:51 -05:00
parent 30e0c7f21b
commit 4287e44824
86 changed files with 55 additions and 92 deletions

10
AUTHORS
View file

@ -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.
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.

View file

@ -13,4 +13,4 @@
# Copyright 2020,2021 David Hrdlička.
#
add_library(cdrom OBJECT cdrom.c cdrom_image_backend.c cdrom_image.c)
add_library(cdrom OBJECT cdrom.c cdrom_image_backend.c cdrom_image.c)

View file

@ -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()
endif()

View file

@ -144,4 +144,4 @@ const device_t rabbit_device = {
rabbit_init, rabbit_close, NULL,
{ NULL }, NULL, NULL,
NULL
};
};

View file

@ -28,4 +28,4 @@ if(DYNAREC)
endif()
target_link_libraries(86Box dynarec cgt)
endif()
endif()

View file

@ -48,4 +48,4 @@ if(DYNAREC)
endif()
target_link_libraries(86Box dynarec cgt)
endif()
endif()

View file

@ -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);
void codegen_alloc(codeblock_t *block, int size);

View file

@ -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);
uint32_t host_arm64_find_imm(uint32_t data);

View file

@ -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;
extern void *codegen_exit_rout;

View file

@ -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);
void codegen_alloc(codeblock_t *block, int size);

View file

@ -825,4 +825,3 @@ static int op83_l_a32(uint32_t fetchdat)
return 0;
}

View file

@ -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;
}

View file

@ -88,4 +88,3 @@ static int opINTO(uint32_t fetchdat)
PREFETCH_RUN(3, 1, -1, 0,0,0,0, 0);
return 0;
}

View file

@ -378,4 +378,3 @@ static int opRET_l_imm(uint32_t fetchdat)
PREFETCH_FLUSH();
return 0;
}

View file

@ -968,4 +968,4 @@ static int opRSM(uint32_t fetchdat)
cpu_state.pc = cpu_state.oldpc;
x86illegal();
return 1;
}
}

View file

@ -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;
}

View file

@ -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;
}

View file

@ -264,4 +264,3 @@ static int opIRETD(uint32_t fetchdat)
PREFETCH_FLUSH();
return cpu_state.abrt;
}

View file

@ -467,4 +467,4 @@ const x87_timings_t x87_concurrency_486 =
.fxtract = 4,
.fyl2x = 13,
.fyl2xp1 = 13,
};
};

View file

@ -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;
extern x87_timings_t x87_concurrency;

View file

@ -22,4 +22,4 @@ add_library(zip OBJECT zip.c)
add_library(mo OBJECT mo.c)
add_subdirectory(minivhd)
target_link_libraries(86Box minivhd)
target_link_libraries(86Box minivhd)

View file

@ -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)
minivhd_util.c)

View file

@ -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.
SOFTWARE.

View file

@ -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. */
THE SOFTWARE. */

View file

@ -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
#endif

View file

@ -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
#endif

View file

@ -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;
}
}

View file

@ -482,4 +482,4 @@ MVHDMeta* mvhd_create_ex(MVHDCreationOptions options, int* err) {
}
return NULL; /* Make the compiler happy */
}
}

View file

@ -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
#endif

View file

@ -93,4 +93,4 @@ struct MVHDMeta {
} format_buffer;
};
#endif
#endif

View file

@ -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
#endif

View file

@ -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;
}
}

View file

@ -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);
}
}

View file

@ -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
#endif

View file

@ -113,4 +113,3 @@ uint32_t fifo8_num_used(Fifo8 *fifo)
{
return fifo->num;
}

View file

@ -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)
fdd_86f.c fdd_fdi.c fdd_imd.c fdd_img.c fdd_json.c fdd_mfm.c fdd_td0.c)

View file

@ -2209,4 +2209,3 @@ int fdi2raw_loadtrack (FDI *fdi, uae_u16 *mfmbuf, uae_u16 *tracktiming, int trac
}
return outlen;
}

View file

@ -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

View file

@ -25,5 +25,3 @@ DESCRIPTION
AUTHOR
This library was written by Marc Lehmann <schmorp@schmorp.de> (See also
http://software.schmorp.de/pkg/liblzf).

View file

@ -62,4 +62,3 @@ static const u32 crc_32_tab[] =
#define crc32(crc,byte) (crc_32_tab[(u8)(crc) ^ (u8)(byte)] ^ ((crc) >> 8))
#endif

View file

@ -534,4 +534,3 @@ main (int argc, char *argv[])
exit (rc ? 1 : 0);
}

View file

@ -97,4 +97,3 @@ lzf_decompress (const void *const in_data, unsigned int in_len,
void *out_data, unsigned int out_len);
#endif

View file

@ -182,4 +182,3 @@ typedef LZF_HSLOT LZF_STATE[1 << (HLOG)];
#endif
#endif

View file

@ -290,4 +290,3 @@ lzf_compress (const void *const in_data, unsigned int in_len,
return op - (u8 *)out_data;
}

View file

@ -182,4 +182,3 @@ lzf_decompress (const void *const in_data, unsigned int in_len,
return op - (u8 *)out_data;
}

View file

@ -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)
joystick_ch_flightstick_pro.c joystick_sw_pad.c joystick_tm_fcs.c)

View file

@ -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)
#set(XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS ${CMAKE_CURRENT_SOURCE_DIR}/mac/codesign/dev/app.entitlements)

View file

@ -41,5 +41,3 @@ void getDefaultROMPath(char* Path)
strcpy(Path,[appDirectory fileSystemRepresentation]);
// return appDirectory;
}

View file

@ -35,4 +35,4 @@ endif()
if(OPEN_AT)
target_compile_definitions(mch PRIVATE USE_OPEN_AT)
endif()
endif()

View file

@ -410,4 +410,4 @@ machine_at_sq588_init(const machine_t *model)
device_add(&sst_flash_29ee010_device);
return ret;
}
}

View file

@ -371,4 +371,3 @@ machine_ps1_m2121_init(const machine_t *model)
return ret;
}

View file

@ -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;
}
}

View file

@ -201,4 +201,3 @@ machine_xt_p3120_init(const machine_t *model)
return ret;
}

View file

@ -204,4 +204,4 @@ machine_xt_z159_init(const machine_t *model)
lpt1_init(0x278);
return ret;
}
}

View file

@ -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)
smram.c spd.c sst_flash.c)

View file

@ -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);
}

View file

@ -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)
add_library(print OBJECT png.c prt_cpmap.c prt_escp.c prt_text.c prt_ps.c)

View file

@ -193,4 +193,3 @@ void ProgSettings::on_pushButtonLanguage_released()
{
ui->comboBoxLanguage->setCurrentIndex(0);
}

View file

@ -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());
}

View file

@ -294,4 +294,3 @@ void SettingsHarddisks::on_pushButtonRemove_clicked() {
ui->pushButtonNew->setEnabled(true);
ui->pushButtonExisting->setEnabled(true);
}

View file

@ -200,4 +200,3 @@ void SettingsInput::on_pushButtonJoystick3_clicked() {
void SettingsInput::on_pushButtonJoystick4_clicked() {
updateJoystickConfig(ui->comboBoxJoystick->currentData().toInt(), 3, this);
}

View file

@ -136,4 +136,3 @@ void SettingsNetwork::on_comboBoxPcap_currentIndexChanged(int index)
enableElements(ui);
}

View file

@ -101,4 +101,3 @@ void SettingsPorts::on_checkBoxParallel3_stateChanged(int state) {
void SettingsPorts::on_checkBoxParallel4_stateChanged(int state) {
ui->comboBoxLpt4->setEnabled(state == Qt::Checked);
}

View file

@ -48,4 +48,3 @@ void SoundGain::on_SoundGain_rejected()
{
sound_gain = sound_gain_orig;
}

View file

@ -89,4 +89,3 @@ void SpecifyDimensions::on_SpecifyDimensions_accepted()
main_window->show();
emit main_window->updateWindowRememberOption();
}

View file

@ -468,4 +468,3 @@ void joystick_process(void)
}
}
}

View file

@ -2,4 +2,4 @@ class QWindow;
void wl_mouse_capture(QWindow* window);
void wl_mouse_uncapture();
void wl_mouse_poll();
void wl_init();
void wl_init();

View file

@ -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)
scsi_ncr53c8xx.c scsi_pcscsi.c scsi_spock.c)

View file

@ -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()
endif()

View file

@ -282,4 +282,4 @@ const device_t pc87310_ide_device = {
pc87310_init, pc87310_close, NULL,
{ NULL }, NULL, NULL,
NULL
};
};

View file

@ -60,4 +60,4 @@ if(TANDY_ISA)
endif()
add_subdirectory(resid-fp)
target_link_libraries(86Box resid-fp)
target_link_libraries(86Box resid-fp)

View file

@ -2404,4 +2404,3 @@ void emu8k_close(emu8k_t *emu8k)
free(emu8k->rom);
free(emu8k->ram);
}

View file

@ -21,7 +21,7 @@
#include <string.h>
#include <stdlib.h>
#include <wchar.h>
#include <math.h>
#include <math.h>
#include <86box/86box.h>
#include <86box/io.h>
#include <86box/timer.h>

View file

@ -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()
endif()

View file

@ -208,4 +208,3 @@ int ati_eeprom_read(ati_eeprom_t *eeprom)
{
return eeprom->out;
}

View file

@ -200,4 +200,4 @@ const device_t att492_ramdac_device =
0, ATT_492,
att49x_ramdac_init, att49x_ramdac_close,
NULL, { NULL }, NULL, NULL
};
};

View file

@ -184,4 +184,4 @@ const device_t att498_ramdac_device =
0, 0,
att498_ramdac_init, att498_ramdac_close,
NULL, { NULL }, NULL, NULL
};
};

View file

@ -103,4 +103,3 @@ const device_t av9194_device =
av9194_init, NULL,
NULL, { NULL }, NULL, NULL
};

View file

@ -392,4 +392,4 @@ const device_t realtek_rtg3106_device = {
rtg_speed_changed,
rtg_force_redraw,
rtg_config
};
};

View file

@ -186,4 +186,4 @@ const device_t sc11486_ramdac_device =
0, 3,
sc1148x_ramdac_init, sc1148x_ramdac_close,
NULL, { NULL }, NULL, NULL
};
};

View file

@ -3074,4 +3074,4 @@ const device_t velocity_100_agp_device =
banshee_speed_changed,
banshee_force_redraw,
banshee_sdram_config
};
};

View file

@ -981,4 +981,3 @@ int gladLoadGLLoader(GLADloadproc load) {
load_GL_ARB_sync(load);
return GLVersion.major != 0 || GLVersion.minor != 0;
}

View file

@ -161,4 +161,4 @@ void win_load_icon_set()
set_language(curr_lang);
ToolBarLoadIcons();
}
}

View file

@ -468,4 +468,3 @@ void joystick_process(void)
}
}
}

View file

@ -1042,4 +1042,4 @@ void opengl_reload(void)
thread_release_mutex(options.mutex);
SetEvent(sync_objects.reload);
}
}

View file

@ -269,4 +269,4 @@ GLuint load_default_shaders()
glDeleteShader(fragment_id);
return prog_id;
}
}