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
314 stars 39 forks source link

Colors in the resource view are incorrect. #71

Closed rjobling closed 2 years ago

rjobling commented 3 years ago

When I use the resource view and pick a palette the Red and Blue are swapped around from what they should be, the correct colors show up in the copper list view.

In addition when you choose a new palette the image does not update immediately, you need to select a different bitmap resource and re-select the one you were on to see the palette changes.

rjobling commented 3 years ago

In case it was unclear, I was referring to the palette picker colors not the bitmap resource. The bitmap looks fine.

rjobling commented 2 years ago

Was wondering if it would be possible to get this fixed. Hopefully it's just a bit of byte shuffling in the profiler code.

BartmanAbyss commented 2 years ago

Hmm.. I thought I did fix that in dbd8dcf60cfb8377bfe1e1b15d7a503ba4fc3a6d Ah, I see.. forgot to upload a new release...

BartmanAbyss commented 2 years ago

is it fixed with the current version?

rjobling commented 2 years ago

No, it looks like you swapped around the colors in the copper list instead of in the resource view because now they are both wrong :)

As you can see the first color in the copper list is 00F, which should mean blue, but it's showing up as red.

image