chore: rename skipBios to fastBoot

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-21 05:12:02 -03:00
parent 7914268702
commit 2e54be76d6
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ pub const Arm7tdmi = struct {
self.cpsr.mode.write(@enumToInt(next));
}
pub fn skipBios(self: *Self) void {
pub fn fastBoot(self: *Self) void {
self.r[0] = 0x08000000;
self.r[1] = 0x000000EA;
// GPRs 2 -> 12 *should* already be 0 initialized

View File

@ -41,7 +41,7 @@ pub fn main() anyerror!void {
defer bus.deinit();
var cpu = Arm7tdmi.init(&scheduler, &bus);
cpu.skipBios();
cpu.fastBoot();
// Initialize SDL
const status = SDL.SDL_Init(SDL.SDL_INIT_VIDEO | SDL.SDL_INIT_EVENTS | SDL.SDL_INIT_AUDIO);