mirror of
https://github.com/jndean/IPUDOOM.git
synced 2026-03-22 15:39:45 +00:00
Add P_LoadSegs, and fix stack overflows caused by calling through function pointers in P_setup_codelets
This commit is contained in:
@@ -19,10 +19,10 @@ struct R_RenderPlayerView_Vertex : public poplar::Vertex {
|
||||
poplar::InOut<poplar::Vector<unsigned char>> frame;
|
||||
|
||||
void compute() {
|
||||
// for (int i = 0; i < 100; ++i){
|
||||
// frame[i + 320 * i ] = 1;
|
||||
// frame[i + 320 * i + 1] = 1;
|
||||
// }
|
||||
for (int i = 0; i < 100; ++i){
|
||||
frame[i + 320 * i ] = 1;
|
||||
frame[i + 320 * i + 1] = 1;
|
||||
}
|
||||
IPU_R_RenderPlayerView_UnpackMiscValues(
|
||||
(R_RenderPlayerView_MiscValues_t*) &miscValues[0]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user