-void jerry_wave_rom_init(void)
-{
-// memory_malloc_secure((void **)&jerry_wave_rom, 0x1000, "jerry wave rom");
-// uint32 * jaguar_wave_rom_32 = (uint32 *)jerry_wave_rom;
-
- // use real wave table dump
-// JLH: Looks like this WT dump is in the wrong endian (For the Jaguar, that is)...
-// memcpy(jerry_wave_rom, wave_table, 0x1000);
-
- // reverse byte ordering
-// JLH: Actually, this does nothing...
-/* for(int i=0; i<0x400; i++)
- {
- uint32 data = jaguar_wave_rom_32[i];
- data = ((data & 0xFF000000) >> 24) | ((data & 0x0000FF00) << 8)
- | ((data & 0x00FF0000) >> 8) | ((data & 0x000000FF) << 24);
- }*/
-// Why the need for an extra buffer to hold it, when it already exists in the form of wave_table???
-// Also, there was a memory leak, since it was never deallocated... (jerry_wave_rom)
-
- // Copy it to DSP RAM
-//WAS: memcpy(&jerry_ram_8[0xD000], jerry_wave_rom, 0x1000);
- memcpy(&jerry_ram_8[0xD000], wave_table, 0x1000);
-}
-