/* This autogenerated file is part of jpcsp. */ /* This file is part of jpcsp. Jpcsp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Jpcsp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Jpcsp. If not, see <http://www.gnu.org/licenses/>. */ package jpcsp.HLE.modules150; import jpcsp.HLE.Modules; import jpcsp.HLE.modules.HLEModule; import jpcsp.HLE.modules.HLEModuleFunction; import jpcsp.HLE.modules.HLEModuleManager; import jpcsp.Memory; import jpcsp.Processor; import jpcsp.Allegrex.CpuState; // New-Style Processor public class sceSemawm implements HLEModule { @Override public String getName() { return "sceSemawm"; } @Override public void installModule(HLEModuleManager mm, int version) { if (version >= 150) { mm.addFunction(sceSemawm_77C42467Function, 0x77C42467); mm.addFunction(sceSemawm_51E51869Function, 0x51E51869); mm.addFunction(sceSemawm_4C268535Function, 0x4C268535); mm.addFunction(sceSemawm_5B6C204DFunction, 0x5B6C204D); mm.addFunction(sceSemawm_6FEA0A45Function, 0x6FEA0A45); } } @Override public void uninstallModule(HLEModuleManager mm, int version) { if (version >= 150) { mm.removeFunction(sceSemawm_77C42467Function); mm.removeFunction(sceSemawm_51E51869Function); mm.removeFunction(sceSemawm_4C268535Function); mm.removeFunction(sceSemawm_5B6C204DFunction); mm.removeFunction(sceSemawm_6FEA0A45Function); } } public void sceSemawm_77C42467(Processor processor) { CpuState cpu = processor.cpu; Modules.log.debug("Unimplemented NID function sceSemawm_77C42467 [0x77C42467]"); cpu.gpr[2] = 0xDEADC0DE; } public void sceSemawm_51E51869(Processor processor) { CpuState cpu = processor.cpu; Modules.log.debug("Unimplemented NID function sceSemawm_51E51869 [0x51E51869]"); cpu.gpr[2] = 0xDEADC0DE; } public void sceSemawm_4C268535(Processor processor) { CpuState cpu = processor.cpu; Modules.log.debug("Unimplemented NID function sceSemawm_4C268535 [0x4C268535]"); cpu.gpr[2] = 0xDEADC0DE; } public void sceSemawm_5B6C204D(Processor processor) { CpuState cpu = processor.cpu; Modules.log.debug("Unimplemented NID function sceSemawm_5B6C204D [0x5B6C204D]"); cpu.gpr[2] = 0xDEADC0DE; } public void sceSemawm_6FEA0A45(Processor processor) { CpuState cpu = processor.cpu; Modules.log.debug("Unimplemented NID function sceSemawm_6FEA0A45 [0x6FEA0A45]"); cpu.gpr[2] = 0xDEADC0DE; } public final HLEModuleFunction sceSemawm_77C42467Function = new HLEModuleFunction("sceSemawm", "sceSemawm_77C42467") { @Override public final void execute(Processor processor) { sceSemawm_77C42467(processor); } @Override public final String compiledString() { return "jpcsp.HLE.Modules.sceSemawmModule.sceSemawm_77C42467(processor);"; } }; public final HLEModuleFunction sceSemawm_51E51869Function = new HLEModuleFunction("sceSemawm", "sceSemawm_51E51869") { @Override public final void execute(Processor processor) { sceSemawm_51E51869(processor); } @Override public final String compiledString() { return "jpcsp.HLE.Modules.sceSemawmModule.sceSemawm_51E51869(processor);"; } }; public final HLEModuleFunction sceSemawm_4C268535Function = new HLEModuleFunction("sceSemawm", "sceSemawm_4C268535") { @Override public final void execute(Processor processor) { sceSemawm_4C268535(processor); } @Override public final String compiledString() { return "jpcsp.HLE.Modules.sceSemawmModule.sceSemawm_4C268535(processor);"; } }; public final HLEModuleFunction sceSemawm_5B6C204DFunction = new HLEModuleFunction("sceSemawm", "sceSemawm_5B6C204D") { @Override public final void execute(Processor processor) { sceSemawm_5B6C204D(processor); } @Override public final String compiledString() { return "jpcsp.HLE.Modules.sceSemawmModule.sceSemawm_5B6C204D(processor);"; } }; public final HLEModuleFunction sceSemawm_6FEA0A45Function = new HLEModuleFunction("sceSemawm", "sceSemawm_6FEA0A45") { @Override public final void execute(Processor processor) { sceSemawm_6FEA0A45(processor); } @Override public final String compiledString() { return "jpcsp.HLE.Modules.sceSemawmModule.sceSemawm_6FEA0A45(processor);"; } }; };