xemu: Update copyright

This commit is contained in:
Matt Borgerson 2021-03-03 03:24:24 -07:00 committed by mborgerson
parent 7dae26380e
commit 6e564854fc
54 changed files with 69 additions and 68 deletions

View File

@ -2,7 +2,7 @@
* Xbox ACPI implementation * Xbox ACPI implementation
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2020 Matt Borgerson * Copyright (c) 2020-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -2,7 +2,7 @@
* QEMU Chihiro emulation * QEMU Chihiro emulation
* *
* Copyright (c) 2013 espes * Copyright (c) 2013 espes
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -2,7 +2,7 @@
* QEMU SMSC LPC47M157 (Super I/O) * QEMU SMSC LPC47M157 (Super I/O)
* *
* Copyright (c) 2013 espes * Copyright (c) 2013 espes
* Copyright (c) 2018-2020 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -1,7 +1,7 @@
/* /*
* Offscreen OpenGL abstraction layer -- SDL based * Offscreen OpenGL abstraction layer -- SDL based
* *
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018-2020 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -2,7 +2,7 @@
* QEMU Geforce NV2A implementation * QEMU Geforce NV2A implementation
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2020 Matt Borgerson * Copyright (c) 2020-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018-2020 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018-2020 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018-2020 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018-2020 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,6 +3,7 @@
* *
* Copyright (c) 2013 espes * Copyright (c) 2013 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2020-2021 Matt Borgerson
* *
* Based on: * Based on:
* Cxbx, PixelShader.cpp * Cxbx, PixelShader.cpp

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2015 espes * Copyright (c) 2015 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2020 Matt Borgerson * Copyright (c) 2020-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2015 Jannik Vogel * Copyright (c) 2015 Jannik Vogel
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -2,7 +2,7 @@
* QEMU nForce Ethernet Controller implementation * QEMU nForce Ethernet Controller implementation
* *
* Copyright (c) 2013 espes * Copyright (c) 2013 espes
* Copyright (c) 2015-2020 Matt Borgerson * Copyright (c) 2015-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -2,7 +2,7 @@
* QEMU SMBus Xbox System Management Controller * QEMU SMBus Xbox System Management Controller
* *
* Copyright (c) 2011 espes * Copyright (c) 2011 espes
* Copyright (c) 2020 Matt Borgerson * Copyright (c) 2020-2021 Matt Borgerson
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal

View File

@ -2,7 +2,7 @@
* QEMU Xbox System Emulator * QEMU Xbox System Emulator
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -53,7 +53,7 @@
#include "hw/i2c/smbus_eeprom.h" #include "hw/i2c/smbus_eeprom.h"
#include "hw/xbox/nv2a/nv2a.h" #include "hw/xbox/nv2a/nv2a.h"
#include "hw/xbox/mcpx/apu.h" #include "hw/xbox/mcpx/apu.h"
#include "hw/xbox/xbox.h" #include "hw/xbox/xbox.h"
#include "smbus.h" #include "smbus.h"
@ -146,13 +146,13 @@ static void xbox_flash_init(MemoryRegion *rom_memory)
/* XBOX_FIXME: The "memory_region_set_readonly" calls below have been /* XBOX_FIXME: The "memory_region_set_readonly" calls below have been
* temporarily commented out due to MCPX 1.1-based kernels hanging * temporarily commented out due to MCPX 1.1-based kernels hanging
* in the first bootloader stage when doing RSA signature verification. * in the first bootloader stage when doing RSA signature verification.
* *
* This is caused by code incorrectly using the flash memory range to * This is caused by code incorrectly using the flash memory range to
* store the following computation; luckily real hardware's writeback * store the following computation; luckily real hardware's writeback
* cache policy (verified against MTRR config) appears to allow this * cache policy (verified against MTRR config) appears to allow this
* to succeed, but qemu's emulation of such isn't capable of this yet * to succeed, but qemu's emulation of such isn't capable of this yet
* so the value is never updated in ROM unless readonly is unspecified. * so the value is never updated in ROM unless readonly is unspecified.
* *
* sub ds:0FFFFD52Ch, eax * sub ds:0FFFFD52Ch, eax
* mov eax, ds:0FFFFD52Ch * mov eax, ds:0FFFFD52Ch
*/ */

