kazz2020

Results 51 comments of kazz2020

> Hey @kazz2020, the way you'd want to do that is to modify the `box-emu` component in `components/box-emu` to use the `espp::TDeck` component instead of the `espp::EspBox` component. > >...

> I've made PR [#96](https://github.com/esp-cpp/esp-box-emu/pull/96) which means the only code you should need to change is now the `box-emu` component. You'd likely want to update the underlying `espp::TDeck` to support...

this is on 5.4 and when i only change to TDeckonly `C:/Users/lukaszt/Desktop/Elektryk/esp-box-emu/components/jpegdec/src/jpeg.inl:2263:19: warning: unused variable 'ucColMask' [-Wunused-variable] 2263 | unsigned char ucColMask; | ^~~~~~~~~ [1284/1449] Building C object esp-idf/gbc/CMakeFiles/__idf_gbc.dir/gnuboy/src/emu.c.obj cc1.exe:...

i dont know how to make this for TDeck :/ esp-idf is not for me :P

> Finally, the errors you're getting are what I expected, given the comments I left above. The TDeck component doesn't currently support audio, so the places in this code that...

In file included from C:/Users/lukaszt/Desktop/Elektryk/esp-box-emu/main/main.cpp:13: C:/Users/lukaszt/Desktop/Elektryk/esp-box-emu/components/box-emu/include/box-emu.hpp:50:34: error: 'button_callback_t' in 'using BoxEmu::Bsp = class espp::TDeck' {aka 'class espp::TDeck'} does not name a type 50 | using button_callback_t = Bsp::button_callback_t; | ^~~~~~~~~~~~~~~~~...

''' E:/espbox/esp-box-emu/components/box-emu/src/box-emu.cpp: In member function 'bool BoxEmu::initialize_box()': E:/espbox/esp-box-emu/components/box-emu/src/box-emu.cpp:70:32: error: 'get_mute_pin' is not a member of 'BoxEmu::Bsp' {aka 'espp::TDeck'} 70 | .gpio_num = Bsp::get_mute_pin(), | ^~~~~~~~~~~~ E:/espbox/esp-box-emu/components/box-emu/src/box-emu.cpp: In member function 'bool...

''' In file included from E:/espbox/esp-box-emu/main/gbc_cart.hpp:3, from E:/espbox/esp-box-emu/main/carts.hpp:7, from E:/espbox/esp-box-emu/main/main.cpp:14: E:/espbox/esp-box-emu/main/cart.hpp: In member function 'virtual bool Cart::run()': E:/espbox/esp-box-emu/main/cart.hpp:158:24: error: 'espp::EspBox' has not been declared 158 | auto touch = espp::EspBox::get().touchpad_data();...