diff --git a/README.md b/README.md index 0998341..7f60570 100644 --- a/README.md +++ b/README.md @@ -39,18 +39,14 @@ sudo apt-get -y install libsdl2-dev libsdl2-image-dev ``` ## Windows build dependencies -Download SDL2 runtime binaries for windows (either 32bit or 64bit depending on the target machine) -https://www.libsdl.org/download-2.0.php -https://www.libsdl.org/projects/SDL_image/ - -Extract all the DLLs into the project root (Yeah, its dirty and a build script will be written in the future to automate this) +SDL2 runtime binaries are included in this repository, no extra setup needed. ## Build & Usage You need to obtain a gba bios binary. An [open source GBA bios](https://github.com/Nebuleon/ReGBA/blob/master/bios/gba_bios.bin) is also available and supported. -Place the bios file in the repository root and name it `gba_bios.bin` (or alternatively use the `-b` command line option) +Place the bios file in the repository root and name it `gba_bios.bin` (or alternatively use the `-b` command line option) Build and run in release mode (performance is terrible in the `dev` profile) diff --git a/platform/rustboyadvance-sdl2/build.rs b/platform/rustboyadvance-sdl2/build.rs index d450e5b..5a1463d 100644 --- a/platform/rustboyadvance-sdl2/build.rs +++ b/platform/rustboyadvance-sdl2/build.rs @@ -1,3 +1,6 @@ +use std::env; +use std::path::PathBuf; + #[cfg(windows)] use winres; @@ -6,6 +9,41 @@ fn main() { let mut res = winres::WindowsResource::new(); res.set_icon("../../assets/icon.ico"); res.compile().unwrap(); + + let target = env::var("TARGET").unwrap(); + if target.contains("pc-windows") { + let manifest_dir = PathBuf::from(env::var("CARGO_MANIFEST_DIR").expect("Failed to get CARGO_MANIFEST_DIR")); + let out_dir = PathBuf::from(env::var("OUT_DIR").expect("Failed to get OUT_DIR")); + let mut lib_dir = manifest_dir.clone(); + let mut dll_dir = manifest_dir.clone(); + if target.contains("msvc") { + lib_dir.push("msvc"); + dll_dir.push("msvc"); + } else { + panic!("mingw not supported"); + } + if target.contains("x86_64") { + lib_dir.push("64"); + dll_dir.push("64"); + } else { + lib_dir.push("32"); + dll_dir.push("32"); + } + println!("cargo:rustc-link-search=all={}", lib_dir.display()); + for entry in std::fs::read_dir(dll_dir).expect("Can't read DLL dir") { + let entry_path = entry.expect("Invalid fs entry").path(); + let file_name_result = entry_path.file_name(); + let mut new_file_path = out_dir.clone(); + if let Some(file_name) = file_name_result { + let file_name = file_name.to_str().unwrap(); + if file_name.ends_with(".dll") { + new_file_path.push(file_name); + std::fs::copy(&entry_path, new_file_path.as_path()) + .expect("Can't copy from DLL dir"); + } + } + } + } } #[cfg(not(windows))] diff --git a/platform/rustboyadvance-sdl2/msvc/32/LICENSE.jpeg.txt b/platform/rustboyadvance-sdl2/msvc/32/LICENSE.jpeg.txt new file mode 100644 index 0000000..4334bd0 --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/32/LICENSE.jpeg.txt @@ -0,0 +1,66 @@ +The source code to this library used with SDL_image can be found here: +https://hg.libsdl.org/SDL_image/file/default/external +--- + +LEGAL ISSUES +============ + +In plain English: + +1. We don't promise that this software works. (But if you find any bugs, + please let us know!) +2. You can use this software for whatever you want. You don't have to pay us. +3. You may not pretend that you wrote this software. If you use it in a + program, you must acknowledge somewhere in your documentation that + you've used the IJG code. + +In legalese: + +The authors make NO WARRANTY or representation, either express or implied, +with respect to this software, its quality, accuracy, merchantability, or +fitness for a particular purpose. This software is provided "AS IS", and you, +its user, assume the entire risk as to its quality and accuracy. + +This software is copyright (C) 1991-2016, Thomas G. Lane, Guido Vollbeding. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + + +The Unix configuration script "configure" was produced with GNU Autoconf. +It is copyright by the Free Software Foundation but is freely distributable. +The same holds for its supporting scripts (config.guess, config.sub, +ltmain.sh). Another support script, install-sh, is copyright by X Consortium +but is also freely distributable. + +The IJG distribution formerly included code to read and write GIF files. +To avoid entanglement with the Unisys LZW patent (now expired), GIF reading +support has been removed altogether, and the GIF writer has been simplified +to produce "uncompressed GIFs". This technique does not use the LZW +algorithm; the resulting GIF files are larger than usual, but are readable +by all standard GIF decoders. diff --git a/platform/rustboyadvance-sdl2/msvc/32/LICENSE.png.txt b/platform/rustboyadvance-sdl2/msvc/32/LICENSE.png.txt new file mode 100644 index 0000000..f928adf --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/32/LICENSE.png.txt @@ -0,0 +1,137 @@ +The source code to this library used with SDL_image can be found here: +https://hg.libsdl.org/SDL_image/file/default/external +--- +COPYRIGHT NOTICE, DISCLAIMER, and LICENSE +========================================= + +PNG Reference Library License version 2 +--------------------------------------- + + * Copyright (c) 1995-2019 The PNG Reference Library Authors. + * Copyright (c) 2018-2019 Cosmin Truta. + * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. + * Copyright (c) 1996-1997 Andreas Dilger. + * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +The software is supplied "as is", without warranty of any kind, +express or implied, including, without limitation, the warranties +of merchantability, fitness for a particular purpose, title, and +non-infringement. In no event shall the Copyright owners, or +anyone distributing the software, be liable for any damages or +other liability, whether in contract, tort or otherwise, arising +from, out of, or in connection with the software, or the use or +other dealings in the software, even if advised of the possibility +of such damage. + +Permission is hereby granted to use, copy, modify, and distribute +this software, or portions hereof, for any purpose, without fee, +subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you + must not claim that you wrote the original software. If you + use this software in a product, an acknowledgment in the product + documentation would be appreciated, but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + + +PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35) +----------------------------------------------------------------------- + +libpng versions 1.0.7, July 1, 2000, through 1.6.35, July 15, 2018 are +Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are +derived from libpng-1.0.6, and are distributed according to the same +disclaimer and license as libpng-1.0.6 with the following individuals +added to the list of Contributing Authors: + + Simon-Pierre Cadieux + Eric S. Raymond + Mans Rullgard + Cosmin Truta + Gilles Vollant + James Yu + Mandar Sahastrabuddhe + Google Inc. + Vadim Barkov + +and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of + the library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is + with the user. + +Some files in the "contrib" directory and some configure-generated +files that are distributed with libpng have other copyright owners, and +are released under other open source licenses. + +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are +Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from +libpng-0.96, and are distributed according to the same disclaimer and +license as libpng-0.96, with the following individuals added to the +list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + +libpng versions 0.89, June 1996, through 0.96, May 1997, are +Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88, +and are distributed according to the same disclaimer and license as +libpng-0.88, with the following individuals added to the list of +Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + +Some files in the "scripts" directory have other copyright owners, +but are released under this license. + +libpng versions 0.5, May 1995, through 0.88, January 1996, are +Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +For the purposes of this copyright and license, "Contributing Authors" +is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing +Authors and Group 42, Inc. disclaim all warranties, expressed or +implied, including, without limitation, the warranties of +merchantability and of fitness for any purpose. The Contributing +Authors and Group 42, Inc. assume no liability for direct, indirect, +incidental, special, exemplary, or consequential damages, which may +result from the use of the PNG Reference Library, even if advised of +the possibility of such damage. + +Permission is hereby granted to use, copy, modify, and distribute this +source code, or portions hereof, for any purpose, without fee, subject +to the following restrictions: + + 1. The origin of this source code must not be misrepresented. + + 2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + +The Contributing Authors and Group 42, Inc. specifically permit, +without fee, and encourage the use of this source code as a component +to supporting the PNG file format in commercial products. If you use +this source code in a product, acknowledgment is not required but would +be appreciated. diff --git a/platform/rustboyadvance-sdl2/msvc/32/LICENSE.tiff.txt b/platform/rustboyadvance-sdl2/msvc/32/LICENSE.tiff.txt new file mode 100644 index 0000000..79ef7a5 --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/32/LICENSE.tiff.txt @@ -0,0 +1,25 @@ +The source code to this library used with SDL_image can be found here: +https://hg.libsdl.org/SDL_image/file/default/external +--- + +Copyright (c) 1988-1997 Sam Leffler +Copyright (c) 1991-1997 Silicon Graphics, Inc. + +Permission to use, copy, modify, distribute, and sell this software and +its documentation for any purpose is hereby granted without fee, provided +that (i) the above copyright notices and this permission notice appear in +all copies of the software and related documentation, and (ii) the names of +Sam Leffler and Silicon Graphics may not be used in any advertising or +publicity relating to the software without the specific, prior written +permission of Sam Leffler and Silicon Graphics. + +THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, +EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY +WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR +ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, +OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF +LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE +OF THIS SOFTWARE. diff --git a/platform/rustboyadvance-sdl2/msvc/32/LICENSE.webp.txt b/platform/rustboyadvance-sdl2/msvc/32/LICENSE.webp.txt new file mode 100644 index 0000000..f30ece0 --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/32/LICENSE.webp.txt @@ -0,0 +1,34 @@ +The source code to this library used with SDL_image can be found here: +https://hg.libsdl.org/SDL_image/file/default/external +--- + +Copyright (c) 2010, Google Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + * Neither the name of Google nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/platform/rustboyadvance-sdl2/msvc/32/LICENSE.zlib.txt b/platform/rustboyadvance-sdl2/msvc/32/LICENSE.zlib.txt new file mode 100644 index 0000000..fed43be --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/32/LICENSE.zlib.txt @@ -0,0 +1,35 @@ +The source code to this library used with SDL_image can be found here: +https://hg.libsdl.org/SDL_image/file/default/external +--- + +Copyright notice: + + (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +If you use the zlib library in a product, we would appreciate *not* receiving +lengthy legal documents to sign. The sources are provided for free but without +warranty of any kind. The library has been entirely written by Jean-loup +Gailly and Mark Adler; it does not include third-party code. + +If you redistribute modified sources, we would appreciate that you include in +the file ChangeLog history information documenting your changes. Please read +the FAQ for more information on the distribution of modified source versions. diff --git a/platform/rustboyadvance-sdl2/msvc/32/SDL2.dll.REMOVED.git-id b/platform/rustboyadvance-sdl2/msvc/32/SDL2.dll.REMOVED.git-id new file mode 100644 index 0000000..38698b8 --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/32/SDL2.dll.REMOVED.git-id @@ -0,0 +1 @@ +af9f0bb899be476f00f0d28ba04a59abb27f94a3 \ No newline at end of file diff --git a/platform/rustboyadvance-sdl2/msvc/32/SDL2.lib b/platform/rustboyadvance-sdl2/msvc/32/SDL2.lib new file mode 100644 index 0000000..659f816 Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/32/SDL2.lib differ diff --git a/platform/rustboyadvance-sdl2/msvc/32/SDL2_image.dll b/platform/rustboyadvance-sdl2/msvc/32/SDL2_image.dll new file mode 100644 index 0000000..ab6f38b Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/32/SDL2_image.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/32/SDL2_image.lib b/platform/rustboyadvance-sdl2/msvc/32/SDL2_image.lib new file mode 100644 index 0000000..3fc6a5a Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/32/SDL2_image.lib differ diff --git a/platform/rustboyadvance-sdl2/msvc/32/SDL2main.lib b/platform/rustboyadvance-sdl2/msvc/32/SDL2main.lib new file mode 100644 index 0000000..d607875 Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/32/SDL2main.lib differ diff --git a/platform/rustboyadvance-sdl2/msvc/32/SDL2test.lib b/platform/rustboyadvance-sdl2/msvc/32/SDL2test.lib new file mode 100644 index 0000000..183e48d Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/32/SDL2test.lib differ diff --git a/platform/rustboyadvance-sdl2/msvc/32/libjpeg-9.dll b/platform/rustboyadvance-sdl2/msvc/32/libjpeg-9.dll new file mode 100644 index 0000000..9d8911c Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/32/libjpeg-9.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/32/libpng16-16.dll b/platform/rustboyadvance-sdl2/msvc/32/libpng16-16.dll new file mode 100644 index 0000000..fd5db8d Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/32/libpng16-16.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/32/libtiff-5.dll b/platform/rustboyadvance-sdl2/msvc/32/libtiff-5.dll new file mode 100644 index 0000000..af3c3e6 Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/32/libtiff-5.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/32/libwebp-7.dll b/platform/rustboyadvance-sdl2/msvc/32/libwebp-7.dll new file mode 100644 index 0000000..c11bf13 Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/32/libwebp-7.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/32/zlib1.dll b/platform/rustboyadvance-sdl2/msvc/32/zlib1.dll new file mode 100644 index 0000000..3a45deb Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/32/zlib1.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/64/LICENSE.jpeg.txt b/platform/rustboyadvance-sdl2/msvc/64/LICENSE.jpeg.txt new file mode 100644 index 0000000..4334bd0 --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/64/LICENSE.jpeg.txt @@ -0,0 +1,66 @@ +The source code to this library used with SDL_image can be found here: +https://hg.libsdl.org/SDL_image/file/default/external +--- + +LEGAL ISSUES +============ + +In plain English: + +1. We don't promise that this software works. (But if you find any bugs, + please let us know!) +2. You can use this software for whatever you want. You don't have to pay us. +3. You may not pretend that you wrote this software. If you use it in a + program, you must acknowledge somewhere in your documentation that + you've used the IJG code. + +In legalese: + +The authors make NO WARRANTY or representation, either express or implied, +with respect to this software, its quality, accuracy, merchantability, or +fitness for a particular purpose. This software is provided "AS IS", and you, +its user, assume the entire risk as to its quality and accuracy. + +This software is copyright (C) 1991-2016, Thomas G. Lane, Guido Vollbeding. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + + +The Unix configuration script "configure" was produced with GNU Autoconf. +It is copyright by the Free Software Foundation but is freely distributable. +The same holds for its supporting scripts (config.guess, config.sub, +ltmain.sh). Another support script, install-sh, is copyright by X Consortium +but is also freely distributable. + +The IJG distribution formerly included code to read and write GIF files. +To avoid entanglement with the Unisys LZW patent (now expired), GIF reading +support has been removed altogether, and the GIF writer has been simplified +to produce "uncompressed GIFs". This technique does not use the LZW +algorithm; the resulting GIF files are larger than usual, but are readable +by all standard GIF decoders. diff --git a/platform/rustboyadvance-sdl2/msvc/64/LICENSE.png.txt b/platform/rustboyadvance-sdl2/msvc/64/LICENSE.png.txt new file mode 100644 index 0000000..f928adf --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/64/LICENSE.png.txt @@ -0,0 +1,137 @@ +The source code to this library used with SDL_image can be found here: +https://hg.libsdl.org/SDL_image/file/default/external +--- +COPYRIGHT NOTICE, DISCLAIMER, and LICENSE +========================================= + +PNG Reference Library License version 2 +--------------------------------------- + + * Copyright (c) 1995-2019 The PNG Reference Library Authors. + * Copyright (c) 2018-2019 Cosmin Truta. + * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. + * Copyright (c) 1996-1997 Andreas Dilger. + * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +The software is supplied "as is", without warranty of any kind, +express or implied, including, without limitation, the warranties +of merchantability, fitness for a particular purpose, title, and +non-infringement. In no event shall the Copyright owners, or +anyone distributing the software, be liable for any damages or +other liability, whether in contract, tort or otherwise, arising +from, out of, or in connection with the software, or the use or +other dealings in the software, even if advised of the possibility +of such damage. + +Permission is hereby granted to use, copy, modify, and distribute +this software, or portions hereof, for any purpose, without fee, +subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you + must not claim that you wrote the original software. If you + use this software in a product, an acknowledgment in the product + documentation would be appreciated, but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + + +PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35) +----------------------------------------------------------------------- + +libpng versions 1.0.7, July 1, 2000, through 1.6.35, July 15, 2018 are +Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are +derived from libpng-1.0.6, and are distributed according to the same +disclaimer and license as libpng-1.0.6 with the following individuals +added to the list of Contributing Authors: + + Simon-Pierre Cadieux + Eric S. Raymond + Mans Rullgard + Cosmin Truta + Gilles Vollant + James Yu + Mandar Sahastrabuddhe + Google Inc. + Vadim Barkov + +and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of + the library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is + with the user. + +Some files in the "contrib" directory and some configure-generated +files that are distributed with libpng have other copyright owners, and +are released under other open source licenses. + +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are +Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from +libpng-0.96, and are distributed according to the same disclaimer and +license as libpng-0.96, with the following individuals added to the +list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + +libpng versions 0.89, June 1996, through 0.96, May 1997, are +Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88, +and are distributed according to the same disclaimer and license as +libpng-0.88, with the following individuals added to the list of +Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + +Some files in the "scripts" directory have other copyright owners, +but are released under this license. + +libpng versions 0.5, May 1995, through 0.88, January 1996, are +Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +For the purposes of this copyright and license, "Contributing Authors" +is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing +Authors and Group 42, Inc. disclaim all warranties, expressed or +implied, including, without limitation, the warranties of +merchantability and of fitness for any purpose. The Contributing +Authors and Group 42, Inc. assume no liability for direct, indirect, +incidental, special, exemplary, or consequential damages, which may +result from the use of the PNG Reference Library, even if advised of +the possibility of such damage. + +Permission is hereby granted to use, copy, modify, and distribute this +source code, or portions hereof, for any purpose, without fee, subject +to the following restrictions: + + 1. The origin of this source code must not be misrepresented. + + 2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + +The Contributing Authors and Group 42, Inc. specifically permit, +without fee, and encourage the use of this source code as a component +to supporting the PNG file format in commercial products. If you use +this source code in a product, acknowledgment is not required but would +be appreciated. diff --git a/platform/rustboyadvance-sdl2/msvc/64/LICENSE.tiff.txt b/platform/rustboyadvance-sdl2/msvc/64/LICENSE.tiff.txt new file mode 100644 index 0000000..79ef7a5 --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/64/LICENSE.tiff.txt @@ -0,0 +1,25 @@ +The source code to this library used with SDL_image can be found here: +https://hg.libsdl.org/SDL_image/file/default/external +--- + +Copyright (c) 1988-1997 Sam Leffler +Copyright (c) 1991-1997 Silicon Graphics, Inc. + +Permission to use, copy, modify, distribute, and sell this software and +its documentation for any purpose is hereby granted without fee, provided +that (i) the above copyright notices and this permission notice appear in +all copies of the software and related documentation, and (ii) the names of +Sam Leffler and Silicon Graphics may not be used in any advertising or +publicity relating to the software without the specific, prior written +permission of Sam Leffler and Silicon Graphics. + +THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, +EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY +WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR +ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, +OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF +LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE +OF THIS SOFTWARE. diff --git a/platform/rustboyadvance-sdl2/msvc/64/LICENSE.webp.txt b/platform/rustboyadvance-sdl2/msvc/64/LICENSE.webp.txt new file mode 100644 index 0000000..f30ece0 --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/64/LICENSE.webp.txt @@ -0,0 +1,34 @@ +The source code to this library used with SDL_image can be found here: +https://hg.libsdl.org/SDL_image/file/default/external +--- + +Copyright (c) 2010, Google Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + * Neither the name of Google nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/platform/rustboyadvance-sdl2/msvc/64/LICENSE.zlib.txt b/platform/rustboyadvance-sdl2/msvc/64/LICENSE.zlib.txt new file mode 100644 index 0000000..fed43be --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/64/LICENSE.zlib.txt @@ -0,0 +1,35 @@ +The source code to this library used with SDL_image can be found here: +https://hg.libsdl.org/SDL_image/file/default/external +--- + +Copyright notice: + + (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +If you use the zlib library in a product, we would appreciate *not* receiving +lengthy legal documents to sign. The sources are provided for free but without +warranty of any kind. The library has been entirely written by Jean-loup +Gailly and Mark Adler; it does not include third-party code. + +If you redistribute modified sources, we would appreciate that you include in +the file ChangeLog history information documenting your changes. Please read +the FAQ for more information on the distribution of modified source versions. diff --git a/platform/rustboyadvance-sdl2/msvc/64/SDL2.dll.REMOVED.git-id b/platform/rustboyadvance-sdl2/msvc/64/SDL2.dll.REMOVED.git-id new file mode 100644 index 0000000..f2fd017 --- /dev/null +++ b/platform/rustboyadvance-sdl2/msvc/64/SDL2.dll.REMOVED.git-id @@ -0,0 +1 @@ +31318624bd79c3ff59297f9afaa341bd3e659378 \ No newline at end of file diff --git a/platform/rustboyadvance-sdl2/msvc/64/SDL2.lib b/platform/rustboyadvance-sdl2/msvc/64/SDL2.lib new file mode 100644 index 0000000..545a294 Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/64/SDL2.lib differ diff --git a/platform/rustboyadvance-sdl2/msvc/64/SDL2_image.dll b/platform/rustboyadvance-sdl2/msvc/64/SDL2_image.dll new file mode 100644 index 0000000..d701655 Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/64/SDL2_image.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/64/SDL2_image.lib b/platform/rustboyadvance-sdl2/msvc/64/SDL2_image.lib new file mode 100644 index 0000000..6d00aed Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/64/SDL2_image.lib differ diff --git a/platform/rustboyadvance-sdl2/msvc/64/SDL2main.lib b/platform/rustboyadvance-sdl2/msvc/64/SDL2main.lib new file mode 100644 index 0000000..e2d7dda Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/64/SDL2main.lib differ diff --git a/platform/rustboyadvance-sdl2/msvc/64/SDL2test.lib b/platform/rustboyadvance-sdl2/msvc/64/SDL2test.lib new file mode 100644 index 0000000..df009bd Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/64/SDL2test.lib differ diff --git a/platform/rustboyadvance-sdl2/msvc/64/libjpeg-9.dll b/platform/rustboyadvance-sdl2/msvc/64/libjpeg-9.dll new file mode 100644 index 0000000..9a05528 Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/64/libjpeg-9.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/64/libpng16-16.dll b/platform/rustboyadvance-sdl2/msvc/64/libpng16-16.dll new file mode 100644 index 0000000..709f724 Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/64/libpng16-16.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/64/libtiff-5.dll b/platform/rustboyadvance-sdl2/msvc/64/libtiff-5.dll new file mode 100644 index 0000000..fc8a7c0 Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/64/libtiff-5.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/64/libwebp-7.dll b/platform/rustboyadvance-sdl2/msvc/64/libwebp-7.dll new file mode 100644 index 0000000..fad57b2 Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/64/libwebp-7.dll differ diff --git a/platform/rustboyadvance-sdl2/msvc/64/zlib1.dll b/platform/rustboyadvance-sdl2/msvc/64/zlib1.dll new file mode 100644 index 0000000..e7493de Binary files /dev/null and b/platform/rustboyadvance-sdl2/msvc/64/zlib1.dll differ