View File

@ -2,7 +2,7 @@
* QEMU Xbox System Emulator * QEMU Xbox System Emulator
* *
* Copyright (c) 2013 espes * Copyright (c) 2013 espes
* Copyright (c) 2018 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -2,7 +2,7 @@
* QEMU Xbox PCI buses implementation * QEMU Xbox PCI buses implementation
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2018-2020 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -2,7 +2,7 @@
* QEMU Xbox PCI buses implementation * QEMU Xbox PCI buses implementation
* *
* Copyright (c) 2012 espes * Copyright (c) 2012 espes
* Copyright (c) 2020 Matt Borgerson * Copyright (c) 2020-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -3,7 +3,7 @@
* *
* Copyright (c) 2013 espes * Copyright (c) 2013 espes
* Copyright (c) 2017 Jannik Vogel * Copyright (c) 2017 Jannik Vogel
* Copyright (c) 2018-2020 Matt Borgerson * Copyright (c) 2018-2021 Matt Borgerson
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public

View File

@ -1,7 +1,7 @@
/* /*
* xemu User Interface Rendering Helpers * xemu User Interface Rendering Helpers
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* xemu User Interface Rendering Helpers * xemu User Interface Rendering Helpers
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* xemu Data File and Path Helpers * xemu Data File and Path Helpers
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* xemu Data File and Path Helpers * xemu Data File and Path Helpers
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* xemu User Interface * xemu User Interface
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -4,7 +4,7 @@
* Subsystem handling primary graphical user interface, which can be controlled * Subsystem handling primary graphical user interface, which can be controlled
* via mouse and keyboard or through any attached gamepad. * via mouse and keyboard or through any attached gamepad.
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* xemu Input Management * xemu Input Management
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -6,7 +6,7 @@
* Xbox gamepad and support automatic binding, hotplugging, and removal at * Xbox gamepad and support automatic binding, hotplugging, and removal at
* runtime. * runtime.
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* xemu QEMU Monitor Interface * xemu QEMU Monitor Interface
* *
* Copyright (c) 2020 Matt Borgerson * Copyright (c) 2020-2021 Matt Borgerson
* *
* Based on gdbstub.c * Based on gdbstub.c
* *

View File

@ -1,7 +1,7 @@
/* /*
* xemu QEMU Monitor Interface * xemu QEMU Monitor Interface
* *
* Copyright (c) 2020 Matt Borgerson * Copyright (c) 2020-2021 Matt Borgerson
* *
* Based on gdbstub.c * Based on gdbstub.c
* *

View File

@ -3,7 +3,7 @@
* *
* Wrapper functions to configure network settings at runtime. * Wrapper functions to configure network settings at runtime.
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -127,5 +127,5 @@ int xemu_net_is_enabled(void)
{ {
NetClientState *nc; NetClientState *nc;
nc = qemu_find_netdev(id); nc = qemu_find_netdev(id);
return (nc != NULL); return (nc != NULL);
} }

View File

@ -3,7 +3,7 @@
* *
* Wrapper functions to configure network settings at runtime. * Wrapper functions to configure network settings at runtime.
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -4,7 +4,7 @@
* Helper functions for other subsystems to queue a notification for the user, * Helper functions for other subsystems to queue a notification for the user,
* which can be displayed by the HUD. * which can be displayed by the HUD.
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* OS-specific Helpers * OS-specific Helpers
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* OS-specific Helpers * OS-specific Helpers
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* OS-specific Helpers * OS-specific Helpers
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -26,7 +26,7 @@ extern "C" {
const char *xemu_get_os_info(void); const char *xemu_get_os_info(void);
void xemu_open_web_browser(const char *url); void xemu_open_web_browser(const char *url);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@ -3,7 +3,7 @@
* *
* Title compatibility and bug report submission. * Title compatibility and bug report submission.
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -57,7 +57,7 @@ const std::string &CompatibilityReport::GetSerializedReport()
{"compat_comments", compat_comments}, {"compat_comments", compat_comments},
{"xbe_headers", xbe_headers}, {"xbe_headers", xbe_headers},
}; };
serialized = report.dump(2); serialized = report.dump(2);
return serialized; return serialized;
} }

View File

@ -3,7 +3,7 @@
* *
* Title compatibility and bug report submission. * Title compatibility and bug report submission.
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* xemu Settings Management * xemu Settings Management
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -107,7 +107,7 @@ struct config_offset_table {
[XEMU_SETTINGS_SYSTEM_EEPROM_PATH] = { CONFIG_TYPE_STRING, "system", "eeprom_path", offsetof(struct xemu_settings, eeprom_path), { .default_str = "" } }, [XEMU_SETTINGS_SYSTEM_EEPROM_PATH] = { CONFIG_TYPE_STRING, "system", "eeprom_path", offsetof(struct xemu_settings, eeprom_path), { .default_str = "" } },
[XEMU_SETTINGS_SYSTEM_MEMORY] = { CONFIG_TYPE_INT, "system", "memory", offsetof(struct xemu_settings, memory), { .default_int = 64 } }, [XEMU_SETTINGS_SYSTEM_MEMORY] = { CONFIG_TYPE_INT, "system", "memory", offsetof(struct xemu_settings, memory), { .default_int = 64 } },
[XEMU_SETTINGS_SYSTEM_SHORTANIM] = { CONFIG_TYPE_BOOL, "system", "shortanim", offsetof(struct xemu_settings, short_animation), { .default_bool = 0 } }, [XEMU_SETTINGS_SYSTEM_SHORTANIM] = { CONFIG_TYPE_BOOL, "system", "shortanim", offsetof(struct xemu_settings, short_animation), { .default_bool = 0 } },
[XEMU_SETTINGS_AUDIO_USE_DSP] = { CONFIG_TYPE_BOOL, "audio", "use_dsp", offsetof(struct xemu_settings, use_dsp), { .default_bool = 0 } }, [XEMU_SETTINGS_AUDIO_USE_DSP] = { CONFIG_TYPE_BOOL, "audio", "use_dsp", offsetof(struct xemu_settings, use_dsp), { .default_bool = 0 } },
[XEMU_SETTINGS_DISPLAY_SCALE] = { CONFIG_TYPE_ENUM, "display", "scale", offsetof(struct xemu_settings, scale), { .default_int = DISPLAY_SCALE_SCALE }, display_scale_map }, [XEMU_SETTINGS_DISPLAY_SCALE] = { CONFIG_TYPE_ENUM, "display", "scale", offsetof(struct xemu_settings, scale), { .default_int = DISPLAY_SCALE_SCALE }, display_scale_map },

View File

@ -5,7 +5,7 @@
* that gets saved to an INI file. All entries should be accessed through the * that gets saved to an INI file. All entries should be accessed through the
* appropriate getter/setter functions. * appropriate getter/setter functions.
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* xemu User Interface Rendering Helpers * xemu User Interface Rendering Helpers
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -199,7 +199,7 @@ GLuint load_texture_from_file(const char *name)
// Flip vertically so textures are loaded according to GL convention. // Flip vertically so textures are loaded according to GL convention.
stbi_set_flip_vertically_on_load(1); stbi_set_flip_vertically_on_load(1);
// Read file into memory // Read file into memory
int width, height, channels = 0; int width, height, channels = 0;
unsigned char *data = stbi_load(name, &width, &height, &channels, 4); unsigned char *data = stbi_load(name, &width, &height, &channels, 4);
@ -212,7 +212,7 @@ GLuint load_texture_from_file(const char *name)
return tex; return tex;
} }
void render_decal( void render_decal(
struct decal_shader *s, struct decal_shader *s,
float x, float y, float w, float h, float x, float y, float w, float h,
float tex_x, float tex_y, float tex_w, float tex_h, float tex_x, float tex_y, float tex_w, float tex_h,
@ -251,7 +251,7 @@ void render_decal(
glDrawElements(GL_TRIANGLE_FAN, 4, GL_UNSIGNED_INT, NULL); glDrawElements(GL_TRIANGLE_FAN, 4, GL_UNSIGNED_INT, NULL);
} }
void render_decal_image( void render_decal_image(
struct decal_shader *s, struct decal_shader *s,
float x, float y, float w, float h, float x, float y, float w, float h,
float tex_x, float tex_y, float tex_w, float tex_h float tex_x, float tex_y, float tex_w, float tex_h
@ -281,7 +281,7 @@ struct fbo *create_fbo(int width, int height)
fbo->w = width; fbo->w = width;
fbo->h = height; fbo->h = height;
// Allocate the texture // Allocate the texture
glGenTextures(1, &fbo->tex); glGenTextures(1, &fbo->tex);
glBindTexture(GL_TEXTURE_2D, fbo->tex); glBindTexture(GL_TEXTURE_2D, fbo->tex);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);

View File

@ -1,7 +1,7 @@
/* /*
* xemu User Interface Rendering Helpers * xemu User Interface Rendering Helpers
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -80,14 +80,14 @@ struct fbo *create_fbo(int width, int height);
void render_to_default_fb(void); void render_to_default_fb(void);
GLuint render_to_fbo(struct fbo *fbo); GLuint render_to_fbo(struct fbo *fbo);
void render_decal( void render_decal(
struct decal_shader *s, struct decal_shader *s,
float x, float y, float w, float h, float x, float y, float w, float h,
float tex_x, float tex_y, float tex_w, float tex_h, float tex_x, float tex_y, float tex_w, float tex_h,
uint32_t primary, uint32_t secondary, uint32_t fill uint32_t primary, uint32_t secondary, uint32_t fill
); );
void render_decal_image( void render_decal_image(
struct decal_shader *s, struct decal_shader *s,
float x, float y, float w, float h, float x, float y, float w, float h,
float tex_x, float tex_y, float tex_w, float tex_h float tex_x, float tex_y, float tex_w, float tex_h
@ -95,6 +95,6 @@ void render_decal_image(
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif #endif

View File

@ -1,7 +1,7 @@
/* /*
* xemu SDL display driver * xemu SDL display driver
* *
* Copyright (c) 2020 Matt Borgerson * Copyright (c) 2020-2021 Matt Borgerson
* *
* Based on sdl2.c, sdl2-gl.c * Based on sdl2.c, sdl2-gl.c
* *

View File

@ -3,7 +3,7 @@
* *
* Helper functions to get details about the currently running executable. * Helper functions to get details about the currently running executable.
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -110,7 +110,7 @@ struct xbe *xemu_get_xbe_info(void)
xbe.headers = malloc(xbe.headers_len); xbe.headers = malloc(xbe.headers_len);
assert(xbe.headers != NULL); assert(xbe.headers != NULL);
// Read all XBE headers // Read all XBE headers
ssize_t bytes_read = virt_dma_memory_read(hdr_addr_virt, ssize_t bytes_read = virt_dma_memory_read(hdr_addr_virt,
xbe.headers, xbe.headers,

View File

@ -3,7 +3,7 @@
* *
* Helper functions to get details about the currently running executable. * Helper functions to get details about the currently running executable.
* *
* Copyright (C) 2020 Matt Borgerson * Copyright (C) 2020-2021 Matt Borgerson
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by