BartmanAbyss / vscode-amiga-debug

One-stop Visual Studio Code Extension to compile, debug and profile Amiga C/C++ programs compiled by the bundled gcc 12.2 with the bundled WinUAE/FS-UAE.
GNU General Public License v3.0
303 stars 38 forks source link

fix: fs-uae unsigned resource properties #217

Closed grahambates closed 1 year ago

grahambates commented 1 year ago

https://github.com/grahambates/fs-uae/commit/7f34a18e553026896af5b7d9c16f1e568e3c7187

Bitmap width, height etc should be unsigned. Previously this was breaking in the conversion to LE.

e.g. 240 in LE was converted to -15 $f000 -> $fff0 should be $f000 -> $f0

Possibly this is down to a different byte swap implementation on Windows, but making them unsigned fixes it.