I'm new to graphics programming so I thought I would try implementing some graphics for my phoenix arcade emulator before moving on anymore on my GameBoy emulator, did my chip8 emulator in SDL and decided to use it again, all other code on my phoenix emulator works fine, its just implementing graphics that I'm having trouble with, I'm not 100% about the code I'm using to implement the palettes but it still should be displaying something the program starts up a display window is created then it hangs. I'm not sure how to find the problem, so I though I would post my code so someone might give me a hand.
My graphics code is based on the code found in JABAWAPE v0.8 emu which uses allegro.
I appologise for the code to some parts are a little messy and theres a bit of old code hanging around that I will remove/modify as soon as I get the graphics going.
Any help/suggestion appreciated
Cheers, TJA.
Code updated with fix ( graphics still not working correctlt)
My graphics code is based on the code found in JABAWAPE v0.8 emu which uses allegro.
I appologise for the code to some parts are a little messy and theres a bit of old code hanging around that I will remove/modify as soon as I get the graphics going.
Any help/suggestion appreciated
Cheers, TJA.
Code updated with fix ( graphics still not working correctlt)
Last edited: