I would try deleting the CCHDK.CFG. Let it get rebuilt and see if that helps. Also, problems with conf_restore can be the result of bad addresses for file I/O functions, although I can't think of a reason that would cause your particular file name symptoms.
Thanks waldo. That wasn't it but the problem is solved - sort of. Did a binary search of each entry in
conf_info[] and eventually tied the strange filename behaviour to whether or not the splash screen was enabled. Ouch. More trial and error led me eventually to my old friend
vid_bitmap_refresh(). The other day I had been trying to implement the various combinations of
_ScreenLock() and
_ScreenUnLock() that I have seen on this forum. (I had originally hacked this rountine to simply do
draw_filled_rect(0, 0, screen_width, screen_height, 0x00)). I had left some of the Lock/Unlocks laying around there. No idea why it caused the weird filename behaviour - once I commented it out everything started working properly.
Hence my comment about "sort of" above. Still need to figure out how
vid_bitmap_refresh() should work.