Comments (2)
This will require logic to convert palette colours to selected texture format. Not difficult, but may be time consuming depending on how many texture formats we want to support (only the most popular ones since SDL2 can just convert the format itself as a fallback).
from peanut-gb.
The renderer should use an 8-bit surface that Peanut-GB will fill with pixels. By using SDL_SetPaletteColours, the colour of the pixels can be changed. SDL2 will convert the 8-bit surface to whichever format the hardware is using.
This issue depends on #55.
from peanut-gb.
Related Issues (20)
- Cant save on Legend of Zeld Links awakening HOT 3
- Problem saving games HOT 6
- gb: Allow compiling peanut_gb.h as a separate object file
- Adventure Island wrong sprites rendering issue HOT 1
- Readme: Replace gif with apng
- gb: Final Fantasy Legend crashes on start HOT 2
- gb: Is That a Demo in Your Pocket? crashes during the demo
- core: list of unimplemented or incorrect emulation HOT 1
- gb: Dragon Warrior III halts forever error at 0x53BB
- gb: RTC does not work with MBC3 ROMs that do not use RAM HOT 1
- Make Peanut-GB strictly C89 HOT 1
- core: Use a function to change context variables
- core: frontend should provide pointer for pixel data
- core: allow LCD rendering to happen in separate thread HOT 1
- core: return to frontend after certain number of CPU cycles
- gb: Improve RTC accuracy with MBC3 HOT 3
- gb: allow disabling 16-colour palette at compile time and use 4-colour mode only HOT 1
- gb: add delay and memcpy detection HOT 3
- gb: add savestate support HOT 9
- Graphics glitches in wasm32 target HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peanut-gb.