flatmush / dingoo-sdk

Automatically exported from code.google.com/p/dingoo-sdk
2 stars 3 forks source link

from_buffer functions broken (fmemopen?) #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
gfx_tex_load_tga_from_buffer and gfx_font_load_from_buffer are broken in 
r93. I assume this has to do with fmemopen.

Test programs attached, works fine in r92, but not in r93.

Original issue reported on code.google.com by hart...@gmail.com on 14 Apr 2010 at 11:13

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, that means I broke memcpy, I'll look into it and revert some of the memcpy 
changes.

Original comment by Flatmush@googlemail.com on 14 Apr 2010 at 12:08

GoogleCodeExporter commented 9 years ago
Ok this issue was solved, was due to modifying the jump table. I was modifying 
the
jump table (in the D-Cache) and the code was still executing old jumps from the
I-Cache. It was solved by putting a D-Cache writeback followed by an I-Cache
invalidate after the patching in entry_point.c.

Original comment by Flatmush@googlemail.com on 18 Apr 2010 at 1:20