kichikuou
c0dbae8202
Refactor palette data structure
2024-01-01 11:47:11 +09:00
kichikuou
29a139c8a1
Use the standard integer types
...
This replaces BYTE, WORD and DWORD types with uint8_t, uint16_t and
uint32_t respectively.
2022-10-29 09:34:21 +09:00
kichikuou
9e82445ace
Refactoring: Add depth field to struct cgdata
2022-04-02 22:13:25 +09:00
kichikuou
3e46c54ce6
VSP: allocate extraction buffer on heap
...
This fixes stack overflow in MacOS release build.
2021-08-15 18:19:16 +09:00
kichikuou
023b8cd455
VSP: Do not use static extraction buffer
...
Now it's allocated on the stack. Up to 401*8 bytes, should be fine.
2020-09-21 12:01:20 +09:00
kichikuou
335681863c
VSP: Appropriately scale 4-bit color to 8-bit
...
This fixes a bug where VSP image was displayed slightly darker than the
original.
2020-09-21 11:46:48 +09:00
kichikuou
dbac18c260
Globally replace "pallet" with "palette"
2020-09-19 22:25:10 +09:00
kichikuou
b3cb185a35
Simplify cg_load
...
Before this, cg_load() skipped loading CG or loaded only palettes,
depending on the flags set by the PC command.
After this, it always loads a CG and populates the cache. Functions for
loading only palettes have been removed. Actually this may be good for
performance, because some games use `PC 0:` to prewarm the cache.
2020-08-30 15:39:42 +09:00
kichikuou
245bc1212c
Remove glib dependency
2017-02-18 18:16:32 +09:00
kichikuou
f1b0b399fa
Convert EUC to utf-8
2017-02-11 19:03:05 +09:00
kichikuou
e607c9c2ee
Import xsystem35-1.7.3-pre5
2014-04-26 18:40:24 +09:00