BizHawk/waterbox/bsnescore/bsnes/nall
Moritz Bender 5d20862f26
Implement bsnes version 115 as a new core (#2740)
* Slam all this shit in here i don't care

* no lzma pls

* un-hack things that i hacked earlier (closer to bsnes source now)

* remove more unused files

* remove more files

* get some stuff working on this weird ass branch

* do this to get actual video (holy shit it works) while palette is incorrect

* make video look correct and hopefully fix stack waterbox allocation size uh ?

* Move the new bsnes core to its own dir as a new core and get input working

* remove leftover files from old bsnes

* fix some shit for now

* make lag frame detection work

* Improve cartridge loading to hopefully make sgb work (haven't tested)

- also changes some audio buffer stuff, might be better or worse than before idk
- need to figure out the saveram stuff
- path requests might actually completely fail atm, no idea how to verify that

* refactor to use a switch instead of some weird array with function pointers

- and implement snes_get_mapper, might be helpful or smth idk

* implement entropy c++-side and delete all this useless code holy

* delete dumb unnecessary code

* implement snes_peek_logical_register c++-side

* normalize all indentation

* attempt to properly support sharprtc and epsonrtc data loading and writing

* Duplicate winforms code to add entropy support c#-side and implement layer_enable functionality

The duplicated code is just so i can have a proper window for the new bsnes core. I do not like duplicating code like this, so this should be improved if possible

* Checkpoint for the start of getting rid of the ugly api wrapper stuff

* Next checkpoint for a full api refactor

* bullshit denied

just no.
every file is either copied or manually edited or written from scratch etc.
do not. force. one indent_style on every single file.
It just does not work.

* remove the entire eMessage_CMD handling and convert to native function calls

* general improvements regarding functionality

- adds hotfixes and fast_ppu core options
- add back the alwaysDoubleSize setting
- use bsnes's own serialize function for savestating now
- generate and use the color palette only in c# cause it doesn't need to be on the c++-side
- and more cleanup like always

* somewhat implement IMemoryDomains

* Implement trace logger and cleanup more unused stuff

* Implement ISaveRam, fix controller mapping for TAStudio and remove the pwrap stuff

* Fix ISaveRam, add a controller configuration box for the new core, (hopefully) fix controller inputs

- also differentiates BG prio0 and prio1 now (with options for it)
- some minor irrelevant edits in bsnes source

* Cleanup some more and optimize a bit

* Support firmware loading and make sgb work (hopefully)

* Remove all unused files

* Add back CropSGBFrame option and cleanup snes_video_refresh logic

* Some hopefully sensible changes

* One more cleanup pass

* Change to new PortedCore attribute

necessary after the changes in 98b07c42d5

Co-authored-by: nattthebear <goyuken@gmail.com>
2021-05-14 20:06:13 -05:00
..
arithmetic Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
beat Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
cd Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
cipher Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
database Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
decode Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
dsp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
elliptic-curve Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
emulation Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
encode Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
hash Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
http Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
image Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
mac Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
macos Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
posix Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
primitives Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
string Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
vector Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
vfs Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
windows Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
xorg Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
adaptive-array.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
algorithm.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
any.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
arguments.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
arithmetic.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
array-span.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
array-view.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
array.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
atoi.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
bit.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
cd.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
chrono.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
counting-sort.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
directory.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
dl.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
endian.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
file-buffer.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
file-map.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
file.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
function.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
galois-field.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
hashset.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
hid.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
image.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
induced-sort.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
inline-if.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
inode.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
instance.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
interpolation.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
intrinsics.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
iterator.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
literals.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
locale.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
location.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
main.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
map.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
matrix-multiply.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
matrix.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
maybe.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
memory.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
merge-sort.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
nall.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
path.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
platform.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
pointer.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
primitives.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
property.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
queue.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
random.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
range.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
reed-solomon.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
run.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
serial.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
serializer.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
service.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
set.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
shared-memory.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
shared-pointer.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
simd.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
smtp.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
stdint.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
string.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
suffix-array.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
terminal.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
thread.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
traits.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
unique-pointer.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
utility.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
variant.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
varint.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
vector.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
vfs.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00
view.hpp Implement bsnes version 115 as a new core (#2740) 2021-05-14 20:06:13 -05:00